nsh: use explicit api types
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I8fd870e757e9243d4f0916dfbbe65495f7e1a8c6
This commit is contained in:

committed by
Andrew Yourtchenko

parent
e06e7c672d
commit
d3f0a48697
@ -1,4 +1,6 @@
|
|||||||
|
option version = "1.0.0";
|
||||||
|
|
||||||
|
import "vnet/interface_types.api";
|
||||||
|
|
||||||
/** \brief /** \brief Set or delete an NSH header entry keyed by NSP/NSI
|
/** \brief /** \brief Set or delete an NSH header entry keyed by NSP/NSI
|
||||||
@param client_index - opaque cookie to identify the sender
|
@param client_index - opaque cookie to identify the sender
|
||||||
@ -19,7 +21,7 @@
|
|||||||
define nsh_add_del_entry {
|
define nsh_add_del_entry {
|
||||||
u32 client_index;
|
u32 client_index;
|
||||||
u32 context;
|
u32 context;
|
||||||
u8 is_add;
|
bool is_add;
|
||||||
u32 nsp_nsi;
|
u32 nsp_nsi;
|
||||||
u8 md_type;
|
u8 md_type;
|
||||||
u8 ver_o_c;
|
u8 ver_o_c;
|
||||||
@ -86,12 +88,12 @@ define nsh_entry_details {
|
|||||||
define nsh_add_del_map {
|
define nsh_add_del_map {
|
||||||
u32 client_index;
|
u32 client_index;
|
||||||
u32 context;
|
u32 context;
|
||||||
u8 is_add;
|
bool is_add;
|
||||||
u32 nsp_nsi;
|
u32 nsp_nsi;
|
||||||
u32 mapped_nsp_nsi;
|
u32 mapped_nsp_nsi;
|
||||||
u32 nsh_action;
|
u32 nsh_action;
|
||||||
u32 sw_if_index;
|
vl_api_interface_index_t sw_if_index;
|
||||||
u32 rx_sw_if_index;
|
vl_api_interface_index_t rx_sw_if_index;
|
||||||
u32 next_node;
|
u32 next_node;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -117,7 +119,7 @@ define nsh_map_details {
|
|||||||
u32 nsp_nsi;
|
u32 nsp_nsi;
|
||||||
u32 mapped_nsp_nsi;
|
u32 mapped_nsp_nsi;
|
||||||
u32 nsh_action;
|
u32 nsh_action;
|
||||||
u32 sw_if_index;
|
vl_api_interface_index_t sw_if_index;
|
||||||
u32 rx_sw_if_index;
|
vl_api_interface_index_t rx_sw_if_index;
|
||||||
u32 next_node;
|
u32 next_node;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user