vppapigen: support per-file (major,minor,patch) version stamps
[vpp.git] / src / vnet / unix / tap.api
index 9b16ead..6b1b2b4 100644 (file)
@@ -19,6 +19,8 @@
     the Linux kernel TAP device driver
 */
 
+vl_api_version 1.0.0
+
 /** \brief Initialize a new tap interface with the given paramters 
     @param client_index - opaque cookie to identify the sender
     @param context - sender context, to match reply w/ request
@@ -35,6 +37,12 @@ define tap_connect
   u8 mac_address[6];
   u8 renumber;
   u32 custom_dev_instance;
+  u8 ip4_address_set;
+  u8 ip4_address[4];
+  u8 ip4_mask_width;
+  u8 ip6_address_set;
+  u8 ip6_address[16];
+  u8 ip6_mask_width;
   u8 tag[64];
 };
 
@@ -87,23 +95,13 @@ define tap_modify_reply
     @param context - sender context, to match reply w/ request
     @param sw_if_index - interface index of existing tap interface
 */
-define tap_delete
+autoreply define tap_delete
 {
   u32 client_index;
   u32 context;
   u32 sw_if_index;
 };
 
-/** \brief Reply for tap delete request
-    @param context - returned sender context, to match reply w/ request
-    @param retval - return code
-*/
-define tap_delete_reply
-{
-  u32 context;
-  i32 retval;
-};
-
 /** \brief Dump tap interfaces request */
 define sw_interface_tap_dump
 {