diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-08 05:36:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-08 05:36:40 -0400 |
commit | cdf060a5d3c2afc7998af94b26a6c5182419e071 (patch) | |
tree | 6524930a211fae0c6d6ad318e4a23cf7ecbf2515 /include | |
parent | 43de9dfeaa30f7ed801dc1c38bdb63b1738bddcc (diff) |
netfilter: cleanup netfilter_ipv6.h userspace header
Kernel functions are not for userspace.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter_ipv6.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv6.h b/include/linux/netfilter_ipv6.h index fd50988b83ec..d654873aa25a 100644 --- a/include/linux/netfilter_ipv6.h +++ b/include/linux/netfilter_ipv6.h | |||
@@ -70,6 +70,8 @@ enum nf_ip6_hook_priorities { | |||
70 | NF_IP6_PRI_LAST = INT_MAX, | 70 | NF_IP6_PRI_LAST = INT_MAX, |
71 | }; | 71 | }; |
72 | 72 | ||
73 | #ifdef __KERNEL__ | ||
74 | |||
73 | #ifdef CONFIG_NETFILTER | 75 | #ifdef CONFIG_NETFILTER |
74 | extern int ip6_route_me_harder(struct sk_buff *skb); | 76 | extern int ip6_route_me_harder(struct sk_buff *skb); |
75 | extern __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, | 77 | extern __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook, |
@@ -82,4 +84,6 @@ static inline int ipv6_netfilter_init(void) { return 0; } | |||
82 | static inline void ipv6_netfilter_fini(void) { return; } | 84 | static inline void ipv6_netfilter_fini(void) { return; } |
83 | #endif /* CONFIG_NETFILTER */ | 85 | #endif /* CONFIG_NETFILTER */ |
84 | 86 | ||
87 | #endif /* __KERNEL__ */ | ||
88 | |||
85 | #endif /*__LINUX_IP6_NETFILTER_H*/ | 89 | #endif /*__LINUX_IP6_NETFILTER_H*/ |