Go to the source code of this file.
|
u8 * | format_span_trace (u8 *s, va_list *args) |
|
static_always_inline void | span_mirror (vlib_main_t *vm, vlib_node_runtime_t *node, u32 sw_if_index0, vlib_buffer_t *b0, vlib_frame_t **mirror_frames, vlib_rx_or_tx_t rxtx, span_feat_t sf) |
|
static_always_inline uword | span_node_inline_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, vlib_rx_or_tx_t rxtx, span_feat_t sf) |
|
static uword | span_device_input_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | span_device_output_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | span_l2_input_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | span_l2_output_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
clib_error_t * | span_init (vlib_main_t *vm) |
|
#define foreach_span_error _(HITS, "SPAN incomming packets processed") |
Value:.vector_size =
sizeof (
u32), \
.n_next_nodes = 0, \
.next_nodes = { \
[0] = "error-drop" \
}
static char * span_error_strings[]
u8 * format_span_trace(u8 *s, va_list *args)
Definition at line 290 of file node.c.
u8* format_span_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
char* span_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_span_error
Definition at line 57 of file node.c.
Initial value:= {
.name = "span-input",
}
static uword span_device_input_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (span_input_node)
Definition at line 302 of file node.c.
Initial value:= {
.name = "span-l2-input",
}
static uword span_l2_input_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (span_l2_input_node)
Definition at line 318 of file node.c.
Initial value:= {
.name = "span-l2-output",
}
static uword span_l2_output_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (span_l2_output_node)
Definition at line 326 of file node.c.
Initial value:= {
.name = "span-output",
}
static uword span_device_output_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (span_output_node)
Definition at line 310 of file node.c.