8b6f3f62fe
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
23 lines
387 B
C
23 lines
387 B
C
#ifndef _XT_CONNLIMIT_H
|
|
#define _XT_CONNLIMIT_H
|
|
|
|
struct xt_connlimit_data;
|
|
|
|
struct xt_connlimit_info {
|
|
union {
|
|
union nf_inet_addr mask;
|
|
#ifndef __KERNEL__
|
|
union {
|
|
__be32 v4_mask;
|
|
__be32 v6_mask[4];
|
|
};
|
|
#endif
|
|
};
|
|
unsigned int limit, inverse;
|
|
|
|
/* Used internally by the kernel */
|
|
struct xt_connlimit_data *data __attribute__((aligned(8)));
|
|
};
|
|
|
|
#endif /* _XT_CONNLIMIT_H */
|