diff options
author | Patrick McHardy <kaber@trash.net> | 2007-11-29 09:17:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:55:15 -0500 |
commit | be0ea7d5da3d99140bde7e5cea328eb111731700 (patch) | |
tree | fc7e0702bf03eff7409c1bd8361fca5737cbe365 /include | |
parent | a99a00cf1adef2d3dce745c93c9cc8b0a1612c50 (diff) |
[NETFILTER]: Convert old checksum helper names
Kill the defines again, convert to the new checksum helper names and
remove the dependency of NET_ACT_NAT on NETFILTER.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index e2bf6d2ffb6c..f42e4362d50d 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h | |||
@@ -298,11 +298,6 @@ extern void nf_invalidate_cache(int pf); | |||
298 | Returns true or false. */ | 298 | Returns true or false. */ |
299 | extern int skb_make_writable(struct sk_buff *skb, unsigned int writable_len); | 299 | extern int skb_make_writable(struct sk_buff *skb, unsigned int writable_len); |
300 | 300 | ||
301 | #define nf_csum_replace4 csum_replace4 | ||
302 | #define nf_csum_replace2 csum_replace2 | ||
303 | #define nf_proto_csum_replace4 inet_proto_csum_replace4 | ||
304 | #define nf_proto_csum_replace2 inet_proto_csum_replace2 | ||
305 | |||
306 | struct nf_afinfo { | 301 | struct nf_afinfo { |
307 | unsigned short family; | 302 | unsigned short family; |
308 | __sum16 (*checksum)(struct sk_buff *skb, unsigned int hook, | 303 | __sum16 (*checksum)(struct sk_buff *skb, unsigned int hook, |