#define ABF_PLUGIN_VERSION_MINOR 0
/**
- * An ACL based Forwading 'policy'.
+ * An ACL based Forwarding 'policy'.
* This comprises the ACL index to match against and the forwarding
- * path to take if the match is successfull.
+ * path to take if the match is successful.
*
* ABF policies are then 'attached' to interfaces. An input feature
* will run through the list of policies a match will divert the packet,
* @param policy_id User defined Policy ID
* @param acl_index The ACL the policy with match on
* @param rpaths The set of paths to add to the forwarding set
+ * @return error code
*/
-extern void abf_policy_update (u32 policy_id,
- u32 acl_index,
- const fib_route_path_t * rpaths);
+extern int abf_policy_update (u32 policy_id,
+ u32 acl_index, const fib_route_path_t * rpaths);
/**
* Delete paths from an ABF Policy. If no more paths exist, the policy