]> git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_rnh_null.c
Merge branch 'queue/osr/vtysh-generic'
[mirror_frr.git] / zebra / zebra_rnh_null.c
1 /* Zebra next hop tracking code
2 * Copyright (C) 2013 Cumulus Networks, Inc.
3 *
4 * This file is part of Quagga.
5 *
6 * Quagga is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2, or (at your option) any
9 * later version.
10 *
11 * Quagga is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with Quagga; see the file COPYING. If not, write to the Free
18 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 * 02111-1307, USA.
20 */
21 #include <zebra.h>
22 #include "vty.h"
23 #include "zebra/rib.h"
24 #include "zebra/zserv.h"
25 #include "zebra/zebra_rnh.h"
26
27 int zebra_rnh_ip_default_route = 0;
28 int zebra_rnh_ipv6_default_route = 0;
29
30 void
31 zebra_free_rnh (struct rnh *rnh)
32 {}
33
34 void zebra_evaluate_rnh (vrf_id_t vrfid, int family, int force, rnh_type_t type,
35 struct prefix *p)
36 {}
37
38 void zebra_print_rnh_table (vrf_id_t vrfid, int family, struct vty *vty,
39 rnh_type_t type)
40 {}
41
42 void zebra_register_rnh_static_nh(vrf_id_t vrfid, struct prefix *p, struct route_node *rn)
43 {}
44
45 void zebra_deregister_rnh_static_nh(vrf_id_t vrfid, struct prefix *p, struct route_node *rn)
46 {}
47
48 void zebra_deregister_rnh_static_nexthops (vrf_id_t vrfid, struct nexthop *nexthop,
49 struct route_node *rn)
50 {}