FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
sock_test_client.c File Reference
+ Include dependency graph for sock_test_client.c:

Go to the source code of this file.

Data Structures

struct  sock_client_main_t
 

Functions

static int sock_test_cfg_sync (vcl_test_session_t *socket)
 
static void sock_client_echo_af_unix (sock_client_main_t *scm)
 
static void echo_test_client (void)
 
static void stream_test_client (vcl_test_t test)
 
static void exit_client (void)
 
static int sock_test_connect_test_sockets (uint32_t num_test_sockets)
 
static void cfg_txbuf_size_set (void)
 
static void cfg_num_writes_set (void)
 
static void cfg_num_test_sockets_set (void)
 
static void cfg_rxbuf_size_set (void)
 
static void cfg_verbose_toggle (void)
 
static vcl_test_t parse_input ()
 
void print_usage_and_exit (void)
 
int main (int argc, char **argv)
 

Variables

sock_client_main_t sock_client_main
 

Function Documentation

◆ cfg_num_test_sockets_set()

static void cfg_num_test_sockets_set ( void  )
static

Definition at line 586 of file sock_test_client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cfg_num_writes_set()

static void cfg_num_writes_set ( void  )
static

Definition at line 568 of file sock_test_client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cfg_rxbuf_size_set()

static void cfg_rxbuf_size_set ( void  )
static

Definition at line 607 of file sock_test_client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cfg_txbuf_size_set()

static void cfg_txbuf_size_set ( void  )
static

Definition at line 547 of file sock_test_client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cfg_verbose_toggle()

static void cfg_verbose_toggle ( void  )
static

Definition at line 627 of file sock_test_client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ echo_test_client()

static void echo_test_client ( void  )
static

Definition at line 145 of file sock_test_client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ exit_client()

static void exit_client ( void  )
static

Definition at line 439 of file sock_test_client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 711 of file sock_test_client.c.

+ Here is the call graph for this function:

◆ parse_input()

static vcl_test_t parse_input ( )
static

Definition at line 637 of file sock_test_client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ print_usage_and_exit()

void print_usage_and_exit ( void  )

Definition at line 690 of file sock_test_client.c.

+ Here is the caller graph for this function:

◆ sock_client_echo_af_unix()

static void sock_client_echo_af_unix ( sock_client_main_t scm)
static

Definition at line 90 of file sock_test_client.c.

+ Here is the caller graph for this function:

◆ sock_test_cfg_sync()

static int sock_test_cfg_sync ( vcl_test_session_t socket)
static

Definition at line 45 of file sock_test_client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sock_test_connect_test_sockets()

static int sock_test_connect_test_sockets ( uint32_t  num_test_sockets)
static

Definition at line 478 of file sock_test_client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ stream_test_client()

static void stream_test_client ( vcl_test_t  test)
static

Definition at line 286 of file sock_test_client.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ sock_client_main

sock_client_main_t sock_client_main

Definition at line 42 of file sock_test_client.c.