summaryrefslogblamecommitdiffstats
path: root/include/linux/netfilter_defs.h
blob: fdcdf2bf34df0cc22fb17a57bf513a479ffbe2dd (plain) (tree)
1
2
3
4
5
6
7
8
9
                                      







                                                                





                                                                         
      
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LINUX_NETFILTER_CORE_H_
#define __LINUX_NETFILTER_CORE_H_

#include <uapi/linux/netfilter.h>

/* Largest hook number + 1, see uapi/linux/netfilter_decnet.h */
#define NF_MAX_HOOKS 8

/* in/out/forward only */
#define NF_ARP_NUMHOOKS 3

/* max hook is NF_DN_ROUTE (6), also see uapi/linux/netfilter_decnet.h */
#define NF_DN_NUMHOOKS 7

#endif