FD.io VPP  v19.08.3-2-gbabecb413
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
 

Macros

#define INDENT   "\n "
 

Functions

static int sock_test_cfg_sync (vcl_test_session_t *socket)
 
static void echo_test_client ()
 
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 dump_help (void)
 
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 vcl_client_main
 

Macro Definition Documentation

◆ INDENT

#define INDENT   "\n "

Function Documentation

◆ cfg_num_test_sockets_set()

static void cfg_num_test_sockets_set ( void  )
static

Definition at line 766 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 746 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 790 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 724 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 811 of file sock_test_client.c.

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

◆ dump_help()

static void dump_help ( void  )
static

Definition at line 698 of file sock_test_client.c.

+ Here is the caller graph for this function:

◆ echo_test_client()

static void echo_test_client ( )
static

Definition at line 119 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 541 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 897 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 822 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 875 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 52 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 583 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 365 of file sock_test_client.c.

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

Variable Documentation

◆ vcl_client_main

sock_client_main_t vcl_client_main

Definition at line 48 of file sock_test_client.c.