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

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_dummynet.h323 u_int c_1 ; /* max_p/(max_th-min_th) (scaled) */ member in struct:dn_flow_set
H A Dip_dummynet.c1079 * we compute p_b using the linear dropping function p_b = c_1 *
1080 * avg - c_2, where c_1 = max_p / (max_th - min_th), and c_2 =
1083 p_b = SCALE_MUL((int64_t) fs->c_1, (int64_t) q->avg) - fs->c_2;
1546 x->c_1 = p->max_p / (p->max_th - p->min_th);
1547 x->c_2 = SCALE_MUL(x->c_1, SCALE(p->min_th));

Completed in 84 milliseconds