Home | History | Annotate | Download | only in tc

Lines Matching refs:qopt

503 	struct tc_netem_qopt qopt;
505 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
515 memcpy(&qopt, RTA_DATA(opt), sizeof(qopt));
519 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
553 fprintf(f, "limit %d", qopt.limit);
555 if (qopt.latency) {
556 fprintf(f, " delay %s", sprint_ticks(qopt.latency, b1));
558 if (qopt.jitter) {
559 fprintf(f, " %s", sprint_ticks(qopt.jitter, b1));
565 if (qopt.loss) {
566 fprintf(f, " loss %s", sprint_percent(qopt.loss, b1));
587 if (qopt.duplicate) {
589 sprint_percent(qopt.duplicate, b1));
620 if (qopt.gap)
621 fprintf(f, " gap %lu", (unsigned long)qopt.gap);