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 | f81c270327779cfeba3fef74705e6d89c7e7683e (patch) | |
tree | d12dc881c7f597df47779922ee32bd7604e9fb1c /include | |
parent | a5dde3b873f1958339440fcf5937fdd5ff89da4c (diff) | |
download | ebtables-f81c270327779cfeba3fef74705e6d89c7e7683e.tar.gz ebtables-f81c270327779cfeba3fef74705e6d89c7e7683e.tar.bz2 ebtables-f81c270327779cfeba3fef74705e6d89c7e7683e.zip |
support sparc64
Diffstat (limited to 'include')
-rw-r--r-- | include/ebtables_u.h | 5 |
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; |