summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-gpe
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/lisp-gpe')
-rw-r--r--src/vnet/lisp-gpe/lisp_gpe.api48
1 files changed, 4 insertions, 44 deletions
diff --git a/src/vnet/lisp-gpe/lisp_gpe.api b/src/vnet/lisp-gpe/lisp_gpe.api
index 43a6a6cd499..f79d18c1a60 100644
--- a/src/vnet/lisp-gpe/lisp_gpe.api
+++ b/src/vnet/lisp-gpe/lisp_gpe.api
@@ -43,7 +43,7 @@ typeonly manual_print manual_endian define gpe_locator
@param loc_num - number of locators
@param locs - array of remote locators
*/
-manual_print manual_endian define gpe_add_del_fwd_entry
+autoreply manual_print manual_endian define gpe_add_del_fwd_entry
{
u32 client_index;
u32 context;
@@ -60,44 +60,24 @@ manual_print manual_endian define gpe_add_del_fwd_entry
vl_api_gpe_locator_t locs[loc_num];
};
-/** \brief Reply for gpe_fwd_entry add/del
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define gpe_add_del_fwd_entry_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief enable or disable gpe protocol
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param is_en - enable protocol if non-zero, else disable
*/
-define gpe_enable_disable
+autoreply define gpe_enable_disable
{
u32 client_index;
u32 context;
u8 is_en;
};
-/** \brief Reply for gpe enable/disable
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define gpe_enable_disable_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief add or delete gpe_iface
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
@param is_add - add address if non-zero, else delete
*/
-define gpe_add_del_iface
+autoreply define gpe_add_del_iface
{
u32 client_index;
u32 context;
@@ -107,16 +87,6 @@ define gpe_add_del_iface
u32 vni;
};
-/** \brief Reply for gpe_iface add/del
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define gpe_add_del_iface_reply
-{
- u32 context;
- i32 retval;
-};
-
define gpe_fwd_entries_get
{
u32 client_index;
@@ -163,23 +133,13 @@ manual_endian manual_print define gpe_fwd_entry_path_details
@param context - sender context, to match reply w/ request
@param mode - LISP (value 0) or VXLAN (value 1)
*/
-define gpe_set_encap_mode
+autoreply define gpe_set_encap_mode
{
u32 client_index;
u32 context;
u8 mode;
};
-/** \brief Reply for set_encap_mode
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define gpe_set_encap_mode_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief get GPE encapsulation mode
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request