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

/linux-master/include/net/tc_act/
H A Dtc_pedit.h15 struct tc_pedit_key *tcfp_keys; member in struct:tcf_pedit_parms
88 mask = parms->tcfp_keys[index].mask;
101 val = parms->tcfp_keys[index].val;
114 off = parms->tcfp_keys[index].off;
/linux-master/net/sched/
H A Dact_pedit.c151 kfree(parms->tcfp_keys);
249 nparms->tcfp_keys = kmemdup(parm->keys, ksize, GFP_KERNEL);
250 if (!nparms->tcfp_keys) {
256 u32 offmask = nparms->tcfp_keys[i].offmask;
257 u32 cur = nparms->tcfp_keys[i].off;
267 nparms->tcfp_keys[i].shift = min_t(size_t,
269 nparms->tcfp_keys[i].shift);
274 cur += (0xff & offmask) >> nparms->tcfp_keys[i].shift;
297 kfree(nparms->tcfp_keys);
411 tkey = parms->tcfp_keys;
[all...]

Completed in 130 milliseconds