Lines Matching refs:qopt
298 struct tc_netem_qopt qopt;
299 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
309 memcpy(&qopt, RTA_DATA(opt), sizeof(qopt));
313 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
333 fprintf(f, "limit %d", qopt.limit);
335 if (qopt.latency) {
336 fprintf(f, " delay %s", sprint_ticks(qopt.latency, b1));
338 if (qopt.jitter) {
339 fprintf(f, " %s", sprint_ticks(qopt.jitter, b1));
345 if (qopt.loss) {
346 fprintf(f, " loss %s", sprint_percent(qopt.loss, b1));
351 if (qopt.duplicate) {
353 sprint_percent(qopt.duplicate, b1));
374 if (qopt.gap)
375 fprintf(f, " gap %lu", (unsigned long)qopt.gap);