Lines Matching refs:rate
194 if (p.rate.rate) { in act_parse_police()
198 if (get_rate(&p.rate.rate, *argv)) { in act_parse_police()
214 if (p.peakrate.rate) { in act_parse_police()
218 if (get_rate(&p.peakrate.rate, *argv)) { in act_parse_police()
262 if (p.rate.rate && !buffer) { in act_parse_police()
266 if (p.peakrate.rate) { in act_parse_police()
267 if (!p.rate.rate) { in act_parse_police()
277 if (p.rate.rate) { in act_parse_police()
278 p.rate.mpu = mpu; in act_parse_police()
279 p.rate.overhead = overhead; in act_parse_police()
280 if (tc_calc_rtable(&p.rate, rtab, Rcell_log, mtu, linklayer) < 0) { in act_parse_police()
284 p.burst = tc_calc_xmittime(p.rate.rate, buffer); in act_parse_police()
287 if (p.peakrate.rate) { in act_parse_police()
299 if (p.rate.rate) in act_parse_police()
301 if (p.peakrate.rate) in act_parse_police()
347 fprintf(f, "rate %s ", sprint_rate(p->rate.rate, b1)); in print_police()
348 buffer = tc_calc_xmitsize(p->rate.rate, p->burst); in print_police()
353 if (p->peakrate.rate) in print_police()
354 fprintf(f, "peakrate %s ", sprint_rate(p->peakrate.rate, b1)); in print_police()
362 fprintf(f, "overhead %ub ", p->rate.overhead); in print_police()