Lines Matching refs:opt
1020 static int htb_init(struct Qdisc *sch, struct nlattr *opt) in htb_init() argument
1028 if (!opt) in htb_init()
1031 err = nla_parse_nested(tb, TCA_HTB_MAX, opt, htb_policy); in htb_init()
1099 struct tc_htb_opt opt; in htb_dump_class() local
1113 memset(&opt, 0, sizeof(opt)); in htb_dump_class()
1115 psched_ratecfg_getrate(&opt.rate, &cl->rate); in htb_dump_class()
1116 opt.buffer = PSCHED_NS2TICKS(cl->buffer); in htb_dump_class()
1117 psched_ratecfg_getrate(&opt.ceil, &cl->ceil); in htb_dump_class()
1118 opt.cbuffer = PSCHED_NS2TICKS(cl->cbuffer); in htb_dump_class()
1119 opt.quantum = cl->quantum; in htb_dump_class()
1120 opt.prio = cl->prio; in htb_dump_class()
1121 opt.level = cl->level; in htb_dump_class()
1122 if (nla_put(skb, TCA_HTB_PARMS, sizeof(opt), &opt)) in htb_dump_class()
1337 struct nlattr *opt = tca[TCA_OPTIONS]; in htb_change_class() local
1343 if (!opt) in htb_change_class()
1346 err = nla_parse_nested(tb, TCA_HTB_MAX, opt, htb_policy); in htb_change_class()
1372 struct gnet_estimator opt; in htb_change_class() member
1375 .nla_len = nla_attr_size(sizeof(est.opt)), in htb_change_class()
1378 .opt = { in htb_change_class()