Home
last modified time | relevance | path

Searched refs:tcfp_keys (Results 1 – 2 of 2) sorted by relevance

/linux/include/net/tc_act/
H A Dtc_pedit.h15 struct tc_pedit_key *tcfp_keys; member
88 mask = parms->tcfp_keys[index].mask; in tcf_pedit_mask()
101 val = parms->tcfp_keys[index].val; in tcf_pedit_val()
114 off = parms->tcfp_keys[index].off; in tcf_pedit_offset()
/linux/net/sched/
H A Dact_pedit.c154 kfree(parms->tcfp_keys); in tcf_pedit_cleanup_rcu()
251 nparms->tcfp_keys = kmemdup(parm->keys, ksize, GFP_KERNEL); in tcf_pedit_init()
252 if (!nparms->tcfp_keys) { in tcf_pedit_init()
258 u32 offmask = nparms->tcfp_keys[i].offmask; in tcf_pedit_init()
259 u32 cur = nparms->tcfp_keys[i].off; in tcf_pedit_init()
269 nparms->tcfp_keys[i].shift = min_t(size_t, in tcf_pedit_init()
271 nparms->tcfp_keys[i].shift); in tcf_pedit_init()
291 kfree(nparms->tcfp_keys); in tcf_pedit_init()
397 tkey = parms->tcfp_keys; in tcf_pedit_act()
529 memcpy(opt->keys, parms->tcfp_keys, in tcf_pedit_dump()
[all...]