af_xdp: add option to claim all available rx queues
[vpp.git] / src / plugins / ioam / export / ioam_export.api
index bb83056..2e77ded 100644 (file)
@@ -14,6 +14,9 @@
  * limitations under the License.
  */
 
+option version = "1.0.0";
+import "vnet/ip/ip_types.api";
+
 /* Define a simple binary API to control the feature */
 
 autoreply define ioam_export_ip6_enable_disable {
@@ -24,11 +27,11 @@ autoreply define ioam_export_ip6_enable_disable {
     u32 context;
 
     /* Enable / disable the feature */
-    u8 is_disable;
+    bool is_disable;
 
     /* Collector ip address */
-    u8 collector_address[4];
-    u8 src_address[4];
+    vl_api_ip4_address_t collector_address;
+    vl_api_ip4_address_t src_address;
 
     /* Src ip address */
 };