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_test_chunk (tclient_main_t *tm, session_t *s) |
|
static void | receive_test_chunk (tclient_main_t *tm, session_t *s) |
|
static uword | builtin_client_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static int | create_api_loopback (tclient_main_t *tm) |
|
static int | tcp_test_clients_init (vlib_main_t *vm) |
|
static int | builtin_session_connected_callback (u32 app_index, u32 api_context, stream_session_t *s, u8 is_fail) |
|
static void | builtin_session_reset_callback (stream_session_t *s) |
|
static int | builtin_session_create_callback (stream_session_t *s) |
|
static void | builtin_session_disconnect_callback (stream_session_t *s) |
|
static int | builtin_server_rx_callback (stream_session_t *s) |
|
static int | attach_builtin_test_clients_app (void) |
|
static void * | tclient_thread_fn (void *arg) |
|
int | start_tx_pthread (tclient_main_t *tm) |
| Start a transmit thread. More...
|
|
void | clients_connect (vlib_main_t *vm, u8 *uri, u32 n_clients) |
|
static clib_error_t * | test_tcp_clients_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | tcp_test_clients_main_init (vlib_main_t *vm) |
|
#define TCP_BUILTIN_CLIENT_DBG (0) |
static int attach_builtin_test_clients_app |
( |
void |
| ) |
|
|
static |
static void signal_evt_to_cli |
( |
int |
code | ) |
|
|
static |
static void signal_evt_to_cli_i |
( |
int * |
code | ) |
|
|
static |
static void* tclient_thread_fn |
( |
void * |
arg | ) |
|
|
static |
Initial value:=
{
.name = "builtin-tcp-client",
.state = VLIB_NODE_STATE_DISABLED,
}
static uword builtin_client_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (builtin_client_node)
Definition at line 283 of file builtin_client.c.
Initial value:= {
}
static int builtin_session_connected_callback(u32 app_index, u32 api_context, stream_session_t *s, u8 is_fail)
static void builtin_session_disconnect_callback(stream_session_t *s)
static void builtin_session_reset_callback(stream_session_t *s)
static int builtin_session_create_callback(stream_session_t *s)
static int builtin_server_rx_callback(stream_session_t *s)
Definition at line 420 of file builtin_client.c.
Initial value:=
{
.path = "test tcp clients",
.short_help = "test tcp 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>]",
.is_mp_safe = 1,
}
static clib_error_t * test_tcp_clients_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (test_clients_command)
Definition at line 741 of file builtin_client.c.