Lines Matching refs:parm
145 struct tc_pedit *parm; in tcf_pedit_init() local
165 parm = nla_data(pattr); in tcf_pedit_init()
166 if (!parm->nkeys) in tcf_pedit_init()
169 ksize = parm->nkeys * sizeof(struct tc_pedit_key); in tcf_pedit_init()
170 if (nla_len(pattr) < sizeof(*parm) + ksize) in tcf_pedit_init()
173 keys_ex = tcf_pedit_keys_ex_parse(tb[TCA_PEDIT_KEYS_EX], parm->nkeys); in tcf_pedit_init()
177 if (!tcf_idr_check(tn, parm->index, a, bind)) { in tcf_pedit_init()
178 ret = tcf_idr_create(tn, parm->index, est, a, in tcf_pedit_init()
197 if (p->tcfp_nkeys && p->tcfp_nkeys != parm->nkeys) { in tcf_pedit_init()
207 p->tcfp_flags = parm->flags; in tcf_pedit_init()
208 p->tcf_action = parm->action; in tcf_pedit_init()
212 p->tcfp_nkeys = parm->nkeys; in tcf_pedit_init()
214 memcpy(p->tcfp_keys, parm->keys, ksize); in tcf_pedit_init()