]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: Remove almost duplicate pim->ifchannel_list
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 31 Jul 2017 13:58:42 +0000 (09:58 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 2 Aug 2017 11:44:00 +0000 (07:44 -0400)
commit1a8a3da8c21b13bbb66d58ade9580b4f19d8e1ad
tree508b7caa28b7f88083d6339dc358024b7260aaee
parent07a2935559b6c32782ced4ef841125d9c102fecf
pimd: Remove almost duplicate pim->ifchannel_list

The pim->ifchannel_list can be duplicated by iterating
over each vrf and then over each pim_ifp->pim_ifchannel_list
Since list handling is taking allot of time at scale
convert over to using this value.

Additionally clean up pim_cmd.c to have helper functions
to handle the actual encoding of data for output.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_cmd.c
pimd/pim_iface.c
pimd/pim_ifchannel.c
pimd/pim_instance.h