Merge tag 'trace-v5.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[linux-2.6-microblaze.git] / include / linux / netfilter_defs.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_NETFILTER_CORE_H_
3 #define __LINUX_NETFILTER_CORE_H_
4
5 #include <uapi/linux/netfilter.h>
6
7 /* in/out/forward only */
8 #define NF_ARP_NUMHOOKS 3
9
10 /* max hook is NF_DN_ROUTE (6), also see uapi/linux/netfilter_decnet.h */
11 #define NF_DN_NUMHOOKS 7
12
13 #if IS_ENABLED(CONFIG_DECNET)
14 /* Largest hook number + 1, see uapi/linux/netfilter_decnet.h */
15 #define NF_MAX_HOOKS    NF_DN_NUMHOOKS
16 #else
17 #define NF_MAX_HOOKS    NF_INET_NUMHOOKS
18 #endif
19
20 #endif