projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43de9df
)
netfilter: cleanup netfilter_ipv6.h userspace header
author
Adrian Bunk
<
[email protected]
>
Tue, 8 Jul 2008 09:36:40 +0000
(
02:36
-0700)
committer
David S. Miller
<
[email protected]
>
Tue, 8 Jul 2008 09:36:40 +0000
(
02:36
-0700)
Kernel functions are not for userspace.
Signed-off-by: Adrian Bunk <
[email protected]
>
Signed-off-by: Patrick McHardy <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
include/linux/netfilter_ipv6.h
patch
|
blob
|
history
diff --git
a/include/linux/netfilter_ipv6.h
b/include/linux/netfilter_ipv6.h
index fd50988b83ec09979f2497d2109ed7a9ba20969b..d654873aa25afdaae0fe2ac921b2cd58db16bf04 100644
(file)
--- a/
include/linux/netfilter_ipv6.h
+++ b/
include/linux/netfilter_ipv6.h
@@
-70,6
+70,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,
@@
-82,4
+84,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*/