From 4dc042dcb2c189aedd8e277fe15165d61d675a85 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Wed, 15 Jan 2014 06:58:06 +0000 Subject: libnftables: replace netfilter.h by sanitized header Signed-off-by: Patrick McHardy --- include/linux/netfilter.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index ef1b1f8..be0bc18 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -1,8 +1,8 @@ -#ifndef _UAPI__LINUX_NETFILTER_H -#define _UAPI__LINUX_NETFILTER_H +#ifndef __LINUX_NETFILTER_H +#define __LINUX_NETFILTER_H #include -#include + #include @@ -32,7 +32,6 @@ #define NF_DROP_ERR(x) (((-x) << 16) | NF_DROP) /* only for userspace compatibility */ -#ifndef __KERNEL__ /* Generic cache responses from hook functions. <= 0x2000 is used for protocol-flags. */ #define NFC_UNKNOWN 0x4000 @@ -40,7 +39,6 @@ /* NF_VERDICT_BITS should be 8 now, but userspace might break if this changes */ #define NF_VERDICT_BITS 16 -#endif enum nf_inet_hooks { NF_INET_PRE_ROUTING, @@ -70,4 +68,4 @@ union nf_inet_addr { struct in6_addr in6; }; -#endif /* _UAPI__LINUX_NETFILTER_H */ +#endif /* __LINUX_NETFILTER_H */ -- cgit v1.2.3