Go to the source code of this file.
|
static_always_inline u32 | span_dst_set (span_mirror_t *sm, u32 dst_sw_if_index, int enable) |
|
int | span_add_delete_entry (vlib_main_t *vm, u32 src_sw_if_index, u32 dst_sw_if_index, u8 state, span_feat_t sf) |
|
static uword | unformat_span_state (unformat_input_t *input, va_list *args) |
|
static clib_error_t * | set_interface_span_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_interfaces_span_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
Enumerator |
---|
SPAN_DISABLE |
|
SPAN_RX |
|
SPAN_TX |
|
SPAN_BOTH |
|
Definition at line 26 of file span.c.
Initial value:= {
.path = "set interface span",
.short_help = "set interface span <if-name> [l2] {disable | destination <if-name> [both|rx|tx]}",
}
static clib_error_t * set_interface_span_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (set_interface_span_command)
Definition at line 167 of file span.c.
Initial value:= {
.path = "show interface span",
.short_help = "Shows SPAN mirror table",
}
static clib_error_t * show_interfaces_span_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_interfaces_span_command)
Definition at line 238 of file span.c.