Lines Matching refs:fopt
187 struct tc_cbq_fopt fopt; in cbq_parse_class_opt() local
202 memset(&fopt, 0, sizeof(fopt)); in cbq_parse_class_opt()
319 if (get_tc_classid(&fopt.split, *argv)) { in cbq_parse_class_opt()
327 err = sscanf(*argv, "%08x/%08x", &fopt.defmap, &fopt.defchange); in cbq_parse_class_opt()
333 fopt.defchange = ~0; in cbq_parse_class_opt()
421 addattr_l(n, 1024, TCA_CBQ_FOPT, &fopt, sizeof(fopt)); in cbq_parse_class_opt()
443 struct tc_cbq_fopt *fopt = NULL; in cbq_print_opt() local
473 if (RTA_PAYLOAD(tb[TCA_CBQ_FOPT]) < sizeof(*fopt)) in cbq_print_opt()
476 fopt = RTA_DATA(tb[TCA_CBQ_FOPT]); in cbq_print_opt()
550 if (fopt && show_details) { in cbq_print_opt()
552 print_tc_classid(buf, sizeof(buf), fopt->split); in cbq_print_opt()
554 if (fopt->defmap) { in cbq_print_opt()
555 fprintf(f, "defmap %08x", fopt->defmap); in cbq_print_opt()