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