Home
last modified time | relevance | path

Searched refs:rs_rate64 (Results 1 – 5 of 5) sorted by relevance

/external/libnl/lib/route/qdisc/
Dtbf.c58 tbf->qt_rate.rs_rate64); in tbf_msg_parser()
64 tbf->qt_peakrate.rs_rate64); in tbf_msg_parser()
86 r = nl_cancel_down_bytes(tbf->qt_rate.rs_rate64, &ru); in tbf_dump_line()
87 rbit = nl_cancel_down_bits(tbf->qt_rate.rs_rate64*8, &rubit); in tbf_dump_line()
118 pr = nl_cancel_down_bytes(tbf->qt_peakrate.rs_rate64, &pru); in tbf_dump_details()
119 prb = nl_cancel_down_bits(tbf->qt_peakrate.rs_rate64 * 8, &prbu); in tbf_dump_details()
194 limit = (double) spec->rs_rate64 * ((double) latency / 1000000.); in calc_limit()
290 tbf->qt_rate.rs_rate64 = (uint32_t)rate; in rtnl_qdisc_tbf_set_rate()
293 tbf->qt_rate_txtime = nl_us2ticks(rtnl_tc_calc_txtime64(bucket, tbf->qt_rate.rs_rate64)); in rtnl_qdisc_tbf_set_rate()
310 return tbf->qt_rate.rs_rate64; in rtnl_qdisc_tbf_get_rate()
[all …]
Dhtb.c93 nla_memcpy(&htb->ch_rate.rs_rate64, tb[TCA_HTB_RATE64], sizeof(uint64_t)); in htb_class_msg_parser()
95 nla_memcpy(&htb->ch_ceil.rs_rate64, tb[TCA_HTB_CEIL64], sizeof(uint64_t)); in htb_class_msg_parser()
98 htb->ch_rate.rs_rate64); in htb_class_msg_parser()
100 htb->ch_ceil.rs_rate64); in htb_class_msg_parser()
146 r = nl_cancel_down_bytes(htb->ch_rate.rs_rate64, &ru); in htb_class_dump_line()
147 rbit = nl_cancel_down_bits(htb->ch_rate.rs_rate64*8, &rubit); in htb_class_dump_line()
167 r = nl_cancel_down_bytes(htb->ch_ceil.rs_rate64, &ru); in htb_class_dump_details()
168 rbit = nl_cancel_down_bits(htb->ch_ceil.rs_rate64*8, &rubit); in htb_class_dump_details()
240 rate64 = htb->ch_rate.rs_rate64; in htb_class_msg_fill()
245 ceil64 = htb->ch_ceil.rs_rate64; in htb_class_msg_fill()
[all …]
/external/libnl/include/netlink-private/
Dnetlink.h189 dst->rs_rate64 = src->rate; in rtnl_copy_ratespec()
199 dst->rate = src->rs_rate64 > 0xFFFFFFFFull ? 0xFFFFFFFFull : (uint32_t) src->rs_rate64; in rtnl_rcopy_ratespec()
Dtypes.h498 uint64_t rs_rate64; member
/external/libnl/lib/route/
Dtc.c779 dst[i] = nl_us2ticks(rtnl_tc_calc_txtime64(size, spec->rs_rate64)); in rtnl_tc_build_rate_table()