Lines Matching refs:ceil
170 if (opt.ceil.rate) { in htb_parse_class_opt()
174 if (get_rate(&opt.ceil.rate, *argv)) { in htb_parse_class_opt()
209 if (!opt.ceil.rate) opt.ceil = opt.rate; in htb_parse_class_opt()
214 if (!cbuffer) cbuffer = opt.ceil.rate / get_hz() + mtu; in htb_parse_class_opt()
216 opt.ceil.overhead = overhead; in htb_parse_class_opt()
219 opt.ceil.mpu = mpu; in htb_parse_class_opt()
228 if (tc_calc_rtable(&opt.ceil, ctab, ccell_log, mtu, linklayer) < 0) { in htb_parse_class_opt()
232 opt.cbuffer = tc_calc_xmittime(opt.ceil.rate, cbuffer); in htb_parse_class_opt()
270 fprintf(f, "ceil %s ", sprint_rate(hopt->ceil.rate, b1)); in htb_print_opt()
271 cbuffer = tc_calc_xmitsize(hopt->ceil.rate, hopt->cbuffer); in htb_print_opt()
280 1<<hopt->ceil.cell_log, in htb_print_opt()
281 sprint_size(hopt->ceil.mpu&0xFF, b2), in htb_print_opt()
282 sprint_size((hopt->ceil.mpu>>8)&0xFF, b3)); in htb_print_opt()