[netfilter-cvslog] r4257 - trunk/iptables/include
gandalf at netfilter.org
gandalf at netfilter.org
Sun Sep 11 19:32:40 CEST 2005
Author: gandalf at netfilter.org
Date: 2005-09-11 19:32:39 +0200 (Sun, 11 Sep 2005)
New Revision: 4257
Modified:
trunk/iptables/include/iptables_common.h
Log:
Add the aligned_u64 typedef, it's defined in linux/types.h in the kernel.
We can't include that header since it conflicts with sys/types.h
Modified: trunk/iptables/include/iptables_common.h
===================================================================
--- trunk/iptables/include/iptables_common.h 2005-09-11 17:26:43 UTC (rev 4256)
+++ trunk/iptables/include/iptables_common.h 2005-09-11 17:32:39 UTC (rev 4257)
@@ -7,6 +7,10 @@
PARAMETER_PROBLEM,
VERSION_PROBLEM
};
+
+/* this is a special 64bit data type that is 8-byte aligned */
+#define aligned_u64 unsigned long long __attribute__((aligned(8)))
+
extern void exit_printhelp() __attribute__((noreturn));
extern void exit_tryhelp(int) __attribute__((noreturn));
int check_inverse(const char option[], int *invert, int *optind, int argc);
More information about the netfilter-cvslog
mailing list