summaryrefslogtreecommitdiffstats
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorSiger Yang <siger.yang@outlook.com>2022-09-06 09:13:23 +0200
committerSiger Yang <siger.yang@outlook.com>2022-11-22 15:35:35 +0100
commitdfacea4ae7001346ea5e21fce485db5255e809f6 (patch)
tree161f876506910bd56ea76be2e843f6766d97a31b /lib/zclient.h
parentzebra: traffic control state management (diff)
downloadfrr-dfacea4ae7001346ea5e21fce485db5255e809f6.tar.xz
frr-dfacea4ae7001346ea5e21fce485db5255e809f6.zip
zebra: traffic control ZAPI
This commit adds ZAPI encoders & decoders for traffic control operations, which include tc_qdisc, tc_class and tc_filter. Signed-off-by: Siger Yang <siger.yang@outlook.com>
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 731769abf..584a42194 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -243,6 +243,12 @@ typedef enum {
ZEBRA_GRE_GET,
ZEBRA_GRE_UPDATE,
ZEBRA_GRE_SOURCE_SET,
+ ZEBRA_TC_QDISC_INSTALL,
+ ZEBRA_TC_QDISC_UNINSTALL,
+ ZEBRA_TC_CLASS_ADD,
+ ZEBRA_TC_CLASS_DELETE,
+ ZEBRA_TC_FILTER_ADD,
+ ZEBRA_TC_FILTER_DELETE,
} zebra_message_types_t;
enum zebra_error_types {