Home | History | Annotate | Download | only in tc

Lines Matching full:handle

34 static int fw_parse_opt(struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n)
44 if (handle) {
46 if ((slash = strchr(handle, '/')) != NULL)
48 if (get_u32(&t->tcm_handle, handle, 0)) {
49 fprintf(stderr, "Illegal \"handle\"\n");
54 fprintf(stderr, "Illegal \"handle\" mask\n");
73 unsigned handle;
75 if (get_tc_classid(&handle, *argv)) {
79 addattr_l(n, 4096, TCA_FW_CLASSID, &handle, 4);
119 static int fw_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle)
128 if (handle || tb[TCA_FW_MASK]) {
130 if(handle)
131 mark = handle;
134 fprintf(f, "handle 0x%x/0x%x ", mark, mask);
136 fprintf(f, "handle 0x%x ", handle);