FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
stats.c File Reference
+ Include dependency graph for stats.c:

Go to the source code of this file.

Data Structures

struct  ip4_nbr_stats_ctx_t_
 The context passed when collecting adjacency counters. More...
 
struct  ip6_nbr_stats_ctx_t_
 The context passed when collecting adjacency counters. More...
 
struct  add_routes_in_fib_arg_t
 
struct  udp_encap_stats_walk_t_
 
struct  bier_neighbor_stats_walk_t_
 

Macros

#define STATS_DEBUG   0
 
#define f64_endian(a)
 
#define f64_print(a, b)
 
#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define foreach_stats_msg
 
#define vl_msg_name_crc_list
 
#define SIMPLE_COUNTER_BATCH_SIZE   126
 
#define COMBINED_COUNTER_BATCH_SIZE   63
 
#define IP4_FIB_COUNTER_BATCH_SIZE   48
 
#define IP6_FIB_COUNTER_BATCH_SIZE   30
 
#define IP4_MFIB_COUNTER_BATCH_SIZE   24
 
#define IP6_MFIB_COUNTER_BATCH_SIZE   15
 
#define UDP_ENCAP_COUNTER_BATCH_SIZE   (1024 / sizeof(vl_api_udp_encap_counter_t))
 
#define BIER_NEIGHBOR_COUNTER_BATCH_SIZE   (1024 / sizeof(vl_api_bier_neighbor_counter_t))
 
#define STATS_RELEASE_DELAY_NS   (1000 * 1000 * 5)
 
#define stats_reg(n)   vec_free(registrations[IDX_##n]);
 
#define stats_reg(n)   vec_reset_length(registrations[IDX_##n]);
 
#define stats_reg(n)   vec_add1(registrations[IDX_##n], ~0);
 
#define MIN(x, y)   (((x)<(y))?(x):(y))
 
#define MIN(x, y)   (((x)<(y))?(x):(y))
 
#define vl_api_vnet_interface_simple_counters_t_endian   vl_noop_handler
 
#define vl_api_vnet_interface_simple_counters_t_print   vl_noop_handler
 
#define vl_api_vnet_interface_combined_counters_t_endian   vl_noop_handler
 
#define vl_api_vnet_interface_combined_counters_t_print   vl_noop_handler
 
#define vl_api_vnet_ip4_fib_counters_t_endian   vl_noop_handler
 
#define vl_api_vnet_ip4_fib_counters_t_print   vl_noop_handler
 
#define vl_api_vnet_ip6_fib_counters_t_endian   vl_noop_handler
 
#define vl_api_vnet_ip6_fib_counters_t_print   vl_noop_handler
 
#define vl_api_vnet_ip4_nbr_counters_t_endian   vl_noop_handler
 
#define vl_api_vnet_ip4_nbr_counters_t_print   vl_noop_handler
 
#define vl_api_vnet_ip6_nbr_counters_t_endian   vl_noop_handler
 
#define vl_api_vnet_ip6_nbr_counters_t_print   vl_noop_handler
 
#define stats_reg(n)
 

Typedefs

typedef struct ip4_nbr_stats_ctx_t_ ip4_nbr_stats_ctx_t
 The context passed when collecting adjacency counters. More...
 
typedef struct ip6_nbr_stats_ctx_t_ ip6_nbr_stats_ctx_t
 The context passed when collecting adjacency counters. More...
 
typedef struct udp_encap_stats_walk_t_ udp_encap_stats_walk_t
 
typedef struct bier_neighbor_stats_walk_t_ bier_neighbor_stats_walk_t
 

Functions

static void setup_message_id_table (api_main_t *am)
 
u8format_vnet_interface_combined_counters (u8 *s, va_list *args)
 
u8format_vnet_interface_simple_counters (u8 *s, va_list *args)
 
static void dslock (stats_main_t *sm, int release_hint, int tag)
 
