the Linux kernel TAP device driver
*/
-/** \brief Initialize a new tap interface with the given paramters
+option version = "1.0.0";
+
+/** \brief Initialize a new tap interface with the given parameters
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param use_random_mac - let the system generate a unique mac address
@param tap_name - name to associate with the new interface
- @param mac_address - mac addr to assign to the interface if use_radom not set
+ @param mac_address - mac addr to assign to the interface if use_random not set
*/
define tap_connect
{
u32 sw_if_index;
};
-/** \brief Modify a tap interface with the given paramters
+/** \brief Modify a tap interface with the given parameters
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param sw_if_index - interface index of existing tap interface
@param use_random_mac - let the system generate a unique mac address
@param tap_name - name to associate with the new interface
- @param mac_address - mac addr to assign to the interface if use_radom not set
+ @param mac_address - mac addr to assign to the interface if use_random not set
*/
define tap_modify
{
@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
{