FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | l2_in_out_feat_arc_main_t |
struct | l2_in_out_feat_arc_trace_t |
Macros | |
#define | foreach_l2_in_feat_arc_error _(DEFAULT, "in default") \ |
#define | foreach_l2_out_feat_arc_error _(DEFAULT, "out default") \ |
#define | get_u16(addr) ( *((u16 *)(addr)) ) |
#define | L2_FEAT_ARC_VEC_SIZE 2 |
Enumerations | |
enum | l2_in_feat_arc_error_t { FA_IN_NONIP_N_ERROR, L2_IN_FEAT_ARC_N_ERROR } |
enum | l2_out_feat_arc_error_t { FA_OUT_NONIP_N_ERROR, L2_OUT_FEAT_ARC_N_ERROR } |
Variables | |
static char * | l2_in_feat_arc_error_strings [] |
static char * | l2_out_feat_arc_error_strings [] |
l2_in_out_feat_arc_main_t | l2_in_out_feat_arc_main |
vlib_node_registration_t | l2_in_feat_arc_node |
(constructor) VLIB_REGISTER_NODE (l2_in_feat_arc_node) More... | |
vlib_node_registration_t | l2_out_feat_arc_node |
(constructor) VLIB_REGISTER_NODE (l2_out_feat_arc_node) More... | |
vlib_node_registration_t | l2_in_feat_arc_end_node |
(constructor) VLIB_REGISTER_NODE (l2_in_feat_arc_end_node) More... | |
vlib_node_registration_t | l2_out_feat_arc_end_node |
(constructor) VLIB_REGISTER_NODE (l2_out_feat_arc_end_node) More... | |
#define foreach_l2_in_feat_arc_error _(DEFAULT, "in default") \ |
Definition at line 84 of file l2_in_out_feat_arc.c.
#define foreach_l2_out_feat_arc_error _(DEFAULT, "out default") \ |
Definition at line 88 of file l2_in_out_feat_arc.c.
Definition at line 126 of file l2_in_out_feat_arc.c.
#define L2_FEAT_ARC_VEC_SIZE 2 |
Definition at line 127 of file l2_in_out_feat_arc.c.
Enumerator | |
---|---|
FA_IN_NONIP_N_ERROR | |
L2_IN_FEAT_ARC_N_ERROR |
Definition at line 92 of file l2_in_out_feat_arc.c.
Enumerator | |
---|---|
FA_OUT_NONIP_N_ERROR | |
L2_OUT_FEAT_ARC_N_ERROR |
Definition at line 106 of file l2_in_out_feat_arc.c.
static_always_inline void buffer_prefetch_xN | ( | int | vector_sz, |
vlib_buffer_t ** | b | ||
) |
static_always_inline void get_ethertype_xN | ( | int | vector_sz, |
int | is_output, | ||
vlib_buffer_t ** | b, | ||
u16 * | out_ethertype | ||
) |
Definition at line 150 of file l2_in_out_feat_arc.c.
static_always_inline void get_sw_if_index_xN | ( | int | vector_sz, |
int | is_output, | ||
vlib_buffer_t ** | b, | ||
u32 * | out_sw_if_index | ||
) |
|
static |
Definition at line 548 of file l2_in_out_feat_arc.c.
VLIB_NODE_FN() l2_in_feat_arc_end_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() l2_in_feat_arc_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
clib_error_t* l2_in_out_feat_arc_init | ( | vlib_main_t * | vm | ) |
|
inlinestatic |
Definition at line 234 of file l2_in_out_feat_arc.c.
|
static |
|
static |
VLIB_NODE_FN() l2_out_feat_arc_end_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() l2_out_feat_arc_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
static_always_inline void maybe_trace_xN | ( | int | vector_sz, |
int | arc_head, | ||
vlib_main_t * | vm, | ||
vlib_node_runtime_t * | node, | ||
vlib_buffer_t ** | b, | ||
u32 * | sw_if_index, | ||
u16 * | ethertype, | ||
u16 * | next | ||
) |
Definition at line 215 of file l2_in_out_feat_arc.c.
static_always_inline void set_next_in_arc_head_xN | ( | int | vector_sz, |
int | is_output, | ||
u32 * | next_nodes, | ||
vlib_buffer_t ** | b, | ||
u32 * | sw_if_index, | ||
u16 * | ethertype, | ||
u8 | ip4_arc, | ||
u8 | ip6_arc, | ||
u8 | nonip_arc, | ||
u16 * | out_next | ||
) |
Definition at line 164 of file l2_in_out_feat_arc.c.
static_always_inline void set_next_in_arc_tail_xN | ( | int | vector_sz, |
int | is_output, | ||
u32 * | next_nodes, | ||
vlib_buffer_t ** | b, | ||
u16 * | out_next | ||
) |
Definition at line 199 of file l2_in_out_feat_arc.c.
VNET_FEATURE_ARC_INIT | ( | l2_in_ip4_arc | , |
static | |||
) |
VNET_FEATURE_ARC_INIT | ( | l2_in_ip6_arc | , |
static | |||
) |
VNET_FEATURE_ARC_INIT | ( | l2_in_nonip_arc | , |
static | |||
) |
VNET_FEATURE_ARC_INIT | ( | l2_out_ip4_arc | , |
static | |||
) |
VNET_FEATURE_ARC_INIT | ( | l2_out_ip6_arc | , |
static | |||
) |
VNET_FEATURE_ARC_INIT | ( | l2_out_nonip_arc | , |
static | |||
) |
VNET_FEATURE_INIT | ( | l2_in_ip4_arc_end | , |
static | |||
) |
VNET_FEATURE_INIT | ( | l2_in_ip6_arc_end | , |
static | |||
) |
VNET_FEATURE_INIT | ( | l2_in_nonip_arc_end | , |
static | |||
) |
VNET_FEATURE_INIT | ( | l2_out_ip4_arc_end | , |
static | |||
) |
VNET_FEATURE_INIT | ( | l2_out_ip6_arc_end | , |
static | |||
) |
VNET_FEATURE_INIT | ( | l2_out_nonip_arc_end | , |
static | |||
) |
int vnet_l2_feature_enable_disable | ( | const char * | arc_name, |
const char * | node_name, | ||
u32 | sw_if_index, | ||
int | enable_disable, | ||
void * | feature_config, | ||
u32 | n_feature_config_bytes | ||
) |
Definition at line 582 of file l2_in_out_feat_arc.c.
void vnet_l2_in_out_feat_arc_enable_disable | ( | u32 | sw_if_index, |
int | is_output, | ||
int | enable_disable | ||
) |
Definition at line 386 of file l2_in_out_feat_arc.c.
vlib_node_registration_t l2_in_feat_arc_end_node |
(constructor) VLIB_REGISTER_NODE (l2_in_feat_arc_end_node)
Definition at line 466 of file l2_in_out_feat_arc.c.
|
static |
Definition at line 100 of file l2_in_out_feat_arc.c.
vlib_node_registration_t l2_in_feat_arc_node |
(constructor) VLIB_REGISTER_NODE (l2_in_feat_arc_node)
Definition at line 444 of file l2_in_out_feat_arc.c.
l2_in_out_feat_arc_main_t l2_in_out_feat_arc_main |
Definition at line 123 of file l2_in_out_feat_arc.c.
vlib_node_registration_t l2_out_feat_arc_end_node |
(constructor) VLIB_REGISTER_NODE (l2_out_feat_arc_end_node)
Definition at line 473 of file l2_in_out_feat_arc.c.
|
static |
Definition at line 114 of file l2_in_out_feat_arc.c.
vlib_node_registration_t l2_out_feat_arc_node |
(constructor) VLIB_REGISTER_NODE (l2_out_feat_arc_node)
Definition at line 455 of file l2_in_out_feat_arc.c.