void stats_dslock_with_hint (int hint, int tag)
 
static void dsunlock (stats_main_t *sm)
 
void stats_dsunlock (int hint, int tag)
 
static vpe_client_registration_tget_client_for_stat (u32 reg, u32 item, u32 client_index)
 
static int set_client_for_stat (u32 reg, u32 item, vpe_client_registration_t *client)
 
static void clear_one_client (u32 reg_index, u32 reg, u32 item, u32 client_index)
 
int clear_client_for_stat (u32 reg, u32 item, u32 client_index)
 
static int clear_client_for_all_stats (u32 client_index)
 
static clib_error_twant_stats_reaper (u32 client_index)
 
 VL_MSG_API_REAPER_FUNCTION (want_stats_reaper)
 
vpe_client_registration_tget_clients_for_stat (u32 reg, u32 item)
 
static void clear_client_reg (u32 **registrations)
 
u32 ** init_client_reg (u32 **registrations)
 
u32 ** enable_all_client_reg (u32 **registrations)
 
static void do_simple_interface_counters (stats_main_t *sm)
 
void handle_client_registration (vpe_client_registration_t *client, u32 stat, u32 item, int enable_disable)
 
static void vl_api_want_interface_combined_stats_t_handler (vl_api_want_interface_combined_stats_t *mp)
 
static void vl_api_vnet_interface_combined_counters_t_handler (vl_api_vnet_interface_combined_counters_t *mp)
 
static void do_combined_interface_counters (stats_main_t *sm)
 
static void vl_api_want_per_interface_combined_stats_t_handler (vl_api_want_per_interface_combined_stats_t *mp)
 
static void do_combined_per_interface_counters (stats_main_t *sm)
 
static void vl_api_want_per_interface_simple_stats_t_handler (vl_api_want_per_interface_simple_stats_t *mp)
 
static void do_simple_per_interface_counters (stats_main_t *sm)
 
static void ip46_fib_stats_delay (stats_main_t *sm, u32 sec, u32 nsec)
 
static adj_walk_rc_t ip4_nbr_stats_cb (adj_index_t ai, void *arg)
 
static void send_and_pause (stats_main_t *sm, svm_queue_t *q, u8 *mp)
 
static void ip4_nbr_ship (stats_main_t *sm, ip4_nbr_stats_ctx_t *ctx)
 
static void do_ip4_nbr_counters (stats_main_t *sm)
 
static adj_walk_rc_t ip6_nbr_stats_cb (adj_index_t ai, void *arg)
 
static void ip6_nbr_ship (stats_main_t *sm, ip6_nbr_stats_ctx_t *ctx)
 
static void do_ip6_nbr_counters (stats_main_t *sm)
 
static void do_ip4_fib_counters (stats_main_t *sm)
 
static int mfib_table_stats_walk_cb (fib_node_index_t fei, void *ctx)
 
static void do_ip4_mfib_counters (stats_main_t *sm)
 
static void do_ip6_mfib_counters (stats_main_t *sm)
 
static void add_routes_in_fib (BVT(clib_bihash_kv)*kvp, void *arg)
 
static void do_ip6_fib_counters (stats_main_t *sm)
 
static walk_rc_t udp_encap_stats_walk_cb (index_t uei, void *arg)
 
static void udp_encap_ship (udp_encap_stats_walk_t *ctx)
 
static void do_udp_encap_counters (stats_main_t *sm)
 
static walk_rc_t bier_neighbor_stats_walk_cb (index_t bfmi, void *arg)
 
static void bier_neighbor_ship (bier_neighbor_stats_walk_t *ctx)
 
static void do_bier_neighbor_counters (stats_main_t *sm)
 
int stats_set_poller_delay (u32 poller_delay_sec)
 
static clib_error_tstats_socket_accept_ready (clib_file_t *uf)
 
static void stats_segment_socket_init (void)
 
static clib_error_tstats_config (vlib_main_t *vm, unformat_input_t *input)
 
