Home | History | Annotate | Download | only in tc

Lines Matching refs:qopt

544 	struct tc_netem_qopt qopt;
546 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
557 memcpy(&qopt, RTA_DATA(opt), sizeof(qopt));
561 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
605 fprintf(f, "limit %d", qopt.limit);
607 if (qopt.latency) {
608 fprintf(f, " delay %s", sprint_ticks(qopt.latency, b1));
610 if (qopt.jitter) {
611 fprintf(f, " %s", sprint_ticks(qopt.jitter, b1));
617 if (qopt.loss) {
618 fprintf(f, " loss %s", sprint_percent(qopt.loss, b1));
640 if (qopt.duplicate) {
642 sprint_percent(qopt.duplicate, b1));
679 if (qopt.gap)
680 fprintf(f, " gap %lu", (unsigned long)qopt.gap);