/external/iproute2/tc/ |
D | tc_core.c | 92 static unsigned int tc_adjust_size(unsigned int sz, unsigned int mpu, enum link_layer linklayer) in tc_adjust_size() argument 97 switch (linklayer) { in tc_adjust_size() 128 enum link_layer linklayer) in tc_calc_rtable() argument 145 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer); in tc_calc_rtable() 151 r->linklayer = (linklayer & TC_LINKLAYER_MASK); in tc_calc_rtable() 162 enum link_layer linklayer = s->linklayer; in tc_calc_size_table() local 165 if (linklayer <= LINKLAYER_ETHERNET && s->mpu == 0) { in tc_calc_size_table() 190 sz = tc_adjust_size((i + 1) << s->cell_log, s->mpu, linklayer); in tc_calc_size_table()
|
D | m_police.c | 68 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ in act_parse_police() local 170 if (get_linklayer(&linklayer, *argv)) { in act_parse_police() 215 linklayer) < 0) { in act_parse_police() 226 linklayer) < 0) { in act_parse_police() 264 unsigned int linklayer; in print_police() local 309 linklayer = (p->rate.linklayer & TC_LINKLAYER_MASK); in print_police() 310 if (linklayer > TC_LINKLAYER_ETHERNET || show_details) in print_police() 311 fprintf(f, "linklayer %s ", sprint_linklayer(linklayer, b2)); in print_police()
|
D | q_htb.c | 122 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ in htb_parse_class_opt() local 150 if (get_linklayer(&linklayer, *argv)) { in htb_parse_class_opt() 236 if (tc_calc_rtable(&opt.rate, rtab, cell_log, mtu, linklayer) < 0) { in htb_parse_class_opt() 242 if (tc_calc_rtable(&opt.ceil, ctab, ccell_log, mtu, linklayer) < 0) { in htb_parse_class_opt() 270 unsigned int linklayer; in htb_print_opt() local 310 linklayer = (hopt->rate.linklayer & TC_LINKLAYER_MASK); in htb_print_opt() 311 if (linklayer > TC_LINKLAYER_ETHERNET || show_details) in htb_print_opt() 312 fprintf(f, "linklayer %s ", sprint_linklayer(linklayer, b3)); in htb_print_opt()
|
D | q_tbf.c | 48 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ in tbf_parse_opt() local 156 if (get_linklayer(&linklayer, *argv)) { in tbf_parse_opt() 218 if (tc_calc_rtable(&opt.rate, rtab, Rcell_log, mtu, linklayer) < 0) { in tbf_parse_opt() 227 if (tc_calc_rtable(&opt.peakrate, ptab, Pcell_log, mtu, linklayer) < 0) { in tbf_parse_opt() 255 unsigned int linklayer; in tbf_print_opt() local 323 linklayer = (qopt->rate.linklayer & TC_LINKLAYER_MASK); in tbf_print_opt() 324 if (linklayer > TC_LINKLAYER_ETHERNET || show_details) in tbf_print_opt() 325 fprintf(f, "linklayer %s ", sprint_linklayer(linklayer, b3)); in tbf_print_opt()
|
D | tc_stab.c | 47 return s->linklayer >= LINKLAYER_ETHERNET || s->mpu != 0 || in check_size_table_opts() 89 if (s.linklayer != LINKLAYER_UNSPEC) in parse_size_table() 91 if (get_linklayer(&s.linklayer, *argv)) in parse_size_table() 122 if (s.linklayer) in print_size_table() 124 sprint_linklayer(s.linklayer, b1)); in print_size_table()
|
D | q_cbq.c | 57 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ in cbq_parse_opt() local 123 if (get_linklayer(&linklayer, *argv)) { in cbq_parse_opt() 152 if (tc_calc_rtable(&r, rtab, cell_log, allot, linklayer) < 0) { in cbq_parse_opt() 194 unsigned int linklayer = LINKLAYER_ETHERNET; /* Assume ethernet */ in cbq_parse_class_opt() local 337 if (get_linklayer(&linklayer, *argv)) { in cbq_parse_class_opt() 361 if (tc_calc_rtable(&r, rtab, cell_log, pktsize, linklayer) < 0) { in cbq_parse_class_opt() 442 unsigned int linklayer; in cbq_print_opt() local 490 linklayer = (r->linklayer & TC_LINKLAYER_MASK); in cbq_print_opt() 491 if (linklayer > TC_LINKLAYER_ETHERNET || show_details) in cbq_print_opt() 492 fprintf(f, "linklayer %s ", sprint_linklayer(linklayer, b2)); in cbq_print_opt()
|
D | tc_util.h | 81 void print_linklayer(char *buf, int len, unsigned int linklayer); 89 char *sprint_linklayer(unsigned int linklayer, char *buf);
|
D | tc_util.c | 676 void print_linklayer(char *buf, int len, unsigned int linklayer) in print_linklayer() argument 678 switch (linklayer) { in print_linklayer() 694 char *sprint_linklayer(unsigned int linklayer, char *buf) in sprint_linklayer() argument 696 print_linklayer(buf, SPRINT_BSIZE-1, linklayer); in sprint_linklayer()
|
/external/strace/tests/ |
D | nlattr_tca_stab.c | 105 .linklayer = 0xefbaafeb, in main() 117 PRINT_FIELD_U(", ", s, linklayer); in main()
|
/external/strace/tests-mx32/ |
D | nlattr_tca_stab.c | 105 .linklayer = 0xefbaafeb, in main() 117 PRINT_FIELD_U(", ", s, linklayer); in main()
|
/external/strace/tests-m32/ |
D | nlattr_tca_stab.c | 105 .linklayer = 0xefbaafeb, in main() 117 PRINT_FIELD_U(", ", s, linklayer); in main()
|
/external/iptables/iptables/ |
D | xtables-monitor.c | 295 const char *linklayer; in trace_print_packet() local 299 linklayer = nftnl_trace_get_data(nlt, NFTNL_TRACE_LL_HEADER, &len); in trace_print_packet() 304 eh = (const void *)linklayer; in trace_print_packet() 315 printf("%02x", linklayer[i]); in trace_print_packet()
|
/external/iproute2/include/uapi/linux/ |
D | pkt_sched.h | 91 __u8 linklayer; /* lower 4 bits */ member 105 unsigned int linklayer; member
|
/external/libnl/include/linux-private/linux/ |
D | pkt_sched.h | 92 __u8 linklayer; /* lower 4 bits */ member 106 unsigned int linklayer; member
|
/external/strace/ |
D | rtnl_tc.c | 227 PRINT_FIELD_U(", ", s, linklayer); in decode_tc_sizespec()
|
/external/kernel-headers/original/uapi/linux/ |
D | pkt_sched.h | 93 __u8 linklayer; /* lower 4 bits */ member 107 unsigned int linklayer; member
|
/external/iproute2/bash-completion/ |
D | tc | 141 linklayer' -- "$cur" ) ) 147 flows|hh_limit|increment|indices|linklayer|non_hh_weight|num_tc|\ 349 linklayer'
|
/external/libabigail/tests/data/test-diff-filter/ |
D | test-PR27569-v1.abi | 17446 …<var-decl name="linklayer" type-id="f0981eeb" visibility="default" filepath="include/uapi/linux/pk… 57478 …<var-decl name="linklayer" type-id="f0981eeb" visibility="default" filepath="include/uapi/linux/pk…
|
D | test-PR27569-v0.abi | 17446 …<var-decl name="linklayer" type-id="f0981eeb" visibility="default" filepath="include/uapi/linux/pk… 57463 …<var-decl name="linklayer" type-id="f0981eeb" visibility="default" filepath="include/uapi/linux/pk…
|