static void vl_api_stats_get_poller_delay_t_handler (vl_api_stats_get_poller_delay_t *mp)
 
static void stats_thread_fn (void *arg)
 
static void vl_api_vnet_interface_simple_counters_t_handler (vl_api_vnet_interface_simple_counters_t *mp)
 
static void vl_api_vnet_ip4_fib_counters_t_handler (vl_api_vnet_ip4_fib_counters_t *mp)
 
static void vl_api_vnet_ip4_nbr_counters_t_handler (vl_api_vnet_ip4_nbr_counters_t *mp)
 
static void vl_api_vnet_ip6_fib_counters_t_handler (vl_api_vnet_ip6_fib_counters_t *mp)
 
static void vl_api_vnet_ip6_nbr_counters_t_handler (vl_api_vnet_ip6_nbr_counters_t *mp)
 
static void vl_api_want_udp_encap_stats_t_handler (vl_api_want_udp_encap_stats_t *mp)
 
static void vl_api_want_bier_neighbor_stats_t_handler (vl_api_want_bier_neighbor_stats_t *mp)
 
static void vl_api_want_stats_t_handler (vl_api_want_stats_t *mp)
 
static void vl_api_want_interface_simple_stats_t_handler (vl_api_want_interface_simple_stats_t *mp)
 
static void vl_api_want_ip4_fib_stats_t_handler (vl_api_want_ip4_fib_stats_t *mp)
 
static void vl_api_want_ip4_mfib_stats_t_handler (vl_api_want_ip4_mfib_stats_t *mp)
 
static void vl_api_want_ip6_fib_stats_t_handler (vl_api_want_ip6_fib_stats_t *mp)
 
static void vl_api_want_ip6_mfib_stats_t_handler (vl_api_want_ip6_mfib_stats_t *mp)
 
static void vl_api_want_ip4_nbr_stats_t_handler (vl_api_want_ip4_nbr_stats_t *mp)
 
static void vl_api_want_ip6_nbr_stats_t_handler (vl_api_want_ip6_nbr_stats_t *mp)
 
static void vl_api_vnet_get_summary_stats_t_handler (vl_api_vnet_get_summary_stats_t *mp)
 
int stats_memclnt_delete_callback (u32 client_index)
 
static clib_error_tstats_init (vlib_main_t *vm)
 
 VLIB_REGISTER_THREAD (stats_thread_reg, static)
 

Variables

stats_main_t stats_main
 

Macro Definition Documentation

#define BIER_NEIGHBOR_COUNTER_BATCH_SIZE   (1024 / sizeof(vl_api_bier_neighbor_counter_t))

Definition at line 95 of file stats.c.

#define COMBINED_COUNTER_BATCH_SIZE   63

Definition at line 89 of file stats.c.

#define f64_endian (   a)

Definition at line 34 of file stats.c.

#define f64_print (   a,
 
)

Definition at line 35 of file stats.c.

