17 #ifndef included_stat_client_h 18 #define included_stat_client_h 34 #define STAT_SEGMENT_SOCKET_FILE "/run/vpp/stats.sock" void stat_segment_data_free(stat_segment_data_t *res)
int stat_segment_connect(const char *socket_name)
stat_segment_data_t * stat_segment_dump_r(uint32_t *stats, stat_client_main_t *sm)
counter_t ** simple_counter_vec
void stat_client_free(stat_client_main_t *sm)
Combined counter to hold both packets and byte differences.
uint32_t * stat_segment_ls(uint8_t **pattern)
double stat_segment_heartbeat_r(stat_client_main_t *sm)
int stat_segment_connect_r(const char *socket_name, stat_client_main_t *sm)
uint64_t counter_t
64bit counters
char * stat_segment_index_to_name(uint32_t index)
uint32_t * stat_segment_ls_r(uint8_t **patterns, stat_client_main_t *sm)
stat_segment_data_t * stat_segment_dump(uint32_t *counter_vec)
uint8_t ** stat_segment_string_vector(uint8_t **string_vector, const char *string)
void stat_segment_disconnect_r(stat_client_main_t *sm)
stat_directory_type_t type
stat_segment_data_t * stat_segment_dump_entry_r(uint32_t index, stat_client_main_t *sm)
stat_segment_data_t * stat_segment_dump_entry(uint32_t index)
void stat_segment_disconnect(void)
int stat_segment_vec_len(void *vec)
double stat_segment_heartbeat(void)
vlib_counter_t ** combined_counter_vec
stat_client_main_t * stat_client_get(void)
void stat_segment_vec_free(void *vec)