Home
last modified time | relevance | path

Searched refs:mpu (Results 1 – 17 of 17) sorted by relevance

/external/iproute2/tc/
Dtc_core.c90 unsigned tc_adjust_size(unsigned sz, unsigned mpu, enum link_layer linklayer) in tc_adjust_size() argument
92 if (sz < mpu) in tc_adjust_size()
93 sz = mpu; in tc_adjust_size()
116 unsigned mpu = r->mpu; in tc_calc_rtable() local
128 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer); in tc_calc_rtable()
147 if (linklayer <= LINKLAYER_ETHERNET && s->mpu == 0) { in tc_calc_size_table()
172 sz = tc_adjust_size((i + 1) << s->cell_log, s->mpu, linklayer); in tc_calc_size_table()
Dq_tbf.c45 unsigned buffer=0, mtu=0, mpu=0, latency=0; in tbf_parse_opt() local
103 if (mpu) { in tbf_parse_opt()
107 if (get_size(&mpu, *argv)) { in tbf_parse_opt()
190 opt.rate.mpu = mpu; in tbf_parse_opt()
199 opt.peakrate.mpu = mpu; in tbf_parse_opt()
242 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2)); in tbf_print_opt()
250 if (qopt->mtu || qopt->peakrate.mpu) { in tbf_print_opt()
254 1<<qopt->peakrate.cell_log, sprint_size(qopt->peakrate.mpu, b2)); in tbf_print_opt()
Dq_htb.c109 unsigned short mpu = 0; in htb_parse_class_opt() local
130 if (get_u16(&mpu, *argv, 10)) { in htb_parse_class_opt()
217 opt.ceil.mpu = mpu; in htb_parse_class_opt()
218 opt.rate.mpu = mpu; in htb_parse_class_opt()
274 sprint_size(hopt->rate.mpu&0xFF, b2), in htb_print_opt()
275 sprint_size((hopt->rate.mpu>>8)&0xFF, b3)); in htb_print_opt()
279 sprint_size(hopt->ceil.mpu&0xFF, b2), in htb_print_opt()
280 sprint_size((hopt->ceil.mpu>>8)&0xFF, b3)); in htb_print_opt()
Dtc_stab.c47 return s->linklayer >= LINKLAYER_ETHERNET || s->mpu != 0 || in check_size_table_opts()
75 if (s.mpu) in parse_size_table()
77 if (get_u32(&s.mpu, *argv, 10)) { in parse_size_table()
137 if (s.mpu) in print_size_table()
138 fprintf(fp, "mpu %u ", s.mpu); in print_size_table()
Dm_police.c136 unsigned buffer=0, mtu=0, mpu=0; in act_parse_police() local
184 if (mpu) { in act_parse_police()
188 if (get_size(&mpu, *argv)) { in act_parse_police()
278 p.rate.mpu = mpu; in act_parse_police()
288 p.peakrate.mpu = mpu; in act_parse_police()
Dq_cbq.c55 unsigned mpu=0, avpkt=0, allot=0; in cbq_parse_opt() local
107 if (get_size(&mpu, *argv)) { in cbq_parse_opt()
152 r.mpu = mpu; in cbq_parse_opt()
190 unsigned mpu=0; in cbq_parse_class_opt() local
306 if (get_size(&mpu, *argv)) { in cbq_parse_class_opt()
363 r.mpu = mpu; in cbq_parse_class_opt()
491 if (r->mpu) in cbq_print_opt()
492 fprintf(f, "mpu %ub ", r->mpu); in cbq_print_opt()
/external/iproute2/testsuite/tests/
Dcbq.t3 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
8 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
Dpolicer3 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
10 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
Dcls-testbed.t17 cbq bandwidth 100Mbit avpkt 1400 mpu 64
/external/libnl-headers/
Dnetlink-local.h153 dst->rs_mpu = src->mpu; in rtnl_copy_ratespec()
163 dst->mpu = src->rs_mpu; in rtnl_rcopy_ratespec()
/external/iproute2/
DREADME.iproute2+tc20 avpkt 1000 mpu 64
98 police rate 32kbit buffer 5kb/8 mpu 64 mtu 1514 index 1
107 police rate 10kbit buffer 5kb/8 mpu 64 mtu 1514 index 2
DChangeLog473 * Add htb mpu support
/external/kernel-headers/original/linux/
Dpkt_sched.h84 unsigned short mpu; member
96 unsigned int mpu; member
/external/iproute2/include/linux/
Dpkt_sched.h81 unsigned short mpu; member
93 unsigned int mpu; member
/external/iproute2/examples/
Dcbqinit.eth114 $BANDWIDTH avpkt 1000 mpu 64
/external/icu4c/data/locales/
Dbas.txt174 "mpu",
/external/sepolicy/
Dfile_contexts60 /dev/mpu u:object_r:gps_device:s0