]> git.proxmox.com Git - mirror_iproute2.git/blame - tc/tc_common.h
tc/police: make print_police static
[mirror_iproute2.git] / tc / tc_common.h
CommitLineData
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 6extern struct rtnl_handle rth;
4bd62446 7
a8e9f4ae
SH
8int do_qdisc(int argc, char **argv);
9int do_class(int argc, char **argv);
10int do_filter(int argc, char **argv, void *buf, size_t buflen);
11int do_chain(int argc, char **argv, void *buf, size_t buflen);
12int do_action(int argc, char **argv, void *buf, size_t buflen);
13int do_tcmonitor(int argc, char **argv);
14int do_exec(int argc, char **argv);
4bd62446 15
cd554f2c
DA
16int print_action(struct nlmsghdr *n, void *arg);
17int print_filter(struct nlmsghdr *n, void *arg);
18int print_qdisc(struct nlmsghdr *n, void *arg);
19int print_class(struct nlmsghdr *n, void *arg);
a8e9f4ae 20void print_size_table(FILE *fp, const char *prefix, struct rtattr *rta);
aba5acdf 21
c1027a75 22struct tc_estimator;
a8e9f4ae 23int parse_estimator(int *p_argc, char ***p_argv, struct tc_estimator *est);
839c8456
JK
24
25struct tc_sizespec;
a8e9f4ae
SH
26int parse_size_table(int *p_argc, char ***p_argv, struct tc_sizespec *s);
27int check_size_table_opts(struct tc_sizespec *s);
d954b34a
VK
28
29extern int show_graph;
4612d04d 30extern bool use_names;