FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
summary_stats_client.c File Reference
+ Include dependency graph for summary_stats_client.c:

Go to the source code of this file.

Data Structures

struct  test_main_t
 

Macros

#define f64_endian(a)
 
#define f64_print(a, b)
 
#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)
 
#define vl_printfun
 
#define foreach_api_msg   _(VNET_GET_SUMMARY_STATS_REPLY, vnet_get_summary_stats_reply)
 

Functions

void vlib_cli_output (struct vlib_main_t *vm, char *fmt,...)
 
static void vl_api_vnet_get_summary_stats_reply_t_handler (vl_api_vnet_get_summary_stats_reply_t *mp)
 
int connect_to_vpe (char *name)
 
int disconnect_from_vpe (void)
 
static void sigterm_handler (int sig)
 
uword unformat_ip4_address (unformat_input_t *input, va_list *args)
 
int main (int argc, char **argv)
 

Variables

vl_shmem_hdr_tshmem_hdr
 
test_main_t test_main
 
vlib_main_t vlib_global_main
 
vlib_main_t ** vlib_mains
 

Macro Definition Documentation

#define f64_endian (   a)

Definition at line 56 of file summary_stats_client.c.

#define f64_print (   a,
 
)

Definition at line 57 of file summary_stats_client.c.

#define foreach_api_msg   _(VNET_GET_SUMMARY_STATS_REPLY, vnet_get_summary_stats_reply)

Definition at line 136 of file summary_stats_client.c.

#define vl_endianfun   /* define message structures */

Definition at line 63 of file summary_stats_client.c.

#define vl_print (   handle,
  ... 
)

Definition at line 68 of file summary_stats_client.c.

#define vl_printfun

Definition at line 69 of file summary_stats_client.c.

#define vl_typedefs   /* define message structures */

Definition at line 59 of file summary_stats_client.c.

Function Documentation

int connect_to_vpe ( char *  name)

Definition at line 140 of file summary_stats_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int disconnect_from_vpe ( void  )

Definition at line 162 of file summary_stats_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 197 of file summary_stats_client.c.

+ Here is the call graph for this function:

static void sigterm_handler ( int  sig)
static

Definition at line 169 of file summary_stats_client.c.

+ Here is the caller graph for this function:

uword unformat_ip4_address ( unformat_input_t input,
va_list *  args 
)

Definition at line 177 of file summary_stats_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_vnet_get_summary_stats_reply_t_handler ( vl_api_vnet_get_summary_stats_reply_t mp)
static

Definition at line 105 of file summary_stats_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vlib_cli_output ( struct vlib_main_t vm,
char *  fmt,
  ... 
)

Definition at line 97 of file summary_stats_client.c.

+ Here is the call graph for this function:

Variable Documentation

vl_shmem_hdr_t* shmem_hdr

Definition at line 73 of file summary_stats_client.c.

test_main_t test_main

Definition at line 88 of file summary_stats_client.c.

vlib_main_t vlib_global_main

Definition at line 93 of file summary_stats_client.c.

vlib_main_t** vlib_mains

Definition at line 94 of file summary_stats_client.c.