nat: use correct data types for memory sizes
[vpp.git] / src / plugins / abf / abf_policy.h
index 71fa1a6..7d890ab 100644 (file)
@@ -22,9 +22,9 @@
 #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,
@@ -82,10 +82,10 @@ extern fib_node_type_t abf_policy_fib_node_type;
  * @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