spi-topcliff-pch: Fix issue for transmitting over 4KByte
[zen-stable.git] / include / linux / netfilter / xt_connlimit.h
blobd1366f05d1b26076945e0a2cc791c6d0909347ad
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 union {
26 /* revision 0 */
27 unsigned int inverse;
29 /* revision 1 */
30 __u32 flags;
33 /* Used internally by the kernel */
34 struct xt_connlimit_data *data __attribute__((aligned(8)));
37 #endif /* _XT_CONNLIMIT_H */