Lines Matching refs:gopt
1054 struct tc_htb_glob *gopt; in htb_init() local
1077 gopt = nla_data(tb[TCA_HTB_INIT]); in htb_init()
1078 if (gopt->version != HTB_VER >> 16) in htb_init()
1111 if ((q->rate2quantum = gopt->rate2quantum) < 1) in htb_init()
1113 q->defcls = gopt->defcls; in htb_init()
1206 struct tc_htb_glob gopt; in htb_dump() local
1218 gopt.direct_pkts = q->direct_pkts; in htb_dump()
1219 gopt.version = HTB_VER; in htb_dump()
1220 gopt.rate2quantum = q->rate2quantum; in htb_dump()
1221 gopt.defcls = q->defcls; in htb_dump()
1222 gopt.debug = 0; in htb_dump()
1227 if (nla_put(skb, TCA_HTB_INIT, sizeof(gopt), &gopt) || in htb_dump()