diff options
author | Thomas Graf <tgraf@suug.ch> | 2012-12-17 09:18:47 +0100 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2012-12-17 09:18:47 +0100 |
commit | 52b635f1f7c8509b99f944185c6545d81df750a2 (patch) | |
tree | 142ab436cf7ddea0dd6ce49aa0759c5022799996 | |
parent | 89e1b30256a0b98b30c18d0a06f55a1262a8dd85 (diff) | |
parent | 25c407c71f3e11b0581bb8fb83dc7b3aa53a9c94 (diff) | |
download | libnl-52b635f1f7c8509b99f944185c6545d81df750a2.tar.gz |
Merge branch 'aligned_be64' of https://github.com/rmfought/libnl
-rw-r--r-- | include/linux/netfilter/nfnetlink_log.h | 4 | ||||
-rw-r--r-- | include/linux/netfilter/nfnetlink_queue.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/netfilter/nfnetlink_log.h b/include/linux/netfilter/nfnetlink_log.h index 90c2c95..2cfbf13 100644 --- a/include/linux/netfilter/nfnetlink_log.h +++ b/include/linux/netfilter/nfnetlink_log.h @@ -5,6 +5,10 @@ * and not any kind of function definitions. It is shared between kernel and * userspace. Don't put kernel specific stuff in here */ +#ifndef __aligned_be64 +#define __aligned_be64 u_int64_t __attribute__((aligned(8))) +#endif + #include <linux/types.h> #include <linux/netfilter/nfnetlink.h> diff --git a/include/linux/netfilter/nfnetlink_queue.h b/include/linux/netfilter/nfnetlink_queue.h index 70ec8c2..95af967 100644 --- a/include/linux/netfilter/nfnetlink_queue.h +++ b/include/linux/netfilter/nfnetlink_queue.h @@ -4,6 +4,10 @@ #include <linux/types.h> #include <linux/netfilter/nfnetlink.h> +#ifndef __aligned_be64 +#define __aligned_be64 u_int64_t __attribute__((aligned(8))) +#endif + enum nfqnl_msg_types { NFQNL_MSG_PACKET, /* packet from kernel to userspace */ NFQNL_MSG_VERDICT, /* verdict from userspace to kernel */ |