Lines Matching refs:fopt
175 struct tc_cbq_fopt fopt;
188 memset(&fopt, 0, sizeof(fopt));
305 if (get_tc_classid(&fopt.split, *argv)) {
313 err = sscanf(*argv, "%08x/%08x", &fopt.defmap, &fopt.defchange);
319 fopt.defchange = ~0;
397 addattr_l(n, 1024, TCA_CBQ_FOPT, &fopt, sizeof(fopt));
419 struct tc_cbq_fopt *fopt = NULL;
446 if (RTA_PAYLOAD(tb[TCA_CBQ_FOPT]) < sizeof(*fopt))
447 fprintf(stderr, "CBQ: too short fopt\n");
449 fopt = RTA_DATA(tb[TCA_CBQ_FOPT]);
518 if (fopt && show_details) {
520 print_tc_classid(buf, sizeof(buf), fopt->split);
522 if (fopt->defmap) {
523 fprintf(f, "defmap %08x", fopt->defmap);