Searched refs:to_pedit (Results 1 – 1 of 1) sorted by relevance
22 #define to_pedit(a) ((struct tcf_pedit *)a) macro35 return to_pedit(a)->tcfp_nkeys; in tcf_pedit_nkeys()40 if (to_pedit(a)->tcfp_keys_ex) in tcf_pedit_htype()41 return to_pedit(a)->tcfp_keys_ex[index].htype; in tcf_pedit_htype()48 if (to_pedit(a)->tcfp_keys_ex) in tcf_pedit_cmd()49 return to_pedit(a)->tcfp_keys_ex[index].cmd; in tcf_pedit_cmd()56 return to_pedit(a)->tcfp_keys[index].mask; in tcf_pedit_mask()61 return to_pedit(a)->tcfp_keys[index].val; in tcf_pedit_val()66 return to_pedit(a)->tcfp_keys[index].off; in tcf_pedit_offset()