Lines Matching defs:reorder
42 " [ reorder PRECENT [CORRELATION] [ gap DISTANCE ]]\n" \
178 struct tc_netem_reorder reorder;
189 memset(&reorder, 0, sizeof(reorder));
347 } else if (matches(*argv, "reorder") == 0) {
350 if (get_percent(&reorder.probability, *argv)) {
351 explain1("reorder");
357 if (get_percent(&reorder.correlation, *argv)) {
358 explain1("reorder");
444 if (reorder.probability) {
453 fprintf(stderr, "gap specified without reorder probability\n");
480 addattr_l(n, 1024, TCA_NETEM_REORDER, &reorder, sizeof(reorder)) < 0)
539 const struct tc_netem_reorder *reorder = NULL;
570 if (RTA_PAYLOAD(tb[TCA_NETEM_REORDER]) < sizeof(*reorder))
572 reorder = RTA_DATA(tb[TCA_NETEM_REORDER]);
647 if (reorder && reorder->probability) {
648 fprintf(f, " reorder %s",
649 sprint_percent(reorder->probability, b1));
650 if (reorder->correlation)
652 sprint_percent(reorder->correlation, b1));