Lines Matching refs:gopt
1061 struct tc_htb_glob *gopt; in htb_init() local
1084 gopt = nla_data(tb[TCA_HTB_INIT]); in htb_init()
1085 if (gopt->version != HTB_VER >> 16) in htb_init()
1118 if ((q->rate2quantum = gopt->rate2quantum) < 1) in htb_init()
1120 q->defcls = gopt->defcls; in htb_init()
1214 struct tc_htb_glob gopt; in htb_dump() local
1226 gopt.direct_pkts = q->direct_pkts; in htb_dump()
1227 gopt.version = HTB_VER; in htb_dump()
1228 gopt.rate2quantum = q->rate2quantum; in htb_dump()
1229 gopt.defcls = q->defcls; in htb_dump()
1230 gopt.debug = 0; in htb_dump()
1235 if (nla_put(skb, TCA_HTB_INIT, sizeof(gopt), &gopt) || in htb_dump()