]> git.proxmox.com Git - mirror_frr.git/commit
lib: Isolate nexthop_group functions to nexthop_group.c
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 26 Jan 2018 15:12:35 +0000 (10:12 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 9 Mar 2018 16:07:41 +0000 (11:07 -0500)
commit7ee30f288e9d572d971c2a36b68775c7d2fac299
tree6e24b4fde63b53cff251a69fa54fa69afff046b1
parentba1849ef8c8560cff44008e06c5668b8261b033e
lib: Isolate nexthop_group functions to nexthop_group.c

Also modify `struct route_entry` to use nexthop_groups.
Move ALL_NEXTHOPS loop to nexthop_group.h

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
20 files changed:
lib/nexthop.c
lib/nexthop.h
lib/nexthop_group.c [new file with mode: 0644]
lib/nexthop_group.h [new file with mode: 0644]
lib/subdir.am
tests/lib/test_nexthop_iter.c
zebra/redistribute.c
zebra/rib.h
zebra/rt_netlink.c
zebra/rt_socket.c
zebra/zebra_fpm_netlink.c
zebra/zebra_fpm_protobuf.c
zebra/zebra_mpls.c
zebra/zebra_pw.c
zebra/zebra_rib.c
zebra/zebra_rnh.c
zebra/zebra_snmp.c
zebra/zebra_static.c
zebra/zebra_vty.c
zebra/zserv.c