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");
68 fprintf(stderr, "Illegal \"priomap\" element\n");
72 fprintf(stderr, "\"priomap\" element is out of bands\n");
76 fprintf(stderr, "\"priomap\" index > TC_PRIO_MAX=%u\n", TC_PRIO_MAX);
79 opt.priomap[idx++] = band;
87 opt.priomap[idx] = opt.priomap[TC_PRIO_BESTEFFORT];
110 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");
69 fprintf(stderr, "Illegal \"priomap\" element\n");
73 fprintf(stderr, "\"priomap\" element is out of bands\n");
77 fprintf(stderr, "\"priomap\" index > TC_RR_MAX=%u\n", TC_PRIO_MAX);
80 opt.priomap[idx++] = band;
105 fprintf(f, "bands %u priomap ", qopt->bands);
107 fprintf(f, " %d", qopt->priomap[i]);
/external/libnl/lib/route/qdisc/
H A Dprio.c52 memcpy(prio->qp_priomap, opt->priomap, sizeof(prio->qp_priomap));
76 nl_dump(p, "priomap [");
113 memcpy(opts.priomap, prio->qp_priomap, sizeof(opts.priomap));
159 * Set priomap of the PRIO qdisc.
161 * @arg priomap New priority mapping.
162 * @arg len Length of priomap (# of elements).
165 int rtnl_qdisc_prio_set_priomap(struct rtnl_qdisc *qdisc, uint8_t priomap[], argument
181 if (priomap[i] > prio->qp_bands)
185 memcpy(prio->qp_priomap, priomap, le
[all...]
/external/libnl/include/linux-private/linux/
H A Dpkt_sched.h120 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member in struct:tc_prio_qopt
/external/iproute2/include/uapi/linux/
H A Dpkt_sched.h133 __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.h134 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member in struct:tc_prio_qopt

Completed in 153 milliseconds