aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/qos/qos_record.h
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-07-23 08:16:19 -0700
committerDamjan Marion <dmarion@me.com>2019-07-24 14:55:59 +0000
commit5281a9029ea56f397a37ea1cf478ac526882770a (patch)
treef0d295cbfdc83c632d57104f3c8c0de3f0f21a02 /src/vnet/qos/qos_record.h
parentc89c76737dfcf2aea2515f84a6ec5175c9f1e237 (diff)
qos: QoS dump APIs
Type: feature Change-Id: I514b40026986f3828c8727453456b20a0a45f3af Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/qos/qos_record.h')
-rw-r--r--src/vnet/qos/qos_record.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/qos/qos_record.h b/src/vnet/qos/qos_record.h
index e5726d650a7..b80041f3241 100644
--- a/src/vnet/qos/qos_record.h
+++ b/src/vnet/qos/qos_record.h
@@ -21,6 +21,11 @@
extern int qos_record_disable (u32 sw_if_index, qos_source_t input_source);
extern int qos_record_enable (u32 sw_if_index, qos_source_t input_source);
+typedef walk_rc_t (*qos_record_walk_cb_t) (u32 sw_if_index,
+ qos_source_t input_source,
+ void *ctx);
+void qos_record_walk (qos_record_walk_cb_t fn, void *c);
+
#endif
/*