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) |
|
◆ inc_counter
#define inc_counter |
( |
|
ctype, |
|
|
|
rx_tx |
|
) |
| |
◆ format_stats_collect_trace()
static u8* format_stats_collect_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ stats_collect_init()
◆ stats_collect_inline()
◆ stats_collect_rx_node()
◆ stats_collect_tx_node()
◆ VNET_FEATURE_INIT() [1/2]
◆ VNET_FEATURE_INIT() [2/2]
◆ vnet_sw_interface_stats_collect_enable_disable()
int vnet_sw_interface_stats_collect_enable_disable |
( |
u32 |
sw_if_index, |
|
|
u8 |
enable |
|
) |
| |
◆ stats_collect_rx_node
Initial value:= {
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 0,
.
name =
"stats-collect-rx",
}
(constructor) VLIB_REGISTER_NODE (stats_collect_rx_node)
Definition at line 174 of file interface_stats.c.
◆ stats_collect_tx_node
Initial value:= {
.vector_size =
sizeof (
u32),
.n_errors = 0,
.n_next_nodes = 0,
.
name =
"stats-collect-tx",
}
(constructor) VLIB_REGISTER_NODE (stats_collect_tx_node)
Definition at line 183 of file interface_stats.c.