Go to the source code of this file.
|
char ** | l2output_get_feat_names (void) |
|
static u8 * | format_l2output_trace (u8 *s, va_list *args) |
|
static_always_inline u32 | split_horizon_violation (u8 shg1, u8 shg2) |
|
static uword | l2output_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
clib_error_t * | l2output_init (vlib_main_t *vm) |
|
u32 | l2output_create_output_node_mapping (vlib_main_t *vlib_main, vnet_main_t *vnet_main, u32 node_index, u32 *output_node_index_vec, u32 sw_if_index) |
|
l2_output_config_t * | l2output_intf_config (u32 sw_if_index) |
|
void | l2output_intf_bitmap_enable (u32 sw_if_index, u32 feature_bitmap, u32 enable) |
|
#define foreach_l2output_error |
Value:_(L2OUTPUT, "L2 output packets") \
_(EFP_DROP, "L2 EFP filter pre-rewrite drops") \
_(VTR_DROP, "L2 output tag rewrite drops") \
_(SHG_DROP, "L2 split horizon drops") \
_(
DROP,
"L2 output drops")
Definition at line 65 of file l2_output.c.
Enumerator |
---|
L2OUTPUT_N_ERROR |
|
Definition at line 72 of file l2_output.c.
Enumerator |
---|
L2OUTPUT_NEXT_DROP |
|
L2OUTPUT_N_NEXT |
|
Definition at line 85 of file l2_output.c.
static u8* format_l2output_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
char** l2output_get_feat_names |
( |
void |
| ) |
|
void l2output_intf_bitmap_enable |
( |
u32 |
sw_if_index, |
|
|
u32 |
feature_bitmap, |
|
|
u32 |
enable |
|
) |
| |
char* l2output_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_l2output_error
Definition at line 79 of file l2_output.c.
char* l2output_feat_names[] |
|
static |
Initial value:= {
.name = "l2-output",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
static uword l2output_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * l2output_error_strings[]
static u8 * format_l2output_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (l2output_node)
Definition at line 105 of file l2_output.c.