Go to the source code of this file.
|
static void | conn_pool_expand (vcl_test_server_worker_t *wrk, size_t expand_size) |
|
static vcl_test_server_conn_t * | conn_pool_alloc (vcl_test_server_worker_t *wrk) |
|
static void | conn_pool_free (vcl_test_server_conn_t *conn) |
|
static void | sync_config_and_reply (vcl_test_server_conn_t *conn, vcl_test_cfg_t *rx_cfg) |
|
static void | vts_server_start_stop (vcl_test_server_worker_t *wrk, vcl_test_server_conn_t *conn, vcl_test_cfg_t *rx_cfg) |
|
static void | vts_server_rx (vcl_test_server_conn_t *conn, int rx_bytes) |
|
static void | vts_copy_ds (void *buf, vppcom_data_segment_t *ds, u32 max_bytes) |
|
static void | vts_server_echo (vcl_test_server_conn_t *conn, int rx_bytes) |
|
static void | vts_new_client (vcl_test_server_worker_t *wrk, int listen_fd) |
|
static void | print_usage_and_exit (void) |
|
static void | vcl_test_init_endpoint_addr (vcl_test_server_main_t *vsm) |
|
static void | vcl_test_server_process_opts (vcl_test_server_main_t *vsm, int argc, char **argv) |
|
static void | vts_clean_connected_listeners (vcl_test_server_worker_t *wrk, int listener_fd) |
|
int | vts_handle_cfg (vcl_test_server_worker_t *wrk, vcl_test_cfg_t *rx_cfg, vcl_test_server_conn_t *conn, int rx_bytes) |
|
static void | vts_worker_init (vcl_test_server_worker_t *wrk) |
|
static int | vts_conn_expect_config (vcl_test_server_conn_t *conn) |
|
static vcl_test_cfg_t * | vts_conn_read_config (vcl_test_server_conn_t *conn) |
|
static int | vts_conn_read (vcl_test_server_conn_t *conn) |
|
static int | vts_conn_has_ascii (vcl_test_server_conn_t *conn) |
|
static void * | vts_worker_loop (void *arg) |
|
int | main (int argc, char **argv) |
|
◆ conn_pool_alloc()
◆ conn_pool_expand()
◆ conn_pool_free()
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ print_usage_and_exit()
static void print_usage_and_exit |
( |
void |
| ) |
|
|
static |
◆ sync_config_and_reply()
◆ vcl_test_init_endpoint_addr()
◆ vcl_test_server_process_opts()
◆ vts_clean_connected_listeners()
◆ vts_conn_expect_config()
◆ vts_conn_has_ascii()
◆ vts_conn_read()
◆ vts_conn_read_config()
◆ vts_copy_ds()
static void vts_copy_ds |
( |
void * |
buf, |
|
|
vppcom_data_segment_t * |
ds, |
|
|
u32 |
max_bytes |
|
) |
| |
|
static |
◆ vts_handle_cfg()
◆ vts_new_client()
◆ vts_server_echo()
◆ vts_server_rx()
◆ vts_server_start_stop()
◆ vts_worker_init()
◆ vts_worker_loop()
static void* vts_worker_loop |
( |
void * |
arg | ) |
|
|
static |
◆ vcl_server_main