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

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

Completed in 316 milliseconds