FD.io VPP  v19.01.2-3-gf61a1a8
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)
 
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

Definition at line 199 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 ( 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:

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

+ Here is the caller graph for this function:

int stat_segment_connect ( const char *  socket_name)

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

+ Here is the caller graph for this function:

void stat_segment_disconnect ( void  )

Definition at line 177 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 170 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 402 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 452 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 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_r ( uint32_t *  stats,
stat_client_main_t sm 
)

Definition at line 374 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 192 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 184 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 459 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 367 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 314 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 423 of file stat_client.c.

+ Here is the caller graph for this function:

void stat_segment_vec_free ( void *  vec)

Definition at line 416 of file stat_client.c.

+ Here is the caller graph for this function:

int stat_segment_vec_len ( void *  vec)

Definition at line 410 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.