#define foreach_stats_msg
Value:
_(WANT_STATS, want_stats) \
_(VNET_INTERFACE_SIMPLE_COUNTERS, vnet_interface_simple_counters) \
_(WANT_INTERFACE_SIMPLE_STATS, want_interface_simple_stats) \
_(VNET_INTERFACE_COMBINED_COUNTERS, vnet_interface_combined_counters) \
_(WANT_INTERFACE_COMBINED_STATS, want_interface_combined_stats) \
_(WANT_PER_INTERFACE_COMBINED_STATS, want_per_interface_combined_stats) \
_(WANT_PER_INTERFACE_SIMPLE_STATS, want_per_interface_simple_stats) \
_(VNET_IP4_FIB_COUNTERS, vnet_ip4_fib_counters) \
_(WANT_IP4_FIB_STATS, want_ip4_fib_stats) \
_(VNET_IP6_FIB_COUNTERS, vnet_ip6_fib_counters) \
_(WANT_IP6_FIB_STATS, want_ip6_fib_stats) \
_(WANT_IP4_MFIB_STATS, want_ip4_mfib_stats) \
_(WANT_IP6_MFIB_STATS, want_ip6_mfib_stats) \
_(VNET_IP4_NBR_COUNTERS, vnet_ip4_nbr_counters) \
_(WANT_IP4_NBR_STATS, want_ip4_nbr_stats) \
_(VNET_IP6_NBR_COUNTERS, vnet_ip6_nbr_counters) \
_(WANT_IP6_NBR_STATS, want_ip6_nbr_stats) \
_(VNET_GET_SUMMARY_STATS, vnet_get_summary_stats) \
_(STATS_GET_POLLER_DELAY, stats_get_poller_delay) \
_(WANT_UDP_ENCAP_STATS, want_udp_encap_stats) \
_(WANT_BIER_NEIGHBOR_STATS, want_bier_neighbor_stats)
rpc want_ip4_nbr_stats returns want_ip4_nbr_stats_reply events vnet_ip4_nbr_counters
Definition: stats.api:55
rpc want_ip4_fib_stats returns want_ip4_fib_stats_reply events vnet_ip4_fib_counters
Definition: stats.api:43
rpc want_ip6_nbr_stats returns want_ip6_nbr_stats_reply events vnet_ip6_nbr_counters
Definition: stats.api:58
rpc want_interface_simple_stats returns want_interface_simple_stats_reply events vnet_interface_simple_counters
Definition: stats.api:31
rpc want_interface_combined_stats returns want_interface_combined_stats_reply events vnet_interface_combined_counters
Definition: stats.api:37
rpc want_ip6_fib_stats returns want_ip6_fib_stats_reply events vnet_ip6_fib_counters
Definition: stats.api:46

Definition at line 51 of file stats.c.

#define IP4_FIB_COUNTER_BATCH_SIZE   48

Definition at line 90 of file stats.c.

#define IP4_MFIB_COUNTER_BATCH_SIZE   24

Definition at line 92 of file stats.c.

#define IP6_FIB_COUNTER_BATCH_SIZE   30

Definition at line 91 of file stats.c.

#define IP6_MFIB_COUNTER_BATCH_SIZE   15

Definition at line 93 of file stats.c.

#define MIN (   x,
 
)    (((x)<(y))?(x):(y))

Definition at line 1391 of file stats.c.

#define MIN (   x,
 
)    (((x)<(y))?(x):(y))

Definition at line 1391 of file stats.c.

#define SIMPLE_COUNTER_BATCH_SIZE   126

Definition at line 88 of file stats.c.

#define STATS_DEBUG   0

Definition at line 26 of file stats.c.

