Lines Matching refs:qopt
161 struct tc_red_qopt *qopt; in red_print_opt() local
174 qopt = RTA_DATA(tb[TCA_RED_PARMS]); in red_print_opt()
175 if (RTA_PAYLOAD(tb[TCA_RED_PARMS]) < sizeof(*qopt)) in red_print_opt()
183 sprint_size(qopt->limit, b1), in red_print_opt()
184 sprint_size(qopt->qth_min, b2), in red_print_opt()
185 sprint_size(qopt->qth_max, b3)); in red_print_opt()
186 if (qopt->flags & TC_RED_ECN) in red_print_opt()
188 if (qopt->flags & TC_RED_HARDDROP) in red_print_opt()
190 if (qopt->flags & TC_RED_ADAPTATIVE) in red_print_opt()
193 fprintf(f, "ewma %u ", qopt->Wlog); in red_print_opt()
197 fprintf(f, "Plog %u ", qopt->Plog); in red_print_opt()
198 fprintf(f, "Scell_log %u", qopt->Scell_log); in red_print_opt()