netfilter: xtables: replace XT_MATCH_ITERATE macro
The macro is replaced by a list.h-like foreach loop. This makes the code more inspectable. Signed-off-by:Jan Engelhardt <jengelh@medozas.de> Signed-off-by:
Patrick McHardy <kaber@trash.net>
Showing
- include/linux/netfilter/x_tables.h 9 additions, 1 deletioninclude/linux/netfilter/x_tables.h
- include/linux/netfilter_ipv4/ip_tables.h 1 addition, 5 deletionsinclude/linux/netfilter_ipv4/ip_tables.h
- include/linux/netfilter_ipv6/ip6_tables.h 1 addition, 5 deletionsinclude/linux/netfilter_ipv6/ip6_tables.h
- net/ipv4/netfilter/ip_tables.c 61 additions, 17 deletionsnet/ipv4/netfilter/ip_tables.c
- net/ipv6/netfilter/ip6_tables.c 61 additions, 17 deletionsnet/ipv6/netfilter/ip6_tables.c
- net/netfilter/xt_TCPMSS.c 8 additions, 4 deletionsnet/netfilter/xt_TCPMSS.c
Loading
Please register or sign in to comment