]>
Commit | Line | Data |
---|---|---|
fcd9b1aa ER |
1 | fragment from /usr/src/linux-2.6.14.7/include/linux/netfilter_ipv4.h |
2 | needed for frox-0.7.18 to build (using copy of libiptc from iptables 1.2) | |
3 | ||
4 | --- linux-libc-headers-2.6.12.0/include/linux/netfilter_ipv4.h 2006-04-16 22:37:08.996523576 +0300 | |
5 | +++ /usr/include/linux/netfilter_ipv4.h 2006-04-16 22:35:28.194277687 +0300 | |
6 | @@ -45,4 +45,32 @@ | |
7 | /* 2.4 firewalling went 64 through 67. */ | |
8 | #define SO_ORIGINAL_DST 80 | |
9 | ||
10 | +/* IP Cache bits. */ | |
11 | +/* Src IP address. */ | |
12 | +#define NFC_IP_SRC 0x0001 | |
13 | +/* Dest IP address. */ | |
14 | +#define NFC_IP_DST 0x0002 | |
15 | +/* Input device. */ | |
16 | +#define NFC_IP_IF_IN 0x0004 | |
17 | +/* Output device. */ | |
18 | +#define NFC_IP_IF_OUT 0x0008 | |
19 | +/* TOS. */ | |
20 | +#define NFC_IP_TOS 0x0010 | |
21 | +/* Protocol. */ | |
22 | +#define NFC_IP_PROTO 0x0020 | |
23 | +/* IP options. */ | |
24 | +#define NFC_IP_OPTIONS 0x0040 | |
25 | +/* Frag & flags. */ | |
26 | +#define NFC_IP_FRAG 0x0080 | |
27 | + | |
28 | +/* Per-protocol information: only matters if proto match. */ | |
29 | +/* TCP flags. */ | |
30 | +#define NFC_IP_TCPFLAGS 0x0100 | |
31 | +/* Source port. */ | |
32 | +#define NFC_IP_SRC_PT 0x0200 | |
33 | +/* Dest port. */ | |
34 | +#define NFC_IP_DST_PT 0x0400 | |
35 | +/* Something else about the proto */ | |
36 | +#define NFC_IP_PROTO_UNKNOWN 0x2000 | |
37 | + | |
38 | #endif /*__LINUX_IP_NETFILTER_H*/ |