|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
33 #define l3xc_error(n,s) L3XC_ERROR_##n,
57 const l3xc_t *l3xc0, *l3xc1, *l3xc2, *l3xc3;
58 u32 l3xci0, l3xci1, l3xci2, l3xci3;
140 u32 l3xci0, next_u32;
168 return frame->n_vectors;
197 #define l3xc_error(n,s) s,
206 .name =
"l3xc-input-ip4",
207 .vector_size =
sizeof (
u32),
222 .name =
"l3xc-input-ip6",
223 .vector_size =
sizeof (
u32),
237 .arc_name =
"ip4-unicast",
238 .node_name =
"l3xc-input-ip4",
244 .arc_name =
"ip6-unicast",
245 .node_name =
"l3xc-input-ip6",
u16 dpoi_next_node
The next VLIB node to follow.
index_t dpoi_index
the index of objects of that type
vlib_buffer_t * bufs[VLIB_FRAME_SIZE]
#define vlib_prefetch_buffer_header(b, type)
Prefetch buffer metadata.
vlib_main_t vlib_node_runtime_t vlib_frame_t * frame
static uword l3xc_input_ip6(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
vlib_get_buffers(vm, from, b, n_left_from)
@ VLIB_NODE_TYPE_INTERNAL
vlib_main_t vlib_node_runtime_t * node
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
dpo_id_t l3xc_dpo
DPO for forwarding.
vlib_buffer_enqueue_to_next(vm, node, from,(u16 *) nexts, frame->n_vectors)
static_always_inline void * vnet_feature_next_with_data(u32 *next0, vlib_buffer_t *b0, u32 n_data_bytes)
static u8 * format_l3xc_input_trace(u8 *s, va_list *args)
struct l3xc_input_trace_t_ l3xc_input_trace_t
#define VLIB_NODE_FLAG_TRACE
static void * vlib_frame_vector_args(vlib_frame_t *f)
Get pointer to frame vector data.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
static uword l3xc_input_inline(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, fib_protocol_t fproto)
VNET_FEATURE_INIT(l3xc_ip4_feat, static)
static_always_inline l3xc_t * l3xc_get(u32 index)
enum fib_protocol_t_ fib_protocol_t
Protocol Type.
struct _vlib_node_registration vlib_node_registration_t
description fragment has unexpected format
void * vlib_add_trace(vlib_main_t *vm, vlib_node_runtime_t *r, vlib_buffer_t *b, u32 n_data_bytes)
#define VNET_FEATURES(...)
static uword l3xc_input_ip4(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
enum l3xc_next_t_ l3xc_next_t
vlib_node_registration_t l3xc_ip4_node
(constructor) VLIB_REGISTER_NODE (l3xc_ip4_node)
u16 nexts[VLIB_FRAME_SIZE]
vlib_node_registration_t l3xc_ip6_node
(constructor) VLIB_REGISTER_NODE (l3xc_ip6_node)
static char * l3xc_error_strings[]
vl_api_fib_path_type_t type
VLIB buffer representation.
#define VLIB_REGISTER_NODE(x,...)
vl_api_wireguard_peer_flags_t flags