]> git.proxmox.com Git - mirror_frr.git/blame - zebra/zebra_rnh_null.c
*: make consistent & update GPLv2 file headers
[mirror_frr.git] / zebra / zebra_rnh_null.c
CommitLineData
50e24903
DS
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 *
896014f4
DL
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
50e24903 19 */
fb018d25 20#include <zebra.h>
82f97584 21#include "vty.h"
fb018d25
DS
22#include "zebra/rib.h"
23#include "zebra/zserv.h"
24#include "zebra/zebra_rnh.h"
25
a50b580a
DS
26int zebra_rnh_ip_default_route = 0;
27int zebra_rnh_ipv6_default_route = 0;
28
5a8dfcd8
RW
29void
30zebra_free_rnh (struct rnh *rnh)
31{}
32
d50b5bdd 33void zebra_evaluate_rnh (vrf_id_t vrfid, int family, int force, rnh_type_t type,
078430f6 34 struct prefix *p)
d50b5bdd 35{}
fb018d25 36
af41b63a 37void zebra_print_rnh_table (vrf_id_t vrfid, int family, struct vty *vty,
078430f6 38 rnh_type_t type)
fb018d25 39{}
6e26278c 40
d82ae0de 41void zebra_register_rnh_static_nh(vrf_id_t vrfid, struct prefix *p, struct route_node *rn)
6e26278c
DS
42{}
43
d82ae0de 44void zebra_deregister_rnh_static_nh(vrf_id_t vrfid, struct prefix *p, struct route_node *rn)
6e26278c 45{}
a399694f 46
d82ae0de 47void zebra_deregister_rnh_static_nexthops (vrf_id_t vrfid, struct nexthop *nexthop,
48 struct route_node *rn)
a399694f 49{}