summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2005-07-10 14:38:37 +0000
committerHarald Welte <laforge@gnumonks.org>2005-07-10 14:38:37 +0000
commit63d68bf3a1e86e2c96e520f71c34519112c66453 (patch)
tree9881f1d0623b8b7fa9d5da9d9afb3fab15cfc428 /include
parent20900e1395028d3a4f0b374b1ca957fef33f85d2 (diff)
we need to have this header file included, since old kernels don't define IP6T_LOG_UID.
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter_ipv6/ip6t_LOG.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv6/ip6t_LOG.h b/include/linux/netfilter_ipv6/ip6t_LOG.h
new file mode 100644
index 00000000..42996a43
--- /dev/null
+++ b/include/linux/netfilter_ipv6/ip6t_LOG.h
@@ -0,0 +1,16 @@
+#ifndef _IP6T_LOG_H
+#define _IP6T_LOG_H
+
+#define IP6T_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */
+#define IP6T_LOG_TCPOPT 0x02 /* Log TCP options */
+#define IP6T_LOG_IPOPT 0x04 /* Log IP options */
+#define IP6T_LOG_UID 0x08 /* Log UID owning local socket */
+#define IP6T_LOG_MASK 0x0f
+
+struct ip6t_log_info {
+ unsigned char level;
+ unsigned char logflags;
+ char prefix[30];
+};
+
+#endif /*_IPT_LOG_H*/