ARP: add feature arc 77/19877/3
authorNeale Ranns <nranns@cisco.com>
Wed, 29 May 2019 13:58:43 +0000 (13:58 +0000)
committerDamjan Marion <dmarion@me.com>
Mon, 3 Jun 2019 14:15:37 +0000 (14:15 +0000)
commit57e53bb9a5c9ee164938a1cee6025f7044deb728
tree2a2515bdfc796f6427b0fc45139f9b8f8f90880a
parentdd2423ef74b37711aec413603df21230f7823333
ARP: add feature arc

- arp-input, registered with the ethernet protocol dispatcher, performs
basic checks and starts the arc
- arp-reply; first feature on the arc replies to requests and learns
from responses (no functional change)
- arp-proxy; checks against the proxy DB

arp-reply and arp-proxy are enabled when the interface is appropriately
configured.

Change-Id: I7d1bbabdb8c8b8187cac75e663daa4a5a7ce382a
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/ethernet/arp.c
src/vnet/ethernet/arp.h
src/vnet/interface.h
src/vnet/ip/ip4.h
src/vnet/ip/ip4_forward.c
src/vnet/ip/ip_api.c
src/vnet/tcp/tcp.c