Home
last modified time | relevance | path

Searched refs:mpu (Results 1 – 22 of 22) 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/libnl/lib/route/sch/
Dhtb.c122 d->ch_overhead = (opts.rate.mpu >> 8) & 0xff; in htb_class_msg_parser()
123 d->ch_mpu = opts.rate.mpu & 0xff; in htb_class_msg_parser()
273 uint8_t overhead = 0, mpu = 0; in htb_class_get_opts() local
328 mpu = d->ch_mpu; in htb_class_get_opts()
330 opts.rate.mpu = mpu | (overhead << 8); in htb_class_get_opts()
331 opts.ceil.mpu = mpu | (overhead << 8); in htb_class_get_opts()
335 rtnl_tc_build_rate_table(rtable, mpu, overhead, in htb_class_get_opts()
340 rtnl_tc_build_rate_table(ctable, mpu, overhead, in htb_class_get_opts()
503 void rtnl_htb_set_mpu(struct rtnl_class *class, uint8_t mpu) in rtnl_htb_set_mpu() argument
509 d->ch_mpu = mpu; in rtnl_htb_set_mpu()
Dtbf.c75 tbf->qt_mpu = opts.rate.mpu; in tbf_msg_parser()
310 int rtnl_qdisc_tbf_set_mpu(struct rtnl_qdisc *qdisc, int mpu) in rtnl_qdisc_tbf_set_mpu() argument
318 tbf->qt_mpu = mpu; in rtnl_qdisc_tbf_set_mpu()
Dcbq.c200 cbq->cbq_rate.mpu, in cbq_dump_details()
/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/include/
Dnetlink-local.h150 dst->rs_mpu = src->mpu; in rtnl_copy_ratespec()
160 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
/external/libnl/include/netlink/route/sch/
Dhtb.h35 extern void rtnl_htb_set_mpu(struct rtnl_class *, uint8_t mpu);
/external/libnl/lib/route/
Dtc.c446 int rtnl_tc_build_rate_table(uint32_t *dst, uint8_t mpu, uint8_t overhead, in rtnl_tc_build_rate_table() argument
457 if (size < mpu) in rtnl_tc_build_rate_table()
458 size = mpu; in rtnl_tc_build_rate_table()
/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/kernel-headers/original/uapi/linux/
Dpkt_sched.h89 unsigned short mpu; member
101 unsigned int mpu; member
/external/libnl/include/linux/
Dpkt_sched.h82 unsigned short mpu; member
/external/icu/icu4c/source/data/locales/
Dbas.txt169 "mpu",
/external/sepolicy/
Dfile_contexts65 /dev/mpu u:object_r:gps_device:s0