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