summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-11-14 15:55:44 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-11-14 15:55:44 +0000
commit34669ee5e3ba73b5631ad08d165f5901a6dc492e (patch)
tree6054913ddb49e198993fff55afe7d6655799c1d0 /include
parent83328e150e3e0ead520e9d7ce18ff9b210e04219 (diff)
sync userspace header with current kernel file
Diffstat (limited to 'include')
-rw-r--r--include/libnetfilter_log/linux_nfnetlink_log.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libnetfilter_log/linux_nfnetlink_log.h b/include/libnetfilter_log/linux_nfnetlink_log.h
index f52cb2f..4b32211 100644
--- a/include/libnetfilter_log/linux_nfnetlink_log.h
+++ b/include/libnetfilter_log/linux_nfnetlink_log.h
@@ -1,6 +1,10 @@
#ifndef _NFNETLINK_LOG_H
#define _NFNETLINK_LOG_H
+#ifndef aligned_u64
+#define aligned_u64 unsigned long long __attribute__((aligned(8)))
+#endif
+
/* This file describes the netlink messages (i.e. 'protocol packets'),
* and not any kind of function definitions. It is shared between kernel and
* userspace. Don't put kernel specific stuff in here */
@@ -8,10 +12,6 @@
#include <linux/types.h>
#include <libnfnetlink/linux_nfnetlink.h>
-#ifndef aligned_u64
-#define aligned_u64 unsigned long long __attribute__((aligned(8)))
-#endif
-
enum nfulnl_msg_types {
NFULNL_MSG_PACKET, /* packet from kernel to userspace */
NFULNL_MSG_CONFIG, /* connect to a particular queue */