Home
last modified time | relevance | path

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

/linux/include/net/tc_act/
H A 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/net/sched/
H A Dact_mirred.c71 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_release()
182 m = to_mirred(*a); in tcf_mirred_init()
424 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_act()
480 struct tcf_mirred *m = to_mirred(a); in tcf_stats_update()
491 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_dump()
569 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_get_dev()