|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
43 #define BIER_DISP_LOOKUP_N_NEXT (BIER_DISP_LOOKUP_NEXT_DISPATCH+1)
115 n_left_to_next, bi0, next0);
143 .name =
"bier-disp-lookup",
144 .vector_size =
sizeof (
u32),
@ BIER_DISP_LOOKUP_NEXT_DROP
vlib_main_t vlib_node_runtime_t vlib_frame_t * frame
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.
u16 bier_hdr_src_id_t
An identifier of the sender of BIER packets this is the source of the 'tree' - the BFIR.
vlib_main_t vlib_node_runtime_t * node
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
u32 bier_bp_t
A bit positon as assigned to egress PEs.
A struct to hold tracing information for the MPLS label imposition node.
#define VLIB_NODE_FN(node)
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...
bier_bp_t bp
BIER source BP used in the lookup - host order.
struct _vlib_node_registration vlib_node_registration_t
static uword bier_disp_lookup_inline(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
vlib_node_registration_t bier_disp_lookup_node
(constructor) VLIB_REGISTER_NODE (bier_disp_lookup_node)
#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.
description fragment has unexpected format
vlib_put_next_frame(vm, node, next_index, 0)
static u8 * format_bier_disp_lookup_trace(u8 *s, va_list *args)
#define BIER_DISP_LOOKUP_N_NEXT
bier_disp_lookup_next_t_
Next nodes from BIER disposition lookup.
void * vlib_add_trace(vlib_main_t *vm, vlib_node_runtime_t *r, vlib_buffer_t *b, u32 n_data_bytes)
static void * vlib_buffer_get_current(vlib_buffer_t *b)
Get pointer to current data to process.
static index_t bier_disp_table_lookup(index_t bdti, bier_hdr_src_id_t src)
enum bier_disp_lookup_next_t_ bier_disp_lookup_next_t
Next nodes from BIER disposition lookup.
A BIER header of variable length The encoding follows: https://tools.ietf.org/html/draft-ietf-bier-mp...
#define INDEX_INVALID
Invalid index - used when no index is known blazoned capitals INVALID speak volumes where ~0 does not...
#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).
struct bier_disp_lookup_trace_t_ bier_disp_lookup_trace_t
A struct to hold tracing information for the MPLS label imposition node.
index_t bdti
BIER disp table.
u32 flags
buffer flags: VLIB_BUFFER_FREE_LIST_INDEX_MASK: bits used to store free list index,...
VLIB buffer representation.
static bier_hdr_src_id_t bier_hdr_get_src_id(const bier_hdr_t *bier_hdr)
#define VLIB_REGISTER_NODE(x,...)
@ BIER_DISP_LOOKUP_NEXT_DISPATCH