Lines Matching refs:rate
201 opt.rate.rate = (rate64 >= (1ULL << 32)) ? ~0U : rate64; in tbf_parse_opt()
202 opt.peakrate.rate = (prate64 >= (1ULL << 32)) ? ~0U : prate64; in tbf_parse_opt()
214 opt.rate.mpu = mpu; in tbf_parse_opt()
215 opt.rate.overhead = overhead; in tbf_parse_opt()
216 if (tc_calc_rtable(&opt.rate, rtab, Rcell_log, mtu, linklayer) < 0) { in tbf_parse_opt()
220 opt.buffer = tc_calc_xmittime(opt.rate.rate, buffer); in tbf_parse_opt()
222 if (opt.peakrate.rate) { in tbf_parse_opt()
229 opt.mtu = tc_calc_xmittime(opt.peakrate.rate, mtu); in tbf_parse_opt()
239 if (opt.peakrate.rate) { in tbf_parse_opt()
272 rate64 = qopt->rate.rate; in tbf_print_opt()
280 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2)); in tbf_print_opt()
286 prate64 = qopt->peakrate.rate; in tbf_print_opt()
316 if (qopt->rate.overhead) { in tbf_print_opt()
317 fprintf(f, "overhead %d", qopt->rate.overhead); in tbf_print_opt()
319 linklayer = (qopt->rate.linklayer & TC_LINKLAYER_MASK); in tbf_print_opt()