Lines Matching defs:opt
200 struct tc_pedit *opt;
204 s = sizeof(*opt) + p->tcfp_nkeys * sizeof(struct tc_pedit_key);
207 opt = kzalloc(s, GFP_ATOMIC);
208 if (unlikely(!opt))
211 memcpy(opt->keys, p->tcfp_keys,
213 opt->index = p->tcf_index;
214 opt->nkeys = p->tcfp_nkeys;
215 opt->flags = p->tcfp_flags;
216 opt->action = p->tcf_action;
217 opt->refcnt = p->tcf_refcnt - ref;
218 opt->bindcnt = p->tcf_bindcnt - bind;
220 RTA_PUT(skb, TCA_PEDIT_PARMS, s, opt);
225 kfree(opt);
230 kfree(opt);