Lines Matching defs:opt
343 static int etf_init(struct Qdisc *sch, struct nlattr *opt,
352 if (!opt) {
358 err = nla_parse_nested_deprecated(tb, TCA_ETF_MAX, opt, etf_policy,
463 struct tc_etf_qopt opt = { };
470 opt.delta = q->delta;
471 opt.clockid = q->clockid;
473 opt.flags |= TC_ETF_OFFLOAD_ON;
476 opt.flags |= TC_ETF_DEADLINE_MODE_ON;
479 opt.flags |= TC_ETF_SKIP_SOCK_CHECK;
481 if (nla_put(skb, TCA_ETF_PARMS, sizeof(opt), &opt))