]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: Implement nexthop match where if given address match any of the next hop in...
authorsaravanank <saravanank@vmware.com>
Thu, 2 May 2019 07:48:27 +0000 (00:48 -0700)
committersaravanank <saravanank@vmware.com>
Wed, 15 May 2019 03:23:15 +0000 (20:23 -0700)
commit4b936634139d1c910b138c45d75b6c576f5c5cbe
treec99a01aca1358ca3deff63dce75ac11cc63cee52
parent4533b847ec1e2a0f6dc97b6da304498f27d7292a
pimd: Implement nexthop match where if given address match any of the next hop in ecmp case

For each BSM packet, rpf check is performed. We will be accepting if the
source address match any of the next hop neighbor(in ecmp case) to reach
the Bootstrap Router.

1. pim_nexthop_match - this lookup in zebra and return true if any of the
                       next hop nbr is matching (in ecmp case).
2. pim_nexthop_match_nht_cache - this api searches the given address in local
                                 pnc and return true if any of the next hop
                                 nbr is matching (in ecmp case).

Signed-off-by: Saravanan K <saravanank@vmware.com>
pimd/pim_nht.c
pimd/pim_nht.h