]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_router.c
zebra: Add a second table for indexing by ID
authorStephen Worley <sworley@cumulusnetworks.com>
Fri, 15 Feb 2019 18:18:48 +0000 (13:18 -0500)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:36 +0000 (11:13 -0400)
commita95b8020ca4383dd4a43c18588c004b5683a8566
tree4e1ad20aac2a9041994f16eb1b9a8c54721ae14f
parentd2bec88a36effcff8d91375b325a944dad36b5e4
zebra: Add a second table for indexing by ID

The messages we get from the kernel come with ids only
for groups, so lets index with those as well. Also adding
a helper function for lookup and get with the two different
tables.

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