Lines Matching refs:opt
993 static int htb_init(struct Qdisc *sch, struct nlattr *opt, in htb_init() argument
1004 if (!opt) in htb_init()
1011 err = nla_parse_nested_deprecated(tb, TCA_HTB_MAX, opt, htb_policy, in htb_init()
1077 struct tc_htb_opt opt; in htb_dump_class() local
1091 memset(&opt, 0, sizeof(opt)); in htb_dump_class()
1093 psched_ratecfg_getrate(&opt.rate, &cl->rate); in htb_dump_class()
1094 opt.buffer = PSCHED_NS2TICKS(cl->buffer); in htb_dump_class()
1095 psched_ratecfg_getrate(&opt.ceil, &cl->ceil); in htb_dump_class()
1096 opt.cbuffer = PSCHED_NS2TICKS(cl->cbuffer); in htb_dump_class()
1097 opt.quantum = cl->quantum; in htb_dump_class()
1098 opt.prio = cl->prio; in htb_dump_class()
1099 opt.level = cl->level; in htb_dump_class()
1100 if (nla_put(skb, TCA_HTB_PARMS, sizeof(opt), &opt)) in htb_dump_class()
1301 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class() local
1309 if (!opt) in htb_change_class()
1312 err = nla_parse_nested_deprecated(tb, TCA_HTB_MAX, opt, htb_policy, in htb_change_class()
1341 struct gnet_estimator opt; in htb_change_class() member
1344 .nla_len = nla_attr_size(sizeof(est.opt)), in htb_change_class()
1347 .opt = { in htb_change_class()