netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] cleanup netfilter_ipv6.h userspace header
@ 2008-06-23 17:48 Adrian Bunk
  2008-06-24 12:25 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-06-23 17:48 UTC (permalink / raw)
  To: netfilter-devel; +Cc: netdev

Kernel functions are not for userspace.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 include/linux/netfilter_ipv6.h |    4 ++++
 1 file changed, 4 insertions(+)

88393f0873c19cf54c79388dd02c92a2ce7991c2 diff --git a/include/linux/netfilter_ipv6.h b/include/linux/netfilter_ipv6.h
index 3475a65..427969d 100644
--- a/include/linux/netfilter_ipv6.h
+++ b/include/linux/netfilter_ipv6.h
@@ -69,6 +69,8 @@ enum nf_ip6_hook_priorities {
 	NF_IP6_PRI_LAST = INT_MAX,
 };
 
+#ifdef  __KERNEL__
+
 #ifdef CONFIG_NETFILTER
 extern int ip6_route_me_harder(struct sk_buff *skb);
 extern __sum16 nf_ip6_checksum(struct sk_buff *skb, unsigned int hook,
@@ -81,4 +83,6 @@ static inline int ipv6_netfilter_init(void) { return 0; }
 static inline void ipv6_netfilter_fini(void) { return; }
 #endif /* CONFIG_NETFILTER */
 
+#endif /* __KERNEL__ */
+
 #endif /*__LINUX_IP6_NETFILTER_H*/


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-24 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 17:48 [2.6 patch] cleanup netfilter_ipv6.h userspace header Adrian Bunk
2008-06-24 12:25 ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).