/external/iproute2/tc/ |
tc_stab.c | 35 " [ overhead BYTES ] [ linklayer TYPE ] ...\n" 40 " linklayer : adapting to a linklayer e.g. atm\n" 41 "Example: ... stab overhead 20 linklayer atm\n"); 48 return s->linklayer >= LINKLAYER_ETHERNET || s->mpu != 0 || 90 } else if (matches(*argv, "linklayer") == 0) { 92 if (s.linklayer != LINKLAYER_UNSPEC) 93 duparg("linklayer", *argv); 94 if (get_linklayer(&s.linklayer, *argv)) 95 invarg("linklayer", "invalid linklayer") [all...] |
tc_core.c | 90 static unsigned tc_adjust_size(unsigned sz, unsigned mpu, enum link_layer linklayer) 95 switch (linklayer) { 111 * linklayer parameters. 116 * Kernel linklayer handling got fixed in kernel v3.11 by 117 * - commit 8a8e3d84b17 (net_sched: restore "linklayer atm" handling) 126 enum link_layer linklayer) 143 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer); 149 r->linklayer = (linklayer & TC_LINKLAYER_MASK); 160 enum link_layer linklayer = s->linklayer local [all...] |
m_police.c | 39 fprintf(stderr, " [ linklayer TYPE ] [ ACTIONTERM ]\n"); 137 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local 243 } else if (matches(*argv, "linklayer") == 0) { 245 if (get_linklayer(&linklayer, *argv)) { 246 explain1("linklayer"); return -1; 278 if (tc_calc_rtable(&p.rate, rtab, Rcell_log, mtu, linklayer) < 0) { 288 if (tc_calc_rtable(&p.peakrate, ptab, Pcell_log, mtu, linklayer) < 0) { 327 unsigned int linklayer; local 363 linklayer = (p->rate.linklayer & TC_LINKLAYER_MASK) [all...] |
q_htb.c | 46 " linklay adapting to a linklayer e.g. atm\n" 122 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local 150 } else if (matches(*argv, "linklayer") == 0) { 152 if (get_linklayer(&linklayer, *argv)) { 153 explain1("linklayer"); return -1; 238 if (tc_calc_rtable(&opt.rate, rtab, cell_log, mtu, linklayer) < 0) { 244 if (tc_calc_rtable(&opt.ceil, ctab, ccell_log, mtu, linklayer) < 0) { 272 unsigned int linklayer; local 312 linklayer = (hopt->rate.linklayer & TC_LINKLAYER_MASK) [all...] |
q_tbf.c | 30 fprintf(stderr, "[ overhead BYTES ] [ linklayer TYPE ]\n"); 48 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local 154 } else if (matches(*argv, "linklayer") == 0) { 156 if (get_linklayer(&linklayer, *argv)) { 157 explain1("linklayer", *argv); return -1; 216 if (tc_calc_rtable(&opt.rate, rtab, Rcell_log, mtu, linklayer) < 0) { 225 if (tc_calc_rtable(&opt.peakrate, ptab, Pcell_log, mtu, linklayer) < 0) { 253 unsigned int linklayer; local 319 linklayer = (qopt->rate.linklayer & TC_LINKLAYER_MASK) [all...] |
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 445 unsigned int linklayer; local [all...] |
tc_util.h | 74 extern void print_linklayer(char *buf, int len, unsigned linklayer); 82 extern char * sprint_linklayer(unsigned linklayer, char *buf);
|
tc_util.c | 480 void print_linklayer(char *buf, int len, unsigned linklayer) 482 switch (linklayer) { 498 char *sprint_linklayer(unsigned linklayer, char *buf) 500 print_linklayer(buf, SPRINT_BSIZE-1, linklayer);
|
/external/iproute2/man/man8/ |
tc-stab.8 | 34 required linklayer specification. 87 ATM linklayer consists of 53 byte cells, where each of them provides 48 bytes
|
/external/iptables/utils/ |
nfbpf_compile.c | 23 " link is a pcap linklayer type:\n"
|
/external/iproute2/include/linux/ |
pkt_sched.h | 90 __u8 linklayer; /* lower 4 bits */ member in struct:tc_ratespec 104 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
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
pkt_sched.h | 95 unsigned int linklayer; member in struct:tc_sizespec
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
pkt_sched.h | 92 unsigned int linklayer; member in struct:tc_sizespec
|
/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-21/include/linux/ |
pkt_sched.h | 69 __u8 linklayer; member in struct:tc_ratespec 84 unsigned int linklayer; member in struct:tc_sizespec
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/ |
pkt_sched.h | 69 __u8 linklayer; member in struct:tc_ratespec 84 unsigned int linklayer; member in struct:tc_sizespec
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/ |
pkt_sched.h | 69 __u8 linklayer; member in struct:tc_ratespec 84 unsigned int linklayer; member in struct:tc_sizespec
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/linux/ |
pkt_sched.h | 69 __u8 linklayer; member in struct:tc_ratespec 84 unsigned int linklayer; member in struct:tc_sizespec
|
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/linux/ |
pkt_sched.h | 69 __u8 linklayer; member in struct:tc_ratespec 84 unsigned int linklayer; member in struct:tc_sizespec
|
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/linux/ |
pkt_sched.h | 69 __u8 linklayer; member in struct:tc_ratespec 84 unsigned int linklayer; member in struct:tc_sizespec
|
/prebuilts/ndk/current/platforms/android-21/arch-x86_64/usr/include/linux/ |
pkt_sched.h | 69 __u8 linklayer; member in struct:tc_ratespec 84 unsigned int linklayer; member in struct:tc_sizespec
|
/prebuilts/ndk/current/platforms/android-23/arch-arm/usr/include/linux/ |
pkt_sched.h | 69 __u8 linklayer; member in struct:tc_ratespec 84 unsigned int linklayer; member in struct:tc_sizespec
|
/prebuilts/ndk/current/platforms/android-23/arch-arm64/usr/include/linux/ |
pkt_sched.h | 69 __u8 linklayer; member in struct:tc_ratespec 84 unsigned int linklayer; member in struct:tc_sizespec
|
/prebuilts/ndk/current/platforms/android-23/arch-mips/usr/include/linux/ |
pkt_sched.h | 69 __u8 linklayer; member in struct:tc_ratespec 84 unsigned int linklayer; member in struct:tc_sizespec
|