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;
779 ((_m)->m_pkthdr.len*8*(hz*10) - (q)->numbytes + p->bandwidth - 1 ) / \
780 p->bandwidth ;
833 * bandwidth==0 (no limit) means we can drain the whole queue,
836 q->numbytes += ( curr_time - q->sched_time ) * p->bandwidth;
839 int len_scaled = p->bandwidth ? len*8*(hz*10) : 0 ;
847 * (can only occur when bandwidth != 0, otherwise we would have
852 if ( (pkt = q->head) != NULL ) { /* this implies bandwidth != 0 */
890 p_numbytes += ( curr_time - p->sched_time ) * p->bandwidth;
910 int len_scaled = p->bandwidth ? len*8*(hz*10) : 0 ;
976 if (p->if_name[0]==0 && p_numbytes < 0) { /* this implies bandwidth >0 */
979 if (p->bandwidth > 0)
980 t = ( p->bandwidth -1 - p_numbytes) / p->bandwidth ;
1708 if (pipe->bandwidth)
2117 x->bandwidth = p->bandwidth ;