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

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_dummynet.h321 int min_th ; /* minimum threshold for queue (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) */
H A Dip_dummynet.c1019 * Now, if avg < min_th the packet is enqueued.
1059 if (q->avg < fs->min_th) {
1077 } else if (q->avg > fs->min_th) {
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)
1542 x->min_th = SCALE(p->min_th);
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));
[all...]

Completed in 75 milliseconds