Merge branch 'aligned_be64' of https://github.com/rmfought/libnl
This commit is contained in:
commit
52b635f1f7
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue