diff options
| -rw-r--r-- | include/linux/netfilter_arp/arp_tables.h | 4 | ||||
| -rw-r--r-- | include/linux/netfilter_ipv4/ip_tables.h | 4 | ||||
| -rw-r--r-- | include/linux/netfilter_ipv6/ip6_tables.h | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/netfilter_arp/arp_tables.h b/include/linux/netfilter_arp/arp_tables.h index f02d57436a34..adbf4bff87ed 100644 --- a/include/linux/netfilter_arp/arp_tables.h +++ b/include/linux/netfilter_arp/arp_tables.h | |||
| @@ -255,8 +255,6 @@ extern unsigned int arpt_do_table(struct sk_buff *skb, | |||
| 255 | const struct net_device *out, | 255 | const struct net_device *out, |
| 256 | struct xt_table *table); | 256 | struct xt_table *table); |
| 257 | 257 | ||
| 258 | #define ARPT_ALIGN(s) XT_ALIGN(s) | ||
| 259 | |||
| 260 | #ifdef CONFIG_COMPAT | 258 | #ifdef CONFIG_COMPAT |
| 261 | #include <net/compat.h> | 259 | #include <net/compat.h> |
| 262 | 260 | ||
| @@ -275,8 +273,6 @@ compat_arpt_get_target(struct compat_arpt_entry *e) | |||
| 275 | return (void *)e + e->target_offset; | 273 | return (void *)e + e->target_offset; |
| 276 | } | 274 | } |
| 277 | 275 | ||
| 278 | #define COMPAT_ARPT_ALIGN(s) COMPAT_XT_ALIGN(s) | ||
| 279 | |||
| 280 | #endif /* CONFIG_COMPAT */ | 276 | #endif /* CONFIG_COMPAT */ |
| 281 | #endif /*__KERNEL__*/ | 277 | #endif /*__KERNEL__*/ |
| 282 | #endif /* _ARPTABLES_H */ | 278 | #endif /* _ARPTABLES_H */ |
diff --git a/include/linux/netfilter_ipv4/ip_tables.h b/include/linux/netfilter_ipv4/ip_tables.h index d0fef0a436f9..64a5d95c58e8 100644 --- a/include/linux/netfilter_ipv4/ip_tables.h +++ b/include/linux/netfilter_ipv4/ip_tables.h | |||
| @@ -282,8 +282,6 @@ extern unsigned int ipt_do_table(struct sk_buff *skb, | |||
| 282 | const struct net_device *out, | 282 | const struct net_device *out, |
| 283 | struct xt_table *table); | 283 | struct xt_table *table); |
| 284 | 284 | ||
| 285 | #define IPT_ALIGN(s) XT_ALIGN(s) | ||
| 286 | |||
| 287 | #ifdef CONFIG_COMPAT | 285 | #ifdef CONFIG_COMPAT |
| 288 | #include <net/compat.h> | 286 | #include <net/compat.h> |
| 289 | 287 | ||
| @@ -304,8 +302,6 @@ compat_ipt_get_target(struct compat_ipt_entry *e) | |||
| 304 | return (void *)e + e->target_offset; | 302 | return (void *)e + e->target_offset; |
| 305 | } | 303 | } |
| 306 | 304 | ||
| 307 | #define COMPAT_IPT_ALIGN(s) COMPAT_XT_ALIGN(s) | ||
| 308 | |||
| 309 | #endif /* CONFIG_COMPAT */ | 305 | #endif /* CONFIG_COMPAT */ |
| 310 | #endif /*__KERNEL__*/ | 306 | #endif /*__KERNEL__*/ |
| 311 | #endif /* _IPTABLES_H */ | 307 | #endif /* _IPTABLES_H */ |
diff --git a/include/linux/netfilter_ipv6/ip6_tables.h b/include/linux/netfilter_ipv6/ip6_tables.h index dca11186e522..c9784f7a9c1f 100644 --- a/include/linux/netfilter_ipv6/ip6_tables.h +++ b/include/linux/netfilter_ipv6/ip6_tables.h | |||
| @@ -292,8 +292,6 @@ extern int ip6t_ext_hdr(u8 nexthdr); | |||
| 292 | extern int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset, | 292 | extern int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset, |
| 293 | int target, unsigned short *fragoff); | 293 | int target, unsigned short *fragoff); |
| 294 | 294 | ||
| 295 | #define IP6T_ALIGN(s) XT_ALIGN(s) | ||
| 296 | |||
| 297 | #ifdef CONFIG_COMPAT | 295 | #ifdef CONFIG_COMPAT |
| 298 | #include <net/compat.h> | 296 | #include <net/compat.h> |
| 299 | 297 | ||
| @@ -313,8 +311,6 @@ compat_ip6t_get_target(struct compat_ip6t_entry *e) | |||
| 313 | return (void *)e + e->target_offset; | 311 | return (void *)e + e->target_offset; |
| 314 | } | 312 | } |
| 315 | 313 | ||
| 316 | #define COMPAT_IP6T_ALIGN(s) COMPAT_XT_ALIGN(s) | ||
| 317 | |||
| 318 | #endif /* CONFIG_COMPAT */ | 314 | #endif /* CONFIG_COMPAT */ |
| 319 | #endif /*__KERNEL__*/ | 315 | #endif /*__KERNEL__*/ |
| 320 | #endif /* _IP6_TABLES_H */ | 316 | #endif /* _IP6_TABLES_H */ |
