Lines Matching refs:gopt
1216 struct tc_htb_glob *gopt; in htb_init() local
1224 RTA_PAYLOAD(tb[TCA_HTB_INIT-1]) < sizeof(*gopt)) { in htb_init()
1228 gopt = RTA_DATA(tb[TCA_HTB_INIT-1]); in htb_init()
1229 if (gopt->version != HTB_VER >> 16) { in htb_init()
1231 HTB_VER >> 16,HTB_VER & 0xffff,gopt->version); in htb_init()
1234 q->debug = gopt->debug; in htb_init()
1235 HTB_DBG(0,1,"htb_init sch=%p handle=%X r2q=%d\n",sch,sch->handle,gopt->rate2quantum); in htb_init()
1259 if ((q->rate2quantum = gopt->rate2quantum) < 1) in htb_init()
1261 q->defcls = gopt->defcls; in htb_init()
1272 struct tc_htb_glob gopt; in htb_dump() local
1276 gopt.direct_pkts = q->direct_pkts; in htb_dump()
1282 gopt.version = HTB_VER; in htb_dump()
1283 gopt.rate2quantum = q->rate2quantum; in htb_dump()
1284 gopt.defcls = q->defcls; in htb_dump()
1285 gopt.debug = q->debug; in htb_dump()
1288 RTA_PUT(skb, TCA_HTB_INIT, sizeof(gopt), &gopt); in htb_dump()