FD.io VPP  v18.04-17-g3a0d853
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_stat_t_
 
struct  udp_encap_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 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_stat_t_ udp_encap_stat_t
 
typedef struct udp_encap_stats_walk_t_ udp_encap_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 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 int 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)
 
int stats_set_poller_delay (u32 poller_delay_sec)
 
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_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 COMBINED_COUNTER_BATCH_SIZE   63

Definition at line 85 of file stats.c.

#define f64_endian (   a)

Definition at line 31 of file stats.c.

#define f64_print (   a,
 
)

Definition at line 32 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)
rpc want_ip4_nbr_stats returns want_ip4_nbr_stats_reply events vnet_ip4_nbr_counters
Definition: stats.api:54
rpc want_ip4_fib_stats returns want_ip4_fib_stats_reply events vnet_ip4_fib_counters
Definition: stats.api:42
rpc want_ip6_nbr_stats returns want_ip6_nbr_stats_reply events vnet_ip6_nbr_counters
Definition: stats.api:57
rpc want_interface_simple_stats returns want_interface_simple_stats_reply events vnet_interface_simple_counters
Definition: stats.api:30
rpc want_interface_combined_stats returns want_interface_combined_stats_reply events vnet_interface_combined_counters
Definition: stats.api:36
rpc want_ip6_fib_stats returns want_ip6_fib_stats_reply events vnet_ip6_fib_counters
Definition: stats.api:45

Definition at line 48 of file stats.c.

#define IP4_FIB_COUNTER_BATCH_SIZE   48

Definition at line 86 of file stats.c.

#define IP4_MFIB_COUNTER_BATCH_SIZE   24

Definition at line 88 of file stats.c.

#define IP6_FIB_COUNTER_BATCH_SIZE   30

Definition at line 87 of file stats.c.

#define IP6_MFIB_COUNTER_BATCH_SIZE   15

Definition at line 89 of file stats.c.

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

Definition at line 1378 of file stats.c.

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

Definition at line 1378 of file stats.c.

#define SIMPLE_COUNTER_BATCH_SIZE   126

Definition at line 84 of file stats.c.

#define STATS_DEBUG   0

Definition at line 23 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 93 of file stats.c.

#define UDP_ENCAP_COUNTER_BATCH_SIZE   (1024 / sizeof(vl_api_udp_encap_counter_t))

Definition at line 90 of file stats.c.

#define vl_api_vnet_interface_combined_counters_t_endian   vl_noop_handler

Definition at line 2979 of file stats.c.

#define vl_api_vnet_interface_combined_counters_t_print   vl_noop_handler

Definition at line 2980 of file stats.c.

#define vl_api_vnet_interface_simple_counters_t_endian   vl_noop_handler

Definition at line 2977 of file stats.c.

#define vl_api_vnet_interface_simple_counters_t_print   vl_noop_handler

Definition at line 2978 of file stats.c.

#define vl_api_vnet_ip4_fib_counters_t_endian   vl_noop_handler

Definition at line 2981 of file stats.c.

#define vl_api_vnet_ip4_fib_counters_t_print   vl_noop_handler

Definition at line 2982 of file stats.c.

#define vl_api_vnet_ip4_nbr_counters_t_endian   vl_noop_handler

Definition at line 2985 of file stats.c.

#define vl_api_vnet_ip4_nbr_counters_t_print   vl_noop_handler

Definition at line 2986 of file stats.c.

#define vl_api_vnet_ip6_fib_counters_t_endian   vl_noop_handler

Definition at line 2983 of file stats.c.

#define vl_api_vnet_ip6_fib_counters_t_print   vl_noop_handler

Definition at line 2984 of file stats.c.

#define vl_api_vnet_ip6_nbr_counters_t_endian   vl_noop_handler

Definition at line 2987 of file stats.c.

#define vl_api_vnet_ip6_nbr_counters_t_print   vl_noop_handler

Definition at line 2988 of file stats.c.

#define vl_endianfun   /* define message structures */

Definition at line 38 of file stats.c.

#define vl_msg_name_crc_list

Definition at line 70 of file stats.c.

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

Definition at line 43 of file stats.c.

#define vl_printfun

Definition at line 44 of file stats.c.

#define vl_typedefs   /* define message structures */

Definition at line 34 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 1970 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 380 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 353 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 451 of file stats.c.

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

Definition at line 325 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 685 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 811 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 1492 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 1685 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 1285 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 1991 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 1824 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 1440 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 506 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 1011 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 2230 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 201 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 234 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 490 of file stats.c.

u8* format_vnet_interface_combined_counters ( u8 s,
va_list *  args 
)

Definition at line 97 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 144 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 262 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 422 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 560 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 464 of file stats.c.

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

Definition at line 1165 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 1227 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 1201 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 1381 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 1353 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 1670 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 286 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 75 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 2261 of file stats.c.

+ Here is the call graph for this function:

void stats_dslock_with_hint ( int  hint,
int  tag 
)

Definition at line 227 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 255 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 2991 of file stats.c.

+ Here is the call graph for this function:

int stats_memclnt_delete_callback ( u32  client_index)

Definition at line 2959 of file stats.c.

+ Here is the caller graph for this function:

int stats_set_poller_delay ( u32  poller_delay_sec)

Definition at line 2246 of file stats.c.

+ Here is the caller graph for this function:

static void stats_thread_fn ( void *  arg)
static

Definition at line 2318 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 2169 of file stats.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 2153 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 2298 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 2909 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 638 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 2379 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 2434 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 2484 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 2535 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 2586 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 601 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 2719 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 2757 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 2793 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 2899 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 2828 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 2863 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 2904 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 743 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 945 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 2672 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 2637 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 406 of file stats.c.

+ Here is the call graph for this function:

Variable Documentation

stats_main_t stats_main

Definition at line 25 of file stats.c.