FD.io VPP  v19.08.1-401-g8e4ed521a
Vector Packet Processing
stat_client.c File Reference
+ Include dependency graph for stat_client.c:

Go to the source code of this file.

Functions

stat_client_main_tstat_client_get (void)
 
void stat_client_free (stat_client_main_t *sm)
 
static int recv_fd (int sock)
 
static stat_segment_directory_entry_tget_stat_vector_r (stat_client_main_t *sm)
 
int stat_segment_connect_r (const char *socket_name, stat_client_main_t *sm)
 
int stat_segment_connect (const char *socket_name)
 
void stat_segment_disconnect_r (stat_client_main_t *sm)
 
void stat_segment_disconnect (void)
 
double stat_segment_heartbeat_r (stat_client_main_t *sm)
 
double stat_segment_heartbeat (void)
 
static stat_segment_data_t copy_data (stat_segment_directory_entry_t *ep, stat_client_main_t *sm)
 
void stat_segment_data_free (stat_segment_data_t *res)
 
uint32_t * stat_segment_ls_r (uint8_t **patterns, stat_client_main_t *sm)
 
uint32_t * stat_segment_ls (uint8_t **patterns)
 
stat_segment_data_tstat_segment_dump_r (uint32_t *stats, stat_client_main_t *sm)
 
stat_segment_data_tstat_segment_dump (uint32_t *stats)
 
int stat_segment_vec_len (void *vec)
 
void stat_segment_vec_free (void *vec)
 
uint8_t ** stat_segment_string_vector (uint8_t **string_vector, const char *string)
 
stat_segment_data_tstat_segment_dump_entry_r (uint32_t index, stat_client_main_t *sm)
 
stat_segment_data_tstat_segment_dump_entry (uint32_t index)
 
char * stat_segment_index_to_name_r (uint32_t index, stat_client_main_t *sm)
 
char * stat_segment_index_to_name (uint32_t index)
 
uint64_t stat_segment_version_r (stat_client_main_t *sm)
 
uint64_t stat_segment_version (void)
 

Variables

stat_client_main_t stat_client_main
 

Function Documentation

◆ copy_data()

static stat_segment_data_t copy_data ( stat_segment_directory_entry_t ep,
stat_client_main_t sm 
)
static

Definition at line 195 of file stat_client.c.

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

◆ get_stat_vector_r()

static stat_segment_directory_entry_t* get_stat_vector_r ( stat_client_main_t sm)
static

Definition at line 85 of file stat_client.c.

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

◆ recv_fd()

static int recv_fd ( int  sock)
static

Definition at line 53 of file stat_client.c.

+ Here is the caller graph for this function:

◆ stat_client_free()

void stat_client_free ( stat_client_main_t sm)

Definition at line 47 of file stat_client.c.

◆ stat_client_get()

stat_client_main_t* stat_client_get ( void  )

Definition at line 38 of file stat_client.c.

+ Here is the call graph for this function:

◆ stat_segment_connect()

int stat_segment_connect ( const char *  socket_name)

Definition at line 151 of file stat_client.c.

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

◆ stat_segment_connect_r()

int stat_segment_connect_r ( const char *  socket_name,
stat_client_main_t sm 
)

Definition at line 93 of file stat_client.c.

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

◆ stat_segment_data_free()

void stat_segment_data_free ( stat_segment_data_t res)

Definition at line 284 of file stat_client.c.

+ Here is the caller graph for this function:

◆ stat_segment_disconnect()

void stat_segment_disconnect ( void  )

Definition at line 165 of file stat_client.c.

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

◆ stat_segment_disconnect_r()

void stat_segment_disconnect_r ( stat_client_main_t sm)

Definition at line 158 of file stat_client.c.

+ Here is the caller graph for this function:

◆ stat_segment_dump()

stat_segment_data_t* stat_segment_dump ( uint32_t *  stats)

Definition at line 398 of file stat_client.c.

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

◆ stat_segment_dump_entry()

stat_segment_data_t* stat_segment_dump_entry ( uint32_t  index)

Definition at line 448 of file stat_client.c.

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

◆ stat_segment_dump_entry_r()

stat_segment_data_t* stat_segment_dump_entry_r ( uint32_t  index,
stat_client_main_t sm 
)

Definition at line 430 of file stat_client.c.

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

◆ stat_segment_dump_r()

stat_segment_data_t* stat_segment_dump_r ( uint32_t *  stats,
stat_client_main_t sm 
)

Definition at line 370 of file stat_client.c.

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

◆ stat_segment_heartbeat()

double stat_segment_heartbeat ( void  )

Definition at line 188 of file stat_client.c.

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

◆ stat_segment_heartbeat_r()

double stat_segment_heartbeat_r ( stat_client_main_t sm)

Definition at line 172 of file stat_client.c.

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

◆ stat_segment_index_to_name()

char* stat_segment_index_to_name ( uint32_t  index)

Definition at line 473 of file stat_client.c.

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

◆ stat_segment_index_to_name_r()

char* stat_segment_index_to_name_r ( uint32_t  index,
stat_client_main_t sm 
)

Definition at line 455 of file stat_client.c.

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

◆ stat_segment_ls()

uint32_t* stat_segment_ls ( uint8_t **  patterns)

Definition at line 363 of file stat_client.c.

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

◆ stat_segment_ls_r()

uint32_t* stat_segment_ls_r ( uint8_t **  patterns,
stat_client_main_t sm 
)

Definition at line 310 of file stat_client.c.

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

◆ stat_segment_string_vector()

uint8_t** stat_segment_string_vector ( uint8_t **  string_vector,
const char *  string 
)

Definition at line 419 of file stat_client.c.

+ Here is the caller graph for this function:

◆ stat_segment_vec_free()

void stat_segment_vec_free ( void *  vec)

Definition at line 412 of file stat_client.c.

+ Here is the caller graph for this function:

◆ stat_segment_vec_len()

int stat_segment_vec_len ( void *  vec)

Definition at line 406 of file stat_client.c.

+ Here is the caller graph for this function:

◆ stat_segment_version()

uint64_t stat_segment_version ( void  )

Definition at line 487 of file stat_client.c.

+ Here is the call graph for this function:

◆ stat_segment_version_r()

uint64_t stat_segment_version_r ( stat_client_main_t sm)

Definition at line 480 of file stat_client.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ stat_client_main

stat_client_main_t stat_client_main

Definition at line 35 of file stat_client.c.