Searched defs:linklayer (Results 1 - 9 of 9) sorted by relevance

/external/iproute2/tc/
H A Dm_police.c39 fprintf(stderr, " [ linklayer TYPE ] [ CONTROL ]\n");
68 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local
168 } else if (matches(*argv, "linklayer") == 0) {
170 if (get_linklayer(&linklayer, *argv)) {
171 explain1("linklayer"); return -1;
215 linklayer) < 0) {
226 linklayer) < 0) {
264 unsigned int linklayer; local
309 linklayer = (p->rate.linklayer
[all...]
H A Dq_htb.c46 " linklay adapting to a linklayer e.g. atm\n"
122 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local
148 } else if (matches(*argv, "linklayer") == 0) {
150 if (get_linklayer(&linklayer, *argv)) {
151 explain1("linklayer"); return -1;
236 if (tc_calc_rtable(&opt.rate, rtab, cell_log, mtu, linklayer) < 0) {
242 if (tc_calc_rtable(&opt.ceil, ctab, ccell_log, mtu, linklayer) < 0) {
270 unsigned int linklayer; local
310 linklayer = (hopt->rate.linklayer
[all...]
H A Dq_tbf.c30 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;
218 if (tc_calc_rtable(&opt.rate, rtab, Rcell_log, mtu, linklayer) < 0) {
227 if (tc_calc_rtable(&opt.peakrate, ptab, Pcell_log, mtu, linklayer) < 0) {
255 unsigned int linklayer; local
323 linklayer = (qopt->rate.linklayer
[all...]
H A Dtc_core.c92 static unsigned int tc_adjust_size(unsigned int sz, unsigned int mpu, enum link_layer linklayer) argument
97 switch (linklayer) {
113 * linklayer parameters.
118 * Kernel linklayer handling got fixed in kernel v3.11 by
119 * - commit 8a8e3d84b17 (net_sched: restore "linklayer atm" handling)
128 enum link_layer linklayer)
145 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer);
151 r->linklayer = (linklayer & TC_LINKLAYER_MASK);
162 enum link_layer linklayer local
126 tc_calc_rtable(struct tc_ratespec *r, __u32 *rtab, int cell_log, unsigned int mtu, enum link_layer linklayer) argument
[all...]
H A Dq_cbq.c35 fprintf(stderr, " [ overhead BYTES ] [ linklayer TYPE ]\n");
57 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local
121 } else if (matches(*argv, "linklayer") == 0) {
123 if (get_linklayer(&linklayer, *argv)) {
124 explain1("linklayer"); return -1;
152 if (tc_calc_rtable(&r, rtab, cell_log, allot, linklayer) < 0) {
194 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ local
335 } else if (matches(*argv, "linklayer") == 0) {
337 if (get_linklayer(&linklayer, *argv)) {
338 explain1("linklayer"); retur
442 unsigned int linklayer; local
[all...]
H A Dtc_util.c676 void print_linklayer(char *buf, int len, unsigned int linklayer) argument
678 switch (linklayer) {
694 char *sprint_linklayer(unsigned int linklayer, char *buf) argument
696 print_linklayer(buf, SPRINT_BSIZE-1, linklayer);
/external/libnl/include/linux-private/linux/
H A Dpkt_sched.h92 unsigned int linklayer; member in struct:tc_sizespec
/external/iproute2/include/uapi/linux/
H A Dpkt_sched.h91 __u8 linklayer; /* lower 4 bits */ member in struct:tc_ratespec
105 unsigned int linklayer; member in struct:tc_sizespec
/external/kernel-headers/original/uapi/linux/
H A Dpkt_sched.h92 __u8 linklayer; /* lower 4 bits */ member in struct:tc_ratespec
106 unsigned int linklayer; member in struct:tc_sizespec

Completed in 5304 milliseconds