Lines Matching refs:gopt
1024 struct tc_htb_glob *gopt; in htb_init() local
1038 gopt = nla_data(tb[TCA_HTB_INIT]); in htb_init()
1039 if (gopt->version != HTB_VER >> 16) in htb_init()
1057 if ((q->rate2quantum = gopt->rate2quantum) < 1) in htb_init()
1059 q->defcls = gopt->defcls; in htb_init()
1068 struct tc_htb_glob gopt; in htb_dump() local
1074 gopt.direct_pkts = q->direct_pkts; in htb_dump()
1075 gopt.version = HTB_VER; in htb_dump()
1076 gopt.rate2quantum = q->rate2quantum; in htb_dump()
1077 gopt.defcls = q->defcls; in htb_dump()
1078 gopt.debug = 0; in htb_dump()
1083 if (nla_put(skb, TCA_HTB_INIT, sizeof(gopt), &gopt) || in htb_dump()