aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2tp/l2tp.api
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/l2tp/l2tp.api
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/l2tp/l2tp.api')
-rw-r--r--src/vnet/l2tp/l2tp.api28
1 files changed, 3 insertions, 25 deletions
diff --git a/src/vnet/l2tp/l2tp.api b/src/vnet/l2tp/l2tp.api
index 5a5a5a48a68..4587a8076ec 100644
--- a/src/vnet/l2tp/l2tp.api
+++ b/src/vnet/l2tp/l2tp.api
@@ -52,7 +52,7 @@ define l2tpv3_create_tunnel_reply
u32 sw_if_index;
};
-define l2tpv3_set_tunnel_cookies
+autoreply define l2tpv3_set_tunnel_cookies
{
u32 client_index;
u32 context;
@@ -61,16 +61,6 @@ define l2tpv3_set_tunnel_cookies
u64 new_remote_cookie;
};
-/** \brief L2TP tunnel set cookies response
- @param context - sender context, to match reply w/ request
- @param retval - return code for the request
-*/
-define l2tpv3_set_tunnel_cookies_reply
-{
- u32 context;
- i32 retval;
-};
-
define sw_if_l2tpv3_tunnel_details
{
u32 context;
@@ -91,7 +81,7 @@ define sw_if_l2tpv3_tunnel_dump
u32 context;
};
-define l2tpv3_interface_enable_disable
+autoreply define l2tpv3_interface_enable_disable
{
u32 client_index;
u32 context;
@@ -99,13 +89,7 @@ define l2tpv3_interface_enable_disable
u32 sw_if_index;
};
-define l2tpv3_interface_enable_disable_reply
-{
- u32 context;
- i32 retval;
-};
-
-define l2tpv3_set_lookup_key
+autoreply define l2tpv3_set_lookup_key
{
u32 client_index;
u32 context;
@@ -113,12 +97,6 @@ define l2tpv3_set_lookup_key
u8 key;
};
-define l2tpv3_set_lookup_key_reply
-{
- u32 context;
- i32 retval;
-};
-
/*
* Local Variables:
* eval: (c-set-style "gnu")