|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
41 #define foreach_feat_bitmap_drop_error \
42 _(NO_FWD, "L2 feature forwarding disabled") \
43 _(NYI, "L2 feature not implemented")
47 #define _(sym,str) FEAT_BITMAP_DROP_ERROR_##sym,
54 #define _(sym,string) string,
118 && (b0->
flags & VLIB_BUFFER_IS_TRACED)))
131 b0->
error =
node->errors[FEAT_BITMAP_DROP_ERROR_NO_FWD];
135 b0->
error =
node->errors[FEAT_BITMAP_DROP_ERROR_NYI];
141 to_next, n_left_to_next,
147 return frame->n_vectors;
161 .name =
"feature-bitmap-drop",
162 .vector_size =
sizeof (
u32),
static char * feat_bitmap_drop_error_strings[]
vlib_main_t vlib_node_runtime_t vlib_frame_t * frame
nat44_ei_hairpin_src_next_t next_index
static vlib_node_registration_t feat_bitmap_drop_node
(constructor) VLIB_REGISTER_NODE (feat_bitmap_drop_node)
static vlib_buffer_t * vlib_get_buffer(vlib_main_t *vm, u32 buffer_index)
Translate buffer index into buffer pointer.
@ 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.
@ FEAT_BITMAP_DROP_N_NEXT
vlib_error_t error
Error code for buffers to be enqueued to error handler.
#define VLIB_NODE_FLAG_TRACE
static void * vlib_frame_vector_args(vlib_frame_t *f)
Get pointer to frame vector data.
static u8 * format_feat_bitmap_drop_trace(u8 *s, va_list *args)
#define foreach_feat_bitmap_drop_error
struct _vlib_node_registration vlib_node_registration_t
@ FEAT_BITMAP_DROP_NEXT_DROP
#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.
@ FEAT_BITMAP_DROP_N_ERROR
description fragment has unexpected format
vlib_put_next_frame(vm, node, next_index, 0)
#define VLIB_INIT_FUNCTION(x)
void * vlib_add_trace(vlib_main_t *vm, vlib_node_runtime_t *r, vlib_buffer_t *b, u32 n_data_bytes)
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)
static uword feat_bitmap_drop_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
clib_error_t * feat_bitmap_drop_init(vlib_main_t *vm)
#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,...
VLIB buffer representation.
#define VLIB_REGISTER_NODE(x,...)