Searched refs:max_th (Results 1 - 6 of 6) sorted by relevance

/freebsd-11.0-release/sys/netinet/
H A Dip_dummynet.h167 int max_th ; /* maximum threshold for queue (scaled) */ member in struct:dn_fs
/freebsd-11.0-release/sys/netpfil/ipfw/
H A Dip_dn_glue.c115 int max_th ; /* maximum threshold for queue (scaled) */ member in struct:dn_flow_set
118 u_int c_1 ; /* max_p/(max_th-min_th) (scaled) */
119 u_int c_2 ; /* max_p*min_th/(max_th-min_th) (scaled) */
120 u_int c_3 ; /* for GRED, (1-max_p)/max_th (scaled) */
429 fs->max_th = f->max_th;
651 fs->max_th = f->max_th;
705 fs->max_th = f->max_th;
[all...]
H A Dip_dn_private.h228 int max_th ; /* maximum threshold for queue (scaled) */ member in struct:dn_fsk
232 u_int c_1 ; /* max_p/(max_th-min_th) (scaled) */
233 u_int c_2 ; /* max_p*min_th/(max_th-min_th) (scaled) */
234 u_int c_3 ; /* for GRED, (1-max_p)/max_th (scaled) */
H A Dip_dummynet.c1204 fs->max_th = SCALE(fs->fs.max_th);
1206 if (fs->fs.max_th == fs->fs.min_th)
1209 fs->c_1 = SCALE((int64_t)(fs->max_p)) / (fs->fs.max_th - fs->fs.min_th);
1213 fs->c_3 = (SCALE(1) - fs->max_p) / fs->fs.max_th;
H A Dip_dn_io.c351 * If avg > max_th the packet is dropped. Otherwise, the packet is
390 if (q->avg >= fs->max_th) { /* average queue >= max threshold */
396 * max_th the packet is dropped with a probability
398 * where c_3 = (1 - max_p) / max_th
413 * where c_1 = max_p / (max_th - min_th)
414 * c_2 = max_p * min_th / (max_th - min_th)
/freebsd-11.0-release/sbin/ipfw/
H A Ddummynet.c493 "\n\t %cRED w_q %f min_th %d max_th %d max_p %f",
497 fs->max_th,
1590 NEED1("red/gred needs w_q/min_th/max_th/max_p\n");
1595 * the format for parameters is w_q/min_th/max_th/max_p
1609 fs->max_th = strtoul(end, &end, 0);
1611 fs->max_th *= 1024;
1776 if (!(fs->flags & DN_IS_ECN) && (fs->min_th >= fs->max_th))
1777 errx(EX_DATAERR, "min_th %d must be < than max_th %d",
1778 fs->min_th, fs->max_th);
1779 else if ((fs->flags & DN_IS_ECN) && (fs->min_th > fs->max_th))
[all...]

Completed in 121 milliseconds