diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-09-18 19:01:11 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-12-30 23:50:48 +0100 |
commit | b8635aea998c4d52e38f7b20cbd4afa898ef2cc7 (patch) | |
tree | d20afe5b0c423a520790953b916aff7018b4f015 /include/linux/netfilter_arp.h | |
parent | ed8247182d45f6208f86dd87d12e6239e0e54909 (diff) |
include: cache netfilter_arp kernel headers
To ensure that compilation does not break if Linux kernel
headers are not installed in the system.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter_arp.h')
-rw-r--r-- | include/linux/netfilter_arp.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/netfilter_arp.h b/include/linux/netfilter_arp.h new file mode 100644 index 00000000..92bc6ddc --- /dev/null +++ b/include/linux/netfilter_arp.h @@ -0,0 +1,19 @@ +#ifndef __LINUX_ARP_NETFILTER_H +#define __LINUX_ARP_NETFILTER_H + +/* ARP-specific defines for netfilter. + * (C)2002 Rusty Russell IBM -- This code is GPL. + */ + +#include <linux/netfilter.h> + +/* There is no PF_ARP. */ +#define NF_ARP 0 + +/* ARP Hooks */ +#define NF_ARP_IN 0 +#define NF_ARP_OUT 1 +#define NF_ARP_FORWARD 2 +#define NF_ARP_NUMHOOKS 3 + +#endif /* __LINUX_ARP_NETFILTER_H */ |