Adding support for MOXA ART SoC. Testing port of linux-2.6.32.60-moxart.
[linux-3.6.7-moxart.git] / include / linux / netfilter / xt_connlimit.h
blobf1656096121e045ff8dcd8ab4d140e7c9a312396
1 #ifndef _XT_CONNLIMIT_H
2 #define _XT_CONNLIMIT_H
4 #include <linux/types.h>
5 #include <linux/netfilter.h>
7 struct xt_connlimit_data;
9 enum {
10 XT_CONNLIMIT_INVERT = 1 << 0,
11 XT_CONNLIMIT_DADDR = 1 << 1,
14 struct xt_connlimit_info {
15 union {
16 union nf_inet_addr mask;
17 #ifndef __KERNEL__
18 union {
19 __be32 v4_mask;
20 __be32 v6_mask[4];
22 #endif
24 unsigned int limit;
25 /* revision 1 */
26 __u32 flags;
28 /* Used internally by the kernel */
29 struct xt_connlimit_data *data __attribute__((aligned(8)));
32 #endif /* _XT_CONNLIMIT_H */