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

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_dummynet.h325 u_int c_3 ; /* for GRED, (1-max_p)/max_th (scaled) */ member in struct:dn_flow_set
H A Dip_dummynet.c1068 * p_b = c_3 * avg - c_4
1069 * where c_3 = (1 - max_p) / max_th, and c_4 = 1 - 2 * max_p
1071 p_b = SCALE_MUL((int64_t) fs->c_3, (int64_t) q->avg) - fs->c_4;
1549 x->c_3 = (SCALE(1) - p->max_p) / p->max_th;

Completed in 104 milliseconds