Searched refs:qopt (Results 1 - 25 of 82) sorted by relevance

1234

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iproute2-3.x/tc/
H A Dq_multiq.c66 struct tc_multiq_qopt *qopt; local
70 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
73 qopt = RTA_DATA(opt);
75 fprintf(f, "bands %u/%u ", qopt->bands, qopt->max_bands);
H A Dq_tbf.c221 struct tc_tbf_qopt *qopt; local
235 qopt = RTA_DATA(tb[TCA_TBF_PARMS]);
236 if (RTA_PAYLOAD(tb[TCA_TBF_PARMS]) < sizeof(*qopt))
238 fprintf(f, "rate %s ", sprint_rate(qopt->rate.rate, b1));
239 buffer = tc_calc_xmitsize(qopt->rate.rate, qopt->buffer);
242 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2));
247 fprintf(f, "[%08x] ", qopt->buffer);
248 if (qopt
[all...]
H A Dq_sfq.c90 struct tc_sfq_qopt *qopt; local
96 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
98 qopt = RTA_DATA(opt);
99 fprintf(f, "limit %up ", qopt->limit);
100 fprintf(f, "quantum %s ", sprint_size(qopt->quantum, b1));
102 fprintf(f, "flows %u/%u ", qopt->flows, qopt->divisor);
104 fprintf(f, "divisor %u ", qopt->divisor);
105 if (qopt->perturb_period)
106 fprintf(f, "perturb %dsec ", qopt
[all...]
H A Dq_gred.c257 struct tc_gred_qopt *qopt; local
273 qopt = RTA_DATA(tb[TCA_GRED_PARMS]);
274 if (RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) {
281 for (i=0;i<MAX_DPs;i++, qopt++) {
282 if (qopt->DP >= MAX_DPs) continue;
285 qopt->DP,
286 qopt->prio,
287 sprint_size(qopt->qave, b4),
288 sprint_size(qopt->backlog, b5));
290 qopt
[all...]
H A Dq_fifo.c63 struct tc_fifo_qopt *qopt; local
68 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
70 qopt = RTA_DATA(opt);
73 fprintf(f, "limit %s", sprint_size(qopt->limit, b1));
75 fprintf(f, "limit %up", qopt->limit);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/iproute2-3.x/tc/
H A Dq_multiq.c66 struct tc_multiq_qopt *qopt; local
70 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
73 qopt = RTA_DATA(opt);
75 fprintf(f, "bands %u/%u ", qopt->bands, qopt->max_bands);
H A Dq_tbf.c221 struct tc_tbf_qopt *qopt; local
235 qopt = RTA_DATA(tb[TCA_TBF_PARMS]);
236 if (RTA_PAYLOAD(tb[TCA_TBF_PARMS]) < sizeof(*qopt))
238 fprintf(f, "rate %s ", sprint_rate(qopt->rate.rate, b1));
239 buffer = tc_calc_xmitsize(qopt->rate.rate, qopt->buffer);
242 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2));
247 fprintf(f, "[%08x] ", qopt->buffer);
248 if (qopt
[all...]
H A Dq_sfq.c90 struct tc_sfq_qopt *qopt; local
96 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
98 qopt = RTA_DATA(opt);
99 fprintf(f, "limit %up ", qopt->limit);
100 fprintf(f, "quantum %s ", sprint_size(qopt->quantum, b1));
102 fprintf(f, "flows %u/%u ", qopt->flows, qopt->divisor);
104 fprintf(f, "divisor %u ", qopt->divisor);
105 if (qopt->perturb_period)
106 fprintf(f, "perturb %dsec ", qopt
[all...]
H A Dq_gred.c257 struct tc_gred_qopt *qopt; local
273 qopt = RTA_DATA(tb[TCA_GRED_PARMS]);
274 if (RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) {
281 for (i=0;i<MAX_DPs;i++, qopt++) {
282 if (qopt->DP >= MAX_DPs) continue;
285 qopt->DP,
286 qopt->prio,
287 sprint_size(qopt->qave, b4),
288 sprint_size(qopt->backlog, b5));
290 qopt
[all...]
H A Dq_fifo.c63 struct tc_fifo_qopt *qopt; local
68 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
70 qopt = RTA_DATA(opt);
73 fprintf(f, "limit %s", sprint_size(qopt->limit, b1));
75 fprintf(f, "limit %up", qopt->limit);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iproute2-3.x/tc/
H A Dq_multiq.c66 struct tc_multiq_qopt *qopt; local
70 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
73 qopt = RTA_DATA(opt);
75 fprintf(f, "bands %u/%u ", qopt->bands, qopt->max_bands);
H A Dq_tbf.c221 struct tc_tbf_qopt *qopt; local
235 qopt = RTA_DATA(tb[TCA_TBF_PARMS]);
236 if (RTA_PAYLOAD(tb[TCA_TBF_PARMS]) < sizeof(*qopt))
238 fprintf(f, "rate %s ", sprint_rate(qopt->rate.rate, b1));
239 buffer = tc_calc_xmitsize(qopt->rate.rate, qopt->buffer);
242 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2));
247 fprintf(f, "[%08x] ", qopt->buffer);
248 if (qopt
[all...]
H A Dq_sfq.c90 struct tc_sfq_qopt *qopt; local
96 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
98 qopt = RTA_DATA(opt);
99 fprintf(f, "limit %up ", qopt->limit);
100 fprintf(f, "quantum %s ", sprint_size(qopt->quantum, b1));
102 fprintf(f, "flows %u/%u ", qopt->flows, qopt->divisor);
104 fprintf(f, "divisor %u ", qopt->divisor);
105 if (qopt->perturb_period)
106 fprintf(f, "perturb %dsec ", qopt
[all...]
H A Dq_gred.c257 struct tc_gred_qopt *qopt; local
273 qopt = RTA_DATA(tb[TCA_GRED_PARMS]);
274 if (RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) {
281 for (i=0;i<MAX_DPs;i++, qopt++) {
282 if (qopt->DP >= MAX_DPs) continue;
285 qopt->DP,
286 qopt->prio,
287 sprint_size(qopt->qave, b4),
288 sprint_size(qopt->backlog, b5));
290 qopt
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iproute2/tc/
H A Dq_sfq.c84 struct tc_sfq_qopt *qopt; local
90 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
92 qopt = RTA_DATA(opt);
93 fprintf(f, "limit %up ", qopt->limit);
94 fprintf(f, "quantum %s ", sprint_size(qopt->quantum, b1));
96 fprintf(f, "flows %u/%u ", qopt->flows, qopt->divisor);
98 if (qopt->perturb_period)
99 fprintf(f, "perturb %dsec ", qopt->perturb_period);
H A Dq_tbf.c203 struct tc_tbf_qopt *qopt; local
217 qopt = RTA_DATA(tb[TCA_TBF_PARMS]);
218 if (RTA_PAYLOAD(tb[TCA_TBF_PARMS]) < sizeof(*qopt))
220 fprintf(f, "rate %s ", sprint_rate(qopt->rate.rate, b1));
221 buffer = ((double)qopt->rate.rate*tc_core_tick2usec(qopt->buffer))/1000000;
224 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2));
229 fprintf(f, "[%08x] ", qopt->buffer);
230 if (qopt
[all...]
H A Dq_gred.c258 struct tc_gred_qopt *qopt; local
274 qopt = RTA_DATA(tb[TCA_GRED_PARMS]);
275 if (RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) {
282 for (i=0;i<MAX_DPs;i++, qopt++) {
283 if (qopt->DP >= MAX_DPs) continue;
286 qopt->DP,
287 qopt->prio,
288 sprint_size(qopt->qave, b4),
289 sprint_size(qopt->backlog, b5));
291 qopt
[all...]
H A Dq_fifo.c65 struct tc_fifo_qopt *qopt; local
70 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
72 qopt = RTA_DATA(opt);
75 fprintf(f, "limit %s", sprint_size(qopt->limit, b1));
77 fprintf(f, "limit %up", qopt->limit);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/iproute2/tc/
H A Dq_sfq.c84 struct tc_sfq_qopt *qopt; local
90 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
92 qopt = RTA_DATA(opt);
93 fprintf(f, "limit %up ", qopt->limit);
94 fprintf(f, "quantum %s ", sprint_size(qopt->quantum, b1));
96 fprintf(f, "flows %u/%u ", qopt->flows, qopt->divisor);
98 if (qopt->perturb_period)
99 fprintf(f, "perturb %dsec ", qopt->perturb_period);
H A Dq_tbf.c203 struct tc_tbf_qopt *qopt; local
217 qopt = RTA_DATA(tb[TCA_TBF_PARMS]);
218 if (RTA_PAYLOAD(tb[TCA_TBF_PARMS]) < sizeof(*qopt))
220 fprintf(f, "rate %s ", sprint_rate(qopt->rate.rate, b1));
221 buffer = ((double)qopt->rate.rate*tc_core_tick2usec(qopt->buffer))/1000000;
224 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2));
229 fprintf(f, "[%08x] ", qopt->buffer);
230 if (qopt
[all...]
H A Dq_gred.c258 struct tc_gred_qopt *qopt; local
274 qopt = RTA_DATA(tb[TCA_GRED_PARMS]);
275 if (RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) {
282 for (i=0;i<MAX_DPs;i++, qopt++) {
283 if (qopt->DP >= MAX_DPs) continue;
286 qopt->DP,
287 qopt->prio,
288 sprint_size(qopt->qave, b4),
289 sprint_size(qopt->backlog, b5));
291 qopt
[all...]
H A Dq_fifo.c65 struct tc_fifo_qopt *qopt; local
70 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
72 qopt = RTA_DATA(opt);
75 fprintf(f, "limit %s", sprint_size(qopt->limit, b1));
77 fprintf(f, "limit %up", qopt->limit);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iproute2/tc/
H A Dq_sfq.c84 struct tc_sfq_qopt *qopt; local
90 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
92 qopt = RTA_DATA(opt);
93 fprintf(f, "limit %up ", qopt->limit);
94 fprintf(f, "quantum %s ", sprint_size(qopt->quantum, b1));
96 fprintf(f, "flows %u/%u ", qopt->flows, qopt->divisor);
98 if (qopt->perturb_period)
99 fprintf(f, "perturb %dsec ", qopt->perturb_period);
H A Dq_tbf.c203 struct tc_tbf_qopt *qopt; local
217 qopt = RTA_DATA(tb[TCA_TBF_PARMS]);
218 if (RTA_PAYLOAD(tb[TCA_TBF_PARMS]) < sizeof(*qopt))
220 fprintf(f, "rate %s ", sprint_rate(qopt->rate.rate, b1));
221 buffer = ((double)qopt->rate.rate*tc_core_tick2usec(qopt->buffer))/1000000;
224 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2));
229 fprintf(f, "[%08x] ", qopt->buffer);
230 if (qopt
[all...]
H A Dq_gred.c258 struct tc_gred_qopt *qopt; local
274 qopt = RTA_DATA(tb[TCA_GRED_PARMS]);
275 if (RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) {
282 for (i=0;i<MAX_DPs;i++, qopt++) {
283 if (qopt->DP >= MAX_DPs) continue;
286 qopt->DP,
287 qopt->prio,
288 sprint_size(qopt->qave, b4),
289 sprint_size(qopt->backlog, b5));
291 qopt
[all...]

Completed in 119 milliseconds

1234