dect
/
libnl
Archived
13
0
Fork 0

Re-adding #defines for __aligned_be64 for older kernels

This commit is contained in:
Rich Fought 2012-12-13 14:23:28 -08:00
parent 7c85b8a53b
commit 25c407c71f
2 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -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 */