aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ethernet/arp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ethernet/arp.h')
-rw-r--r--src/vnet/ethernet/arp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/vnet/ethernet/arp.h b/src/vnet/ethernet/arp.h
index e99d7a82db8..56d9f29e09f 100644
--- a/src/vnet/ethernet/arp.h
+++ b/src/vnet/ethernet/arp.h
@@ -47,6 +47,9 @@ extern int vnet_proxy_arp_add_del (ip4_address_t * lo_addr,
ip4_address_t * hi_addr,
u32 fib_index, int is_del);
+extern int vnet_proxy_arp_enable_disable (vnet_main_t * vnm,
+ u32 sw_if_index, u8 enable);
+
extern int vnet_arp_set_ip4_over_ethernet (vnet_main_t * vnm,
u32 sw_if_index,
const
@@ -103,6 +106,14 @@ typedef walk_rc_t (proxy_arp_walk_t) (const ip4_address_t * lo_addr,
extern void proxy_arp_walk (proxy_arp_walk_t cb, void *data);
+/**
+ * call back function when walking the DB of proxy ARP interface
+ * @return 0 to stop the walk !0 to continue
+ */
+typedef walk_rc_t (proxy_arp_intf_walk_t) (u32 sw_if_index, void *data);
+
+extern void proxy_arp_intfc_walk (proxy_arp_intf_walk_t cb, void *data);
+
#endif
/*