Searched refs:bndw (Results 1 – 3 of 3) sorted by relevance
/external/iproute2/tc/ |
D | tc_cbq.c | 27 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, in tc_cbq_calc_maxidle() argument 32 double xmt = (double)avpkt/bndw; in tc_cbq_calc_maxidle() 35 if (bndw != rate && maxburst) { in tc_cbq_calc_maxidle() 44 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, in tc_cbq_calc_offtime() argument 48 double offtime = (double)avpkt/rate - (double)avpkt/bndw; in tc_cbq_calc_offtime()
|
D | tc_cbq.h | 4 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, 6 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt,
|
D | q_cbq.c | 193 unsigned bndw = 0; in cbq_parse_class_opt() local 214 if (get_rate(&bndw, *argv)) { in cbq_parse_class_opt() 378 if (bndw==0 || r.rate == 0) { in cbq_parse_class_opt() 398 lss.maxidle = tc_cbq_calc_maxidle(bndw, r.rate, lss.avpkt, ewma_log, maxburst); in cbq_parse_class_opt() 403 lss.offtime = tc_cbq_calc_offtime(bndw, r.rate, lss.avpkt, ewma_log, minburst); in cbq_parse_class_opt()
|