Searched refs:priomap (Results 1 - 6 of 6) sorted by relevance

/external/iproute2/tc/
H A Dq_prio.c28 fprintf(stderr, "Usage: ... prio bands NUMBER priomap P1 P2...[multiqueue]\n");
48 } else if (strcmp(*argv, "priomap") == 0) {
50 fprintf(stderr, "Error: duplicate priomap\n");
67 fprintf(stderr, "Illegal \"priomap\" element\n");
71 fprintf(stderr, "\"priomap\" element is out of bands\n");
75 fprintf(stderr, "\"priomap\" index > TC_PRIO_MAX=%u\n", TC_PRIO_MAX);
78 opt.priomap[idx++] = band;
86 opt.priomap[idx] = opt.priomap[TC_PRIO_BESTEFFORT];
109 fprintf(f, "bands %u priomap ", qop
[all...]
H A Dq_rr.c28 fprintf(stderr, "Usage: ... rr bands NUMBER priomap P1 P2... [multiqueue]\n");
49 } else if (strcmp(*argv, "priomap") == 0) {
51 fprintf(stderr, "Error: duplicate priomap\n");
68 fprintf(stderr, "Illegal \"priomap\" element\n");
72 fprintf(stderr, "\"priomap\" element is out of bands\n");
76 fprintf(stderr, "\"priomap\" index > TC_RR_MAX=%u\n", TC_PRIO_MAX);
79 opt.priomap[idx++] = band;
104 fprintf(f, "bands %u priomap ", qopt->bands);
106 fprintf(f, " %d", qopt->priomap[i]);
/external/libnl/lib/route/sch/
H A Dprio.c69 memcpy(prio->qp_priomap, opt->priomap, sizeof(prio->qp_priomap));
96 nl_dump(p, "priomap [");
136 memcpy(opts.priomap, prio->qp_priomap, sizeof(opts.priomap));
194 * Set priomap of the PRIO qdisc.
196 * @arg priomap New priority mapping.
197 * @arg len Length of priomap (# of elements).
200 int rtnl_qdisc_prio_set_priomap(struct rtnl_qdisc *qdisc, uint8_t priomap[], argument
217 if (priomap[i] > prio->qp_bands)
221 memcpy(prio->qp_priomap, priomap, le
[all...]
/external/libnl/include/linux/
H A Dpkt_sched.h101 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member in struct:tc_prio_qopt
/external/iproute2/include/linux/
H A Dpkt_sched.h120 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member in struct:tc_prio_qopt
/external/kernel-headers/original/uapi/linux/
H A Dpkt_sched.h128 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member in struct:tc_prio_qopt

Completed in 148 milliseconds