Files
linamh/sys-kernel/linux-headers/files/linux-headers-2.6.39.4-nf-log-uapi.patch
2026-06-29 14:48:02 +02:00

20 lines
749 B
Diff

diff -Naur linux-2.6.39.4.orig/include/linux/netfilter/nf_log.h linux-2.6.39.4/include/linux/netfilter/nf_log.h
--- linux-2.6.39.4.orig/include/linux/netfilter/nf_log.h 1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.39.4/include/linux/netfilter/nf_log.h 2026-06-28 13:30:00.000000000 +0200
@@ -0,0 +1,15 @@
+#ifndef _NETFILTER_NF_LOG_H
+#define _NETFILTER_NF_LOG_H
+
+#define NF_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */
+#define NF_LOG_TCPOPT 0x02 /* Log TCP options */
+#define NF_LOG_IPOPT 0x04 /* Log IP options */
+#define NF_LOG_UID 0x08 /* Log UID owning local socket */
+#define NF_LOG_MASK 0x0f
+
+#define NF_LOG_TYPE_LOG 0x01
+#define NF_LOG_TYPE_ULOG 0x02
+
+#define NF_LOG_PREFIXLEN 128
+
+#endif /* _NETFILTER_NF_LOG_H */