|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
28 #define L3XC_PLUGIN_VERSION_MAJOR 1
29 #define L3XC_PLUGIN_VERSION_MINOR 0
u32 l3xc_sibling
Sibling index on the path-list.
fib_node_t l3xc_node
Linkage into the FIB graph.
void l3xc_walk(l3xc_walk_cb_t cb, void *ctx)
Walk/visit each of the L3XC policies.
fib_protocol_t l3xc_proto
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
dpo_id_t l3xc_dpo
DPO for forwarding.
int(* l3xc_walk_cb_t)(index_t l3xci, void *ctx)
Callback function invoked during a walk of all policies.
vlib_node_registration_t l3xc_ip6_node
(constructor) VLIB_REGISTER_NODE (l3xc_ip6_node)
index_t l3xc_find(u32 sw_if_index, fib_protocol_t fproto)
Find a L3 XC object from an interface and FIB protocol.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
#define static_always_inline
u32 fib_node_index_t
A typedef of a node index.
static_always_inline l3xc_t * l3xc_get(u32 index)
CLIB_CACHE_LINE_ALIGN_MARK(cacheline0)
enum fib_protocol_t_ fib_protocol_t
Protocol Type.
struct _vlib_node_registration vlib_node_registration_t
int l3xc_update(u32 sw_if_index, u8 is_ip6, const fib_route_path_t *rpaths)
Create or update an L3XC Policy.
u32 l3xc_sw_if_index
The input interface.
int l3xc_delete(u32 sw_if_index, u8 is_ip6)
Delete an L3XC.
A representation of a path as described by a route producer.
vlib_node_registration_t l3xc_ip4_node
(constructor) VLIB_REGISTER_NODE (l3xc_ip4_node)
An node in the FIB graph.
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
l3xc_t * l3xc_pool
Data-plane functions.
vl_api_interface_index_t sw_if_index
fib_node_index_t l3xc_pl
The path-list describing how to forward in case of a match.