netfilter: add defines for arp/decnet max hooks
authorFlorian Westphal <fw@strlen.de>
Thu, 7 Dec 2017 15:28:23 +0000 (16:28 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Jan 2018 17:01:08 +0000 (18:01 +0100)
commite58f33cc84bc089c430ac955f3cad6380ae98591
treea88c4f30c14bd301c82c5caf7062522982ba543b
parentb0f38338aef2dae5ade3c16acf713737e3b15a73
netfilter: add defines for arp/decnet max hooks

The kernel already has defines for this, but they are in uapi exposed
headers.

Including these from netns.h causes build errors and also adds unneeded
dependencies on heads that we don't need.

So move these defines to netfilter_defs.h and place the uapi ones
in ifndef __KERNEL__ to keep them for userspace.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter_defs.h
include/uapi/linux/netfilter_arp.h
include/uapi/linux/netfilter_decnet.h