]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/tc_util.h
tc: introduce tc_qdisc_block_exists helper
[mirror_iproute2.git] / tc / tc_util.h
index 40a8865d6e35761ea0c083629395d0d25d9072d9..cd2ff5964e19938adf1eae0db81b09049278cf13 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/gen_stats.h>
 
 #include "tc_core.h"
+#include "json_print.h"
 
 /* This is the deprecated multiqueue interface */
 #ifndef TCA_PRIO_MAX
@@ -131,4 +132,8 @@ int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt);
 int cls_names_init(char *path);
 void cls_names_uninit(void);
 
+int action_a2n(char *arg, int *result, bool allow_num);
+
+bool tc_qdisc_block_exists(__u32 block_index);
+
 #endif