Lines Matching refs:rate64
124 __u64 ceil64 = 0, rate64 = 0; in htb_parse_class_opt() local
189 if (rate64) { in htb_parse_class_opt()
193 if (get_rate64(&rate64, *argv)) { in htb_parse_class_opt()
212 if (!rate64) { in htb_parse_class_opt()
218 ceil64 = rate64; in htb_parse_class_opt()
220 opt.rate.rate = (rate64 >= (1ULL << 32)) ? ~0U : rate64; in htb_parse_class_opt()
226 buffer = rate64 / get_hz() + mtu; in htb_parse_class_opt()
240 opt.buffer = tc_calc_xmittime(rate64, buffer); in htb_parse_class_opt()
251 if (rate64 >= (1ULL << 32)) in htb_parse_class_opt()
252 addattr_l(n, 1124, TCA_HTB_RATE64, &rate64, sizeof(rate64)); in htb_parse_class_opt()
271 __u64 rate64, ceil64; in htb_print_opt() local
292 rate64 = hopt->rate.rate; in htb_print_opt()
294 RTA_PAYLOAD(tb[TCA_HTB_RATE64]) >= sizeof(rate64)) { in htb_print_opt()
295 rate64 = rta_getattr_u64(tb[TCA_HTB_RATE64]); in htb_print_opt()
303 fprintf(f, "rate %s ", sprint_rate(rate64, b1)); in htb_print_opt()
306 buffer = tc_calc_xmitsize(rate64, hopt->buffer); in htb_print_opt()