Searched refs:to_pedit (Results 1 – 2 of 2) 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()
215 p = to_pedit(*a); in tcf_pedit_init()272 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_cleanup()326 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_act()435 struct tcf_pedit *d = to_pedit(a); in tcf_pedit_stats_update()446 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_dump()