udp: add udp decapsulation 92/32392/6
authorArthur de Kerhor <arthurdekerhor@gmail.com>
Thu, 20 May 2021 09:48:00 +0000 (11:48 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Sat, 29 May 2021 18:13:01 +0000 (18:13 +0000)
commit8a6f5d394c69eba3bfaddfe36a93d1013cba3ce3
tree4adb54d52b2f246fc7d2820fb959e63bbcae7de3
parentb740fdc8ff7f58637524e999d5fe01b8b010810d
udp: add udp decapsulation

Possibility to register a port via CLI or API to decap incoming UDP
packets:
 - For CLI, a user needs to specify the inner protocol (only MPLS
   supported for now)
 - For API, the protocol is specified by index
Added unittests

Type: feature
Change-Id: Ifedd86d8db2e355b7618472554fd67d77a13a4aa
Signed-off-by: Arthur de Kerhor <arthurdekerhor@gmail.com>
src/vnet/CMakeLists.txt
src/vnet/fib/fib_path.c
src/vnet/udp/udp.api
src/vnet/udp/udp_api.c
src/vnet/udp/udp_decap.c [new file with mode: 0644]
test/test_udp.py
test/vpp_udp_decap.py [new file with mode: 0644]