Searched refs:qopt (Results 51 - 75 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_rr.c94 struct tc_prio_qopt *qopt; local
100 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt,
101 sizeof(*qopt)))
104 fprintf(f, "bands %u priomap ", qopt->bands);
106 fprintf(f, " %d", qopt->priomap[i]);
H A Dq_netem.c309 struct tc_netem_qopt qopt; local
310 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
320 memcpy(&qopt, RTA_DATA(opt), sizeof(qopt));
324 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
344 fprintf(f, "limit %d", qopt.limit);
346 if (qopt.latency) {
347 fprintf(f, " delay %s", sprint_ticks(qopt.latency, b1));
349 if (qopt.jitter) {
350 fprintf(f, " %s", sprint_ticks(qopt
[all...]
H A Dq_hfsc.c72 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
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/iproute2/tc/
H A Dq_prio.c100 struct tc_prio_qopt *qopt; local
105 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
107 qopt = RTA_DATA(opt);
108 fprintf(f, "bands %u priomap ", qopt->bands);
110 fprintf(f, " %d", qopt->priomap[i]);
H A Dq_netem.c298 struct tc_netem_qopt qopt; local
299 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
309 memcpy(&qopt, RTA_DATA(opt), sizeof(qopt));
313 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
333 fprintf(f, "limit %d", qopt.limit);
335 if (qopt.latency) {
336 fprintf(f, " delay %s", sprint_ticks(qopt.latency, b1));
338 if (qopt.jitter) {
339 fprintf(f, " %s", sprint_ticks(qopt
[all...]
H A Dq_hfsc.c72 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
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/iproute2-3.x/tc/
H A Dq_prio.c99 struct tc_prio_qopt *qopt; local
105 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt,
106 sizeof(*qopt)))
109 fprintf(f, "bands %u priomap ", qopt->bands);
111 fprintf(f, " %d", qopt->priomap[i]);
H A Dq_rr.c94 struct tc_prio_qopt *qopt; local
100 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt,
101 sizeof(*qopt)))
104 fprintf(f, "bands %u priomap ", qopt->bands);
106 fprintf(f, " %d", qopt->priomap[i]);
H A Dq_netem.c309 struct tc_netem_qopt qopt; local
310 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
320 memcpy(&qopt, RTA_DATA(opt), sizeof(qopt));
324 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
344 fprintf(f, "limit %d", qopt.limit);
346 if (qopt.latency) {
347 fprintf(f, " delay %s", sprint_ticks(qopt.latency, b1));
349 if (qopt.jitter) {
350 fprintf(f, " %s", sprint_ticks(qopt
[all...]
H A Dq_hfsc.c72 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
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iproute2/tc/
H A Dq_prio.c100 struct tc_prio_qopt *qopt; local
105 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
107 qopt = RTA_DATA(opt);
108 fprintf(f, "bands %u priomap ", qopt->bands);
110 fprintf(f, " %d", qopt->priomap[i]);
H A Dq_netem.c298 struct tc_netem_qopt qopt; local
299 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
309 memcpy(&qopt, RTA_DATA(opt), sizeof(qopt));
313 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
333 fprintf(f, "limit %d", qopt.limit);
335 if (qopt.latency) {
336 fprintf(f, " delay %s", sprint_ticks(qopt.latency, b1));
338 if (qopt.jitter) {
339 fprintf(f, " %s", sprint_ticks(qopt
[all...]
H A Dq_hfsc.c72 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
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iproute2-3.x/tc/
H A Dq_prio.c99 struct tc_prio_qopt *qopt; local
105 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt,
106 sizeof(*qopt)))
109 fprintf(f, "bands %u priomap ", qopt->bands);
111 fprintf(f, " %d", qopt->priomap[i]);
H A Dq_rr.c94 struct tc_prio_qopt *qopt; local
100 if (parse_rtattr_nested_compat(tb, TCA_PRIO_MAX, opt, qopt,
101 sizeof(*qopt)))
104 fprintf(f, "bands %u priomap ", qopt->bands);
106 fprintf(f, " %d", qopt->priomap[i]);
H A Dq_netem.c309 struct tc_netem_qopt qopt; local
310 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
320 memcpy(&qopt, RTA_DATA(opt), sizeof(qopt));
324 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
344 fprintf(f, "limit %d", qopt.limit);
346 if (qopt.latency) {
347 fprintf(f, " delay %s", sprint_ticks(qopt.latency, b1));
349 if (qopt.jitter) {
350 fprintf(f, " %s", sprint_ticks(qopt
[all...]
H A Dq_hfsc.c72 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
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iproute2/tc/
H A Dq_netem.c298 struct tc_netem_qopt qopt; local
299 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
309 memcpy(&qopt, RTA_DATA(opt), sizeof(qopt));
313 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
333 fprintf(f, "limit %d", qopt.limit);
335 if (qopt.latency) {
336 fprintf(f, " delay %s", sprint_ticks(qopt.latency, b1));
338 if (qopt.jitter) {
339 fprintf(f, " %s", sprint_ticks(qopt
[all...]
H A Dq_hfsc.c72 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
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/sched/
H A Dsch_tbf.c236 struct tc_tbf_qopt *qopt; local
250 qopt = nla_data(tb[TCA_TBF_PARMS]);
251 rtab = qdisc_get_rtab(&qopt->rate, tb[TCA_TBF_RTAB]);
255 if (qopt->peakrate.rate) {
256 if (qopt->peakrate.rate > qopt->rate.rate)
257 ptab = qdisc_get_rtab(&qopt->peakrate, tb[TCA_TBF_PTAB]);
263 if (rtab->data[n] > qopt->buffer) break;
264 max_size = (n << qopt->rate.cell_log)-1;
269 if (ptab->data[n] > qopt
[all...]
H A Dsch_netem.c398 struct tc_netem_qopt *qopt; local
404 qopt = nla_data(opt);
405 ret = parse_attr(tb, TCA_NETEM_MAX, opt, netem_policy, sizeof(*qopt));
409 ret = fifo_set_limit(q->qdisc, qopt->limit);
415 q->latency = qopt->latency;
416 q->jitter = qopt->jitter;
417 q->limit = qopt->limit;
418 q->gap = qopt->gap;
420 q->loss = qopt->loss;
421 q->duplicate = qopt
571 struct tc_netem_qopt qopt; local
[all...]
H A Dsch_prio.c171 struct tc_prio_qopt *qopt; local
174 if (nla_len(opt) < sizeof(*qopt))
176 qopt = nla_data(opt);
178 if (qopt->bands > TCQ_PRIO_BANDS || qopt->bands < 2)
182 if (qopt->priomap[i] >= qopt->bands)
187 q->bands = qopt->bands;
188 memcpy(q->prio2band, qopt->priomap, TC_PRIO_MAX+1);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/sched/
H A Dsch_tbf.c236 struct tc_tbf_qopt *qopt; local
250 qopt = nla_data(tb[TCA_TBF_PARMS]);
251 rtab = qdisc_get_rtab(&qopt->rate, tb[TCA_TBF_RTAB]);
255 if (qopt->peakrate.rate) {
256 if (qopt->peakrate.rate > qopt->rate.rate)
257 ptab = qdisc_get_rtab(&qopt->peakrate, tb[TCA_TBF_PTAB]);
263 if (rtab->data[n] > qopt->buffer) break;
264 max_size = (n << qopt->rate.cell_log)-1;
269 if (ptab->data[n] > qopt
[all...]
H A Dsch_netem.c398 struct tc_netem_qopt *qopt; local
404 qopt = nla_data(opt);
405 ret = parse_attr(tb, TCA_NETEM_MAX, opt, netem_policy, sizeof(*qopt));
409 ret = fifo_set_limit(q->qdisc, qopt->limit);
415 q->latency = qopt->latency;
416 q->jitter = qopt->jitter;
417 q->limit = qopt->limit;
418 q->gap = qopt->gap;
420 q->loss = qopt->loss;
421 q->duplicate = qopt
571 struct tc_netem_qopt qopt; local
[all...]
H A Dsch_prio.c171 struct tc_prio_qopt *qopt; local
174 if (nla_len(opt) < sizeof(*qopt))
176 qopt = nla_data(opt);
178 if (qopt->bands > TCQ_PRIO_BANDS || qopt->bands < 2)
182 if (qopt->priomap[i] >= qopt->bands)
187 q->bands = qopt->bands;
188 memcpy(q->prio2band, qopt->priomap, TC_PRIO_MAX+1);

Completed in 275 milliseconds

1234