Lines Matching refs:buffer
47 unsigned buffer=0, mtu=0, mpu=0, latency=0;
79 strcmp(*argv, "buffer") == 0 ||
82 if (buffer) {
83 fprintf(stderr, "Double \"buffer/burst\" spec\n");
86 if (get_size_and_cell(&buffer, &Rcell_log, *argv) < 0) {
87 explain1("buffer");
164 if (opt.rate.rate == 0 || !buffer) {
181 double lim = opt.rate.rate*(double)latency/TIME_UNITS_PER_SEC + buffer;
196 opt.buffer = tc_calc_xmittime(opt.rate.rate, buffer);
222 double buffer, mtu;
239 buffer = tc_calc_xmitsize(qopt->rate.rate, qopt->buffer);
241 fprintf(f, "burst %s/%u mpu %s ", sprint_size(buffer, b1),
244 fprintf(f, "burst %s ", sprint_size(buffer, b1));
247 fprintf(f, "[%08x] ", qopt->buffer);
266 latency = TIME_UNITS_PER_SEC*(qopt->limit/(double)qopt->rate.rate) - tc_core_tick2time(qopt->buffer);