HomeSort by relevance Sort by last modified time
    Searched refs:qopt (Results 1 - 10 of 10) sorted by null

  /external/iproute2/tc/
q_multiq.c 69 struct tc_multiq_qopt *qopt; local
73 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
76 qopt = RTA_DATA(opt);
78 fprintf(f, "bands %u/%u ", qopt->bands, qopt->max_bands);
q_tbf.c 221 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->peakrate.rate)
    [all...]
q_sfq.c 84 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);
q_gred.c 263 struct tc_gred_qopt *qopt; local
279 qopt = RTA_DATA(tb[TCA_GRED_PARMS]);
280 if (RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) {
287 for (i=0;i<MAX_DPs;i++, qopt++) {
288 if (qopt->DP >= MAX_DPs) continue;
291 qopt->DP,
292 qopt->prio,
293 sprint_size(qopt->qave, b4),
294 sprint_size(qopt->backlog, b5));
296 qopt->forced+qopt->early
    [all...]
q_fifo.c 65 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);
q_red.c 163 struct tc_red_qopt *qopt; local
175 qopt = RTA_DATA(tb[TCA_RED_PARMS]);
176 if (RTA_PAYLOAD(tb[TCA_RED_PARMS]) < sizeof(*qopt))
179 sprint_size(qopt->limit, b1),
180 sprint_size(qopt->qth_min, b2),
181 sprint_size(qopt->qth_max, b3));
183 if (qopt->flags & TC_RED_ECN)
188 qopt->Wlog, qopt->Plog, qopt->Scell_log)
    [all...]
q_prio.c 103 struct tc_prio_qopt *qopt; local
109 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt,
110 sizeof(*qopt)))
113 fprintf(f, "bands %u priomap ", qopt->bands);
115 fprintf(f, " %d", qopt->priomap[i]);
q_rr.c 97 struct tc_prio_qopt *qopt; local
103 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt,
104 sizeof(*qopt)))
107 fprintf(f, "bands %u priomap ", qopt->bands);
109 fprintf(f, " %d", qopt->priomap[i]);
q_netem.c 311 struct tc_netem_qopt qopt; local
312 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
322 memcpy(&qopt, RTA_DATA(opt), sizeof(qopt));
326 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
346 fprintf(f, "limit %d", qopt.limit);
348 if (qopt.latency) {
349 fprintf(f, " delay %s", sprint_ticks(qopt.latency, b1));
351 if (qopt.jitter) {
352 fprintf(f, " %s", sprint_ticks(qopt.jitter, b1))
    [all...]
q_hfsc.c 72 struct tc_hfsc_qopt qopt; local
74 memset(&qopt, 0, sizeof(qopt));
79 if (qopt.defcls != 0) {
83 if (get_u16(&qopt.defcls, *argv, 16) < 0) {
98 addattr_l(n, 1024, TCA_OPTIONS, &qopt, sizeof(qopt));
105 struct tc_hfsc_qopt *qopt; local
109 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
111 qopt = RTA_DATA(opt)
    [all...]

Completed in 86 milliseconds