aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/interface.api')
-rw-r--r--src/vnet/interface.api14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/vnet/interface.api b/src/vnet/interface.api
index c262cd69fcf..38dc4320b8d 100644
--- a/src/vnet/interface.api
+++ b/src/vnet/interface.api
@@ -40,6 +40,20 @@ autoreply define sw_interface_set_flags
vl_api_if_status_flags_t flags;
};
+/** \brief Set interface promiscuous mode
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+ @param sw_if_index - index of the interface to set flags on
+ @param promisc_on - promiscuous mode is on ?
+*/
+autoreply define sw_interface_set_promisc
+{
+ u32 client_index;
+ u32 context;
+ vl_api_interface_index_t sw_if_index;
+ bool promisc_on;
+};
+
/** \brief Set interface physical MTU
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request