Improve IP4 ARP and IP6 ND Events Notification 70/13470/3 v18.10-rc0
authorJohn Lo <loj@cisco.com>
Fri, 13 Jul 2018 21:29:58 +0000 (17:29 -0400)
committerDave Barach <openvpp@barachs.net>
Sat, 14 Jul 2018 15:47:08 +0000 (15:47 +0000)
commit0e6f4d6af4191340a5f542c9eeb0f34dda32e745
tree9c67e0fb9cc5db439e5388cb0886a1b679d6dce5
parent29b32c2ae3e3cbe5ceaa607c8f4b31a2ac2faaa3
Improve IP4 ARP and IP6 ND Events Notification

For L2 ARP termination, use both brodcast ARP request and reply
packets to provide MAC/IP binding events.

For IP4/IP6 neighbor adress resolution, send resolution events
if there is an address resolution attemp with a static neighbor
entry where both IP and MAC matches. This allow probe of an IP
neighbor with a static entry to confirm it is responding with
a reply matching that of the static entry.

Change-Id: Iffb923bb5aea3f9021436735d5ca06e7b24f966f
Signed-off-by: John Lo <loj@cisco.com>
src/vnet/ethernet/arp.c
src/vnet/ip/ip6_neighbor.c