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

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_dummynet.h322 int max_p ; /* maximum value for p_b (scaled) */ member in struct:dn_flow_set
323 u_int c_1 ; /* max_p/(max_th-min_th) (scaled) */
324 u_int c_2 ; /* max_p*min_th/(max_th-min_th) (scaled) */
325 u_int c_3 ; /* for GRED, (1-max_p)/max_th (scaled) */
326 u_int c_4 ; /* for GRED, 1 - 2*max_p (scaled) */
H A Dip_dummynet.c1069 * where c_3 = (1 - max_p) / max_th, and c_4 = 1 - 2 * max_p
1080 * avg - c_2, where c_1 = max_p / (max_th - min_th), and c_2 =
1081 * max_p * min_th / (max_th - min_th)
1544 x->max_p = p->max_p;
1546 x->c_1 = p->max_p / (p->max_th - p->min_th);
1549 x->c_3 = (SCALE(1) - p->max_p) / p->max_th;
1550 x->c_4 = (SCALE(1) - 2 * p->max_p);

Completed in 25 milliseconds