![]() |
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Local TCP/IP stack punt infrastructure. More...
Go to the source code of this file.
Variables | |
punt_main_t | punt_main |
static vlib_cli_command_t | punt_command |
(constructor) VLIB_CLI_COMMAND (punt_command) More... | |
static vlib_cli_command_t | punt_socket_register_command |
(constructor) VLIB_CLI_COMMAND (punt_socket_register_command) More... | |
static vlib_cli_command_t | punt_socket_deregister_command |
(constructor) VLIB_CLI_COMMAND (punt_socket_deregister_command) More... | |
static vlib_cli_command_t | show_punt_socket_registration_command |
(constructor) VLIB_CLI_COMMAND (show_punt_socket_registration_command) More... | |
Local TCP/IP stack punt infrastructure.
Provides a set of VPP nodes together with the relevant APIs and CLI commands in order to adjust and dispatch packets from the VPP data plane to the local TCP/IP stack
Definition in file punt.c.
clib_error_t* ip_punt_init | ( | vlib_main_t * | vm | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void punt_client_walk | ( | punt_type_t | pt, |
punt_client_walk_cb_t | cb, | ||
void * | ctx | ||
) |
|
static |
|
static |
|
static |
Request IP L4 traffic punt to the local TCP/IP stack.
Note
vm | vlib_main_t corresponding to the current thread |
af | IP address family. |
protocol | 8-bits L4 protocol value UDP is 17 TCP is 1 |
port | 16-bits L4 (TCP/IP) port number when applicable (UDP only) |
Definition at line 368 of file punt.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
clib_error_t* vnet_punt_add_del | ( | vlib_main_t * | vm, |
const punt_reg_t * | pr, | ||
bool | is_add | ||
) |
char* vnet_punt_get_server_pathname | ( | void | ) |
clib_error_t* vnet_punt_socket_add | ( | vlib_main_t * | vm, |
u32 | header_version, | ||
const punt_reg_t * | pr, | ||
char * | client_pathname | ||
) |
clib_error_t* vnet_punt_socket_del | ( | vlib_main_t * | vm, |
const punt_reg_t * | pr | ||
) |
|
static |
punt_main_t punt_main |
|
static |
(constructor) VLIB_CLI_COMMAND (punt_socket_deregister_command)
|
static |
(constructor) VLIB_CLI_COMMAND (punt_socket_register_command)
|
static |
(constructor) VLIB_CLI_COMMAND (show_punt_socket_registration_command)