FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | stat_segment_data_t |
Macros | |
#define | STAT_VERSION_MAJOR 1 |
#define | STAT_VERSION_MINOR 1 |
#define | STAT_SEGMENT_SOCKET_FILE "/run/vpp/stats.sock" |
Typedefs | |
typedef struct stat_client_main_t | stat_client_main_t |
#define STAT_SEGMENT_SOCKET_FILE "/run/vpp/stats.sock" |
Definition at line 38 of file stat_client.h.
#define STAT_VERSION_MAJOR 1 |
Definition at line 20 of file stat_client.h.
#define STAT_VERSION_MINOR 1 |
Definition at line 21 of file stat_client.h.
typedef struct stat_client_main_t stat_client_main_t |
Definition at line 40 of file stat_client.h.
Enumerator | |
---|---|
STAT_DIR_TYPE_ILLEGAL | |
STAT_DIR_TYPE_SCALAR_INDEX | |
STAT_DIR_TYPE_COUNTER_VECTOR_SIMPLE | |
STAT_DIR_TYPE_COUNTER_VECTOR_COMBINED | |
STAT_DIR_TYPE_ERROR_INDEX | |
STAT_DIR_TYPE_NAME_VECTOR |
Definition at line 27 of file stat_client.h.
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 | ) |
int stat_segment_connect | ( | const char * | socket_name | ) |
Definition at line 166 of file stat_client.c.
int stat_segment_connect_r | ( | const char * | socket_name, |
stat_client_main_t * | sm | ||
) |
Definition at line 108 of file stat_client.c.
void stat_segment_data_free | ( | stat_segment_data_t * | res | ) |
void stat_segment_disconnect | ( | void | ) |
Definition at line 180 of file stat_client.c.
void stat_segment_disconnect_r | ( | stat_client_main_t * | sm | ) |
stat_segment_data_t* stat_segment_dump | ( | uint32_t * | counter_vec | ) |
Definition at line 428 of file stat_client.c.
stat_segment_data_t* stat_segment_dump_entry | ( | uint32_t | index | ) |
Definition at line 478 of file stat_client.c.
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.
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.
double stat_segment_heartbeat | ( | void | ) |
Definition at line 195 of file stat_client.c.
double stat_segment_heartbeat_r | ( | stat_client_main_t * | sm | ) |
Definition at line 187 of file stat_client.c.
char* stat_segment_index_to_name | ( | uint32_t | index | ) |
Definition at line 485 of file stat_client.c.
uint32_t* stat_segment_ls | ( | uint8_t ** | pattern | ) |
Definition at line 393 of file stat_client.c.
uint32_t* stat_segment_ls_r | ( | uint8_t ** | patterns, |
stat_client_main_t * | sm | ||
) |
Definition at line 340 of file stat_client.c.
uint8_t** stat_segment_string_vector | ( | uint8_t ** | string_vector, |
const char * | string | ||
) |
void stat_segment_vec_free | ( | void * | vec | ) |
int stat_segment_vec_len | ( | void * | vec | ) |