xt_connlimit.h revision 978e27e8f8c2e49d0528c6c4ae3a56627fbe8492
1#ifndef _XT_CONNLIMIT_H
2#define _XT_CONNLIMIT_H
3
4struct xt_connlimit_data;
5
6struct xt_connlimit_info {
7	union {
8		union nf_inet_addr mask;
9		union {
10			__be32 v4_mask;
11			__be32 v6_mask[4];
12		};
13	};
14	unsigned int limit, inverse;
15
16	/* Used internally by the kernel */
17	struct xt_connlimit_data *data __attribute__((aligned(8)));
18};
19
20#endif /* _XT_CONNLIMIT_H */
21