#define stats_reg (   n)    vec_free(registrations[IDX_##n]);
#define stats_reg (   n)    vec_reset_length(registrations[IDX_##n]);
#define stats_reg (   n)    vec_add1(registrations[IDX_##n], ~0);
#define stats_reg (   n)
Value:
sm->stats_registrations[IDX_##n] = 0; \
sm->stats_registration_hash[IDX_##n] = 0;
#define STATS_RELEASE_DELAY_NS   (1000 * 1000 * 5)

Definition at line 98 of file stats.c.

#define UDP_ENCAP_COUNTER_BATCH_SIZE   (1024 / sizeof(vl_api_udp_encap_counter_t))

Definition at line 94 of file stats.c.

#define vl_api_vnet_interface_combined_counters_t_endian   vl_noop_handler

Definition at line 3172 of file stats.c.

#define vl_api_vnet_interface_combined_counters_t_print   vl_noop_handler

Definition at line 3173 of file stats.c.

#define vl_api_vnet_interface_simple_counters_t_endian   vl_noop_handler

Definition at line 3170 of file stats.c.

#define vl_api_vnet_interface_simple_counters_t_print   vl_noop_handler

Definition at line 3171 of file stats.c.

#define vl_api_vnet_ip4_fib_counters_t_endian   vl_noop_handler

Definition at line 3174 of file stats.c.

#define vl_api_vnet_ip4_fib_counters_t_print   vl_noop_handler

Definition at line 3175 of file stats.c.

#define vl_api_vnet_ip4_nbr_counters_t_endian   vl_noop_handler

Definition at line 3178 of file stats.c.

#define vl_api_vnet_ip4_nbr_counters_t_print   vl_noop_handler

Definition at line 3179 of file stats.c.

#define vl_api_vnet_ip6_fib_counters_t_endian   vl_noop_handler

Definition at line 3176 of file stats.c.

#define vl_api_vnet_ip6_fib_counters_t_print   vl_noop_handler

Definition at line 3177 of file stats.c.

#define vl_api_vnet_ip6_nbr_counters_t_endian   vl_noop_handler

Definition at line 3180 of file stats.c.

#define vl_api_vnet_ip6_nbr_counters_t_print   vl_noop_handler

Definition at line 3181 of file stats.c.

#define vl_endianfun   /* define message structures */

Definition at line 41 of file stats.c.

#define vl_msg_name_crc_list

Definition at line 74 of file stats.c.

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 46 of file stats.c.

#define vl_printfun

Definition at line 47 of file stats.c.

#define vl_typedefs   /* define message structures */

Definition at line 37 of file stats.c.

Typedef Documentation

The context passed when collecting adjacency counters.

The context passed when collecting adjacency counters.

Function Documentation

static void add_routes_in_fib ( BVT(clib_bihash_kv)*  kvp,
void *  arg 
)
static

Definition at line 1974 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void bier_neighbor_ship ( bier_neighbor_stats_walk_t ctx)
static

Definition at line 2261 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static walk_rc_t bier_neighbor_stats_walk_cb ( index_t  bfmi,
void *  arg 
)
static

Definition at line 2240 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int clear_client_for_all_stats ( u32  client_index)
static

Definition at line 385 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int clear_client_for_stat ( u32  reg,
u32  item,
u32  client_index 
)

Definition at line 358 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void clear_client_reg ( u32 **  registrations)
static

Definition at line 456 of file stats.c.

static void clear_one_client ( u32  reg_index,
u32  reg,
u32  item,
u32  client_index 
)
static

Definition at line 330 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_bier_neighbor_counters ( stats_main_t sm)
static

Definition at line 2313 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_combined_interface_counters ( stats_main_t sm)
static

Definition at line 690 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_combined_per_interface_counters ( stats_main_t sm)
static

Definition at line 816 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_ip4_fib_counters ( stats_main_t sm)
static

Definition at line 1496 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_ip4_mfib_counters ( stats_main_t sm)
static

Definition at line 1689 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_ip4_nbr_counters ( stats_main_t sm)
static

Definition at line 1298 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_ip6_fib_counters ( stats_main_t sm)
static

Definition at line 1995 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_ip6_mfib_counters ( stats_main_t sm)
static

Definition at line 1828 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_ip6_nbr_counters ( stats_main_t sm)
static

Definition at line 1444 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_simple_interface_counters ( stats_main_t sm)
static

Definition at line 511 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_simple_per_interface_counters ( stats_main_t sm)
static

Definition at line 1016 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void do_udp_encap_counters ( stats_main_t sm)
static

Definition at line 2219 of file stats.c.

+ Here is the call graph for this function:

static void dslock ( stats_main_t sm,
int  release_hint,
int  tag 
)
static

Definition at line 206 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void dsunlock ( stats_main_t sm)
static

Definition at line 239 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32** enable_all_client_reg ( u32 **  registrations)

Definition at line 495 of file stats.c.

u8* format_vnet_interface_combined_counters ( u8 s,
va_list *  args 
)

Definition at line 102 of file stats.c.

+ Here is the call graph for this function:

u8* format_vnet_interface_simple_counters ( u8 s,
va_list *  args 
)

Definition at line 149 of file stats.c.

+ Here is the call graph for this function:

static vpe_client_registration_t* get_client_for_stat ( u32  reg,
u32  item,
u32  client_index 
)
static

Definition at line 267 of file stats.c.

+ Here is the caller graph for this function:

vpe_client_registration_t* get_clients_for_stat ( u32  reg,
u32  item 
)

Definition at line 427 of file stats.c.

+ Here is the caller graph for this function:

void handle_client_registration ( vpe_client_registration_t client,
u32  stat,
u32  item,
int  enable_disable 
)

Definition at line 565 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32** init_client_reg ( u32 **  registrations)

Definition at line 469 of file stats.c.

static void ip46_fib_stats_delay ( stats_main_t sm,
u32  sec,
u32  nsec 
)
static

Definition at line 1170 of file stats.c.

+ Here is the caller graph for this function:

static void ip4_nbr_ship ( stats_main_t sm,
ip4_nbr_stats_ctx_t ctx 
)
static

Definition at line 1249 of file stats.c.

+ Here is the call graph for this function:

static adj_walk_rc_t ip4_nbr_stats_cb ( adj_index_t  ai,
void *  arg 
)
static

Definition at line 1206 of file stats.c.

+ Here is the call graph for this function:

static void ip6_nbr_ship ( stats_main_t sm,
ip6_nbr_stats_ctx_t ctx 
)
static

Definition at line 1394 of file stats.c.

+ Here is the call graph for this function:

static adj_walk_rc_t ip6_nbr_stats_cb ( adj_index_t  ai,
void *  arg 
)
static

Definition at line 1366 of file stats.c.

+ Here is the call graph for this function:

static int mfib_table_stats_walk_cb ( fib_node_index_t  fei,
void *  ctx 
)
static

Definition at line 1674 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void send_and_pause ( stats_main_t sm,
svm_queue_t q,
u8 mp 
)
static

Definition at line 1232 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int set_client_for_stat ( u32  reg,
u32  item,
vpe_client_registration_t client 
)
static

Definition at line 291 of file stats.c.

+ Here is the caller graph for this function:

static void setup_message_id_table ( api_main_t am)
static

Definition at line 79 of file stats.c.

+ Here is the caller graph for this function:

static clib_error_t* stats_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 2399 of file stats.c.

+ Here is the call graph for this function:

void stats_dslock_with_hint ( int  hint,
int  tag 
)

Definition at line 232 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stats_dsunlock ( int  hint,
int  tag 
)

Definition at line 260 of file stats.c.

+ Here is the call graph for this function:

static clib_error_t* stats_init ( vlib_main_t vm)
static

Definition at line 3184 of file stats.c.

+ Here is the call graph for this function:

int stats_memclnt_delete_callback ( u32  client_index)

Definition at line 3152 of file stats.c.

+ Here is the caller graph for this function:

static void stats_segment_socket_init ( void  )
static

Definition at line 2372 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int stats_set_poller_delay ( u32  poller_delay_sec)

Definition at line 2329 of file stats.c.

+ Here is the caller graph for this function:

static clib_error_t* stats_socket_accept_ready ( clib_file_t uf)
static

Definition at line 2348 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void stats_thread_fn ( void *  arg)
static

Definition at line 2464 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void udp_encap_ship ( udp_encap_stats_walk_t ctx)
static

Definition at line 2167 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static walk_rc_t udp_encap_stats_walk_cb ( index_t  uei,
void *  arg 
)
static

Definition at line 2151 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_stats_get_poller_delay_t_handler ( vl_api_stats_get_poller_delay_t mp)
static

Definition at line 2444 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_vnet_get_summary_stats_t_handler ( vl_api_vnet_get_summary_stats_t mp)
static

Definition at line 3094 of file stats.c.

+ Here is the call graph for this function:

static void vl_api_vnet_interface_combined_counters_t_handler ( vl_api_vnet_interface_combined_counters_t mp)
static

Definition at line 643 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_vnet_interface_simple_counters_t_handler ( vl_api_vnet_interface_simple_counters_t mp)
static

Definition at line 2527 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_vnet_ip4_fib_counters_t_handler ( vl_api_vnet_ip4_fib_counters_t mp)
static

Definition at line 2582 of file stats.c.

+ Here is the call graph for this function:

static void vl_api_vnet_ip4_nbr_counters_t_handler ( vl_api_vnet_ip4_nbr_counters_t mp)
static

Definition at line 2632 of file stats.c.

+ Here is the call graph for this function:

static void vl_api_vnet_ip6_fib_counters_t_handler ( vl_api_vnet_ip6_fib_counters_t mp)
static

Definition at line 2683 of file stats.c.

+ Here is the call graph for this function:

static void vl_api_vnet_ip6_nbr_counters_t_handler ( vl_api_vnet_ip6_nbr_counters_t mp)
static

Definition at line 2734 of file stats.c.

+ Here is the call graph for this function:

static void vl_api_want_bier_neighbor_stats_t_handler ( vl_api_want_bier_neighbor_stats_t mp)
static

Definition at line 2820 of file stats.c.

+ Here is the call graph for this function:

static void vl_api_want_interface_combined_stats_t_handler ( vl_api_want_interface_combined_stats_t mp)
static

Definition at line 606 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_want_interface_simple_stats_t_handler ( vl_api_want_interface_simple_stats_t mp)
static

Definition at line 2904 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_want_ip4_fib_stats_t_handler ( vl_api_want_ip4_fib_stats_t mp)
static

Definition at line 2942 of file stats.c.

+ Here is the call graph for this function:

static void vl_api_want_ip4_mfib_stats_t_handler ( vl_api_want_ip4_mfib_stats_t mp)
static

Definition at line 2978 of file stats.c.

+ Here is the call graph for this function:

static void vl_api_want_ip4_nbr_stats_t_handler ( vl_api_want_ip4_nbr_stats_t mp)
static

Definition at line 3084 of file stats.c.

static void vl_api_want_ip6_fib_stats_t_handler ( vl_api_want_ip6_fib_stats_t mp)
static

Definition at line 3013 of file stats.c.

+ Here is the call graph for this function:

static void vl_api_want_ip6_mfib_stats_t_handler ( vl_api_want_ip6_mfib_stats_t mp)
static

Definition at line 3048 of file stats.c.

+ Here is the call graph for this function:

static void vl_api_want_ip6_nbr_stats_t_handler ( vl_api_want_ip6_nbr_stats_t mp)
static

Definition at line 3089 of file stats.c.

static void vl_api_want_per_interface_combined_stats_t_handler ( vl_api_want_per_interface_combined_stats_t mp)
static

Definition at line 748 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_want_per_interface_simple_stats_t_handler ( vl_api_want_per_interface_simple_stats_t mp)
static

Definition at line 950 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_want_stats_t_handler ( vl_api_want_stats_t mp)
static

Definition at line 2857 of file stats.c.

+ Here is the call graph for this function:

static void vl_api_want_udp_encap_stats_t_handler ( vl_api_want_udp_encap_stats_t mp)
static

Definition at line 2785 of file stats.c.

+ Here is the call graph for this function:

VL_MSG_API_REAPER_FUNCTION ( want_stats_reaper  )

+ Here is the caller graph for this function:

VLIB_REGISTER_THREAD ( stats_thread_reg  ,
static   
)

+ Here is the caller graph for this function:

static clib_error_t* want_stats_reaper ( u32  client_index)
static

Definition at line 411 of file stats.c.

+ Here is the call graph for this function:

Variable Documentation

stats_main_t stats_main

Definition at line 28 of file stats.c.