|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
40 u8 is_add = 1, is_ip4 = 1;
52 else if (
unformat (line_input,
"del"))
54 else if (
unformat (line_input,
"ipv4"))
56 else if (
unformat (line_input,
"ipv6"))
104 "udp decap [add|del] [ipv4|ipv6] <dst-port> next-proto <inner-protocol>",
#define clib_error_return(e, args...)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
void udp_register_dst_port(vlib_main_t *vm, udp_dst_port_t dst_port, u32 node_index, u8 is_ip4)
void udp_unregister_dst_port(vlib_main_t *vm, udp_dst_port_t dst_port, u8 is_ip4)
#define VLIB_CLI_COMMAND(x,...)
vlib_node_t * vlib_get_node_by_name(vlib_main_t *vm, u8 *name)
static clib_error_t * udp_decap_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd_arg)
uword unformat_next_node(unformat_input_t *input, va_list *args)