aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-gpe
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-04-24 10:46:54 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-04-25 16:18:42 +0000
commit11b8dbf78af49d270a0e72abe7dea73eec30d85f (patch)
tree5c9c513483f5c468efcb64b82c03c32733dc3a77 /src/vnet/lisp-gpe
parent45d3496f3d86ee1a930ce0ffd6ca3d1730355eb8 (diff)
"autoreply" flag: autogenerate standard xxx_reply_t messages
Change-Id: I72298aaae7d172082ece3a8edea4217c11b28d79 Signed-off-by: Dave Barach <dave@barachs.net>
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