21 #define ABF_PLUGIN_VERSION_MAJOR 1 22 #define ABF_PLUGIN_VERSION_MINOR 0
A representation of a path as described by a route producer.
u32 ap_id
The policy ID - as configured by the client.
struct abf_policy_t_ abf_policy_t
An ACL based Forwarding 'policy'.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
abf_policy_t * abf_policy_get(index_t index)
Get an ABF object from its VPP index.
fib_node_type_t abf_policy_fib_node_type
The FIB node type for ABF policies.
u32 ap_sibling
Sibling index on the path-list.
int abf_policy_delete(u32 policy_id, const fib_route_path_t *rpaths)
Delete paths from an ABF Policy.
int(* abf_policy_walk_cb_t)(index_t index, void *ctx)
Callback function invoked during a walk of all policies.
int abf_policy_update(u32 policy_id, u32 acl_index, const fib_route_path_t *rpaths)
Create or update an ABF Policy.
index_t abf_policy_find(u32 policy_id)
Find a ABF object from the client's policy ID.
An node in the FIB graph.
fib_node_index_t ap_pl
The path-list describing how to forward in case of a match.
void abf_policy_walk(abf_policy_walk_cb_t cb, void *ctx)
Walk/visit each of the ABF policies.
u32 fib_node_index_t
A typedef of a node index.
An ACL based Forwarding 'policy'.
u32 ap_acl
ACL index to match.
enum fib_node_type_t_ fib_node_type_t
The types of nodes in a FIB graph.
fib_node_t ap_node
Linkage into the FIB graph.