FD.io VPP  v20.01-48-g3e0dafb74
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 765 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 745 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 789 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 723 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 810 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 697 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 540 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 896 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 821 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 874 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 582 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 364 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.