]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_router.c
lib,zebra: use nhg_hash_entry pointer in route_entry
authorMark Stapp <mjs@voltanet.io>
Fri, 22 Nov 2019 20:30:53 +0000 (15:30 -0500)
committerMark Stapp <mjs@voltanet.io>
Wed, 4 Dec 2019 13:13:52 +0000 (08:13 -0500)
commit0eb97b860dc94329cf9add9f8f3d3a2c7f539568
tree4382d83b863bbec02b3df6adf9060e7686a7a814
parentf3323df26e425515fdcadf3aa9bd336bb54780b3
lib,zebra: use nhg_hash_entry pointer in route_entry

Replace the existing list of nexthops (via a nexthop_group
struct) in the route_entry with a direct pointer to zebra's
new shared group (from zebra_nhg.h). This allows more
direct access to that shared group and the info it carries.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
21 files changed:
lib/nexthop_group.c
lib/nexthop_group.h
lib/nexthop_group_private.h
zebra/redistribute.c
zebra/rib.h
zebra/rt_netlink.c
zebra/zapi_msg.c
zebra/zebra_dplane.c
zebra/zebra_fpm_dt.c
zebra/zebra_fpm_netlink.c
zebra/zebra_fpm_protobuf.c
zebra/zebra_mpls.c
zebra/zebra_nhg.c
zebra/zebra_nhg.h
zebra/zebra_nhg_private.h
zebra/zebra_pw.c
zebra/zebra_rib.c
zebra/zebra_rnh.c
zebra/zebra_router.c
zebra/zebra_snmp.c
zebra/zebra_vty.c