summaryrefslogtreecommitdiffstats
path: root/src/vnet/cop
diff options
context:
space:
mode:
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
+