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

/freebsd-9.3-release/sys/netinet/
H A Dip_dummynet.h159 int max_p ; /* maximum value for p_b (scaled) */ member in struct:dn_fs
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Dip_dn_glue.c114 int max_p ; /* maximum value for p_b (scaled) */ member in struct:dn_flow_set
115 u_int c_1 ; /* max_p/(max_th-min_th) (scaled) */
116 u_int c_2 ; /* max_p*min_th/(max_th-min_th) (scaled) */
117 u_int c_3 ; /* for GRED, (1-max_p)/max_th (scaled) */
118 u_int c_4 ; /* for GRED, 1 - 2*max_p (scaled) */
428 fs->max_p = f->max_p;
650 fs->max_p = f->fs.max_p;
704 fs->max_p
[all...]
H A Dip_dn_private.h222 int max_p ; /* maximum value for p_b (scaled) */ member in struct:dn_fsk
224 u_int c_1 ; /* max_p/(max_th-min_th) (scaled) */
225 u_int c_2 ; /* max_p*min_th/(max_th-min_th) (scaled) */
226 u_int c_3 ; /* for GRED, (1-max_p)/max_th (scaled) */
227 u_int c_4 ; /* for GRED, 1 - 2*max_p (scaled) */
H A Dip_dummynet.c1048 fs->max_p = fs->fs.max_p;
1070 fs->c_1 = fs->max_p / (fs->fs.max_th - fs->fs.min_th);
1074 fs->c_3 = (SCALE(1) - fs->max_p) / fs->fs.max_th;
1075 fs->c_4 = SCALE(1) - 2 * fs->max_p;
/freebsd-9.3-release/sbin/ipfw/
H A Ddummynet.c244 "\n\t %cRED w_q %f min_th %d max_th %d max_p %f",
249 1.0 * fs->max_p / (double)(1 << SCALE_RED));
1025 NEED1("red/gred needs w_q/min_th/max_th/max_p\n");
1030 * the format for parameters is w_q/min_th/max_th/max_p
1049 double max_p = strtod(end, NULL); local
1050 if (max_p > 1 || max_p <= 0)
1051 errx(EX_DATAERR, "0 < max_p <= 1");
1052 fs->max_p = (int)(max_p * (
[all...]

Completed in 101 milliseconds