Lines Matching refs:reorder
175 struct tc_netem_reorder reorder; in netem_parse_opt() local
185 memset(&reorder, 0, sizeof(reorder)); in netem_parse_opt()
332 if (get_percent(&reorder.probability, *argv)) { in netem_parse_opt()
339 if (get_percent(&reorder.correlation, *argv)) { in netem_parse_opt()
426 if (reorder.probability) { in netem_parse_opt()
454 addattr_l(n, 1024, TCA_NETEM_REORDER, &reorder, sizeof(reorder)) < 0) in netem_parse_opt()
499 const struct tc_netem_reorder *reorder = NULL; in netem_print_opt() local
528 if (RTA_PAYLOAD(tb[TCA_NETEM_REORDER]) < sizeof(*reorder)) in netem_print_opt()
530 reorder = RTA_DATA(tb[TCA_NETEM_REORDER]); in netem_print_opt()
594 if (reorder && reorder->probability) { in netem_print_opt()
596 sprint_percent(reorder->probability, b1)); in netem_print_opt()
597 if (reorder->correlation) in netem_print_opt()
599 sprint_percent(reorder->correlation, b1)); in netem_print_opt()