/external/iproute2/tc/ |
H A D | tc_core.c | 106 rtab[pkt_len>>cell_log] = pkt_xmit_time 110 int cell_log, unsigned mtu, 121 if (cell_log < 0) { 122 cell_log = 0; 123 while ((mtu >> cell_log) > 255) 124 cell_log++; 128 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer); 133 r->cell_log=cell_log; 134 return cell_log; 109 tc_calc_rtable(struct tc_ratespec *r, __u32 *rtab, int cell_log, unsigned mtu, enum link_layer linklayer) argument [all...] |
H A D | tc_core.h | 24 int cell_log, unsigned mtu, enum link_layer link_layer);
|
H A D | q_htb.c | 107 int cell_log=-1,ccell_log = -1; local 152 if (get_size_and_cell(&buffer, &cell_log, *argv) < 0) { 220 if (tc_calc_rtable(&opt.rate, rtab, cell_log, mtu, linklayer) < 0) { 273 1<<hopt->rate.cell_log, 278 1<<hopt->ceil.cell_log,
|
H A D | q_cbq.c | 58 int cell_log=-1; local 98 cell_log = i; 154 if (tc_calc_rtable(&r, rtab, cell_log, allot, linklayer) < 0) { 191 int cell_log=-1; local 277 cell_log = i; 365 if (tc_calc_rtable(&r, rtab, cell_log, pktsize, linklayer) < 0) { 490 fprintf(f, "cell %ub ", 1<<r->cell_log);
|
H A D | tc_util.c | 170 int get_rate_and_cell(unsigned *rate, int *cell_log, char *str) argument 190 *cell_log = i; 308 int get_size_and_cell(unsigned *size, int *cell_log, char *str) argument 328 *cell_log = i;
|
H A D | q_tbf.c | 242 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2)); 254 1<<qopt->peakrate.cell_log, sprint_size(qopt->peakrate.mpu, b2));
|
H A D | tc_util.h | 66 extern int get_size_and_cell(unsigned *size, int *cell_log, char *str);
|
/external/libnl/lib/route/sch/ |
H A D | tbf.c | 348 bucket = 2047; /* defaults to cell_log=3 */ 369 int cell_log; local 375 cell_log = calc_cell_log(cell, bucket); 376 if (cell_log < 0) 377 return cell_log; 381 tbf->qt_rate.rs_cell_log = cell_log; 448 int cell_log; local 454 cell_log = calc_cell_log(cell, bucket); 455 if (cell_log < 0) 456 return cell_log; [all...] |
H A D | htb.c | 257 uint8_t cell_log = 0; local 260 cell_log++; 263 return cell_log; 294 /* if cell_log not set, compute default value */ 295 if (opts.rate.cell_log == UINT8_MAX) 296 opts.rate.cell_log = compute_cell(opts.rate.rate, mtu); 303 /* if cell_log not set, compute default value */ 304 if (opts.ceil.cell_log == UINT8_MAX) 305 opts.ceil.cell_log = compute_cell(opts.ceil.rate, mtu); 336 1 << opts.rate.cell_log, [all...] |
H A D | cbq.c | 201 1 << cbq->cbq_rate.cell_log,
|
/external/libnl/lib/route/ |
H A D | tc.c | 449 int i, size, cell_log; local 451 cell_log = rtnl_tc_calc_cell_log(cell); 452 if (cell_log < 0) 453 return cell_log; 456 size = (i << cell_log) + overhead;
|
/external/libnl/include/ |
H A D | netlink-local.h | 147 dst->rs_cell_log = src->cell_log; 157 dst->cell_log = src->rs_cell_log;
|
/external/iproute2/include/linux/ |
H A D | pkt_sched.h | 77 unsigned char cell_log; member in struct:tc_ratespec 88 unsigned char cell_log; member in struct:tc_sizespec
|
/external/kernel-headers/original/uapi/linux/ |
H A D | pkt_sched.h | 85 unsigned char cell_log; member in struct:tc_ratespec 96 unsigned char cell_log; member in struct:tc_sizespec
|
/external/libnl/include/linux/ |
H A D | pkt_sched.h | 78 unsigned char cell_log; member in struct:tc_ratespec
|