FD.io VPP  v18.10-32-g1161dda
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

static int recv_fd (int sock)
 
static stat_segment_directory_entry_tget_stat_vector (void)
 
int stat_segment_connect (char *socket_name)
 
void stat_segment_disconnect (void)
 
double stat_segment_heartbeat (void)
 
stat_segment_data_t copy_data (stat_segment_directory_entry_t *ep)
 
void stat_segment_data_free (stat_segment_data_t *res)
 
static void stat_segment_access_start (stat_segment_access_t *sa)
 
static bool stat_segment_access_end (stat_segment_access_t *sa)
 
uint32_t * stat_segment_ls (uint8_t **patterns)
 
stat_segment_data_tstat_segment_dump (uint32_t *stats)
 
int stat_segment_vec_len (void *vec)
 
void stat_segment_vec_free (void *vec)
 
u8 ** stat_segment_string_vector (u8 **string_vector, char *string)
 
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 161 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 77 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 45 of file stat_client.c.

+ Here is the caller graph for this function:

static bool stat_segment_access_end ( stat_segment_access_t sa)
static

Definition at line 267 of file stat_client.c.

+ Here is the caller graph for this function:

static void stat_segment_access_start ( stat_segment_access_t sa)
static

Definition at line 257 of file stat_client.c.

+ Here is the caller graph for this function:

int stat_segment_connect ( char *  socket_name)

Definition at line 86 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 225 of file stat_client.c.

+ Here is the caller graph for this function:

void stat_segment_disconnect ( void  )

Definition at line 143 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 332 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 384 of file stat_client.c.

+ Here is the call graph for this function:

double stat_segment_heartbeat ( void  )

Definition at line 152 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 403 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 278 of file stat_client.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8** stat_segment_string_vector ( u8 **  string_vector,
char *  string 
)

Definition at line 375 of file stat_client.c.

void stat_segment_vec_free ( void *  vec)

Definition at line 368 of file stat_client.c.

int stat_segment_vec_len ( void *  vec)

Definition at line 362 of file stat_client.c.

Variable Documentation

stat_client_main_t stat_client_main

Definition at line 42 of file stat_client.c.