Searched refs:hopt (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/tc/
H A Dq_htb.c239 struct tc_htb_opt *hopt; local
253 hopt = RTA_DATA(tb[TCA_HTB_PARMS]);
254 if (RTA_PAYLOAD(tb[TCA_HTB_PARMS]) < sizeof(*hopt)) return -1;
256 if (!hopt->level) {
257 fprintf(f, "prio %d ", (int)hopt->prio);
259 fprintf(f, "quantum %d ", (int)hopt->quantum);
261 fprintf(f, "rate %s ", sprint_rate(hopt->rate.rate, b1));
262 buffer = ((double)hopt->rate.rate*tc_core_tick2usec(hopt->buffer))/1000000;
263 fprintf(f, "ceil %s ", sprint_rate(hopt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/
H A Dsch_htb.c1386 struct tc_htb_opt *hopt; local
1391 RTA_PAYLOAD(tb[TCA_HTB_PARMS - 1]) < sizeof(*hopt))
1396 hopt = RTA_DATA(tb[TCA_HTB_PARMS - 1]);
1398 rtab = qdisc_get_rtab(&hopt->rate, tb[TCA_HTB_RTAB - 1]);
1399 ctab = qdisc_get_rtab(&hopt->ceil, tb[TCA_HTB_CTAB - 1]);
1462 cl->tokens = hopt->buffer;
1463 cl->ctokens = hopt->cbuffer;
1479 if (!hopt->quantum && cl->un.leaf.quantum < 1000) {
1485 if (!hopt->quantum && cl->un.leaf.quantum > 200000) {
1491 if (hopt
[all...]

Completed in 164 milliseconds