Lines Matching refs:bandwidth
60 * This module implements IP dummynet, a bandwidth limiter/delay emulator
275 p->bandwidth = user_pipe_32.bandwidth;
321 p->bandwidth = user_pipe_64.bandwidth;
466 pipe_bp->bandwidth = p->bandwidth;
507 pipe_bp->bandwidth = p->bandwidth;
777 ((_m)->m_pkthdr.len*8*(hz*10) - (q)->numbytes + p->bandwidth - 1 ) / \
778 p->bandwidth ;
831 * bandwidth==0 (no limit) means we can drain the whole queue,
834 q->numbytes += ( curr_time - q->sched_time ) * p->bandwidth;
837 int len_scaled = p->bandwidth ? len*8*(hz*10) : 0 ;
845 * (can only occur when bandwidth != 0, otherwise we would have
850 if ( (pkt = q->head) != NULL ) { /* this implies bandwidth != 0 */
888 p_numbytes += ( curr_time - p->sched_time ) * p->bandwidth;
908 int len_scaled = p->bandwidth ? len*8*(hz*10) : 0 ;
974 if (p->if_name[0]==0 && p_numbytes < 0) { /* this implies bandwidth >0 */
977 if (p->bandwidth > 0)
978 t = ( p->bandwidth -1 - p_numbytes) / p->bandwidth ;
1714 if (pipe->bandwidth)
2126 x->bandwidth = p->bandwidth ;