Home
last modified time | relevance | path

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

/openbmc/linux/include/net/tc_act/
H A Dtc_mirred.h16 #define to_mirred(a) ((struct tcf_mirred *)a) macro
22 return to_mirred(a)->tcfm_eaction == TCA_EGRESS_REDIR; in is_tcf_mirred_egress_redirect()
31 return to_mirred(a)->tcfm_eaction == TCA_EGRESS_MIRROR; in is_tcf_mirred_egress_mirror()
40 return to_mirred(a)->tcfm_eaction == TCA_INGRESS_REDIR; in is_tcf_mirred_ingress_redirect()
49 return to_mirred(a)->tcfm_eaction == TCA_INGRESS_MIRROR; in is_tcf_mirred_ingress_mirror()
56 return rtnl_dereference(to_mirred(a)->tcfm_dev); in tcf_mirred_dev()
/openbmc/linux/net/sched/
H A Dact_mirred.c74 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_release()
162 m = to_mirred(*a); in tcf_mirred_init()
309 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_act()
349 struct tcf_mirred *m = to_mirred(a); in tcf_stats_update()
360 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_dump()
433 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_get_dev()