aboutsummaryrefslogtreecommitdiffstats
path: root/vpp/api/vpe.api
diff options
context:
space:
mode:
Diffstat (limited to 'vpp/api/vpe.api')
-rw-r--r--vpp/api/vpe.api20
1 files changed, 20 insertions, 0 deletions
diff --git a/vpp/api/vpe.api b/vpp/api/vpe.api
index 2af4f503e8f..29cd1badcbc 100644
--- a/vpp/api/vpe.api
+++ b/vpp/api/vpe.api
@@ -2842,3 +2842,23 @@ define get_node_graph_reply {
i32 retval;
u64 reply_in_shmem;
};
+
+/** \brief Clear interface statistics
+ @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 clear statistics
+*/
+define sw_interface_clear_stats {
+ u32 client_index;
+ u32 context;
+ u32 sw_if_index;
+};
+
+/** \brief Reply to sw_interface_clear_stats
+ @param context - sender context which was passed in the request
+ @param retval - return code of the set flags request
+*/
+define sw_interface_clear_stats_reply {
+ u32 context;
+ i32 retval;
+};