Lines Matching refs:tkey
341 struct tc_pedit_key *tkey = p->tcfp_keys; in tcf_pedit_act() local
347 for (i = p->tcfp_nkeys; i > 0; i--, tkey++) { in tcf_pedit_act()
349 int offset = tkey->off; in tcf_pedit_act()
368 if (tkey->offmask) { in tcf_pedit_act()
371 if (!offset_valid(skb, hoffset + tkey->at)) { in tcf_pedit_act()
373 hoffset + tkey->at); in tcf_pedit_act()
376 d = skb_header_pointer(skb, hoffset + tkey->at, in tcf_pedit_act()
380 offset += (*d & tkey->offmask) >> tkey->shift; in tcf_pedit_act()
401 val = tkey->val; in tcf_pedit_act()
404 val = (*ptr + tkey->val) & ~tkey->mask; in tcf_pedit_act()
412 *ptr = ((*ptr & tkey->mask) ^ val); in tcf_pedit_act()