diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-21 08:29:56 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 13:51:36 -0400 | 
| commit | 7cfc7bcfe77cc560ae4746b5b49ab17574d8c8cb (patch) | |
| tree | b90cb4c9febbbaba4bd025b479f2e303db89398f /pimd/pim_iface.h | |
| parent | f88df3a6425f49fe12cb0808e248f9a4047e6176 (diff) | |
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.h | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/pimd/pim_iface.h b/pimd/pim_iface.h index ef81152af9..e4b1b8e675 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);  | 
