Lines Matching refs:gopt
1057 struct tc_htb_glob *gopt; in htb_init() local
1080 gopt = nla_data(tb[TCA_HTB_INIT]); in htb_init()
1081 if (gopt->version != HTB_VER >> 16) in htb_init()
1112 if ((q->rate2quantum = gopt->rate2quantum) < 1) in htb_init()
1114 q->defcls = gopt->defcls; in htb_init()
1225 struct tc_htb_glob gopt; in htb_dump() local
1237 gopt.direct_pkts = q->direct_pkts; in htb_dump()
1238 gopt.version = HTB_VER; in htb_dump()
1239 gopt.rate2quantum = q->rate2quantum; in htb_dump()
1240 gopt.defcls = q->defcls; in htb_dump()
1241 gopt.debug = 0; in htb_dump()
1246 if (nla_put(skb, TCA_HTB_INIT, sizeof(gopt), &gopt) || in htb_dump()