Home
last modified time | relevance | path

Searched refs:cell_log (Results 1 – 18 of 18) sorted by relevance

/external/iproute2/tc/
Dtc_core.c127 int cell_log, unsigned int mtu, in tc_calc_rtable() argument
138 if (cell_log < 0) { in tc_calc_rtable()
139 cell_log = 0; in tc_calc_rtable()
140 while ((mtu >> cell_log) > 255) in tc_calc_rtable()
141 cell_log++; in tc_calc_rtable()
145 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer); in tc_calc_rtable()
150 r->cell_log = cell_log; in tc_calc_rtable()
152 return cell_log; in tc_calc_rtable()
169 s->cell_log = 0; in tc_calc_size_table()
180 s->cell_log = 0; in tc_calc_size_table()
[all …]
Dq_htb.c118 int cell_log = -1, ccell_log = -1; in htb_parse_class_opt() local
162 if (get_size_and_cell(&buffer, &cell_log, *argv) < 0) { in htb_parse_class_opt()
236 if (tc_calc_rtable(&opt.rate, rtab, cell_log, mtu, linklayer) < 0) { in htb_parse_class_opt()
316 1<<hopt->rate.cell_log, in htb_print_opt()
320 1<<hopt->ceil.cell_log, in htb_print_opt()
Dq_cbq.c58 int cell_log = -1; in cbq_parse_opt() local
96 cell_log = i; in cbq_parse_opt()
152 if (tc_calc_rtable(&r, rtab, cell_log, allot, linklayer) < 0) { in cbq_parse_opt()
189 int cell_log = -1; in cbq_parse_class_opt() local
270 cell_log = i; in cbq_parse_class_opt()
361 if (tc_calc_rtable(&r, rtab, cell_log, pktsize, linklayer) < 0) { in cbq_parse_class_opt()
494 fprintf(f, "cell %ub ", 1<<r->cell_log); in cbq_print_opt()
Dtc_core.h24 int cell_log, unsigned mtu, enum link_layer link_layer);
Dq_tbf.c283 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2)); in tbf_print_opt()
299 1<<qopt->peakrate.cell_log, sprint_size(qopt->peakrate.mpu, b2)); in tbf_print_opt()
Dtc_util.h73 int get_size_and_cell(unsigned int *size, int *cell_log, char *str);
Dtc_util.c356 int get_size_and_cell(unsigned int *size, int *cell_log, char *str) in get_size_and_cell() argument
376 *cell_log = i; in get_size_and_cell()
/external/libnl/lib/route/qdisc/
Dtbf.c280 int cell_log; in rtnl_qdisc_tbf_set_rate() local
286 cell_log = UINT8_MAX; in rtnl_qdisc_tbf_set_rate()
288 cell_log = rtnl_tc_calc_cell_log(cell); in rtnl_qdisc_tbf_set_rate()
292 tbf->qt_rate.rs_cell_log = cell_log; in rtnl_qdisc_tbf_set_rate()
363 int cell_log; in rtnl_qdisc_tbf_set_peakrate() local
368 cell_log = calc_cell_log(cell, bucket); in rtnl_qdisc_tbf_set_peakrate()
369 if (cell_log < 0) in rtnl_qdisc_tbf_set_peakrate()
370 return cell_log; in rtnl_qdisc_tbf_set_peakrate()
374 tbf->qt_peakrate.rs_cell_log = cell_log; in rtnl_qdisc_tbf_set_peakrate()
Dcbq.c130 1 << cbq->cbq_rate.cell_log, in cbq_dump_details()
/external/libnl/lib/route/
Dtc.c696 uint8_t cell_log = spec->rs_cell_log; in rtnl_tc_build_rate_table() local
705 if (cell_log == UINT8_MAX) { in rtnl_tc_build_rate_table()
711 cell_log = 0; in rtnl_tc_build_rate_table()
712 while ((mtu >> cell_log) >= RTNL_TC_RTABLE_SIZE) in rtnl_tc_build_rate_table()
713 cell_log++; in rtnl_tc_build_rate_table()
717 size = adjust_size((i + 1) << cell_log, spec->rs_mpu, linktype); in rtnl_tc_build_rate_table()
722 spec->rs_cell_log = cell_log; in rtnl_tc_build_rate_table()
/external/strace/tests/
Dnlattr_tca_stab.c97 .cell_log = 0xab, in main()
109 PRINT_FIELD_U("{", s, cell_log); in main()
/external/strace/tests-m32/
Dnlattr_tca_stab.c97 .cell_log = 0xab, in main()
109 PRINT_FIELD_U("{", s, cell_log); in main()
/external/strace/tests-mx32/
Dnlattr_tca_stab.c97 .cell_log = 0xab, in main()
109 PRINT_FIELD_U("{", s, cell_log); in main()
/external/libnl/include/netlink-private/
Dnetlink.h182 dst->rs_cell_log = src->cell_log; in rtnl_copy_ratespec()
192 dst->cell_log = src->rs_cell_log; in rtnl_rcopy_ratespec()
/external/libnl/include/linux-private/linux/
Dpkt_sched.h77 unsigned char cell_log; member
88 unsigned char cell_log; member
/external/kernel-headers/original/uapi/linux/
Dpkt_sched.h91 unsigned char cell_log; member
102 unsigned char cell_log; member
/external/iproute2/include/uapi/linux/
Dpkt_sched.h90 unsigned char cell_log; member
101 unsigned char cell_log; member
/external/strace/
Drtnl_tc.c223 PRINT_FIELD_U("{", s, cell_log); in decode_tc_sizespec()