X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Funix%2Ftap.api;h=6b1b2b4f0fcbb2cc0670aa088ba1f627ae0b9bb6;hb=0d056e5ede136cd0111dc3f9f41ef7b36a938027;hp=9b16eadbf868ce934453f8b387262c294246eb1c;hpb=7cd468a3d7dee7d6c92f69a0bb7061ae208ec727;p=vpp.git diff --git a/src/vnet/unix/tap.api b/src/vnet/unix/tap.api index 9b16eadbf86..6b1b2b4f0fc 100644 --- a/src/vnet/unix/tap.api +++ b/src/vnet/unix/tap.api @@ -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 {