]>
git.proxmox.com Git - mirror_iproute2.git/blob - tc/tc_common.h
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define TCA_BUF_MAX (64*1024)
5 extern struct rtnl_handle rth
;
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
);
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
);
22 int parse_estimator(int *p_argc
, char ***p_argv
, struct tc_estimator
*est
);
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
);
28 extern int show_graph
;
29 extern bool use_names
;