summaryrefslogtreecommitdiffstats
path: root/kernel/include/net/tc_act/tc_defact.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/net/tc_act/tc_defact.h')
-rw-r--r--kernel/include/net/tc_act/tc_defact.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/include/net/tc_act/tc_defact.h b/kernel/include/net/tc_act/tc_defact.h
new file mode 100644
index 000000000..9763dcbb9
--- /dev/null
+++ b/kernel/include/net/tc_act/tc_defact.h
@@ -0,0 +1,14 @@
+#ifndef __NET_TC_DEF_H
+#define __NET_TC_DEF_H
+
+#include <net/act_api.h>
+
+struct tcf_defact {
+ struct tcf_common common;
+ u32 tcfd_datalen;
+ void *tcfd_defdata;
+};
+#define to_defact(a) \
+ container_of(a->priv, struct tcf_defact, common)
+
+#endif /* __NET_TC_DEF_H */