Lines Matching refs:rate
193 if (p.rate.rate) { in act_parse_police()
197 if (get_rate(&p.rate.rate, *argv)) { in act_parse_police()
213 if (p.peakrate.rate) { in act_parse_police()
217 if (get_rate(&p.peakrate.rate, *argv)) { in act_parse_police()
260 if (p.rate.rate && !buffer) { in act_parse_police()
264 if (p.peakrate.rate) { in act_parse_police()
265 if (!p.rate.rate) { in act_parse_police()
275 if (p.rate.rate) { in act_parse_police()
276 p.rate.mpu = mpu; in act_parse_police()
277 p.rate.overhead = overhead; in act_parse_police()
278 if (tc_calc_rtable(&p.rate, rtab, Rcell_log, mtu, linklayer) < 0) { in act_parse_police()
282 p.burst = tc_calc_xmittime(p.rate.rate, buffer); in act_parse_police()
285 if (p.peakrate.rate) { in act_parse_police()
297 if (p.rate.rate) in act_parse_police()
299 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()
363 linklayer = (p->rate.linklayer & TC_LINKLAYER_MASK); in print_police()