l2e: use explicit api types
[vpp.git] / src / plugins / l2e / l2e.api
index dd2eb16..3b7c9ff 100644 (file)
@@ -15,6 +15,7 @@
  */
 
 option version = "1.0.0";
+import "vnet/interface_types.api";
 
 /** \brief L2 emulation at L3
     @param client_index - opaque cookie to identify the sender
@@ -26,8 +27,8 @@ autoreply define l2_emulation
 {
   u32 client_index;
   u32 context;
-  u32 sw_if_index;
-  u8  enable;
+  vl_api_interface_index_t sw_if_index;
+  bool enable;
 };
 
 /*