the Linux kernel PIPE device driver
*/
-option version = "1.0.0";
+option version = "1.0.1";
-/** \brief Initialize a new pipe interface with the given paramters
+import "vnet/interface_types.api";
+
+/** \brief Initialize a new pipe interface with the given parameters
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param is_specified - if non-0, a specific user_instance is being requested
{
u32 client_index;
u32 context;
- u8 is_specified;
+ bool is_specified;
u32 user_instance;
};
{
u32 context;
i32 retval;
- u32 sw_if_index;
- u32 pipe_sw_if_index[2];
+ vl_api_interface_index_t sw_if_index;
+ vl_api_interface_index_t pipe_sw_if_index[2];
};
/** \brief Delete pipe interface
@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 pipe interface
+ @param sw_if_index - interface index of existing parent pipe interface
*/
autoreply define pipe_delete
{
u32 client_index;
u32 context;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
};
/** \brief Dump pipe interfaces request */
define pipe_details
{
u32 context;
- u32 sw_if_index;
- u32 pipe_sw_if_index[2];
+ vl_api_interface_index_t sw_if_index;
+ vl_api_interface_index_t pipe_sw_if_index[2];
u32 instance;
};