Lines Matching refs:parm
148 struct tc_pedit *parm; in tcf_pedit_init() local
173 parm = nla_data(pattr); in tcf_pedit_init()
174 if (!parm->nkeys) { in tcf_pedit_init()
178 ksize = parm->nkeys * sizeof(struct tc_pedit_key); in tcf_pedit_init()
179 if (nla_len(pattr) < sizeof(*parm) + ksize) { in tcf_pedit_init()
184 keys_ex = tcf_pedit_keys_ex_parse(tb[TCA_PEDIT_KEYS_EX], parm->nkeys); in tcf_pedit_init()
188 index = parm->index; in tcf_pedit_init()
210 err = tcf_action_check_ctrlact(parm->action, tp, &goto_ch, extack); in tcf_pedit_init()
219 (p->tcfp_nkeys && p->tcfp_nkeys != parm->nkeys)) { in tcf_pedit_init()
228 p->tcfp_nkeys = parm->nkeys; in tcf_pedit_init()
230 memcpy(p->tcfp_keys, parm->keys, ksize); in tcf_pedit_init()
232 p->tcfp_flags = parm->flags; in tcf_pedit_init()
233 goto_ch = tcf_action_set_ctrlact(*a, parm->action, goto_ch); in tcf_pedit_init()