summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2007-12-17 22:44:47 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:59:09 -0800
commit22c2d8bca212a655c120fd6617328ffa3480afad (patch)
treec0c61cf5a2bbc8d6371255389231dfa702c786fe /include
parente79ec50b9587c175f65f98550d66ad5b96c05dd9 (diff)
downloadop-kernel-dev-22c2d8bca212a655c120fd6617328ffa3480afad.zip
op-kernel-dev-22c2d8bca212a655c120fd6617328ffa3480afad.tar.gz
[NETFILTER]: xt_connlimit: use the new union nf_inet_addr
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/xt_connlimit.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/netfilter/xt_connlimit.h b/include/linux/netfilter/xt_connlimit.h
index 37e933c..315d2dc 100644
--- a/include/linux/netfilter/xt_connlimit.h
+++ b/include/linux/netfilter/xt_connlimit.h
@@ -5,8 +5,13 @@ struct xt_connlimit_data;
struct xt_connlimit_info {
union {
- __be32 v4_mask;
- __be32 v6_mask[4];
+ union nf_inet_addr mask;
+#ifndef __KERNEL__
+ union {
+ __be32 v4_mask;
+ __be32 v6_mask[4];
+ };
+#endif
};
unsigned int limit, inverse;
OpenPOWER on IntegriCloud