FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | builtin_server_main_t |
Functions | |
int | builtin_session_accept_callback (stream_session_t *s) |
void | builtin_session_disconnect_callback (stream_session_t *s) |
void | builtin_session_reset_callback (stream_session_t *s) |
int | builtin_session_connected_callback (u32 app_index, u32 api_context, stream_session_t *s, u8 is_fail) |
int | builtin_add_segment_callback (u32 client_index, const u8 *seg_name, u32 seg_size) |
int | builtin_redirect_connect_callback (u32 client_index, void *mp) |
void | test_bytes (builtin_server_main_t *bsm, int actual_transfer) |
int | builtin_server_rx_callback_no_echo (stream_session_t *s) |
int | builtin_server_rx_callback (stream_session_t *s) |
static int | create_api_loopback (vlib_main_t *vm) |
static int | server_attach () |
static int | server_listen () |
static int | server_create (vlib_main_t *vm) |
static clib_error_t * | server_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
clib_error_t * | builtin_tcp_server_main_init (vlib_main_t *vm) |
Variables | |
builtin_server_main_t | builtin_server_main |
static session_cb_vft_t | builtin_session_cb_vft |
static vlib_cli_command_t | server_create_command |
(constructor) VLIB_CLI_COMMAND (server_create_command) More... | |
Definition at line 98 of file builtin_server.c.
int builtin_redirect_connect_callback | ( | u32 | client_index, |
void * | mp | ||
) |
Definition at line 106 of file builtin_server.c.
int builtin_server_rx_callback | ( | stream_session_t * | s | ) |
Definition at line 154 of file builtin_server.c.
int builtin_server_rx_callback_no_echo | ( | stream_session_t * | s | ) |
Definition at line 134 of file builtin_server.c.
int builtin_session_accept_callback | ( | stream_session_t * | s | ) |
int builtin_session_connected_callback | ( | u32 | app_index, |
u32 | api_context, | ||
stream_session_t * | s, | ||
u8 | is_fail | ||
) |
Definition at line 90 of file builtin_server.c.
void builtin_session_disconnect_callback | ( | stream_session_t * | s | ) |
void builtin_session_reset_callback | ( | stream_session_t * | s | ) |
clib_error_t* builtin_tcp_server_main_init | ( | vlib_main_t * | vm | ) |
Definition at line 440 of file builtin_server.c.
|
static |
Definition at line 261 of file builtin_server.c.
|
static |
Definition at line 275 of file builtin_server.c.
|
static |
Definition at line 328 of file builtin_server.c.
|
static |
|
static |
Definition at line 317 of file builtin_server.c.
void test_bytes | ( | builtin_server_main_t * | bsm, |
int | actual_transfer | ||
) |
Definition at line 113 of file builtin_server.c.
builtin_server_main_t builtin_server_main |
Definition at line 54 of file builtin_server.c.
|
static |
Definition at line 249 of file builtin_server.c.
|
static |
(constructor) VLIB_CLI_COMMAND (server_create_command)
Definition at line 428 of file builtin_server.c.