Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/tc_act/
Dtc_mirred.h15 #define to_mirred(a) ((struct tcf_mirred *)a) macro
21 return to_mirred(a)->tcfm_eaction == TCA_EGRESS_REDIR; in is_tcf_mirred_egress_redirect()
30 return to_mirred(a)->tcfm_eaction == TCA_EGRESS_MIRROR; in is_tcf_mirred_egress_mirror()
39 return to_mirred(a)->tcfm_eaction == TCA_INGRESS_REDIR; in is_tcf_mirred_ingress_redirect()
48 return to_mirred(a)->tcfm_eaction == TCA_INGRESS_MIRROR; in is_tcf_mirred_ingress_mirror()
55 return rtnl_dereference(to_mirred(a)->tcfm_dev); in tcf_mirred_dev()
/Linux-v5.4/net/sched/
Dact_mirred.c72 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_release()
163 m = to_mirred(*a); in tcf_mirred_init()
213 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_act()
318 struct tcf_mirred *m = to_mirred(a); in tcf_stats_update()
332 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_dump()
422 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_get_dev()