|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
100 u32 pi0, sw_if_index0, next0 = 0;
101 u32 pi1, sw_if_index1, next1 = 0;
168 p0, p1, ip0, ip1, &next0, &next1);
171 to_next, n_left_to_next,
172 pi0, pi1, next0, next1);
179 u32 pi0, sw_if_index0, next0 = 0;
211 to_next, n_left_to_next,
218 return frame->n_vectors;
221 #ifndef CLIB_MARCH_VARIANT
223 #define _(sym,string) string,
232 .vector_size =
sizeof (
u32),
vnet_interface_main_t * im
#define vlib_prefetch_buffer_header(b, type)
Prefetch buffer metadata.
vlib_main_t vlib_node_runtime_t vlib_frame_t * frame
u8 ucast_feature_arc_index
@ VNET_INTERFACE_COUNTER_IP6
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.
void vlib_trace_frame_buffers_only(vlib_main_t *vm, vlib_node_runtime_t *node, u32 *buffers, uword n_buffers, uword next_buffer_stride, uword n_buffer_data_bytes_in_trace)
vlib_main_t vlib_node_runtime_t * node
format_function_t * format_header
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
ip_protocol_info_t * protocol_infos
vlib_simple_counter_main_t * sw_if_counters
void hdlc_register_input_protocol(vlib_main_t *vm, hdlc_protocol_t protocol, u32 node_index)
#define CLIB_PREFETCH(addr, size, type)
static void vlib_increment_simple_counter(vlib_simple_counter_main_t *cm, u32 thread_index, u32 index, u64 increment)
Increment a simple counter.
static uword ip6_address_is_multicast(const ip6_address_t *a)
uword * protocol_info_by_name
#define VLIB_NODE_FN(node)
unformat_function_t * unformat_edit
#define vec_elt_at_index(v, i)
Get vector value at index i checking that i is in bounds.
vnet_main_t * vnet_get_main(void)
u8 mcast_feature_arc_index
Feature arc indices.
#define VLIB_NODE_FLAG_TRACE
static void * vlib_frame_vector_args(vlib_frame_t *f)
Get pointer to frame vector data.
static pg_node_t * pg_get_node(uword node_index)
vnet_feature_config_main_t * cm
struct _vlib_node_registration vlib_node_registration_t
struct ip6_main_t::@383 host_config
#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)
#define VLIB_INIT_FUNCTION(x)
static vlib_node_runtime_t * vlib_node_get_runtime(vlib_main_t *vm, u32 node_index)
Get node runtime by node index.
A collection of simple counters.
static void * vlib_buffer_get_current(vlib_buffer_t *b)
Get pointer to current data to process.
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)
void ppp_register_input_protocol(vlib_main_t *vm, ppp_protocol_t protocol, u32 node_index)
static_always_inline void vnet_feature_arc_start(u8 arc, u32 sw_if_index, u32 *next0, vlib_buffer_t *b0)
#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.
#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).
void ethernet_register_input_type(vlib_main_t *vm, ethernet_type_t type, u32 node_index)
vnet_interface_main_t interface_main
#define foreach_ip6_error
VLIB buffer representation.
#define VLIB_REGISTER_NODE(x,...)