VPP-395 Add udp-punt node(s) and API 88/3288/5
authorAlexander Popovsky (apopovsk) <[email protected]>
Thu, 6 Oct 2016 05:31:23 +0000 (22:31 -0700)
committerJohn Lo <[email protected]>
Fri, 7 Oct 2016 15:31:50 +0000 (15:31 +0000)
commit4a7e58bf481adb843707eec4a81213776a6d5212
tree18e80de3e457e618752dbbe3740104e9f292dc14
parent02c826c6abf8dc5ca95b05b219532d9bb0f10312
VPP-395 Add udp-punt node(s) and API

Uses existing UDP local API in order to register
requested UDP port punt to the host.

CLI: set punt udp [del] <port>
API: punt protocol <l4-protocol> [ip <ver>] [port <l4-port>] [del]
* Only UDP (l4-protocol = 17) is supported at this time

Change-Id: I9232af1c891d1ed174d77f3e0dfe60c4b9d85e40
Signed-off-by: Alex Popovsky <[email protected]>
vnet/Makefile.am
vnet/vnet/ip/punt.c [new file with mode: 0644]
vnet/vnet/ip/punt.h [new file with mode: 0644]
vnet/vnet/ip/punt_error.def [new file with mode: 0644]
vnet/vnet/ip/udp_error.def
vpp-api-test/vat/api_format.c
vpp/vpp-api/api.c
vpp/vpp-api/custom_dump.c
vpp/vpp-api/vpe.api