|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
59 return (
format (s,
"ip6-link-local"));
118 u32 bi0, fib_index0, next0;
146 n_left_to_next, bi0, next0);
152 return frame->n_vectors;
180 .name =
"ip6-link-local",
181 .vector_size =
sizeof (
u32),
const static char *const ip6_null_nodes[]
The per-protocol VLIB graph nodes that are assigned to a ip6_ll object.
static dpo_id_t ip6_ll_dpo
The data-path object representing performing a lookup in the IPv6 link local table.
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.
dpo_type_t dpoi_type
the type
const dpo_id_t * ip6_ll_dpo_get(void)
The IP6 link-local DPO represents the lookup of a packet in the link-local IPv6 FIB.
vlib_main_t vlib_node_runtime_t * node
void ip6_ll_dpo_module_init(void)
struct ip6_ll_dpo_trace_t_ ip6_ll_dpo_trace_t
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
static u8 * format_ip6_ll_dpo(u8 *s, va_list *ap)
static void * vlib_frame_vector_args(vlib_frame_t *f)
Get pointer to frame vector data.
static void ip6_ll_dpo_unlock(dpo_id_t *dpo)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
ip6_ll_next_t_
Exit nodes from a IP6_LL.
const static char *const *const ip6_ll_nodes[DPO_PROTO_NUM]
dpo_lock_fn_t dv_lock
A reference counting lock function.
struct _vlib_node_registration vlib_node_registration_t
static u8 * format_ip6_ll_dpo_trace(u8 *s, va_list *args)
#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.
vlib_node_registration_t ip6_ll_dpo_node
(constructor) VLIB_REGISTER_NODE (ip6_ll_dpo_node)
description fragment has unexpected format
static uword ip6_ll_dpo_inline(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static uword ip6_ll_dpo_switch(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
vlib_put_next_frame(vm, node, next_index, 0)
const static dpo_vft_t ip6_ll_vft
static void ip6_ll_dpo_lock(dpo_id_t *dpo)
A virtual function table regisitered for a DPO type.
void * vlib_add_trace(vlib_main_t *vm, vlib_node_runtime_t *r, vlib_buffer_t *b, u32 n_data_bytes)
enum ip6_ll_next_t_ ip6_ll_next_t
Exit nodes from a IP6_LL.
u32 ip6_ll_fib_get(u32 sw_if_index)
For use in the data plane.
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
vl_api_interface_index_t sw_if_index
#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,...
void dpo_register(dpo_type_t type, const dpo_vft_t *vft, const char *const *const *nodes)
For a given DPO type Register:
VLIB buffer representation.
#define VLIB_REGISTER_NODE(x,...)