aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/qos/qos_egress_map.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_egress_map.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_egress_map.h')
-rw-r--r--src/vnet/qos/qos_egress_map.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vnet/qos/qos_egress_map.h b/src/vnet/qos/qos_egress_map.h
index 3b6e0b45a43..0dab7adc2dd 100644
--- a/src/vnet/qos/qos_egress_map.h
+++ b/src/vnet/qos/qos_egress_map.h
@@ -66,6 +66,15 @@ extern void qos_egress_map_delete (qos_egress_map_id_t tid);
* Get the VPP QoS map index from the user's map-ID
*/
extern index_t qos_egress_map_find (qos_egress_map_id_t tid);
+extern qos_egress_map_id_t qos_egress_map_get_id (index_t qemi);
+
+/**
+ * Walk each of the configured maps
+ */
+typedef walk_rc_t (*qos_egress_map_walk_cb_t) (qos_egress_map_id_t id,
+ const qos_egress_map_t * m,
+ void *c);
+void qos_egress_map_walk (qos_egress_map_walk_cb_t fn, void *c);
/**
* Data-plane functions