summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2003-07-23 21:07:04 +0000
committerBart De Schuymer <bdschuym@pandora.be>2003-07-23 21:07:04 +0000
commitf81c270327779cfeba3fef74705e6d89c7e7683e (patch)
treed12dc881c7f597df47779922ee32bd7604e9fb1c /include
parenta5dde3b873f1958339440fcf5937fdd5ff89da4c (diff)
downloadebtables-f81c270327779cfeba3fef74705e6d89c7e7683e.tar.gz
ebtables-f81c270327779cfeba3fef74705e6d89c7e7683e.tar.bz2
ebtables-f81c270327779cfeba3fef74705e6d89c7e7683e.zip
support sparc64
Diffstat (limited to 'include')
-rw-r--r--include/ebtables_u.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ebtables_u.h b/include/ebtables_u.h
index d17c4a4..914a0f9 100644
--- a/include/ebtables_u.h
+++ b/include/ebtables_u.h
@@ -26,6 +26,11 @@
#include <netinet/in.h>
#include <linux/netfilter_bridge/ebtables.h>
+#ifndef EBT_MIN_ALIGN
+#define EBT_MIN_ALIGN (__alignof__(struct ebt_entry_target))
+#endif
+#define EBT_ALIGN(s) (((s) + (EBT_MIN_ALIGN-1)) & ~(EBT_MIN_ALIGN-1))
+
struct ebt_u_entries
{
int policy;