]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Abstract the RB nodes/add dependents tree
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 14 May 2019 01:13:02 +0000 (18:13 -0700)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:39 +0000 (11:13 -0400)
commita15d4c0089a6b8f59932df39357725feadfb9f91
tree7c01135c0cdb13b8da63225b7761d6762cb5dfd8
parent0c8215cbab59480616fe31d8a81323070a21137b
zebra: Abstract the RB nodes/add dependents tree

Create a nhg_depenents tree that will function as a way
to get back pointers for NHE's depending on it.

Abstract the RB nodes into nhg_connected for both depends and
dependents. This same struct is used for both.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/rt_netlink.c
zebra/zebra_dplane.c
zebra/zebra_nhg.c
zebra/zebra_nhg.h
zebra/zebra_rib.c
zebra/zebra_vty.c