acl: implement counters
[vpp.git] / src / plugins / acl / acl.api
index cde46c4..0c230c5 100644 (file)
@@ -547,3 +547,15 @@ define acl_interface_etype_whitelist_details
   u16 whitelist[count];
 };
 
+/** \brief Enable or disable incrementing ACL counters in stats segment by interface processing
+    @param client_index - opaque cookie to identify the sender
+    @param context - sender context, to match reply w/ request
+    @param enable - whether to enable or disable incrementing the counters
+*/
+
+autoreply define acl_stats_intf_counters_enable
+{
+  u32 client_index;
+  u32 context;
+  bool enable;
+};