Home
last modified time | relevance | path

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

/linux-6.12.1/include/net/tc_act/
Dtc_mirred.h17 #define to_mirred(a) ((struct tcf_mirred *)a) macro
23 return to_mirred(a)->tcfm_eaction == TCA_EGRESS_REDIR; in is_tcf_mirred_egress_redirect()
32 return to_mirred(a)->tcfm_eaction == TCA_EGRESS_MIRROR; in is_tcf_mirred_egress_mirror()
41 return to_mirred(a)->tcfm_eaction == TCA_INGRESS_REDIR; in is_tcf_mirred_ingress_redirect()
50 return to_mirred(a)->tcfm_eaction == TCA_INGRESS_MIRROR; in is_tcf_mirred_ingress_mirror()
57 return rtnl_dereference(to_mirred(a)->tcfm_dev); in tcf_mirred_dev()
/linux-6.12.1/net/sched/
Dact_mirred.c74 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_release()
185 m = to_mirred(*a); in tcf_mirred_init()
418 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_act()
465 struct tcf_mirred *m = to_mirred(a); in tcf_stats_update()
476 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_dump()
554 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_get_dev()