FD.io VPP
v19.08-27-gf4dcae4
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 { L2_IN_FEAT_ARC_N_ERROR, FA_IN_NONIP_N_ERROR } |
enum | l2_out_feat_arc_error_t { L2_OUT_FEAT_ARC_N_ERROR, FA_OUT_NONIP_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 95 of file l2_in_out_feat_arc.c.
#define foreach_l2_out_feat_arc_error _(DEFAULT, "out default") \ |
Definition at line 99 of file l2_in_out_feat_arc.c.
Definition at line 137 of file l2_in_out_feat_arc.c.
#define L2_FEAT_ARC_VEC_SIZE 2 |
Definition at line 138 of file l2_in_out_feat_arc.c.
Enumerator | |
---|---|
L2_IN_FEAT_ARC_N_ERROR | |
FA_IN_NONIP_N_ERROR |
Definition at line 103 of file l2_in_out_feat_arc.c.
Enumerator | |
---|---|
L2_OUT_FEAT_ARC_N_ERROR | |
FA_OUT_NONIP_N_ERROR |
Definition at line 117 of file l2_in_out_feat_arc.c.
static_always_inline void buffer_prefetch_xN | ( | int | vector_sz, |
vlib_buffer_t ** | b | ||
) |
Definition at line 63 of file l2_in_out_feat_arc.c.
static_always_inline void get_ethertype_xN | ( | int | vector_sz, |
int | is_output, | ||
vlib_buffer_t ** | b, | ||
u16 * | out_ethertype | ||
) |
Definition at line 161 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 562 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 245 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 226 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 175 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 210 of file l2_in_out_feat_arc.c.
VNET_FEATURE_ARC_INIT | ( | l2_in_ip4_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_in_ip6_arc | , |
static | |||
) |
VNET_FEATURE_ARC_INIT | ( | l2_out_nonip_arc | , |
static | |||
) |
VNET_FEATURE_ARC_INIT | ( | l2_in_nonip_arc | , |
static | |||
) |
VNET_FEATURE_INIT | ( | l2_in_ip4_arc_end | , |
static | |||
) |
VNET_FEATURE_INIT | ( | l2_out_ip4_arc_end | , |
static | |||
) |
VNET_FEATURE_INIT | ( | l2_in_ip6_arc_end | , |
static | |||
) |
VNET_FEATURE_INIT | ( | l2_out_ip6_arc_end | , |
static | |||
) |
VNET_FEATURE_INIT | ( | l2_in_nonip_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 596 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 397 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 477 of file l2_in_out_feat_arc.c.
|
static |
Definition at line 111 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 455 of file l2_in_out_feat_arc.c.
l2_in_out_feat_arc_main_t l2_in_out_feat_arc_main |
Definition at line 134 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 484 of file l2_in_out_feat_arc.c.
|
static |
Definition at line 125 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 466 of file l2_in_out_feat_arc.c.