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) |
|
◆ span_state_t
Enumerator |
---|
SPAN_DISABLE | |
SPAN_RX | |
SPAN_TX | |
SPAN_BOTH | |
Definition at line 26 of file span.c.
◆ set_interface_span_command_fn()
◆ show_interfaces_span_command_fn()
◆ span_add_delete_entry()
◆ span_dst_set()
◆ unformat_span_state()
◆ set_interface_span_command
Initial value:= {
.path = "set interface span",
.short_help = "set interface span <if-name> [l2] {disable | destination <if-name> [both|rx|tx]}",
}
(constructor) VLIB_CLI_COMMAND (set_interface_span_command)
Definition at line 167 of file span.c.
◆ show_interfaces_span_command
Initial value:= {
.path = "show interface span",
.short_help = "Shows SPAN mirror table",
}
(constructor) VLIB_CLI_COMMAND (show_interfaces_span_command)
Definition at line 238 of file span.c.
◆ span_main