Lines Matching defs:opt
346 static int etf_init(struct Qdisc *sch, struct nlattr *opt,
355 if (!opt) {
361 err = nla_parse_nested_deprecated(tb, TCA_ETF_MAX, opt, etf_policy,
466 struct tc_etf_qopt opt = { };
473 opt.delta = q->delta;
474 opt.clockid = q->clockid;
476 opt.flags |= TC_ETF_OFFLOAD_ON;
479 opt.flags |= TC_ETF_DEADLINE_MODE_ON;
482 opt.flags |= TC_ETF_SKIP_SOCK_CHECK;
484 if (nla_put(skb, TCA_ETF_PARMS, sizeof(opt), &opt))