mirror_frr/zebra
vivek d50b5bdd74 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
2015-12-09 11:01:21 -08:00
..
.gitignore [administrivia] Update gitignore files 2008-08-22 20:02:08 +01:00
client_main.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
connected.c Zebra: Schedule RIB processing based on trigger event 2015-12-08 16:55:43 -08:00
connected.h Zebra: Remove reliance on NEXTHOP_TYPE_IPV4_ONLINK 2015-11-16 12:48:07 -08:00
debug.c Zebra: Cleanup RIB debugs 2015-11-20 08:48:32 -08:00
debug.h Zebra: Cleanup RIB debugs 2015-11-20 08:48:32 -08:00
GNOME-PRODUCT-ZEBRA-MIB Initial revision 2002-12-13 20:15:29 +00:00
GNOME-SMI Initial revision 2002-12-13 20:15:29 +00:00
if_ioctl_solaris.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
if_ioctl.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
if_netlink.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
if_proc.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
if_sysctl.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
interface.c Zebra: Schedule RIB processing based on trigger event 2015-12-08 16:55:43 -08:00
interface.h Enable IPv6 ND RA for interfaces that have an IPv6 address 2015-12-07 13:05:34 -08:00
ioctl_null.c testzebra: pragma weak: detect systems with weak alias and provide alternative 2013-01-11 21:50:06 +01:00
ioctl_solaris.c Fixed ioctl_solaris.c:if_get_mtu() for IPv6'less operation 2007-08-21 16:12:40 +00:00
ioctl.c zebra: fix argument reference in strncpy() call for BSD 2009-12-03 21:14:16 +03:00
ioctl.h [zebra/solaris] Interface state fixups for Solaris. 2006-01-25 04:31:40 +00:00
ipforward_aix.c Initial revision 2002-12-13 20:15:29 +00:00
ipforward_ews.c Initial revision 2002-12-13 20:15:29 +00:00
ipforward_proc.c zebra: fix warnings in forward proc 2011-12-07 01:24:09 +04:00
ipforward_solaris.c 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
ipforward_sysctl.c 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
ipforward.h 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
irdp_interface.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
irdp_main.c zebra: deal with irdp compile warnings 2009-12-10 14:22:44 +03:00
irdp_packet.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
irdp.h zebra: deal with irdp compile warnings 2009-12-10 14:22:44 +03:00
kernel_netlink.c Initial revision 2002-12-13 20:15:29 +00:00
kernel_null.c Zebra: Implement route replace for IPv6 2015-11-19 12:22:55 -08:00
kernel_socket.c Quagga: prefix2str fixup 2015-11-23 13:31:11 -08:00
kernel_socket.h [lib] mes_lookup string lookup table argument should be marked const 2008-08-22 19:52:58 +01:00
main.c Quagga: Cleanup RTADV define 2015-11-20 07:07:41 -08:00
Makefile.am Merge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into cmaster 2015-12-08 15:26:56 -08:00
misc_null.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
mtu_kvm.c 2004-05-09 Paul Jakma <paul@dishone.st> 2004-05-09 11:00:23 +00:00
redistribute_null.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
redistribute.c zebra, bgp: Remove some missed values 2015-12-09 04:26:02 -08:00
redistribute.h *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
rib.h Merge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into cmaster 2015-12-08 17:01:20 -08:00
router-id.c Should be able to "no" the full text of any config line 2015-11-23 18:05:03 +00:00
router-id.h zebra: maintain the router-id per VRF 2015-10-30 00:19:15 -07:00
rt_ioctl.c zebra, bgp: Remove some missed values 2015-12-09 04:26:02 -08:00
rt_netlink.c ZEBRA: Remove NEXTHOP_TYPE_XXX_IFNAME 2015-12-04 10:44:37 -08:00
rt_netlink.h zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
rt_socket.c ZEBRA: Remove NEXTHOP_TYPE_XXX_IFNAME 2015-12-04 10:44:37 -08:00
rt.h Zebra: Implement route replace for IPv6 2015-11-19 12:22:55 -08:00
rtadv_null.c Enable IPv6 ND RA for interfaces that have an IPv6 address 2015-12-07 13:05:34 -08:00
rtadv.c Enable IPv6 ND RA for interfaces that have an IPv6 address 2015-12-07 13:05:34 -08:00
rtadv.h Enable IPv6 ND RA for interfaces that have an IPv6 address 2015-12-07 13:05:34 -08:00
rtread_getmsg.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
rtread_netlink.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
rtread_proc.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
rtread_sysctl.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
test_main.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
testrib.conf zebra: Add an example config file for testzebra 2009-08-28 14:51:37 +01:00
zebra_fpm_netlink.c ZEBRA: Remove NEXTHOP_TYPE_XXX_IFNAME 2015-12-04 10:44:37 -08:00
zebra_fpm_private.h zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_fpm.c Quagga: Fixup some compile warnings 2015-11-23 13:31:11 -08:00
zebra_fpm.h zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_ptm_null.c Support of BFD status in Quagga 2015-08-31 14:56:11 -07:00
zebra_ptm_redistribute.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
zebra_ptm_redistribute.h Support of BFD status in Quagga 2015-08-31 14:56:11 -07:00
zebra_ptm.c Fix Quagga ptm status per interface to show more meaningful status 2015-10-09 11:18:09 -07:00
zebra_ptm.h Fix Quagga ptm status per interface to show more meaningful status 2015-10-09 11:18:09 -07:00
zebra_rib.c Merge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into cmaster 2015-12-08 17:01:20 -08:00
zebra_rnh_null.c zebra: Reorganize NHT code 2015-12-09 11:01:21 -08:00
zebra_rnh.c zebra: Reorganize NHT code 2015-12-09 11:01:21 -08:00
zebra_rnh.h zebra: Reorganize NHT code 2015-12-09 11:01:21 -08:00
zebra_routemap.c Merge branch 'cmaster' of ssh://stash.cumulusnetworks.com:7999/quag/quagga into cmaster 2015-12-08 17:01:20 -08:00
zebra_routemap.h Create override for quagga reinstall of originated routes 2015-08-26 05:21:40 -07:00
zebra_snmp.c ZEBRA: Remove NEXTHOP_TYPE_XXX_IFNAME 2015-12-04 10:44:37 -08:00
zebra_vty.c ZEBRA: Remove NEXTHOP_TYPE_XXX_IFNAME 2015-12-04 10:44:37 -08:00
zebra.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
zserv.c ZEBRA: Remove NEXTHOP_TYPE_XXX_IFNAME 2015-12-04 10:44:37 -08:00
zserv.h *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00