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

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_dummynet.c60 * This module implements IP dummynet, a bandwidth limiter/delay emulator
542 ((_m)->m_pkthdr.len*8*(hz*10) - (q)->numbytes + p->bandwidth - 1 ) / \
543 p->bandwidth ;
596 * bandwidth==0 (no limit) means we can drain the whole queue,
599 q->numbytes += ( curr_time - q->sched_time ) * p->bandwidth;
602 int len_scaled = p->bandwidth ? len*8*(hz*10) : 0 ;
610 * (can only occur when bandwidth != 0, otherwise we would have
615 if ( (pkt = q->head) != NULL ) { /* this implies bandwidth != 0 */
652 p->numbytes += ( curr_time - p->sched_time ) * p->bandwidth;
672 int len_scaled = p->bandwidth
[all...]
H A Dip_dummynet.h180 bandwidth to different flows) and a "pipe", which essentially
184 A PIPE emulates a fixed-bandwidth link, whose bandwidth is
190 The bandwidth available on the pipe is shared by the queues
205 to delay and bandwidth;
353 int bandwidth; /* really, bytes/tick. */ member in struct:dn_pipe

Completed in 21 milliseconds