Lines Matching refs:fopt
186 struct tc_cbq_fopt fopt = {}; in cbq_parse_class_opt() local
313 if (get_tc_classid(&fopt.split, *argv)) { in cbq_parse_class_opt()
322 err = sscanf(*argv, "%08x/%08x", &fopt.defmap, &fopt.defchange); in cbq_parse_class_opt()
328 fopt.defchange = ~0; in cbq_parse_class_opt()
417 addattr_l(n, 1024, TCA_CBQ_FOPT, &fopt, sizeof(fopt)); in cbq_parse_class_opt()
440 struct tc_cbq_fopt *fopt = NULL; in cbq_print_opt() local
471 if (RTA_PAYLOAD(tb[TCA_CBQ_FOPT]) < sizeof(*fopt)) in cbq_print_opt()
474 fopt = RTA_DATA(tb[TCA_CBQ_FOPT]); in cbq_print_opt()
551 if (fopt && show_details) { in cbq_print_opt()
554 print_tc_classid(buf, sizeof(buf), fopt->split); in cbq_print_opt()
556 if (fopt->defmap) { in cbq_print_opt()
557 fprintf(f, "defmap %08x", fopt->defmap); in cbq_print_opt()