summaryrefslogtreecommitdiff
path: root/pimd/pim_bsr_rpdb.c
AgeCommit message (Collapse)Author
2025-04-16pimd: clean up clang warningsMark Stapp
Clean up clang warnings in pimd; mostly address-of-packed issues (removed some ugly casts too). Signed-off-by: Mark Stapp <mjs@cisco.com>
2025-01-09pimd: Implement rpf lookup mode as a listNathan Bahr
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>
2024-12-13pimd: Refactor pim NHTNathan Bahr
Refactor the next hop tracking in PIM to fully support the configured RPF lookup mode. Moved many NHT related functions to pim_nht.h/c NHT now tracks both MRIB and URIB tables and makes nexthop decisions based on the configured lookup mode. Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
2024-10-16pimd: mark rest-of-packet ignored in C-RP parseDavid Lamparter
The `buf` pointer is being updated as the parse goes along. It's not used after the last update, but I'd rather keep this in for consistency. Just make a note of it being unused. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2024-09-09pimd: candidate BSR/RP show commands, move under ip pim bsrJafar Al-Gharaibeh
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
2024-09-09pimd: Candidate-BSR supportJafar Al-Gharaibeh
Signed-off-by: David Lamparter <equinox@opensourcerouting.org> Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>