Lines Matching refs:peakrate
38 fprintf(stderr, " [ peakrate BPS ] [ avrate BPS ] [ overhead BYTES ]\n");
212 } else if (matches(*argv, "peakrate") == 0) {
214 if (p.peakrate.rate) {
215 fprintf(stderr, "Double \"peakrate\" spec\n");
218 if (get_rate(&p.peakrate.rate, *argv)) {
219 explain1("peakrate");
266 if (p.peakrate.rate) {
268 fprintf(stderr, "\"peakrate\" requires \"rate\".\n");
272 fprintf(stderr, "\"mtu\" is required, if \"peakrate\" is requested.\n");
287 if (p.peakrate.rate) {
288 p.peakrate.mpu = mpu;
289 p.peakrate.overhead = overhead;
290 if (tc_calc_rtable(&p.peakrate, ptab, Pcell_log, mtu, linklayer) < 0) {
301 if (p.peakrate.rate)
353 if (p->peakrate.rate)
354 fprintf(f, "peakrate %s ", sprint_rate(p->peakrate.rate, b1));