Go to the source code of this file.
|
int | quic_echo_server_qsession_accept_callback (session_t *s) |
|
int | quic_echo_server_session_accept_callback (session_t *s) |
|
int | echo_server_session_accept_callback (session_t *s) |
|
void | echo_server_session_disconnect_callback (session_t *s) |
|
void | echo_server_session_reset_callback (session_t *s) |
|
int | echo_server_session_connected_callback (u32 app_index, u32 api_context, session_t *s, session_error_t err) |
|
int | echo_server_add_segment_callback (u32 client_index, u64 segment_handle) |
|
int | echo_server_redirect_connect_callback (u32 client_index, void *mp) |
|
void | test_bytes (echo_server_main_t *esm, int actual_transfer) |
|
int | echo_server_builtin_server_rx_callback_no_echo (session_t *s) |
|
int | echo_server_rx_callback (session_t *s) |
|
static int | create_api_loopback (vlib_main_t *vm) |
|
static int | echo_server_attach (u8 *appns_id, u64 appns_flags, u64 appns_secret) |
|
static int | echo_server_detach (void) |
|
static int | echo_server_listen () |
|
static int | echo_server_create (vlib_main_t *vm, u8 *appns_id, u64 appns_flags, u64 appns_secret) |
|
static clib_error_t * | echo_server_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | echo_server_main_init (vlib_main_t *vm) |
|
◆ DBG
#define DBG |
( |
|
_fmt, |
|
|
|
_args... |
|
) |
| |
Value: clib_warning (_fmt, ##_args)
Definition at line 23 of file echo_server.c.
◆ ECHO_SERVER_DBG
#define ECHO_SERVER_DBG (0) |
◆ create_api_loopback()
◆ echo_server_add_segment_callback()
int echo_server_add_segment_callback |
( |
u32 |
client_index, |
|
|
u64 |
segment_handle |
|
) |
| |
◆ echo_server_attach()
static int echo_server_attach |
( |
u8 * |
appns_id, |
|
|
u64 |
appns_flags, |
|
|
u64 |
appns_secret |
|
) |
| |
|
static |
◆ echo_server_builtin_server_rx_callback_no_echo()
int echo_server_builtin_server_rx_callback_no_echo |
( |
session_t * |
s | ) |
|
◆ echo_server_create()
static int echo_server_create |
( |
vlib_main_t * |
vm, |
|
|
u8 * |
appns_id, |
|
|
u64 |
appns_flags, |
|
|
u64 |
appns_secret |
|
) |
| |
|
static |
◆ echo_server_create_command_fn()
◆ echo_server_detach()
static int echo_server_detach |
( |
void |
| ) |
|
|
static |
◆ echo_server_listen()
static int echo_server_listen |
( |
| ) |
|
|
static |
◆ echo_server_main_init()
◆ echo_server_redirect_connect_callback()
int echo_server_redirect_connect_callback |
( |
u32 |
client_index, |
|
|
void * |
mp |
|
) |
| |
◆ echo_server_rx_callback()
◆ echo_server_session_accept_callback()
int echo_server_session_accept_callback |
( |
session_t * |
s | ) |
|
◆ echo_server_session_connected_callback()
◆ echo_server_session_disconnect_callback()
void echo_server_session_disconnect_callback |
( |
session_t * |
s | ) |
|
◆ echo_server_session_reset_callback()
void echo_server_session_reset_callback |
( |
session_t * |
s | ) |
|
◆ quic_echo_server_qsession_accept_callback()
int quic_echo_server_qsession_accept_callback |
( |
session_t * |
s | ) |
|
◆ quic_echo_server_session_accept_callback()
int quic_echo_server_session_accept_callback |
( |
session_t * |
s | ) |
|
◆ test_bytes()
◆ echo_server_create_command
Initial value:=
{
.path = "test echo server",
.short_help = "test echo server proto <proto> [no echo][fifo-size <mbytes>]"
"[rcv-buf-size <bytes>][prealloc-fifos <count>]"
"[private-segment-count <count>][private-segment-size <bytes[m|g]>]"
"[uri <tcp://ip/port>]",
}
static clib_error_t * echo_server_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (echo_server_create_command)
Definition at line 562 of file echo_server.c.
◆ echo_server_main
◆ echo_server_session_cb_vft
Initial value:= {
}
int echo_server_session_accept_callback(session_t *s)
void echo_server_session_disconnect_callback(session_t *s)
int echo_server_session_connected_callback(u32 app_index, u32 api_context, session_t *s, session_error_t err)
void echo_server_session_reset_callback(session_t *s)
int echo_server_rx_callback(session_t *s)
int echo_server_add_segment_callback(u32 client_index, u64 segment_handle)
Definition at line 295 of file echo_server.c.