"autoreply" flag: autogenerate standard xxx_reply_t messages
Change-Id: I72298aaae7d172082ece3a8edea4217c11b28d79
Signed-off-by: Dave Barach <dave@barachs.net>
diff --git a/src/vnet/cop/cop.api b/src/vnet/cop/cop.api
index b34dae8..6931600 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 @@
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 @@
@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 @@
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 @@
* eval: (c-set-style "gnu")
* End:
*/
-
\ No newline at end of file
+