FD.io VPP  v19.08-23-g4b943d6
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)
 
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)
 
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)
 
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

static stat_segment_data_t copy_data ( stat_segment_directory_entry_t ep,
stat_client_main_t sm 
)
static

Definition at line 231 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

static int recv_fd ( int  sock)
static

Definition at line 61 of file stat_client.c.

+ Here is the caller graph for this function:

void stat_client_free ( stat_client_main_t sm)

Definition at line 55 of file stat_client.c.

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:

static bool stat_segment_access_end ( stat_segment_access_t sa,
stat_client_main_t sm 
)
static

Definition at line 191 of file stat_client.c.

+ Here is the caller graph for this function:

static void stat_segment_access_start ( stat_segment_access_t sa,
stat_client_main_t sm 
)
static

Definition at line 178 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int stat_segment_connect ( const char *  socket_name)

Definition at line 159 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int stat_segment_connect_r ( const char *  socket_name,
stat_client_main_t sm 
)

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:

void stat_segment_data_free ( stat_segment_data_t res)

Definition at line 320 of file stat_client.c.

+ Here is the caller graph for this function:

void stat_segment_disconnect ( void  )

Definition at line 201 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stat_segment_disconnect_r ( stat_client_main_t sm)

Definition at line 166 of file stat_client.c.

+ Here is the caller graph for this function:

stat_segment_data_t* stat_segment_dump ( uint32_t *  stats)

Definition at line 434 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

stat_segment_data_t* stat_segment_dump_entry ( uint32_t  index)

Definition at line 484 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

stat_segment_data_t* stat_segment_dump_entry_r ( uint32_t  index,
stat_client_main_t sm 
)

Definition at line 466 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

stat_segment_data_t* stat_segment_dump_r ( uint32_t *  stats,
stat_client_main_t sm 
)

Definition at line 406 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double stat_segment_heartbeat ( void  )

Definition at line 224 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double stat_segment_heartbeat_r ( stat_client_main_t sm)

Definition at line 208 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

char* stat_segment_index_to_name ( uint32_t  index)

Definition at line 509 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

char* stat_segment_index_to_name_r ( uint32_t  index,
stat_client_main_t sm 
)

Definition at line 491 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint32_t* stat_segment_ls ( uint8_t **  patterns)

Definition at line 399 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 346 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 455 of file stat_client.c.

+ Here is the caller graph for this function:

void stat_segment_vec_free ( void *  vec)

Definition at line 448 of file stat_client.c.

+ Here is the caller graph for this function:

int stat_segment_vec_len ( void *  vec)

Definition at line 442 of file stat_client.c.

+ Here is the caller graph for this function:

uint64_t stat_segment_version ( void  )

Definition at line 523 of file stat_client.c.

+ Here is the call graph for this function:

uint64_t stat_segment_version_r ( stat_client_main_t sm)

Definition at line 516 of file stat_client.c.

+ Here is the caller graph for this function:

Variable Documentation

stat_client_main_t stat_client_main

Definition at line 43 of file stat_client.c.