Lines Matching full:loss

38 "                 [ loss random PERCENT [CORRELATION]]\n" \  in explain()
39 " [ loss state P13 [P31 [P32 [P23 P14]]]\n" \ in explain()
40 " [ loss gemodel PERCENT [R [1-H [1-K]]]\n" \ in explain()
220 } else if (matches(*argv, "loss") == 0 || in netem_parse_opt()
222 if (opt.loss > 0 || loss_type != NETEM_LOSS_UNSPEC) { in netem_parse_opt()
223 explain1("duplicate loss argument\n"); in netem_parse_opt()
228 /* Old (deprecated) random loss model syntax */ in netem_parse_opt()
235 if (get_percent(&opt.loss, *argv)) { in netem_parse_opt()
236 explain1("loss percent"); in netem_parse_opt()
243 explain1("loss correllation"); in netem_parse_opt()
252 explain1("loss p13"); in netem_parse_opt()
268 explain1("loss p31"); in netem_parse_opt()
276 explain1("loss p32"); in netem_parse_opt()
284 explain1("loss p23"); in netem_parse_opt()
291 explain1("loss p14"); in netem_parse_opt()
298 explain1("loss gemodel p"); in netem_parse_opt()
312 explain1("loss gemodel r"); in netem_parse_opt()
320 explain1("loss gemodel h"); in netem_parse_opt()
332 explain1("loss gemodel k"); in netem_parse_opt()
336 fprintf(stderr, "Unknown loss parameter: %s\n", in netem_parse_opt()
454 if (opt.loss <= 0 && loss_type == NETEM_LOSS_UNSPEC) { in netem_parse_opt()
455 fprintf(stderr, "ecn requested without loss model\n"); in netem_parse_opt()
500 fprintf(stderr, "loss in the weeds!\n"); in netem_parse_opt()
615 if (qopt.loss) { in netem_print_opt()
616 fprintf(f, " loss %s", sprint_percent(qopt.loss, b1)); in netem_print_opt()
622 fprintf(f, " loss state p13 %s", sprint_percent(gimodel->p13, b1)); in netem_print_opt()
630 fprintf(f, " loss gemodel p %s", in netem_print_opt()