FD.io VPP
v20.05.1-6-gf53edbc3b
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | sock_server_conn_t |
struct | sock_server_cfg_t |
struct | sock_server_main_t |
Macros | |
#define | SOCK_SERVER_MAX_TEST_CONN 10 |
#define | SOCK_SERVER_MAX_EPOLL_EVENTS 10 |
Functions | |
static void | conn_pool_expand (size_t expand_size) |
static sock_server_conn_t * | conn_pool_alloc (void) |
static void | conn_pool_free (sock_server_conn_t *conn) |
static void | sync_config_and_reply (sock_server_conn_t *conn, vcl_test_cfg_t *rx_cfg) |
static void | stream_test_server_start_stop (sock_server_conn_t *conn, vcl_test_cfg_t *rx_cfg) |
static void | stream_test_server (sock_server_conn_t *conn, int rx_bytes) |
static void | af_unix_echo (void) |
static void | new_client (void) |
static int | socket_server_echo_af_unix_init (sock_server_main_t *ssm) |
void | print_usage_and_exit (void) |
int | main (int argc, char **argv) |
Variables | |
sock_server_main_t | sock_server_main |
#define SOCK_SERVER_MAX_EPOLL_EVENTS 10 |
Definition at line 32 of file sock_test_server.c.
#define SOCK_SERVER_MAX_TEST_CONN 10 |
Definition at line 31 of file sock_test_server.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 75 of file sock_test_server.c.
|
inlinestatic |
int main | ( | int | argc, |
char ** | argv | ||
) |
|
inlinestatic |
Definition at line 305 of file sock_test_server.c.
void print_usage_and_exit | ( | void | ) |
|
static |
|
inlinestatic |
Definition at line 223 of file sock_test_server.c.
|
static |
Definition at line 150 of file sock_test_server.c.
|
inlinestatic |
Definition at line 133 of file sock_test_server.c.
sock_server_main_t sock_server_main |
Definition at line 72 of file sock_test_server.c.