]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_nhg.c
zebra: support nh resolution without a route
authorMark Stapp <mjs@voltanet.io>
Fri, 29 Jan 2021 20:43:52 +0000 (15:43 -0500)
committerMark Stapp <mjs@voltanet.io>
Fri, 19 Feb 2021 20:38:37 +0000 (15:38 -0500)
commit9b4ab9098486043627393c055c1f8437e69fb108
treeac456d1059a335de03dd1bb21f5734aeb81f801d
parentdc86ef74e68d575f4beec0197177e90dfb42c643
zebra: support nh resolution without a route

Start reorg of zebra nexthop-resolution so that we can use the
resolution logic for nexthop-groups as well as routes. Change
the signature of the core nexthop_active() api so that it does
not require a route-entry or route-node. Move some of the logic
around so that nexthop-specific logic is in nexthop_active(),
while route-oriented logic is in nexthop_active_check().

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/zebra_nhg.c
zebra/zebra_nhg.h