Searched refs:cell_log (Results 1 – 10 of 10) sorted by relevance
/external/iproute2/tc/ |
D | tc_core.c | 110 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 …]
|
D | q_htb.c | 107 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()
|
D | q_cbq.c | 58 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()
|
D | tc_util.c | 170 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()
|
D | tc_core.h | 24 int cell_log, unsigned mtu, enum link_layer link_layer);
|
D | q_tbf.c | 242 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()
|
D | tc_util.h | 67 extern int get_size_and_cell(unsigned *size, int *cell_log, char *str);
|
/external/libnl-headers/ |
D | netlink-local.h | 150 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/ |
D | pkt_sched.h | 80 unsigned char cell_log; member 91 unsigned char cell_log; member
|
/external/iproute2/include/linux/ |
D | pkt_sched.h | 77 unsigned char cell_log; member 88 unsigned char cell_log; member
|