Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/net/tc_act/
H A 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()
/OK3568_Linux_fs/kernel/net/sched/
H A Dact_mirred.c73 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_release()
164 m = to_mirred(*a); in tcf_mirred_init()
212 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_act()
324 struct tcf_mirred *m = to_mirred(a); in tcf_stats_update()
335 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_dump()
425 struct tcf_mirred *m = to_mirred(a); in tcf_mirred_get_dev()