]> git.ipfire.org Git - thirdparty/libnftnl.git/commitdiff
include: Sync nf_log.h with kernel headers
authorPhil Sutter <phil@nwl.cc>
Fri, 15 Dec 2023 15:15:35 +0000 (16:15 +0100)
committerPhil Sutter <phil@nwl.cc>
Wed, 6 Mar 2024 14:40:37 +0000 (15:40 +0100)
Next patch needs NF_LOG_PREFIXLEN define.

Signed-off-by: Phil Sutter <phil@nwl.cc>
include/linux/netfilter/nf_log.h

index 8be21e02387db67010fb26b50abb59201b9c0e5c..2ae00932d3d250c08e118413199a6c7d189de920 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 #ifndef _NETFILTER_NF_LOG_H
 #define _NETFILTER_NF_LOG_H
 
@@ -9,4 +10,6 @@
 #define NF_LOG_MACDECODE       0x20    /* Decode MAC header */
 #define NF_LOG_MASK            0x2f
 
+#define NF_LOG_PREFIXLEN       128
+
 #endif /* _NETFILTER_NF_LOG_H */