]> git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_rnh_null.c
a97ae1a6129c0e28bcc75b475d9fabfa0fd73de3
[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 "zebra/rib.h"
23 #include "zebra/zserv.h"
24 #include "zebra/zebra_rnh.h"
25
26 int zebra_rnh_ip_default_route = 0;
27 int zebra_rnh_ipv6_default_route = 0;
28
29 void
30 zebra_free_rnh (struct rnh *rnh)
31 {}
32
33 void zebra_evaluate_rnh (vrf_id_t vrfid, int family, int force, rnh_type_t type,
34 struct prefix *p)
35 {}
36
37 void zebra_print_rnh_table (vrf_id_t vrfid, int family, struct vty *vty,
38 rnh_type_t type)
39 {}
40
41 void zebra_register_rnh_static_nh(vrf_id_t vrfid, struct prefix *p, struct route_node *rn)
42 {}
43
44 void zebra_deregister_rnh_static_nh(vrf_id_t vrfid, struct prefix *p, struct route_node *rn)
45 {}
46
47 void zebra_deregister_rnh_static_nexthops (vrf_id_t vrfid, struct nexthop *nexthop,
48 struct route_node *rn)
49 {}