nat: use correct data types for memory sizes
[vpp.git] / src / plugins / ioam / export-vxlan-gpe / vxlan_gpe_ioam_export.api
index caa97e6..64a36b8 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 vxlan_gpe_ioam_export_enable_disable {
@@ -24,11 +27,11 @@ autoreply define vxlan_gpe_ioam_export_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 */
 };