diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2003-07-23 21:07:04 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2003-07-23 21:07:04 +0000 |
commit | bb2f980bfd2f23bdd21348c7e63a42e5d3089753 (patch) | |
tree | 8d4a5e01ba07b901b9b778b118552bc049e56f27 /userspace/ebtables2/include/ebtables_u.h | |
parent | f8e5dc467e2a2d17e18a292b07069011401e69d3 (diff) |
support sparc64
Diffstat (limited to 'userspace/ebtables2/include/ebtables_u.h')
-rw-r--r-- | userspace/ebtables2/include/ebtables_u.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/userspace/ebtables2/include/ebtables_u.h b/userspace/ebtables2/include/ebtables_u.h index d17c4a4..914a0f9 100644 --- a/userspace/ebtables2/include/ebtables_u.h +++ b/userspace/ebtables2/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; |