FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
stat_client.c File Reference
+ Include dependency graph for stat_client.c:

Go to the source code of this file.

Data Structures

struct  stat_client_main_t
 
struct  stat_segment_access_t
 

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)
 
static stat_segment_directory_entry_tget_stat_vector (void)
 
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)
 
static void stat_segment_access_start (stat_segment_access_t *sa, stat_client_main_t *sm)
 
static bool stat_segment_access_end (stat_segment_access_t *sa, stat_client_main_t *sm)
 
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 (uint32_t index)
 

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 202 of file stat_client.c.

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

◆ get_stat_vector()

static stat_segment_directory_entry_t* get_stat_vector ( void  )
static

Definition at line 101 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 93 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 61 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 55 of file stat_client.c.

◆ stat_client_get()

stat_client_main_t* stat_client_get ( void  )

Definition at line 46 of file stat_client.c.

+ Here is the call graph for this function:

◆ stat_segment_access_end()

static bool stat_segment_access_end ( stat_segment_access_t sa,
stat_client_main_t sm 
)
static

Definition at line 330 of file stat_client.c.

+ Here is the caller graph for this function:

◆ stat_segment_access_start()

static void stat_segment_access_start ( stat_segment_access_t sa,
stat_client_main_t sm 
)
static

Definition at line 318 of file stat_client.c.

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

◆ stat_segment_connect()

int stat_segment_connect ( const char *  socket_name)

Definition at line 166 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 108 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 286 of file stat_client.c.

+ Here is the caller graph for this function:

◆ stat_segment_disconnect()

void stat_segment_disconnect ( void  )

Definition at line 180 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 173 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 428 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 478 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 460 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 400 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 195 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 187 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 485 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 393 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 340 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 449 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 442 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 436 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 43 of file stat_client.c.