|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __ABF_ITF_ATTACH_H__
17 #define __ABF_ITF_ATTACH_H__
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
void abf_itf_attach_walk(abf_itf_attach_walk_cb_t cb, void *ctx)
fib_node_t aia_node
Linkage into the FIB graph.
Attachment data for an ABF policy to an interface.
u32 aia_sw_if_index
The interface for the attachment.
static abf_itf_attach_t * abf_itf_attach_get(u32 index)
int abf_itf_attach(fib_protocol_t fproto, u32 policy_id, u32 priority, u32 sw_if_index)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
u32 aia_sibling
Sibling index on the policy's path list.
int abf_itf_detach(fib_protocol_t fproto, u32 policy_id, u32 sw_if_index)
int(* abf_itf_attach_walk_cb_t)(index_t aii, void *ctx0)
CLIB_CACHE_LINE_ALIGN_MARK(marker)
enum fib_protocol_t_ fib_protocol_t
Protocol Type.
struct abf_itf_attach_t_ abf_itf_attach_t
Attachment data for an ABF policy to an interface.
u32 aia_prio
The priority of this policy for attachment.
dpo_id_t aia_dpo
The DPO actually used for forwarding.
An node in the FIB graph.
u32 aia_acl
The ACL and DPO are cached for fast DP access.
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
u32 aia_abf
The VPP index of the ABF policy.
fib_protocol_t aia_proto
The protocol for the attachment.
abf_itf_attach_t * abf_itf_attach_pool
Pool of ABF interface attachment objects.