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

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_dummynet.h316 #define SCALE(x) ( (x) << SCALE_RED ) macro
H A Dip_dummynet.c1036 int diff = SCALE(q_size) - q->avg;
1094 if (SCALE_MUL(p_b, SCALE((int64_t) q->count)) > q->random) {
1542 x->min_th = SCALE(p->min_th);
1543 x->max_th = SCALE(p->max_th);
1547 x->c_2 = SCALE_MUL(x->c_1, SCALE(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);
1575 x->w_q_lookup[0] = SCALE(1) - x->w_q;

Completed in 79 milliseconds