summaryrefslogtreecommitdiffstats
path: root/pimd/pim_iface.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-21 14:29:56 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 19:51:36 +0200
commit7cfc7bcfe77cc560ae4746b5b49ab17574d8c8cb (patch)
treeb90cb4c9febbbaba4bd025b479f2e303db89398f /pimd/pim_iface.h
parentpimd: Move pim_ifchannel_list and vif array into 'struct pim_instance *' (diff)
downloadfrr-7cfc7bcfe77cc560ae4746b5b49ab17574d8c8cb.tar.xz
frr-7cfc7bcfe77cc560ae4746b5b49ab17574d8c8cb.zip
pimd: Convert vif and ifindex lookups to use 'struct pim_instance *'
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.h')
-rw-r--r--pimd/pim_iface.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/pimd/pim_iface.h b/pimd/pim_iface.h
index ef81152af..e4b1b8e67 100644
--- a/pimd/pim_iface.h
+++ b/pimd/pim_iface.h
@@ -169,8 +169,10 @@ int pim_if_del_vif(struct interface *ifp);
void pim_if_add_vif_all(struct pim_instance *pim);
void pim_if_del_vif_all(struct pim_instance *pim);
-struct interface *pim_if_find_by_vif_index(ifindex_t vif_index);
-int pim_if_find_vifindex_by_ifindex(ifindex_t ifindex);
+struct interface *pim_if_find_by_vif_index(struct pim_instance *pim,
+ ifindex_t vif_index);
+int pim_if_find_vifindex_by_ifindex(struct pim_instance *pim,
+ ifindex_t ifindex);
int pim_if_lan_delay_enabled(struct interface *ifp);
uint16_t pim_if_effective_propagation_delay_msec(struct interface *ifp);