]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Refactor 'struct rib' to be 'struct route_entry'
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 1 Jun 2017 11:26:25 +0000 (07:26 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 1 Jun 2017 12:00:05 +0000 (08:00 -0400)
commitf0f77c9a590bf538033602a0b2da6084c9ea22e2
tree80113c30accb622589bcd67ef25fdda17fba0189
parentf0683d22277017e5a93798ce88a06fc7927dc326
zebra: Refactor 'struct rib' to be 'struct route_entry'

The 'struct rib' data structure is missnamed.  It really
is a 'struct route_entry' as part of the 'struct route_node'.
We have 1 'struct route_entry' per route src.  As such
1 route node can have multiple route entries if multiple
protocols attempt to install the same route.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
29 files changed:
doc/next-hop-tracking.txt
zebra/kernel_null.c
zebra/redistribute.c
zebra/redistribute.h
zebra/redistribute_null.c
zebra/rib.h
zebra/rt.h
zebra/rt_netlink.c
zebra/rt_socket.c
zebra/zebra_fpm.c
zebra/zebra_fpm_dt.c
zebra/zebra_fpm_netlink.c
zebra/zebra_fpm_private.h
zebra/zebra_fpm_protobuf.c
zebra/zebra_memory.c
zebra/zebra_memory.h
zebra/zebra_mpls.c
zebra/zebra_mpls.h
zebra/zebra_rib.c
zebra/zebra_rnh.c
zebra/zebra_rnh.h
zebra/zebra_routemap.c
zebra/zebra_routemap.h
zebra/zebra_snmp.c
zebra/zebra_static.c
zebra/zebra_vrf.c
zebra/zebra_vty.c
zebra/zserv.c
zebra/zserv.h