drivercore: revert addition of of_match to struct device
[deliverable/linux.git] / include / linux / netfilter / xt_connlimit.h
1 #ifndef _XT_CONNLIMIT_H
2 #define _XT_CONNLIMIT_H
3
4 #include <linux/types.h>
5
6 struct xt_connlimit_data;
7
8 enum {
9 XT_CONNLIMIT_INVERT = 1 << 0,
10 XT_CONNLIMIT_DADDR = 1 << 1,
11 };
12
13 struct xt_connlimit_info {
14 union {
15 union nf_inet_addr mask;
16 #ifndef __KERNEL__
17 union {
18 __be32 v4_mask;
19 __be32 v6_mask[4];
20 };
21 #endif
22 };
23 unsigned int limit;
24 union {
25 /* revision 0 */
26 unsigned int inverse;
27
28 /* revision 1 */
29 __u32 flags;
30 };
31
32 /* Used internally by the kernel */
33 struct xt_connlimit_data *data __attribute__((aligned(8)));
34 };
35
36 #endif /* _XT_CONNLIMIT_H */
This page took 0.030697 seconds and 5 git commands to generate.