Lines Matching refs:reorder
179 struct tc_netem_reorder reorder = {}; in netem_parse_opt() local
345 if (get_percent(&reorder.probability, *argv)) { in netem_parse_opt()
352 if (get_percent(&reorder.correlation, *argv)) { in netem_parse_opt()
439 if (reorder.probability) { in netem_parse_opt()
475 addattr_l(n, 1024, TCA_NETEM_REORDER, &reorder, sizeof(reorder)) < 0) in netem_parse_opt()
534 const struct tc_netem_reorder *reorder = NULL; in netem_print_opt() local
568 if (RTA_PAYLOAD(tb[TCA_NETEM_REORDER]) < sizeof(*reorder)) in netem_print_opt()
570 reorder = RTA_DATA(tb[TCA_NETEM_REORDER]); in netem_print_opt()
645 if (reorder && reorder->probability) { in netem_print_opt()
647 sprint_percent(reorder->probability, b1)); in netem_print_opt()
648 if (reorder->correlation) in netem_print_opt()
650 sprint_percent(reorder->correlation, b1)); in netem_print_opt()