UDP Encapsulation. 27/9227/5
authorNeale Ranns <nranns@cisco.com>
Mon, 6 Nov 2017 00:26:46 +0000 (16:26 -0800)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 7 Nov 2017 16:13:42 +0000 (16:13 +0000)
commit810086d8fd08445919ae03bf36161037e53a712a
tree76a91d3ed49759ef3adae32066f9dcedd75df889
parent595992c5c3b5abbdb7e90e61acbee212f25ad59f
UDP Encapsulation.

A UDP-encap object that particiapates in the FIB graph and contributes
DPO to teh output chain. It thereofre resembles a tunnel but without the
interface. FIB paths (and henace routes) can then be created to egress
through the UDP-encap. Said routes can have MPLS labels, hence this also
allows MPLSoUPD.
Encap is uni-directional. For decap, one still registers with the UDP port
dispatcher.

Change-Id: I23bd345523b20789a1de1b02022ea1148ca50797
Signed-off-by: Neale Ranns <nranns@cisco.com>
19 files changed:
src/vnet.am
src/vnet/fib/fib_api.h
src/vnet/fib/fib_node.h
src/vnet/fib/fib_path.c
src/vnet/fib/fib_types.h
src/vnet/ip/ip.api
src/vnet/ip/ip_api.c
src/vnet/ip/lookup.c
src/vnet/mpls/mpls_api.c
src/vnet/udp/udp.api [new file with mode: 0644]
src/vnet/udp/udp_api.c [new file with mode: 0644]
src/vnet/udp/udp_encap.c [new file with mode: 0644]
src/vnet/udp/udp_encap.h [new file with mode: 0644]
src/vnet/udp/udp_encap_node.c [new file with mode: 0644]
src/vnet/vnet_all_api_h.h
test/test_udp.py [new file with mode: 0644]
test/vpp_ip_route.py
test/vpp_papi_provider.py
test/vpp_udp_encap.py [new file with mode: 0644]