]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Re-organize/expose nhg_connected
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 14 May 2019 16:53:19 +0000 (09:53 -0700)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:39 +0000 (11:13 -0400)
commitfe593b781d8a927bd496c77799312cc64a565141
treecb9b598e38087db08bd6bb6232010396f30af262
parenta15d4c0089a6b8f59932df39357725feadfb9f91
zebra: Re-organize/expose nhg_connected

Re-organize and expose the nhg_connected functions so that
it can be used outside zebra_nhg.c. And then abstract those
into zebra_nhg_depends_* and zebra_nhg_depenents_* functons.

Switch the ifp struct to use an RB tree for its dependents,
making use of the nhg_connected functions.

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