Searched refs:fopt (Results 1 – 1 of 1) sorted by relevance
/external/iproute2/tc/ |
D | q_cbq.c | 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() [all …]
|