Home | History | Annotate | Download | only in tc

Lines Matching full:handle

37 static int route_parse_opt(struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n)
47 if (handle) {
48 if (get_u32(&t->tcm_handle, handle, 0)) {
49 fprintf(stderr, "Illegal \"handle\"\n");
94 unsigned handle;
96 if (get_tc_classid(&handle, *argv)) {
100 addattr_l(n, 4096, TCA_ROUTE4_CLASSID, &handle, 4);
134 static int route_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle)
144 if (handle)
145 fprintf(f, "fh 0x%08x ", handle);
146 if (handle&0x7F00)
147 fprintf(f, "order %d ", (handle>>8)&0x7F);