aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/cop
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/cop
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/cop')
-rw-r--r--src/vnet/cop/cop.api28
1 files changed, 3 insertions, 25 deletions
diff --git a/src/vnet/cop/cop.api b/src/vnet/cop/cop.api
index b34dae8026e..693160018a4 100644
--- a/src/vnet/cop/cop.api
+++ b/src/vnet/cop/cop.api
@@ -20,7 +20,7 @@
@param enable_disable - 1 => enable, 0 => disable
*/
-define cop_interface_enable_disable
+autoreply define cop_interface_enable_disable
{
u32 client_index;
u32 context;
@@ -28,17 +28,6 @@ define cop_interface_enable_disable
u8 enable_disable;
};
-/** \brief cop: interface enable/disable junk filtration reply
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-
-define cop_interface_enable_disable_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief cop: enable/disable whitelist filtration features on an interface
Note: the supplied fib_id must match in order to remove the feature!
@@ -51,7 +40,7 @@ define cop_interface_enable_disable_reply
@param default_cop - 1 => enable non-ip4, non-ip6 filtration 0=> disable it
*/
-define cop_whitelist_enable_disable
+autoreply define cop_whitelist_enable_disable
{
u32 client_index;
u32 context;
@@ -62,17 +51,6 @@ define cop_whitelist_enable_disable
u8 default_cop;
};
-/** \brief cop: interface enable/disable junk filtration reply
- @param context - returned sender context, to match reply w/ request
- @param retval - return code
-*/
-
-define cop_whitelist_enable_disable_reply
-{
- u32 context;
- i32 retval;
-};
-
/** \brief get_node_graph - get a copy of the vpp node graph
including the current set of graph arcs.
@@ -85,4 +63,4 @@ define cop_whitelist_enable_disable_reply
* eval: (c-set-style "gnu")
* End:
*/
- \ No newline at end of file
+