|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
23 #define foreach_ethernet_arp_error \
24 _ (replies_sent, "ARP replies sent") \
25 _ (l2_type_not_ethernet, "L2 type not ethernet") \
26 _ (l3_type_not_ip4, "L3 type not IP4") \
27 _ (l3_src_address_not_local, "IP4 source address not local to subnet") \
28 _ (l3_dst_address_not_local, "IP4 destination address not local to subnet") \
29 _ (l3_dst_address_unset, "IP4 destination address is unset") \
30 _ (l3_src_address_is_local, "IP4 source address matches local interface") \
31 _ (l3_src_address_learned, "ARP request IP4 source address learned") \
32 _ (replies_received, "ARP replies received") \
33 _ (opcode_not_request, "ARP opcode not request") \
34 _ (proxy_arp_replies_sent, "Proxy ARP replies sent") \
35 _ (l2_address_mismatch, "ARP hw addr does not match L2 frame src addr") \
36 _ (gratuitous_arp, "ARP probe or announcement dropped") \
37 _ (interface_no_table, "Interface is not mapped to an IP table") \
38 _ (interface_not_ip_enabled, "Interface is not IP enabled") \
39 _ (unnumbered_mismatch, "RX interface is unnumbered to different subnet") \
43 #define _(sym,string) ETHERNET_ARP_ERROR_##sym,
65 u32 fib_index,
void *dat);
int arp_proxy_add(u32 fib_index, const ip4_address_t *lo_addr, const ip4_address_t *hi_addr)
int arp_proxy_del(u32 fib_index, const ip4_address_t *lo_addr, const ip4_address_t *hi_addr)
walk_rc_t() proxy_arp_intf_walk_t(u32 sw_if_index, void *data)
call back function when walking the DB of proxy ARP interface
void proxy_arp_walk(proxy_arp_walk_t cb, void *data)
#define foreach_ethernet_arp_error
int arp_proxy_disable(u32 sw_if_index)
int arp_proxy_enable(u32 sw_if_index)
walk_rc_t() proxy_arp_walk_t(const ip4_address_t *lo_addr, const ip4_address_t *hi_addr, u32 fib_index, void *dat)
call back function when walking the DB of proxy ARPs
void proxy_arp_intfc_walk(proxy_arp_intf_walk_t cb, void *data)
vl_api_interface_index_t sw_if_index
enum walk_rc_t_ walk_rc_t
Walk return code.
ethernet_arp_reply_error_t