1 2 #define TCA_BUF_MAX (64*1024) 3 4 extern struct rtnl_handle rth; 5 6 extern int do_qdisc(int argc, char **argv); 7 extern int do_class(int argc, char **argv); 8 extern int do_filter(int argc, char **argv); 9 extern int do_action(int argc, char **argv); 10 extern int do_tcmonitor(int argc, char **argv); 11 extern int do_exec(int argc, char **argv); 12 13 extern int print_action(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 14 extern int print_filter(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 15 extern int print_qdisc(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 16 extern int print_class(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 17 extern void print_size_table(FILE *fp, const char *prefix, struct rtattr *rta); 18 19 struct tc_estimator; 20 extern int parse_estimator(int *p_argc, char ***p_argv, struct tc_estimator *est); 21 22 struct tc_sizespec; 23 extern int parse_size_table(int *p_argc, char ***p_argv, struct tc_sizespec *s); 24 extern int check_size_table_opts(struct tc_sizespec *s); 25 26 extern int show_graph; 27 extern bool use_names; 28