Home
last modified time | relevance | path

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

/external/iproute2/tc/
Dtc_core.c110 int cell_log, unsigned mtu, in tc_calc_rtable() argument
121 if (cell_log < 0) { in tc_calc_rtable()
122 cell_log = 0; in tc_calc_rtable()
123 while ((mtu >> cell_log) > 255) in tc_calc_rtable()
124 cell_log++; in tc_calc_rtable()
128 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer); in tc_calc_rtable()
133 r->cell_log=cell_log; in tc_calc_rtable()
134 return cell_log; in tc_calc_rtable()
151 s->cell_log = 0; in tc_calc_size_table()
162 s->cell_log = 0; in tc_calc_size_table()
[all …]
Dq_htb.c107 int cell_log=-1,ccell_log = -1; in htb_parse_class_opt() local
152 if (get_size_and_cell(&buffer, &cell_log, *argv) < 0) { in htb_parse_class_opt()
220 if (tc_calc_rtable(&opt.rate, rtab, cell_log, mtu, linklayer) < 0) { in htb_parse_class_opt()
273 1<<hopt->rate.cell_log, in htb_print_opt()
278 1<<hopt->ceil.cell_log, in htb_print_opt()
Dq_cbq.c58 int cell_log=-1; in cbq_parse_opt() local
98 cell_log = i; in cbq_parse_opt()
154 if (tc_calc_rtable(&r, rtab, cell_log, allot, linklayer) < 0) { in cbq_parse_opt()
191 int cell_log=-1; in cbq_parse_class_opt() local
277 cell_log = i; in cbq_parse_class_opt()
365 if (tc_calc_rtable(&r, rtab, cell_log, pktsize, linklayer) < 0) { in cbq_parse_class_opt()
490 fprintf(f, "cell %ub ", 1<<r->cell_log); in cbq_print_opt()
Dtc_util.c170 int get_rate_and_cell(unsigned *rate, int *cell_log, char *str) in get_rate_and_cell() argument
190 *cell_log = i; in get_rate_and_cell()
308 int get_size_and_cell(unsigned *size, int *cell_log, char *str) in get_size_and_cell() argument
328 *cell_log = i; in get_size_and_cell()
Dtc_core.h24 int cell_log, unsigned mtu, enum link_layer link_layer);
Dq_tbf.c242 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2)); in tbf_print_opt()
254 1<<qopt->peakrate.cell_log, sprint_size(qopt->peakrate.mpu, b2)); in tbf_print_opt()
Dtc_util.h67 extern int get_size_and_cell(unsigned *size, int *cell_log, char *str);
/external/libnl-headers/
Dnetlink-local.h150 dst->rs_cell_log = src->cell_log; in rtnl_copy_ratespec()
160 dst->cell_log = src->rs_cell_log; in rtnl_rcopy_ratespec()
/external/kernel-headers/original/linux/
Dpkt_sched.h80 unsigned char cell_log; member
91 unsigned char cell_log; member
/external/iproute2/include/linux/
Dpkt_sched.h77 unsigned char cell_log; member
88 unsigned char cell_log; member