/external/iproute2/tc/ |
H A D | tc_core.c | 90 unsigned tc_adjust_size(unsigned sz, unsigned mpu, enum link_layer linklayer) argument 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); 109 tc_calc_rtable(struct tc_ratespec *r, __u32 *rtab, int cell_log, unsigned mtu, enum link_layer linklayer) argument
|
H A D | tc_stab.c | 34 " [ overhead BYTES ] [ linklayer TYPE ] ...\n" 39 " linklayer : adapting to a linklayer e.g. atm\n" 40 "Example: ... stab overhead 20 linklayer atm\n"); 47 return s->linklayer >= LINKLAYER_ETHERNET || s->mpu != 0 || 97 } else if (matches(*argv, "linklayer") == 0) { 99 if (s.linklayer != LINKLAYER_UNSPEC) 100 duparg("linklayer", *argv); 101 if (get_linklayer(&s.linklayer, *argv)) { 102 invarg("linklayer", "invali [all...] |
H A D | 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) {
|
H A D | tc_util.h | 74 extern void print_linklayer(char *buf, int len, unsigned linklayer); 81 extern char * sprint_linklayer(unsigned linklayer, char *buf);
|
H A D | 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) {
|
H A D | 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) {
|
H A D | 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"); retur [all...] |
H A D | tc_util.c | 432 void print_linklayer(char *buf, int len, unsigned linklayer) argument 434 switch (linklayer) { 450 char *sprint_linklayer(unsigned linklayer, char *buf) argument 452 print_linklayer(buf, SPRINT_BSIZE-1, linklayer);
|
/external/kernel-headers/original/linux/ |
H A D | pkt_sched.h | 95 unsigned int linklayer; member in struct:tc_sizespec
|
/external/iproute2/include/linux/ |
H A D | pkt_sched.h | 92 unsigned int linklayer; member in struct:tc_sizespec
|