Fix ICMP echo reply punt path 86/4086/2
authorAlexander Popovsky <apopovsk@cisco.com>
Sun, 4 Dec 2016 10:39:38 +0000 (02:39 -0800)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 5 Dec 2016 09:18:34 +0000 (09:18 +0000)
commitc90dfdcf4fabbde529540cf32cbcaa9d5da16b60
tree0e000a02fa2c81bb4e206e5fce811e0e00235798
parent9dfd3383e5dd2c50fa5b65ba1bfc27ced8728b7c
Fix ICMP echo reply punt path

Add ICMP echo reply punt logic in ip[46]-icmp-echo-reply (ping) nodes.
ICMP echo reply packets corresponding to the locally (VPP) originated
ICMP echo requests are still dropped as before. Rest of the (unknown)
ICMP echo reply packets are pushed to the “error-punt” node.

Also added ICMP echo packet (id/seq) trace information

Change-Id: I998198430dedc9b4d771b6aff2a97f18598663f9
Signed-off-by: Alexander Popovsky <apopovsk@cisco.com>
vnet/vnet/ip/ping.c
vnet/vnet/ip/ping.h