Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / include / uapi / linux / netfilter / xt_connlimit.h
1 #ifndef _XT_CONNLIMIT_H
2 #define _XT_CONNLIMIT_H
3
4 #include <linux/types.h>
5 #include <linux/netfilter.h>
6
7 struct xt_connlimit_data;
8
9 enum {
10         XT_CONNLIMIT_INVERT = 1 << 0,
11         XT_CONNLIMIT_DADDR  = 1 << 1,
12 };
13
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];
21                 };
22 #endif
23         };
24         unsigned int limit;
25         /* revision 1 */
26         __u32 flags;
27
28         /* Used internally by the kernel */
29         struct xt_connlimit_data *data __attribute__((aligned(8)));
30 };
31
32 #endif /* _XT_CONNLIMIT_H */