1 #ifndef _XT_CONNLIMIT_H 2 #define _XT_CONNLIMIT_H 3 4 struct xt_connlimit_data; 5 6 enum { 7 XT_CONNLIMIT_INVERT = 1 << 0, 8 XT_CONNLIMIT_DADDR = 1 << 1, 9 }; 10 11 struct xt_connlimit_info { 12 union { 13 union nf_inet_addr mask; 14 union { 15 __be32 v4_mask; 16 __be32 v6_mask[4]; 17 }; 18 }; 19 unsigned int limit; 20 union { 21 /* revision 0 */ 22 unsigned int inverse; 23 24 /* revision 1 */ 25 __u32 flags; 26 }; 27 28 /* Used internally by the kernel */ 29 struct xt_connlimit_data *data __attribute__((aligned(8))); 30 }; 31 32 #endif /* _XT_CONNLIMIT_H */ 33