|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
85 b0->
flags |= VNET_BUFFER_F_QOS_DATA_VALID;
88 (b0->
flags & VLIB_BUFFER_IS_TRACED)))
98 to_next, n_left_to_next,
105 return frame->n_vectors;
126 .name =
"ip4-qos-store",
127 .vector_size =
sizeof (
u32),
140 .arc_name =
"ip4-unicast",
141 .node_name =
"ip4-qos-store",
144 .arc_name =
"ip4-multicast",
145 .node_name =
"ip4-qos-store",
149 .name =
"ip6-qos-store",
150 .vector_size =
sizeof (
u32),
163 .arc_name =
"ip6-unicast",
164 .node_name =
"ip6-qos-store",
167 .arc_name =
"ip6-multicast",
168 .node_name =
"ip6-qos-store",
vlib_node_registration_t ip6_qos_store_node
(constructor) VLIB_REGISTER_NODE (ip6_qos_store_node)
static uword qos_store_inline(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, qos_source_t qos_src)
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.
@ 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.
static_always_inline void * vnet_feature_next_with_data(u32 *next0, vlib_buffer_t *b0, u32 n_data_bytes)
VNET_FEATURE_INIT(ip4_qos_store_node, static)
struct qos_store_trace_t_ qos_store_trace_t
per-packet trace data
u8 qos_bits_t
Type, er, safety for us water based entities.
#define VLIB_NODE_FN(node)
u8 * qos_store_configs[QOS_N_SOURCES]
Per-interface, per-protocol vector of feature on/off configurations.
#define VLIB_NODE_FLAG_TRACE
static void * vlib_frame_vector_args(vlib_frame_t *f)
Get pointer to frame vector data.
IPv6 to IPv4 translation.
struct _vlib_node_registration vlib_node_registration_t
enum qos_source_t_ qos_source_t
QoS types.
vlib_node_registration_t ip4_qos_store_node
(constructor) VLIB_REGISTER_NODE (ip4_qos_store_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)
void * vlib_add_trace(vlib_main_t *vm, vlib_node_runtime_t *r, vlib_buffer_t *b, u32 n_data_bytes)
static u8 * format_qos_store_trace(u8 *s, va_list *args)
#define QOS_N_SOURCES
The maximum number of sources.
#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,...)