nat: Include platform specific headers on FreeBSD
[vpp.git] / src / plugins / abf / abf.api
index 6716dce..a748de4 100644 (file)
@@ -20,7 +20,9 @@
 */
 
 option version = "1.0.0";
+import "vnet/ip/ip_types.api";
 import "vnet/fib/fib_types.api";
+import "vnet/interface_types.api";
 
 /** \brief Get the plugin version
     @param client_index - opaque cookie to identify the sender
@@ -28,6 +30,7 @@ import "vnet/fib/fib_types.api";
 */
 define abf_plugin_get_version
 {
+  option status="in_progress";
   u32 client_index;
   u32 context;
 };
@@ -39,6 +42,7 @@ define abf_plugin_get_version
 */
 define abf_plugin_get_version_reply
 {
+  option status="in_progress";
   u32 context;
   u32 major;
   u32 minor;
@@ -47,10 +51,10 @@ define abf_plugin_get_version_reply
 /** \brief A description of an ABF policy
     @param policy_id User chosen Identifier for the policy
     @param acl_index The ACL that the policy will match against
-    @param n_paths Number of paths
+    @param n_paths Number of paths, 1..255
     @param paths The set of forwarding paths that are being added or removed.
  */
-typeonly define abf_policy
+typedef abf_policy
 {
   u32 policy_id;
   u32 acl_index;
@@ -66,9 +70,10 @@ typeonly define abf_policy
  */
 autoreply define abf_policy_add_del
 {
+  option status="in_progress";
   u32 client_index;
   u32 context;
-  u8 is_add;
+  bool is_add;
   vl_api_abf_policy_t policy;
 };
 
@@ -76,6 +81,7 @@ autoreply define abf_policy_add_del
  */
 define abf_policy_details
 {
+  option status="in_progress";
   u32 context;
   vl_api_abf_policy_t policy;
 };
@@ -84,6 +90,7 @@ define abf_policy_details
  */
 define abf_policy_dump
 {
+  option status="in_progress";
   u32 client_index;
   u32 context;
 };
@@ -95,21 +102,22 @@ define abf_policy_dump
               on this interface. lower value is 'better'
     @param is_ipv6 Does this attachment apply to IPv6 packets (or IPv4)
 */
-typeonly define abf_itf_attach
+typedef abf_itf_attach
 {
   u32 policy_id;
-  u32 sw_if_index;
+  vl_api_interface_index_t sw_if_index;
   u32 priority;
-  u8 is_ipv6;
+  bool is_ipv6;
 };
 
 /** \brief Add or delete a policy attachment to an interface
  */
 autoreply define abf_itf_attach_add_del
 {
+  option status="in_progress";
   u32 client_index;
   u32 context;
-  u8 is_add;
+  bool is_add;
   vl_api_abf_itf_attach_t attach;
 };
 
@@ -117,6 +125,7 @@ autoreply define abf_itf_attach_add_del
  */
 define abf_itf_attach_details
 {
+  option status="in_progress";
   u32 context;
   vl_api_abf_itf_attach_t attach;
 };
@@ -125,6 +134,7 @@ define abf_itf_attach_details
  */
 define abf_itf_attach_dump
 {
+  option status="in_progress";
   u32 client_index;
   u32 context;
 };