Lines Matching defs:cor
129 struct tc_netem_corr cor;
135 memset(&cor, 0, sizeof(cor));
162 if (get_percent(&cor.delay_corr,
178 if (get_percent(&cor.loss_corr, *argv)) {
210 if (get_percent(&cor.dup_corr, *argv)) {
252 addattr_l(n, 1024, TCA_NETEM_CORR, &cor, sizeof(cor));
265 const struct tc_netem_corr *cor = NULL;
286 if (RTA_PAYLOAD(tb[TCA_NETEM_CORR]) < sizeof(*cor))
288 cor = RTA_DATA(tb[TCA_NETEM_CORR]);
304 if (cor && cor->delay_corr)
305 fprintf(f, " %s", sprint_percent(cor->delay_corr, b1));
311 if (cor && cor->loss_corr)
312 fprintf(f, " %s", sprint_percent(cor->loss_corr, b1));
318 if (cor && cor->dup_corr)
319 fprintf(f, " %s", sprint_percent(cor->dup_corr, b1));