FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
stats.h File Reference
+ Include dependency graph for stats.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  data_structure_lock_t
 
struct  ip6_route_t
 
struct  do_ip46_fibs_t
 
struct  client_registration_reply_t
 
struct  vpe_client_stats_registration_t
 
struct  stats_main_t
 
struct  stat_segment_directory_entry_t
 

Macros

#define STAT_SEGMENT_SOCKET_FILE   "/run/vpp/stats.sock"
 
#define stats_reg(n)   IDX_##n,
 
#define STAT_SEGMENT_DEFAULT_SIZE   (32<<20)
 
#define STAT_SEGMENT_OPAQUE_LOCK   0
 
#define STAT_SEGMENT_OPAQUE_DIR   1
 
#define STAT_SEGMENT_OPAQUE_EPOCH   2
 

Enumerations

enum  stats_reg_index_t { STATS_REG_N_IDX }
 
enum  stat_directory_type_t {
  STAT_DIR_TYPE_ILLEGAL = 0, STAT_DIR_TYPE_SCALAR_POINTER, STAT_DIR_TYPE_VECTOR_POINTER, STAT_DIR_TYPE_COUNTER_VECTOR,
  STAT_DIR_TYPE_ERROR_INDEX, STAT_DIR_TYPE_SERIALIZED_NODES
}
 

Functions

typedef CLIB_PACKED (struct{ip4_address_t address;u32 address_length:6;u32 index:26;}) ip4_route_t
 stats request registration indexes More...
 
void do_stat_segment_updates (stats_main_t *sm)
 

Variables

stats_main_t stats_main
 

Macro Definition Documentation

#define STAT_SEGMENT_DEFAULT_SIZE   (32<<20)

Definition at line 201 of file stats.h.

#define STAT_SEGMENT_OPAQUE_DIR   1

Definition at line 204 of file stats.h.

#define STAT_SEGMENT_OPAQUE_EPOCH   2

Definition at line 205 of file stats.h.

#define STAT_SEGMENT_OPAQUE_LOCK   0

Definition at line 203 of file stats.h.

#define STAT_SEGMENT_SOCKET_FILE   "/run/vpp/stats.sock"

Definition at line 33 of file stats.h.

#define stats_reg (   n)    IDX_##n,

Definition at line 87 of file stats.h.

Enumeration Type Documentation

Enumerator
STAT_DIR_TYPE_ILLEGAL 
STAT_DIR_TYPE_SCALAR_POINTER 
STAT_DIR_TYPE_VECTOR_POINTER 
STAT_DIR_TYPE_COUNTER_VECTOR 
STAT_DIR_TYPE_ERROR_INDEX 
STAT_DIR_TYPE_SERIALIZED_NODES 

Definition at line 207 of file stats.h.

Enumerator
STATS_REG_N_IDX 

Definition at line 85 of file stats.h.

Function Documentation

typedef CLIB_PACKED ( struct{ip4_address_t address;u32 address_length:6;u32 index:26;}  )

stats request registration indexes

void do_stat_segment_updates ( stats_main_t sm)

Definition at line 476 of file stat_segment.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

stats_main_t stats_main

Definition at line 28 of file stats.c.