Lines Matching refs:max_th
500 "\n\t %cRED w_q %f min_th %d max_th %d max_p %f",
504 fs->max_th,
1616 NEED1("red/gred needs w_q/min_th/max_th/max_p\n");
1621 * the format for parameters is w_q/min_th/max_th/max_p
1635 fs->max_th = strtoul(end, &end, 0);
1637 fs->max_th *= 1024;
1803 if (!(fs->flags & DN_IS_ECN) && (fs->min_th >= fs->max_th))
1804 errx(EX_DATAERR, "min_th %d must be < than max_th %d",
1805 fs->min_th, fs->max_th);
1806 else if ((fs->flags & DN_IS_ECN) && (fs->min_th > fs->max_th))
1807 errx(EX_DATAERR, "min_th %d must be =< than max_th %d",
1808 fs->min_th, fs->max_th);
1810 if (fs->max_th == 0)
1811 errx(EX_DATAERR, "max_th must be > 0");