Punt: socket register for exception dispatched/punted packets based on reason 42/19642/14
authorNeale Ranns <nranns@cisco.com>
Wed, 15 May 2019 09:13:37 +0000 (02:13 -0700)
committerOle Trøan <otroan@employees.org>
Tue, 28 May 2019 13:30:44 +0000 (13:30 +0000)
commit50f0ac0f097e5495da1f2b1816106e3d420ff34b
treed10ae0385fc10b7da97b2a24f8dea3882f6d702d
parent9080096f7c548415fc4d5354c7e582a3eda1a5ed
Punt: socket register for exception dispatched/punted packets based on reason

- add to the Punt API to allow different descriptions of the desired packets: UDP or exceptions
- move the punt nodes into punt_node.c
- improve tests (test that the correct packets are punted to the registered socket)

Change-Id: I1a133dec88106874993cba1f5a439cd26b2fef72
Signed-off-by: Neale Ranns <nranns@cisco.com>
22 files changed:
src/vat/api_format.c
src/vlib/punt.c
src/vlib/punt.h
src/vnet/CMakeLists.txt
src/vnet/ethernet/ethernet_types_api.c
src/vnet/ip/ip.c
src/vnet/ip/ip.h
src/vnet/ip/ip_types.api
src/vnet/ip/ip_types_api.c
src/vnet/ip/ip_types_api.h
src/vnet/ip/punt.api
src/vnet/ip/punt.c
src/vnet/ip/punt.h
src/vnet/ip/punt.md [new file with mode: 0644]
src/vnet/ip/punt_api.c
src/vnet/ip/punt_node.c [new file with mode: 0644]
src/vnet/ipsec/ipsec_punt.h
src/vpp/api/custom_dump.c
src/vpp/api/types.c
src/vpp/api/types.h
test/test_punt.py
test/vpp_papi_provider.py