summaryrefslogtreecommitdiffstats
path: root/kernel/include/net/tc_act/tc_mirred.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/net/tc_act/tc_mirred.h')
-rw-r--r--kernel/include/net/tc_act/tc_mirred.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/include/net/tc_act/tc_mirred.h b/kernel/include/net/tc_act/tc_mirred.h
new file mode 100644
index 000000000..4dd77a1c1
--- /dev/null
+++ b/kernel/include/net/tc_act/tc_mirred.h
@@ -0,0 +1,17 @@
+#ifndef __NET_TC_MIR_H
+#define __NET_TC_MIR_H
+
+#include <net/act_api.h>
+
+struct tcf_mirred {
+ struct tcf_common common;
+ int tcfm_eaction;
+ int tcfm_ifindex;
+ int tcfm_ok_push;
+ struct net_device *tcfm_dev;
+ struct list_head tcfm_list;
+};
+#define to_mirred(a) \
+ container_of(a->priv, struct tcf_mirred, common)
+
+#endif /* __NET_TC_MIR_H */