/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iproute2-3.x/tc/ |
H A D | q_rr.c | 94 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 D | q_netem.c | 309 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 D | 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 [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/iproute2/tc/ |
H A D | q_prio.c | 100 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 D | q_netem.c | 298 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 D | 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 [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/iproute2-3.x/tc/ |
H A D | q_prio.c | 99 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 D | q_rr.c | 94 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 D | q_netem.c | 309 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 D | 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 [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iproute2/tc/ |
H A D | q_prio.c | 100 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 D | q_netem.c | 298 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 D | 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 [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iproute2-3.x/tc/ |
H A D | q_prio.c | 99 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 D | q_rr.c | 94 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 D | q_netem.c | 309 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 D | 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 [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iproute2/tc/ |
H A D | q_netem.c | 298 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 D | 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 [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 D | sch_tbf.c | 236 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 D | sch_netem.c | 398 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 D | sch_prio.c | 171 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 D | sch_tbf.c | 236 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 D | sch_netem.c | 398 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 D | sch_prio.c | 171 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);
|