]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_rnh.c
zebra: Reorganize NHT code
authorvivek <vivek@cumulusnetworks.com>
Wed, 9 Dec 2015 19:01:21 +0000 (11:01 -0800)
committervivek <vivek@cumulusnetworks.com>
Wed, 9 Dec 2015 19:01:21 +0000 (11:01 -0800)
commitd50b5bdd744eef4a44d4fee70f781e68f2074a2a
tree50b7ddaa6108fcd850b8166de9a8ed47e07a99c1
parent451e7cd49e081de307b682dc24b0ed850e22edfb
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
zebra/zebra_rnh.c
zebra/zebra_rnh.h
zebra/zebra_rnh_null.c