Lines Matching refs:reorder
178 struct tc_netem_reorder reorder; in netem_parse_opt() local
189 memset(&reorder, 0, sizeof(reorder)); in netem_parse_opt()
350 if (get_percent(&reorder.probability, *argv)) { in netem_parse_opt()
357 if (get_percent(&reorder.correlation, *argv)) { in netem_parse_opt()
444 if (reorder.probability) { in netem_parse_opt()
480 addattr_l(n, 1024, TCA_NETEM_REORDER, &reorder, sizeof(reorder)) < 0) in netem_parse_opt()
539 const struct tc_netem_reorder *reorder = NULL; in netem_print_opt() local
570 if (RTA_PAYLOAD(tb[TCA_NETEM_REORDER]) < sizeof(*reorder)) in netem_print_opt()
572 reorder = RTA_DATA(tb[TCA_NETEM_REORDER]); in netem_print_opt()
647 if (reorder && reorder->probability) { in netem_print_opt()
649 sprint_percent(reorder->probability, b1)); in netem_print_opt()
650 if (reorder->correlation) in netem_print_opt()
652 sprint_percent(reorder->correlation, b1)); in netem_print_opt()