FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
src/vnet/udp

show udp encap

Summary/usage

show udp encap [ID].

Declaration and implementation

Declaration: udp_encap_show_command (src/vnet/udp/udp_encap.c line 561)

Implementation: udp_encap_show.

show udp punt

Summary/usage

show udp punt [ipv4|ipv6].

Declaration and implementation

Declaration: show_tcp_punt_command (src/vnet/udp/udp_cli.c line 166)

Implementation: show_udp_punt_fn.

udp decap

Summary/usage

udp decap [add|del] [ipv4|ipv6] <dst-port> next-proto <inner-protocol>.

Description

Register a port to decapsulate incoming UDP encapsulated packets.

Example usage
udp decap add ipv4 1234 next-proto mpls
vpp# udp decap [add|del] [ipv4|ipv6] <dst-port> next-proto
<inner-protocol>

Declaration and implementation

Declaration: udp_decap_add_command (src/vnet/udp/udp_decap.c line 101)

Implementation: udp_decap_cli.

udp encap

Summary/usage

udp encap [add|del] &lt;id ID&gt; &lt;src-ip&gt; &lt;dst-ip&gt; [&lt;src-port&gt;] &lt;dst-port&gt;  [src-port-is-entropy] [table-id &lt;table&gt;].

Declaration and implementation

Declaration: udp_encap_add_command (src/vnet/udp/udp_encap.c line 555)

Implementation: udp_encap_cli.