netfilter: xtables: replace XT_ENTRY_ITERATE macro
commit72b2b1dd77e8feb0b7c0b26dee58f2a1e2c9828c
authorJan Engelhardt <jengelh@medozas.de>
Wed, 24 Feb 2010 17:32:59 +0000 (24 18:32 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 24 Feb 2010 17:32:59 +0000 (24 18:32 +0100)
tree4289fef5441a1664f60a17cb473d657f77cf1112
parent8ccb92ad41cb311e52ad1b1fe77992c7f47a3b63
netfilter: xtables: replace XT_ENTRY_ITERATE macro

The macro is replaced by a list.h-like foreach loop. This makes
the code much more inspectable.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/x_tables.h
include/linux/netfilter_arp/arp_tables.h
include/linux/netfilter_ipv4/ip_tables.h
include/linux/netfilter_ipv6/ip6_tables.h
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c