Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/tc_act/
Dtc_pedit.h21 #define to_pedit(a) ((struct tcf_pedit *)a) macro
34 return to_pedit(a)->tcfp_nkeys; in tcf_pedit_nkeys()
39 if (to_pedit(a)->tcfp_keys_ex) in tcf_pedit_htype()
40 return to_pedit(a)->tcfp_keys_ex[index].htype; in tcf_pedit_htype()
47 if (to_pedit(a)->tcfp_keys_ex) in tcf_pedit_cmd()
48 return to_pedit(a)->tcfp_keys_ex[index].cmd; in tcf_pedit_cmd()
55 return to_pedit(a)->tcfp_keys[index].mask; in tcf_pedit_mask()
60 return to_pedit(a)->tcfp_keys[index].val; in tcf_pedit_val()
65 return to_pedit(a)->tcfp_keys[index].off; in tcf_pedit_offset()
/Linux-v4.19/net/sched/
Dact_pedit.c207 p = to_pedit(*a); in tcf_pedit_init()
245 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_cleanup()
299 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_act()
403 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_dump()