diff options
author | Florian Westphal <fw@strlen.de> | 2018-05-15 22:44:24 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-06-17 22:55:08 +0200 |
commit | 672accf153037c9d9b39f39381e9bc0f2df57c8c (patch) | |
tree | ad3db125459e173edeca102ebc02216dfc62243f /include/linux/netfilter.h | |
parent | 856a875aeb20708e1af2b6d5ca956df25e34f073 (diff) |
include: update kernel netfilter header files
needed to get the TRACE definition.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/linux/netfilter.h')
-rw-r--r-- | include/linux/netfilter.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index 54771312..c3f087ac 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -3,7 +3,9 @@ #include <linux/types.h> -#include <linux/sysctl.h> +#include <linux/in.h> +#include <linux/in6.h> +#include <limits.h> /* Responses from hook functions. */ #define NF_DROP 0 @@ -11,7 +13,7 @@ #define NF_STOLEN 2 #define NF_QUEUE 3 #define NF_REPEAT 4 -#define NF_STOP 5 +#define NF_STOP 5 /* Deprecated, for userspace nf_queue compatibility. */ #define NF_MAX_VERDICT NF_STOP /* we overload the higher bits for encoding auxiliary data such as the queue @@ -48,10 +50,17 @@ enum nf_inet_hooks { NF_INET_NUMHOOKS }; +enum nf_dev_hooks { + NF_NETDEV_INGRESS, + NF_NETDEV_NUMHOOKS +}; + enum { NFPROTO_UNSPEC = 0, + NFPROTO_INET = 1, NFPROTO_IPV4 = 2, NFPROTO_ARP = 3, + NFPROTO_NETDEV = 5, NFPROTO_BRIDGE = 7, NFPROTO_IPV6 = 10, NFPROTO_DECNET = 12, @@ -66,4 +75,4 @@ union nf_inet_addr { struct in6_addr in6; }; -#endif /*__LINUX_NETFILTER_H*/ +#endif /* __LINUX_NETFILTER_H */ |