Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/net/tc_act/
H A Dtc_pedit.h22 #define to_pedit(a) ((struct tcf_pedit *)a) macro
35 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()
/OK3568_Linux_fs/kernel/net/sched/
H A Dact_pedit.c215 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()