diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2019-09-25 10:07:28 +0200 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-09-25 16:11:18 +0000 |
commit | df40cb5b5084f59ad8699f167192221955433a64 (patch) | |
tree | 3980b60b01282a26be3e3b70d9c7d017e4eb9dc2 | |
parent | 769145cdbc28324bd0b6304951199ec3d6e0e883 (diff) |
devices: pipe API cleanup
Use consistent API types.
Type: fix
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: Ifd62207048d125bec18b3a728590ac540dcafe5e
-rw-r--r-- | src/vnet/devices/pipe/pipe.api | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/vnet/devices/pipe/pipe.api b/src/vnet/devices/pipe/pipe.api index 55b93fdbd33..2dc72a6ab66 100644 --- a/src/vnet/devices/pipe/pipe.api +++ b/src/vnet/devices/pipe/pipe.api @@ -19,7 +19,9 @@ the Linux kernel PIPE device driver */ -option version = "1.0.0"; +option version = "1.0.1"; + +import "vnet/interface_types.api"; /** \brief Initialize a new pipe interface with the given paramters @param client_index - opaque cookie to identify the sender @@ -31,7 +33,7 @@ define pipe_create { u32 client_index; u32 context; - u8 is_specified; + bool is_specified; u32 user_instance; }; @@ -46,8 +48,8 @@ define pipe_create_reply { 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 @@ -59,7 +61,7 @@ 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 */ @@ -78,8 +80,8 @@ define pipe_dump 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; }; |