aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/interface.api5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vnet/interface.api b/src/vnet/interface.api
index 4d1b5ac06de..25ba70342ee 100644
--- a/src/vnet/interface.api
+++ b/src/vnet/interface.api
@@ -544,13 +544,16 @@ autoreply define delete_loopback
/** \brief Enable or disable detailed interface stats
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
+ @param sw_if_index - The interface to collect detail stats on. ~0 implies
+ all interfaces.
@param enable_disable - set to 1 to enable, 0 to disable detailed stats
*/
autoreply define collect_detailed_interface_stats
{
u32 client_index;
u32 context;
- u8 enable_disable;
+ u32 sw_if_index;
+ u8 enable_disable;
};
/*