]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: Implement rpf lookup mode as a list
authorNathan Bahr <nbahr@atcorp.com>
Wed, 30 Oct 2024 21:21:50 +0000 (21:21 +0000)
committerNathan Bahr <nbahr@atcorp.com>
Thu, 9 Jan 2025 21:58:22 +0000 (21:58 +0000)
commite8d81ab5ce04237ddc28ac0dc4b29e49dd2a1979
tree376ea42105e3924333bb7005ca6dcb8fd3cf309e
parent8b00575fbb358bc214a9281c948cb0d703aa7605
pimd: Implement rpf lookup mode as a list

Add the support to store lookup modes as a sorted list.
List is non-unique and sorts mode with both lists < modes with one list < global mode (no lists).
This way, when finding the right mode, we will match a lookup using a prefix list before the global mode.
Add passing group address into all lookups (using nht cache and/or synchronous lookup).
Many areas don't have a group address, use PIMADDR_ANY if no valid group is needed.

Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
pimd/pim_bsr_rpdb.c
pimd/pim_cmd.c
pimd/pim_igmp_mtrace.c
pimd/pim_instance.h
pimd/pim_mroute.c
pimd/pim_msdp.c
pimd/pim_nht.c
pimd/pim_nht.h
pimd/pim_zlookup.c
pimd/pim_zlookup.h