summaryrefslogtreecommitdiffstats
path: root/src/vnet/ethernet/arp.h
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-09-24 08:34:11 +0000
committerOle Trøan <otroan@employees.org>2018-09-24 12:39:32 +0000
commitcf7efe01e791fd1aa688624194e6e2ffffd8f97f (patch)
tree183e65d6afaf2ae5cf5fdc9344392410bf3eb7a7 /src/vnet/ethernet/arp.h
parent9e3252b5cec76dddb9877e593c799ebe15cae0af (diff)
ARP: don't use RPC for requests initiated from the main thread
Change-Id: If833680149eb33db6adc836c5330f350042869f4 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ethernet/arp.h')
-rw-r--r--src/vnet/ethernet/arp.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/vnet/ethernet/arp.h b/src/vnet/ethernet/arp.h
index 7b50ed77538..6c89d1e68cb 100644
--- a/src/vnet/ethernet/arp.h
+++ b/src/vnet/ethernet/arp.h
@@ -26,12 +26,16 @@ extern int vnet_proxy_arp_add_del (ip4_address_t * lo_addr,
extern int vnet_arp_set_ip4_over_ethernet (vnet_main_t * vnm,
u32 sw_if_index,
- void *a_arg,
- int is_static,
+ const
+ ethernet_arp_ip4_over_ethernet_address_t
+ * a, int is_static,
int is_no_fib_entry);
extern int vnet_arp_unset_ip4_over_ethernet (vnet_main_t * vnm,
- u32 sw_if_index, void *a_arg);
+ u32 sw_if_index,
+ const
+ ethernet_arp_ip4_over_ethernet_address_t
+ * a);
extern int vnet_proxy_arp_fib_reset (u32 fib_id);