Go to the source code of this file.
|
static void | signal_evt_to_cli_i (int *code) |
|
static void | signal_evt_to_cli (int code) |
|
static void | send_data_chunk (echo_client_main_t *ecm, eclient_session_t *s) |
|
static void | receive_data_chunk (echo_client_main_t *ecm, eclient_session_t *s) |
|
static uword | echo_client_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static int | create_api_loopback (echo_client_main_t *ecm) |
|
static int | echo_clients_init (vlib_main_t *vm) |
|
static int | quic_echo_clients_qsession_connected_callback (u32 app_index, u32 api_context, session_t *s, u8 is_fail) |
|
static int | quic_echo_clients_session_connected_callback (u32 app_index, u32 api_context, session_t *s, u8 is_fail) |
|
static int | echo_clients_session_connected_callback (u32 app_index, u32 api_context, session_t *s, u8 is_fail) |
|
static void | echo_clients_session_reset_callback (session_t *s) |
|
static int | echo_clients_session_create_callback (session_t *s) |
|
static void | echo_clients_session_disconnect_callback (session_t *s) |
|
void | echo_clients_session_disconnect (session_t *s) |
|
static int | echo_clients_rx_callback (session_t *s) |
|
int | echo_client_add_segment_callback (u32 client_index, u64 segment_handle) |
|
static clib_error_t * | echo_clients_attach (u8 *appns_id, u64 appns_flags, u64 appns_secret) |
|
static int | echo_clients_detach () |
|
static void * | echo_client_thread_fn (void *arg) |
|
int | echo_clients_start_tx_pthread (echo_client_main_t *ecm) |
| Start a transmit thread. More...
|
|
clib_error_t * | echo_clients_connect (vlib_main_t *vm, u32 n_clients) |
|
static clib_error_t * | echo_clients_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | echo_clients_main_init (vlib_main_t *vm) |
|
#define DBG |
( |
|
_fmt, |
|
|
|
_args... |
|
) |
| |
Value:#define clib_warning(format, args...)
Definition at line 26 of file echo_client.c.
#define ec_cli_output |
( |
|
_fmt, |
|
|
|
_args... |
|
) |
| |
Value:
void vlib_cli_output(vlib_main_t *vm, char *fmt,...)
Definition at line 739 of file echo_client.c.
#define ECHO_CLIENT_DBG (0) |
int echo_client_add_segment_callback |
( |
u32 |
client_index, |
|
|
u64 |
segment_handle |
|
) |
| |
static void* echo_client_thread_fn |
( |
void * |
arg | ) |
|
|
static |
static int echo_clients_detach |
( |
| ) |
|
|
static |
static int echo_clients_rx_callback |
( |
session_t * |
s | ) |
|
|
static |
static int echo_clients_session_connected_callback |
( |
u32 |
app_index, |
|
|
u32 |
api_context, |
|
|
session_t * |
s, |
|
|
u8 |
is_fail |
|
) |
| |
|
static |
static int echo_clients_session_create_callback |
( |
session_t * |
s | ) |
|
|
static |
void echo_clients_session_disconnect |
( |
session_t * |
s | ) |
|
static void echo_clients_session_disconnect_callback |
( |
session_t * |
s | ) |
|
|
static |
static void echo_clients_session_reset_callback |
( |
session_t * |
s | ) |
|
|
static |
static int quic_echo_clients_qsession_connected_callback |
( |
u32 |
app_index, |
|
|
u32 |
api_context, |
|
|
session_t * |
s, |
|
|
u8 |
is_fail |
|
) |
| |
|
static |
static int quic_echo_clients_session_connected_callback |
( |
u32 |
app_index, |
|
|
u32 |
api_context, |
|
|
session_t * |
s, |
|
|
u8 |
is_fail |
|
) |
| |
|
static |
static void signal_evt_to_cli |
( |
int |
code | ) |
|
|
static |
static void signal_evt_to_cli_i |
( |
int * |
code | ) |
|
|
static |
Initial value:= {
}
int echo_client_add_segment_callback(u32 client_index, u64 segment_handle)
static int echo_clients_session_create_callback(session_t *s)
static void echo_clients_session_disconnect_callback(session_t *s)
static void echo_clients_session_reset_callback(session_t *s)
static int echo_clients_rx_callback(session_t *s)
static int echo_clients_session_connected_callback(u32 app_index, u32 api_context, session_t *s, u8 is_fail)
Definition at line 616 of file echo_client.c.
Initial value:=
{
.path = "test echo clients",
.short_help = "test echo clients [nclients %d][[m|g]bytes <bytes>]"
"[test-timeout <time>][syn-timeout <time>][no-return][fifo-size <size>]"
"[private-segment-count <count>][private-segment-size <bytes>[m|g]]"
"[preallocate-fifos][preallocate-sessions][client-batch <batch-size>]"
"[uri <tcp://ip/port>][test-bytes][no-output]",
.is_mp_safe = 1,
}
static clib_error_t * echo_clients_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (echo_clients_command)
Definition at line 1009 of file echo_client.c.
Initial value:=
{
.name = "echo-clients",
.state = VLIB_NODE_STATE_DISABLED,
}
static uword echo_client_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (echo_clients_node)
Definition at line 309 of file echo_client.c.