]>
Commit | Line | Data |
---|---|---|
6054c1eb | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
f307c24e SH |
2 | |
3 | #define TCA_BUF_MAX (64*1024) | |
485d0c60 | 4 | #define MSG_IOV_MAX 128 |
f307c24e | 5 | |
7901660a | 6 | extern struct rtnl_handle rth; |
4bd62446 | 7 | |
a8e9f4ae SH |
8 | int do_qdisc(int argc, char **argv); |
9 | int do_class(int argc, char **argv); | |
10 | int do_filter(int argc, char **argv, void *buf, size_t buflen); | |
11 | int do_chain(int argc, char **argv, void *buf, size_t buflen); | |
12 | int do_action(int argc, char **argv, void *buf, size_t buflen); | |
13 | int do_tcmonitor(int argc, char **argv); | |
14 | int do_exec(int argc, char **argv); | |
4bd62446 | 15 | |
cd554f2c DA |
16 | int print_action(struct nlmsghdr *n, void *arg); |
17 | int print_filter(struct nlmsghdr *n, void *arg); | |
18 | int print_qdisc(struct nlmsghdr *n, void *arg); | |
19 | int print_class(struct nlmsghdr *n, void *arg); | |
a8e9f4ae | 20 | void print_size_table(FILE *fp, const char *prefix, struct rtattr *rta); |
aba5acdf | 21 | |
c1027a75 | 22 | struct tc_estimator; |
a8e9f4ae | 23 | int parse_estimator(int *p_argc, char ***p_argv, struct tc_estimator *est); |
839c8456 JK |
24 | |
25 | struct tc_sizespec; | |
a8e9f4ae SH |
26 | int parse_size_table(int *p_argc, char ***p_argv, struct tc_sizespec *s); |
27 | int check_size_table_opts(struct tc_sizespec *s); | |
d954b34a VK |
28 | |
29 | extern int show_graph; | |
4612d04d | 30 | extern bool use_names; |