ARP learning fixes (VPP-843) 28/6728/3
authorNeale Ranns <nranns@cisco.com>
Tue, 16 May 2017 15:46:45 +0000 (08:46 -0700)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 17 May 2017 00:16:24 +0000 (00:16 +0000)
commitd5b6aa139856a1447f7bc5377058202110eaa4cf
treeb192c8176824c075c2192d14ec5cd65ccd2ef4f8
parent259cdaeccb70ea1a45b422218d3f5e1920459db8
ARP learning fixes (VPP-843)

learn ARP peers if, 1) it's a reply to a local address, 2) we are sending a response to a request.
send proxy ARP responses only in the interface the request was sent.

Change-Id: I22b949c65122824233076492b7dd537daca07bc2
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/ethernet/arp.c
src/vnet/ip/ip6_neighbor.c
src/vnet/ip/lookup.h
test/test_neighbor.py