diff options
Diffstat (limited to 'include/libiptc')
-rw-r--r-- | include/libiptc/libip6tc.h | 5 | ||||
-rw-r--r-- | include/libiptc/libiptc.h | 9 |
2 files changed, 0 insertions, 14 deletions
diff --git a/include/libiptc/libip6tc.h b/include/libiptc/libip6tc.h index 9796574f..4f2d1f87 100644 --- a/include/libiptc/libip6tc.h +++ b/include/libiptc/libip6tc.h @@ -11,11 +11,6 @@ #endif #include <linux/netfilter_ipv6/ip6_tables.h> -#ifndef IP6T_MIN_ALIGN -#define IP6T_MIN_ALIGN (__alignof__(struct ip6t_entry)) -#endif -#define IP6T_ALIGN(s) (((s) + (IP6T_MIN_ALIGN-1)) & ~(IP6T_MIN_ALIGN-1)) - struct ip6tc_handle; typedef char ip6t_chainlabel[32]; diff --git a/include/libiptc/libiptc.h b/include/libiptc/libiptc.h index 4355ac92..3497d6ae 100644 --- a/include/libiptc/libiptc.h +++ b/include/libiptc/libiptc.h @@ -15,15 +15,6 @@ extern "C" { #endif -#ifndef IPT_MIN_ALIGN -/* ipt_entry has pointers and u_int64_t's in it, so if you align to - it, you'll also align to any crazy matches and targets someone - might write */ -#define IPT_MIN_ALIGN (__alignof__(struct ipt_entry)) -#endif - -#define IPT_ALIGN(s) (((s) + ((IPT_MIN_ALIGN)-1)) & ~((IPT_MIN_ALIGN)-1)) - struct iptc_handle; typedef char ipt_chainlabel[32]; |