|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
22 #define bier_error(n,s) BIER_INPUT_ERROR_##n,
29 #define bier_error(n,s) s,
88 to_next, n_left_to_next);
121 b0->
error =
node->errors[BIER_INPUT_ERROR_INVALID_HEADER];
134 to_next, n_left_to_next,
142 BIER_INPUT_ERROR_PKTS_VALID,
154 s =
format (s,
" next [%d], BIER Table index %d",
161 .name =
"bier-input",
163 .vector_size =
sizeof (
u32),
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.
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
static bier_hdr_version_t bier_hdr_get_version(const bier_hdr_t *bier_hdr)
static void bier_hdr_ntoh(bier_hdr_t *bier_hdr)
vlib_error_t error
Error code for buffers to be enqueued to error handler.
static void * vlib_frame_vector_args(vlib_frame_t *f)
Get pointer to frame vector data.
static void vlib_node_increment_counter(vlib_main_t *vm, u32 node_index, u32 counter_index, u64 increment)
static bier_hdr_len_id_t bier_hdr_get_len_id(const bier_hdr_t *bier_hdr)
static bier_table_t * bier_table_get(index_t bti)
struct _vlib_node_registration vlib_node_registration_t
bier_hdr_len_id_t bti_hdr_len
The size of the bit string processed by this table.
enum bier_hdr_len_id_t_ bier_hdr_len_id_t
bier_hdr_len_id_t enumerator
#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)
bier_table_id_t bt_id
The identity/key or the table.
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.
A BIER header of variable length The encoding follows: https://tools.ietf.org/html/draft-ietf-bier-mp...
A BIER Table is the bit-indexed forwarding table.
#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).
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,...)