Go to the source code of this file.
#define foreach_l2_classify_error |
Value:_(MISS, "Classify misses") \
_(HIT, "Classify hits") \
_(CHAIN_HIT, "Classify hits after chain walk") \
_(
DROP,
"L2 Classify Drops")
Definition at line 55 of file l2_classify.c.
static u8* format_l2_classify_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
void vnet_l2_classify_enable_disable |
( |
u32 |
sw_if_index, |
|
|
int |
enable_disable |
|
) |
| |
int vnet_l2_classify_set_tables |
( |
u32 |
sw_if_index, |
|
|
u32 |
ip4_table_index, |
|
|
u32 |
ip6_table_index, |
|
|
u32 |
other_table_index |
|
) |
| |
Initial value:= {
.path = "set interface l2 classify",
.short_help =
"set interface l2 classify intfc <int> [ip4-table <n>]\n"
" [ip6-table <n>] [other-table <n>]",
}
static clib_error_t * int_l2_classify_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (int_l2_classify_cli)
Definition at line 546 of file l2_classify.c.
char* l2_classify_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_l2_classify_error
Definition at line 69 of file l2_classify.c.
Initial value:= {
.name = "l2-classify",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
static char * l2_classify_error_strings[]
static u8 * format_l2_classify_trace(u8 *s, va_list *args)
static uword l2_classify_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (l2_classify_node)
Definition at line 53 of file l2_classify.c.