]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - include/linux/netfilter_defs.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_NETFILTER_CORE_H_
3 #define __LINUX_NETFILTER_CORE_H_
5 #include <uapi/linux/netfilter.h>
7 /* in/out/forward only */
8 #define NF_ARP_NUMHOOKS 3
10 /* max hook is NF_DN_ROUTE (6), also see uapi/linux/netfilter_decnet.h */
11 #define NF_DN_NUMHOOKS 7
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
17 #define NF_MAX_HOOKS NF_INET_NUMHOOKS