Re-adding #defines for __aligned_be64 for older kernels
This commit is contained in:
parent
7c85b8a53b
commit
25c407c71f
|
@ -5,6 +5,10 @@
|
||||||
* and not any kind of function definitions. It is shared between kernel and
|
* and not any kind of function definitions. It is shared between kernel and
|
||||||
* userspace. Don't put kernel specific stuff in here */
|
* 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/types.h>
|
||||||
#include <linux/netfilter/nfnetlink.h>
|
#include <linux/netfilter/nfnetlink.h>
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/netfilter/nfnetlink.h>
|
#include <linux/netfilter/nfnetlink.h>
|
||||||
|
|
||||||
|
#ifndef __aligned_be64
|
||||||
|
#define __aligned_be64 u_int64_t __attribute__((aligned(8)))
|
||||||
|
#endif
|
||||||
|
|
||||||
enum nfqnl_msg_types {
|
enum nfqnl_msg_types {
|
||||||
NFQNL_MSG_PACKET, /* packet from kernel to userspace */
|
NFQNL_MSG_PACKET, /* packet from kernel to userspace */
|
||||||
NFQNL_MSG_VERDICT, /* verdict from userspace to kernel */
|
NFQNL_MSG_VERDICT, /* verdict from userspace to kernel */
|
||||||
|
|
Reference in New Issue