From 37ad1679aa18e4c3170d645f543fe4455bcdead5 Mon Sep 17 00:00:00 2001 From: gandalf Date: Wed, 26 May 2004 21:56:26 +0000 Subject: 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. --- include/linux/netfilter_ipv4/ipt_MARK.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/linux/netfilter_ipv4/ipt_MARK.h (limited to 'include/linux/netfilter_ipv4/ipt_MARK.h') diff --git a/include/linux/netfilter_ipv4/ipt_MARK.h b/include/linux/netfilter_ipv4/ipt_MARK.h new file mode 100644 index 0000000..6febfe6 --- /dev/null +++ b/include/linux/netfilter_ipv4/ipt_MARK.h @@ -0,0 +1,12 @@ +#ifndef _IPT_MARK_H_target +#define _IPT_MARK_H_target + +struct ipt_mark_target_info { +#ifdef KERNEL_64_USERSPACE_32 + unsigned long long mark; +#else + unsigned long mark; +#endif +}; + +#endif /*_IPT_MARK_H_target*/ -- cgit v1.2.3