summaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_csum.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_csum.h')
-rw-r--r--include/net/tc_act/tc_csum.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_csum.h b/include/net/tc_act/tc_csum.h
new file mode 100644
index 000000000000..9e8710be7a04
--- /dev/null
+++ b/include/net/tc_act/tc_csum.h
@@ -0,0 +1,15 @@
+#ifndef __NET_TC_CSUM_H
+#define __NET_TC_CSUM_H
+
+#include <linux/types.h>
+#include <net/act_api.h>
+
+struct tcf_csum {
+ struct tcf_common common;
+
+ u32 update_flags;
+};
+#define to_tcf_csum(pc) \
+ container_of(pc,struct tcf_csum,common)
+
+#endif /* __NET_TC_CSUM_H */