|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
26 #define foreach_vxlan_gpe_encap_ioam_v4_error \
27 _(ENCAPSULATED, "good packets encapsulated")
30 #define _(sym,string) string,
37 #define _(sym,str) VXLAN_GPE_ENCAP_IOAM_V4_ERROR_##sym,
126 n_left_to_next, bi0, bi1, next0,
156 n_left_to_next, bi0, next0);
170 .name =
"vxlan-gpe-encap-ioam-v4",
171 .vector_size =
sizeof (
u32),
static void vxlan_gpe_encap_decap_ioam_v4_one_inline(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b0, u32 *next0, u32 drop_node_val, u8 use_adj)
#define vlib_prefetch_buffer_header(b, type)
Prefetch buffer metadata.
nat44_ei_hairpin_src_next_t next_index
static vlib_buffer_t * vlib_get_buffer(vlib_main_t *vm, u32 buffer_index)
Translate buffer index into buffer pointer.
static uword vxlan_gpe_encap_ioam_v4(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
#define foreach_vxlan_gpe_encap_ioam_v4_error
@ VLIB_NODE_TYPE_INTERNAL
vlib_main_t vlib_node_runtime_t * node
Struct for VXLAN GPE node state.
static char * vxlan_gpe_encap_ioam_v4_error_strings[]
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
vlib_main_t vlib_node_runtime_t vlib_frame_t * from_frame
@ VXLAN_GPE_ENCAP_IOAM_V4_NEXT_IP4_LOOKUP
@ VXLAN_GPE_ENCAP_IOAM_V4_N_ERROR
#define CLIB_PREFETCH(addr, size, type)
vxlan_gpe_main_t vxlan_gpe_main
static void vxlan_gpe_encap_ioam_v4_two_inline(vlib_main_t *vm, vlib_node_runtime_t *node, vxlan_gpe_main_t *ngm, vlib_buffer_t *b0, vlib_buffer_t *b1, u32 *next0, u32 *next1)
static void * vlib_frame_vector_args(vlib_frame_t *f)
Get pointer to frame vector data.
@ VXLAN_GPE_ENCAP_IOAM_V4_N_NEXT
#define CLIB_CACHE_LINE_BYTES
struct _vlib_node_registration vlib_node_registration_t
vxlan_gpe_encap_ioam_v4_next_t
#define vlib_validate_buffer_enqueue_x1(vm, node, next_index, to_next, n_left_to_next, bi0, next0)
Finish enqueueing one buffer forward in the graph.
vlib_node_registration_t vxlan_gpe_encap_ioam_v4_node
(constructor) VLIB_REGISTER_NODE (vxlan_gpe_encap_ioam_v4_node)
vlib_put_next_frame(vm, node, next_index, 0)
void * vlib_add_trace(vlib_main_t *vm, vlib_node_runtime_t *r, vlib_buffer_t *b, u32 n_data_bytes)
static u8 * format_vxlan_gpe_ioam_v4_trace(u8 *s, va_list *args)
#define vlib_validate_buffer_enqueue_x2(vm, node, next_index, to_next, n_left_to_next, bi0, bi1, next0, next1)
Finish enqueueing two buffers forward in the graph.
vxlan_gpe_encap_ioam_v4_error_t
#define vlib_get_next_frame(vm, node, next_index, vectors, n_vectors_left)
Get pointer to next frame vector data by (vlib_node_runtime_t, next_index).
vl_api_fib_path_type_t type
u32 flags
buffer flags: VLIB_BUFFER_FREE_LIST_INDEX_MASK: bits used to store free list index,...
@ VXLAN_GPE_ENCAP_IOAM_V4_NEXT_DROP
VLIB buffer representation.
#define VLIB_REGISTER_NODE(x,...)