aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/map/map.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/map/map.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/map/map.api')
-rw-r--r--src/vnet/map/map.api22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/vnet/map/map.api b/src/vnet/map/map.api
index 4e4be85effa..d68f13f0bc9 100644
--- a/src/vnet/map/map.api
+++ b/src/vnet/map/map.api
@@ -62,22 +62,13 @@ define map_add_domain_reply
@param context - sender context, to match reply w/ request
@param index - MAP Domain index
*/
-define map_del_domain
+autoreply define map_del_domain
{
u32 client_index;
u32 context;
u32 index;
};
-/** \brief Reply for MAP domain del
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define map_del_domain_reply
-{
- u32 context;
- i32 retval;
-};
/** \brief Add or Delete MAP rule from a domain (Only used for shared IPv4 per subscriber)
@param client_index - opaque cookie to identify the sender
@@ -87,7 +78,7 @@ define map_del_domain_reply
@param ip6_dst - MAP CE IPv6 address
@param psid - Rule PSID
*/
-define map_add_del_rule
+autoreply define map_add_del_rule
{
u32 client_index;
u32 context;
@@ -97,15 +88,6 @@ define map_add_del_rule
u16 psid;
};
-/** \brief Reply for MAP rule add/del
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-define map_add_del_rule_reply
-{
- u32 context;
- i32 retval;
-};
/** \brief Get list of map domains
@param client_index - opaque cookie to identify the sender