diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-28 19:43:13 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:12 +0100 |
commit | 9f0edbc93c4f8145c667e3845d9c01c6c2aed910 (patch) | |
tree | 8853fb592b3ddb90a0575bc50ecd7f76f36c7dac /pimd/pim_iface.h | |
parent | pimd: Start (S,G,rpt) coding (diff) | |
download | frr-9f0edbc93c4f8145c667e3845d9c01c6c2aed910.tar.xz frr-9f0edbc93c4f8145c667e3845d9c01c6c2aed910.zip |
pimd: Find an interface that is both connected and setup for pim
When we are looking up the incoming interface for the ipmr
call back socket from the kernel, look to see if the src
is connected as well as has a valid pim_ifp to use.
This is to allow vrr configuration in a mlag env.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.h')
-rw-r--r-- | pimd/pim_iface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_iface.h b/pimd/pim_iface.h index 87530c602..f671a7d54 100644 --- a/pimd/pim_iface.h +++ b/pimd/pim_iface.h @@ -128,6 +128,8 @@ void pim_if_addr_del_all(struct interface *ifp); void pim_if_addr_del_all_igmp(struct interface *ifp); void pim_if_addr_del_all_pim(struct interface *ifp); +struct interface *pim_if_lookup_address_vrf (struct in_addr src, vrf_id_t vrf_id); + int pim_if_add_vif(struct interface *ifp); int pim_if_del_vif(struct interface *ifp); void pim_if_add_vif_all(void); |