Go to the source code of this file.
|
static u8 * | format_l2_efp_filter_trace (u8 *s, va_list *args) |
|
static_always_inline void | extract_keys (vnet_main_t *vnet_main, u32 sw_if_index0, vlib_buffer_t *b0, u32 *port_sw_if_index0, u16 *first_ethertype0, u16 *outer_id0, u16 *inner_id0, u32 *match_flags0) |
|
static uword | l2_efp_filter_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
clib_error_t * | l2_efp_filter_init (vlib_main_t *vm) |
|
void | l2_efp_filter_configure (vnet_main_t *vnet_main, u32 sw_if_index, u32 enable) |
|
static clib_error_t * | int_l2_efp_filter (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
#define foreach_l2_efp_filter_error |
Value:_(L2_EFP_FILTER, "L2 EFP filter packets") \
_(
DROP,
"L2 EFP filter post-rewrite drops")
Definition at line 69 of file l2_efp_filter.c.
Enumerator |
---|
L2_EFP_FILTER_NEXT_DROP |
|
L2_EFP_FILTER_N_NEXT |
|
Definition at line 86 of file l2_efp_filter.c.
static u8* format_l2_efp_filter_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Initial value:= {
.path = "set interface l2 efp-filter",
.short_help = "set interface l2 efp-filter <interface> [disable]",
}
static clib_error_t * int_l2_efp_filter(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (int_l2_efp_filter_cli)
Definition at line 567 of file l2_efp_filter.c.
char* l2_efp_filter_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_l2_efp_filter_error
Definition at line 80 of file l2_efp_filter.c.
Initial value:= {
.name = "l2-efp-filter",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
static u8 * format_l2_efp_filter_trace(u8 *s, va_list *args)
static char * l2_efp_filter_error_strings[]
static uword l2_efp_filter_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (l2_efp_filter_node)
Definition at line 67 of file l2_efp_filter.c.