summaryrefslogtreecommitdiffstats
path: root/userspace/arptables/include/netfilter_arp.h
blob: 2c98a8198b2f6bf830b89ba4c14b2da64632cdc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef __LINUX_ARP_NETFILTER_H
#define __LINUX_ARP_NETFILTER_H

/* Userspace specific header file since 2.4 only has 2 chains */

/* ARP-specific defines for netfilter.
 * (C)2002 Rusty Russell IBM -- This code is GPL.
 */

#include <linux/config.h>
#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
#ifndef KERNEL_2_4
#define NF_ARP_FORWARD	2
#define NF_ARP_NUMHOOKS	3
#else
#define NF_ARP_NUMHOOKS	2
#endif

#endif /* __LINUX_ARP_NETFILTER_H */