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

/darwin-on-arm/xnu/bsd/netinet/
H A Dip_dummynet.h97 * MY_M is used as a shift count when doing fixed point arithmetic
106 #define MY_M 16 /* number of left shift to obtain a larger precision */ macro
H A Dip_dummynet.c914 p->V += (len<<MY_M) / p->sum ; /* update V */
925 q->F += (len<<MY_M)/(u_int64_t) fs->weight ;
1738 q->F = q->S + ( len<<MY_M )/(u_int64_t) fs->weight;
1767 pipe->pipe_nr, (int)(q->F >> MY_M)));

Completed in 77 milliseconds