summaryrefslogtreecommitdiffstats
path: root/src/vnet/span/span.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/span/span.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/span/span.api')
-rw-r--r--src/vnet/span/span.api10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/vnet/span/span.api b/src/vnet/span/span.api
index 4babdd834ee..914fd8d0b40 100644
--- a/src/vnet/span/span.api
+++ b/src/vnet/span/span.api
@@ -21,7 +21,7 @@
@param sw_if_index_to - interface where the traffic is mirrored
@param state - 0 = disabled, 1 = rx enabled, 2 = tx enabled, 3 tx & rx enabled
*/
-define sw_interface_span_enable_disable {
+autoreply define sw_interface_span_enable_disable {
u32 client_index;
u32 context;
u32 sw_if_index_from;
@@ -29,14 +29,6 @@ define sw_interface_span_enable_disable {
u8 state;
};
-/** \brief Reply to SPAN enable/disable request
- @param context - sender context which was passed in the request
-*/
-define sw_interface_span_enable_disable_reply {
- u32 context;
- i32 retval;
-};
-
/** \brief SPAN dump request
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request