Improved tracing for the IP[46] not-enabled case. 35/10335/3
authorNeale Ranns <nranns@cisco.com>
Tue, 30 Jan 2018 17:02:20 +0000 (09:02 -0800)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 31 Jan 2018 17:42:27 +0000 (17:42 +0000)
commit8269d3dbe70adaae60806d5d84e35f25d23193c5
tree7e56cd4feed2fffcf8d6791ccc828cae5385d352
parentf2a23cc8602525a325eaeaae6aca5e18882c33da
Improved tracing for the IP[46] not-enabled case.

now we get
00:00:03:665501: pg-input
 ...
00:00:03:665681: ethernet-input
 ...
00:00:03:665691: ip6-input
  UDP: 2001::1 -> ffef::1
    tos 0x00, flow label 0x0, hop limit 64, payload length 108
  UDP: 1234 -> 1234
    length 108, checksum 0x7b25
00:00:03:665695: ip6-not-enabled
    UDP: 2001::1 -> ffef::1
      tos 0x00, flow label 0x0, hop limit 64, payload length 108
    UDP: 1234 -> 1234
      length 108, checksum 0x7b25
00:00:03:665706: error-drop
  ethernet-input: no error

Same goes for IPv4

Change-Id: Ia360df39b43281d3a0aa1b686f04b73cfa37c546
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/plugins/stn/stn.c
src/vnet/dhcp/dhcp_client_detect.c
src/vnet/ip/ip4_forward.c
src/vnet/ip/ip4_punt_drop.c
src/vnet/ip/ip6_forward.c
src/vnet/ip/ip6_punt_drop.c