]> git.proxmox.com Git - mirror_iproute2.git/blob - tc/tc_common.h
dcb: Add a subtool for the DCB APP object
[mirror_iproute2.git] / tc / tc_common.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2
3 #define TCA_BUF_MAX (64*1024)
4
5 extern struct rtnl_handle rth;
6
7 int do_qdisc(int argc, char **argv);
8 int do_class(int argc, char **argv);
9 int do_filter(int argc, char **argv);
10 int do_chain(int argc, char **argv);
11 int do_action(int argc, char **argv);
12 int do_tcmonitor(int argc, char **argv);
13 int do_exec(int argc, char **argv);
14
15 int print_action(struct nlmsghdr *n, void *arg);
16 int print_filter(struct nlmsghdr *n, void *arg);
17 int print_qdisc(struct nlmsghdr *n, void *arg);
18 int print_class(struct nlmsghdr *n, void *arg);
19 void print_size_table(FILE *fp, const char *prefix, struct rtattr *rta);
20
21 struct tc_estimator;
22 int parse_estimator(int *p_argc, char ***p_argv, struct tc_estimator *est);
23
24 struct tc_sizespec;
25 int parse_size_table(int *p_argc, char ***p_argv, struct tc_sizespec *s);
26 int check_size_table_opts(struct tc_sizespec *s);
27
28 extern int show_graph;
29 extern bool use_names;
30 extern int use_iec;