Lines Matching refs:qt_rate
55 rtnl_copy_ratespec(&tbf->qt_rate, &opts.rate); in tbf_msg_parser()
67 rtnl_tc_set_mpu(tc, tbf->qt_rate.rs_mpu); in tbf_msg_parser()
68 rtnl_tc_set_overhead(tc, tbf->qt_rate.rs_overhead); in tbf_msg_parser()
86 r = nl_cancel_down_bytes(tbf->qt_rate.rs_rate, &ru); in tbf_dump_line()
87 rbit = nl_cancel_down_bits(tbf->qt_rate.rs_rate*8, &rubit); in tbf_dump_line()
105 double cl = nl_cancel_down_bytes(1 << tbf->qt_rate.rs_cell_log, in tbf_dump_details()
145 rtnl_tc_build_rate_table(tc, &tbf->qt_rate, rtab); in tbf_msg_fill()
146 rtnl_rcopy_ratespec(&opts.rate, &tbf->qt_rate); in tbf_msg_fill()
229 limit = calc_limit(&tbf->qt_rate, latency, tbf->qt_rate_bucket); in rtnl_qdisc_tbf_set_limit_by_latency()
290 tbf->qt_rate.rs_rate = rate; in rtnl_qdisc_tbf_set_rate()
292 tbf->qt_rate.rs_cell_log = cell_log; in rtnl_qdisc_tbf_set_rate()
310 return tbf->qt_rate.rs_rate; in rtnl_qdisc_tbf_get_rate()
346 return (1 << tbf->qt_rate.rs_cell_log); in rtnl_qdisc_tbf_get_rate_cell()