Lines Matching refs:hopt
1505 struct tc_htb_opt *hopt; in htb_change_class() local
1510 RTA_PAYLOAD(tb[TCA_HTB_PARMS-1]) < sizeof(*hopt)) in htb_change_class()
1515 hopt = RTA_DATA(tb[TCA_HTB_PARMS-1]); in htb_change_class()
1516 …uant=%d\n", cl,cl?cl->classid:0,classid,parentid,(int)hopt->prio,hopt->rate.rate,hopt->buffer,hopt… in htb_change_class()
1517 rtab = qdisc_get_rtab(&hopt->rate, tb[TCA_HTB_RTAB-1]); in htb_change_class()
1518 ctab = qdisc_get_rtab(&hopt->ceil, tb[TCA_HTB_CTAB-1]); in htb_change_class()
1573 cl->tokens = hopt->buffer; in htb_change_class()
1574 cl->ctokens = hopt->cbuffer; in htb_change_class()
1595 if (!hopt->quantum && cl->un.leaf.quantum < 1000) { in htb_change_class()
1599 if (!hopt->quantum && cl->un.leaf.quantum > 200000) { in htb_change_class()
1603 if (hopt->quantum) in htb_change_class()
1604 cl->un.leaf.quantum = hopt->quantum; in htb_change_class()
1605 if ((cl->un.leaf.prio = hopt->prio) >= TC_HTB_NUMPRIO) in htb_change_class()
1609 cl->buffer = hopt->buffer; in htb_change_class()
1610 cl->cbuffer = hopt->cbuffer; in htb_change_class()