summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_ULOG.h
diff options
context:
space:
mode:
authorgandalf <gandalf>2004-05-26 15:58:07 +0000
committergandalf <gandalf>2004-05-26 15:58:07 +0000
commit74c5da055ef1239a504d4624a7e1a1e5e46a5cf0 (patch)
tree37c3d4dafd4a06e38a554207890185404933d2ed /include/linux/netfilter_ipv4/ipt_ULOG.h
parent44f3f9a4ea6c8c7c2caa8c8b883a93cc8210d43b (diff)
Fix 64bit kernel / 32bit userspace issue.
Sync header with kernel.
Diffstat (limited to 'include/linux/netfilter_ipv4/ipt_ULOG.h')
-rw-r--r--include/linux/netfilter_ipv4/ipt_ULOG.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_ULOG.h b/include/linux/netfilter_ipv4/ipt_ULOG.h
index 86a99ee..f267ab8 100644
--- a/include/linux/netfilter_ipv4/ipt_ULOG.h
+++ b/include/linux/netfilter_ipv4/ipt_ULOG.h
@@ -1,4 +1,4 @@
-/* Header file for IP tables userspace logging, Version 1.8
+/* Header file for IP tables userspace logging, Version 1.8
*
* (C) 2000-2002 by Harald Welte <laforge@gnumonks.org>
*
@@ -11,6 +11,9 @@
#define NETLINK_NFLOG 5
#endif
+#define ULOG_DEFAULT_NLGROUP 1
+#define ULOG_DEFAULT_QTHRESHOLD 1
+
#define ULOG_MAC_LEN 80
#define ULOG_PREFIX_LEN 32
@@ -23,8 +26,13 @@
/* private data structure for each rule with a ULOG target */
struct ipt_ulog_info {
unsigned int nl_group;
+#ifdef KERNEL_64_USERSPACE_32
+ unsigned long long copy_range;
+ unsigned long long qthreshold;
+#else
size_t copy_range;
size_t qthreshold;
+#endif
char prefix[ULOG_PREFIX_LEN];
};