diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2021-02-04 16:11:18 +0100 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2021-02-15 12:08:09 +0000 |
commit | fd0b399ff6dc246ce989cb592cf27d0015497711 (patch) | |
tree | 7d30388c9a1d9a3dec2d569ee9eafd7ae27bcb34 /src/vnet/interface.api | |
parent | 65d789e4baa0be3086b9dd97e3fdfea35b5f7857 (diff) |
interface: Add promisc on/off in api
Type: feature
Change-Id: Ib777a5201f1c728438c7a5f2b1aa2246f1344b9b
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet/interface.api')
-rw-r--r-- | src/vnet/interface.api | 14 |
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 |