Go to the source code of this file.
|
int | vnet_sw_interface_stats_collect_enable_disable (u32 sw_if_index, u8 enable) |
|
static u8 * | format_stats_collect_trace (u8 *s, va_list *args) |
|
static_always_inline uword | stats_collect_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, vlib_rx_or_tx_t rxtx) |
|
VLIB_NODE_FN() | stats_collect_rx_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | stats_collect_tx_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (stats_collect_rx_node, static) |
|
| VNET_FEATURE_INIT (stats_collect_tx_node, static) |
|
static clib_error_t * | stats_collect_init (vlib_main_t *vm) |
|
#define inc_counter |
( |
|
ctype, |
|
|
|
rx_tx |
|
) |
| |
static u8* format_stats_collect_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
int vnet_sw_interface_stats_collect_enable_disable |
( |
u32 |
sw_if_index, |
|
|
u8 |
enable |
|
) |
| |
Initial value:= {
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 0,
.
name =
"stats-collect-rx",
}
static u8 * format_stats_collect_trace(u8 *s, va_list *args)
vl_api_fib_path_type_t type
(constructor) VLIB_REGISTER_NODE (stats_collect_rx_node)
Definition at line 174 of file interface_stats.c.
Initial value:= {
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 0,
.
name =
"stats-collect-tx",
}
static u8 * format_stats_collect_trace(u8 *s, va_list *args)
vl_api_fib_path_type_t type
(constructor) VLIB_REGISTER_NODE (stats_collect_tx_node)
Definition at line 183 of file interface_stats.c.