Searched refs:max_p (Results 1 - 5 of 5) sorted by relevance

/freebsd-10-stable/sys/netinet/
H A Dip_dummynet.h169 int max_p ; /* maximum value for p_b (scaled) */ member in struct:dn_fs
/freebsd-10-stable/sys/netpfil/ipfw/
H A Dip_dn_glue.c117 int max_p ; /* maximum value for p_b (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) */
121 u_int c_4 ; /* for GRED, 1 - 2*max_p (scaled) */
431 fs->max_p = f->max_p;
653 fs->max_p = f->fs.max_p;
707 fs->max_p
[all...]
H A Dip_dn_private.h229 int max_p ; /* maximum value for p_b (scaled) */ member in struct:dn_fsk
231 u_int c_1 ; /* max_p/(max_th-min_th) (scaled) */
232 u_int c_2 ; /* max_p*min_th/(max_th-min_th) (scaled) */
233 u_int c_3 ; /* for GRED, (1-max_p)/max_th (scaled) */
234 u_int c_4 ; /* for GRED, 1 - 2*max_p (scaled) */
H A Dip_dummynet.c1189 fs->max_p = fs->fs.max_p;
1212 fs->c_1 = fs->max_p;
1214 fs->c_1 = SCALE((int64_t)(fs->max_p)) / (fs->fs.max_th - fs->fs.min_th);
1218 fs->c_3 = (SCALE(1) - fs->max_p) / fs->fs.max_th;
1219 fs->c_4 = SCALE(1) - 2 * fs->max_p;
/freebsd-10-stable/sbin/ipfw/
H A Ddummynet.c497 "\n\t %cRED w_q %f min_th %d max_th %d max_p %f",
502 1.0 * fs->max_p / (double)(1 << SCALE_RED));
1584 NEED1("red/gred needs w_q/min_th/max_th/max_p\n");
1589 * the format for parameters is w_q/min_th/max_th/max_p
1608 double max_p = strtod(end, NULL); local
1609 if (max_p > 1 || max_p < 0)
1610 errx(EX_DATAERR, "0 <= max_p <= 1");
1611 fs->max_p = (int)(max_p * (
[all...]

Completed in 112 milliseconds