Home
last modified time | relevance | path

Searched refs:to_pedit (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/sched/
H A Dact_pedit.c216 p = to_pedit(*a); in tcf_pedit_init()
273 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_cleanup()
327 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_act()
436 struct tcf_pedit *d = to_pedit(a); in tcf_pedit_stats_update()
447 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_dump()
/kernel/linux/linux-6.6/include/net/tc_act/
H A Dtc_pedit.h28 #define to_pedit(a) ((struct tcf_pedit *)a) macro
29 #define to_pedit_parms(a) (rcu_dereference(to_pedit(a)->parms))
/kernel/linux/linux-6.6/net/sched/
H A Dact_pedit.c281 p = to_pedit(*a); in tcf_pedit_init()
312 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_cleanup()
392 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_act()
492 struct tcf_pedit *d = to_pedit(a); in tcf_pedit_stats_update()
503 struct tcf_pedit *p = to_pedit(a); in tcf_pedit_dump()

Completed in 4 milliseconds