summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_mark.h
diff options
context:
space:
mode:
authorgandalf <gandalf>2004-05-26 21:56:26 +0000
committergandalf <gandalf>2004-05-26 21:56:26 +0000
commit37ad1679aa18e4c3170d645f543fe4455bcdead5 (patch)
tree198938989ba4ca43c19bc02c100af0aca8d06e15 /include/linux/netfilter_ipv4/ipt_mark.h
parentc5a2851e96afd3e06785551ab90eb1157407e6cb (diff)
With a 64bit kernel only the high 32bits of nfmark was used regardless of
32/64bit userspace. This makes it quite hard to interoperate with 'tc'. Sync ipv6 versions with ipv4 versions. Tested on x86 and sparc64 with both 32bit and 64bit userspace.
Diffstat (limited to 'include/linux/netfilter_ipv4/ipt_mark.h')
-rw-r--r--include/linux/netfilter_ipv4/ipt_mark.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_mark.h b/include/linux/netfilter_ipv4/ipt_mark.h
new file mode 100644
index 0000000..b9e79fd
--- /dev/null
+++ b/include/linux/netfilter_ipv4/ipt_mark.h
@@ -0,0 +1,13 @@
+#ifndef _IPT_MARK_H
+#define _IPT_MARK_H
+
+struct ipt_mark_info {
+#ifdef KERNEL_64_USERSPACE_32
+ unsigned long long mark, mask;
+#else
+ unsigned long mark, mask;
+#endif
+ u_int8_t invert;
+};
+
+#endif /*_IPT_MARK_H*/