summaryrefslogtreecommitdiff
path: root/zebra/zebra_rnh.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2015-12-09 11:01:21 -0800
committervivek <vivek@cumulusnetworks.com>2015-12-09 11:01:21 -0800
commitd50b5bdd744eef4a44d4fee70f781e68f2074a2a (patch)
tree50b7ddaa6108fcd850b8166de9a8ed47e07a99c1 /zebra/zebra_rnh.h
parent451e7cd49e081de307b682dc24b0ed850e22edfb (diff)
zebra: Reorganize NHT code
NextHop Tracking (NHT) is a significant function introduced into Quagga by Cumulus. Initially intended for tracking BGP nexthops, this has been extended subsequently to also cater to nexthops for static routes, BGP peer reachability tracking and BGP route tracking for routes to be imported into BGP. This patch reorganizes the code a bit to make it easier to follow and maintain. No functional changes introduced. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Dinesh Dutt <ddutt@cumulusnetworks.com> Ticket: CM-5599 Reviewed By: CCR-3906 Testing Done: Manual and bgpsmoke
Diffstat (limited to 'zebra/zebra_rnh.h')
-rw-r--r--zebra/zebra_rnh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.h b/zebra/zebra_rnh.h
index bed21c1987..b76651aa76 100644
--- a/zebra/zebra_rnh.h
+++ b/zebra/zebra_rnh.h
@@ -64,7 +64,7 @@ extern void zebra_deregister_rnh_static_nexthops (struct nexthop *nexthop, struc
extern void zebra_deregister_rnh_static_nh(struct prefix *, struct route_node *);
extern void zebra_remove_rnh_client(struct rnh *rnh, struct zserv *client,
rnh_type_t type);
-extern int zebra_evaluate_rnh(vrf_id_t vrfid, int family, int force, rnh_type_t type,
+extern void zebra_evaluate_rnh(vrf_id_t vrfid, int family, int force, rnh_type_t type,
struct prefix *p);
extern int zebra_dispatch_rnh_table(vrf_id_t vrfid, int family, struct zserv *cl, rnh_type_t);
extern void zebra_print_rnh_table(vrf_id_t vrfid, int family, struct vty *vty, rnh_type_t);