diff options
author | Harald Welte <laforge@netfilter.org> | 2005-08-09 22:22:01 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:29:31 -0400 |
commit | bf3a46aa9b96f6eb3a49a568f72a2801c3e830c0 (patch) | |
tree | 4387ee7d8ef83348338a9d433c93139a4747dcb5 /include | |
parent | 8f3d17fb7bcb7c255197d11469fb5e9695c9d2f4 (diff) |
[NETFILTER]: convert nfmark and conntrack mark to 32bit
As discussed at netconf'05, we convert nfmark and conntrack-mark to be
32bits even on 64bit architectures.
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter_ipv4/ip_conntrack.h | 2 | ||||
-rw-r--r-- | include/linux/skbuff.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netfilter_ipv4/ip_conntrack.h b/include/linux/netfilter_ipv4/ip_conntrack.h index 08fe5f7d14a0..4ed720f0c4cd 100644 --- a/include/linux/netfilter_ipv4/ip_conntrack.h +++ b/include/linux/netfilter_ipv4/ip_conntrack.h | |||
@@ -171,7 +171,7 @@ struct ip_conntrack | |||
171 | #endif /* CONFIG_IP_NF_NAT_NEEDED */ | 171 | #endif /* CONFIG_IP_NF_NAT_NEEDED */ |
172 | 172 | ||
173 | #if defined(CONFIG_IP_NF_CONNTRACK_MARK) | 173 | #if defined(CONFIG_IP_NF_CONNTRACK_MARK) |
174 | unsigned long mark; | 174 | u_int32_t mark; |
175 | #endif | 175 | #endif |
176 | 176 | ||
177 | /* Traversed often, so hopefully in different cacheline to top */ | 177 | /* Traversed often, so hopefully in different cacheline to top */ |
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 948527e42a60..2e40f4c9f7a6 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -259,7 +259,7 @@ struct sk_buff { | |||
259 | 259 | ||
260 | void (*destructor)(struct sk_buff *skb); | 260 | void (*destructor)(struct sk_buff *skb); |
261 | #ifdef CONFIG_NETFILTER | 261 | #ifdef CONFIG_NETFILTER |
262 | unsigned long nfmark; | 262 | __u32 nfmark; |
263 | __u32 nfcache; | 263 | __u32 nfcache; |
264 | __u32 nfctinfo; | 264 | __u32 nfctinfo; |
265 | struct nf_conntrack *nfct; | 265 | struct nf_conntrack *nfct; |