/external/iproute2/tc/ |
q_htb.c | 44 " linklay adapting to a linklayer e.g. atm\n" 111 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local 138 } else if (matches(*argv, "linklayer") == 0) { 140 if (get_linklayer(&linklayer, *argv)) { 141 explain1("linklayer"); return -1; 220 if (tc_calc_rtable(&opt.rate, rtab, cell_log, mtu, linklayer) < 0) { 226 if (tc_calc_rtable(&opt.ceil, ctab, ccell_log, mtu, linklayer) < 0) {
|
q_tbf.c | 30 fprintf(stderr, "[ overhead BYTES ] [ linklayer TYPE ]\n"); 48 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local 143 } else if (matches(*argv, "linklayer") == 0) { 145 if (get_linklayer(&linklayer, *argv)) { 146 explain1("linklayer"); return -1; 192 if (tc_calc_rtable(&opt.rate, rtab, Rcell_log, mtu, linklayer) < 0) { 201 if (tc_calc_rtable(&opt.peakrate, ptab, Pcell_log, mtu, linklayer) < 0) {
|
tc_core.c | 90 unsigned tc_adjust_size(unsigned sz, unsigned mpu, enum link_layer linklayer) 95 switch (linklayer) { 111 enum link_layer linklayer) 128 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer); 144 enum link_layer linklayer = s->linklayer; local 147 if (linklayer <= LINKLAYER_ETHERNET && s->mpu == 0) { 172 sz = tc_adjust_size((i + 1) << s->cell_log, s->mpu, linklayer);
|
m_police.c | 39 fprintf(stderr, " [ linklayer TYPE ] [ ACTIONTERM ]\n"); 138 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local 245 } else if (matches(*argv, "linklayer") == 0) { 247 if (get_linklayer(&linklayer, *argv)) { 248 explain1("linklayer"); return -1; 280 if (tc_calc_rtable(&p.rate, rtab, Rcell_log, mtu, linklayer) < 0) { 290 if (tc_calc_rtable(&p.peakrate, ptab, Pcell_log, mtu, linklayer) < 0) {
|
q_cbq.c | 35 fprintf(stderr, " [ overhead BYTES ] [ linklayer TYPE ]\n"); 57 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local 123 } else if (matches(*argv, "linklayer") == 0) { 125 if (get_linklayer(&linklayer, *argv)) { 126 explain1("linklayer"); return -1; 154 if (tc_calc_rtable(&r, rtab, cell_log, allot, linklayer) < 0) { 196 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local 340 } else if (matches(*argv, "linklayer") == 0) { 342 if (get_linklayer(&linklayer, *argv)) { 343 explain1("linklayer"); return -1 [all...] |
/bionic/libc/kernel/uapi/linux/ |
pkt_sched.h | 69 __u8 linklayer; member in struct:tc_ratespec 84 unsigned int linklayer; member in struct:tc_sizespec
|
/development/ndk/platforms/android-L/include/linux/ |
pkt_sched.h | 76 unsigned int linklayer; member in struct:tc_sizespec
|
/external/iproute2/include/linux/ |
pkt_sched.h | 92 unsigned int linklayer; member in struct:tc_sizespec
|
/external/kernel-headers/original/uapi/linux/ |
pkt_sched.h | 86 __u8 linklayer; /* lower 4 bits */ member in struct:tc_ratespec 100 unsigned int linklayer; member in struct:tc_sizespec
|