Merge branch 'aligned_be64' of https://github.com/rmfought/libnl

This commit is contained in:
Thomas Graf 2012-12-17 09:18:47 +01:00
commit 52b635f1f7
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 */