16 #ifndef __ABF_ITF_ATTACH_H__ 17 #define __ABF_ITF_ATTACH_H__ fib_protocol_t aia_proto
The protocol for the attachment.
CLIB_CACHE_LINE_ALIGN_MARK(marker)
abf_itf_attach_t * abf_itf_attach_pool
Pool of ABF interface attachment objects.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
enum fib_protocol_t_ fib_protocol_t
Protocol Type.
u32 aia_acl
The ACL and DPO are cached for fast DP access.
u32 aia_abf
The VPP index of the ABF policy.
int abf_itf_detach(fib_protocol_t fproto, u32 policy_id, u32 sw_if_index)
vl_api_interface_index_t sw_if_index
static abf_itf_attach_t * abf_itf_attach_get(u32 index)
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
void abf_itf_attach_walk(abf_itf_attach_walk_cb_t cb, void *ctx)
u32 aia_sibling
Sibling index on the policy's path list.
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
int abf_itf_attach(fib_protocol_t fproto, u32 policy_id, u32 priority, u32 sw_if_index)
struct abf_itf_attach_t_ abf_itf_attach_t
Attachment data for an ABF policy to an interface.
u32 aia_sw_if_index
The interface for the attachment.
An node in the FIB graph.
int(* abf_itf_attach_walk_cb_t)(index_t aii, void *ctx0)
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.
fib_node_t aia_node
Linkage into the FIB graph.