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) |
|
static uword | stats_collect_rx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | stats_collect_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (stats_collect_rx_node, stats_collect_rx) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (stats_collect_tx_node, stats_collect_tx) |
|
| 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)
static uword stats_collect_rx(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (stats_collect_rx_node)
Definition at line 172 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)
static uword stats_collect_tx(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (stats_collect_tx_node)
Definition at line 182 of file interface_stats.c.