netfilter: xtables: compact table hook functions (1/2)
This patch combines all the per-hook functions in a given table into
a single function. Together with the 2nd patch, further
simplifications are possible up to the point of output code reduction.
Signed-off-by:
Jan Engelhardt <jengelh@medozas.de>
Showing
- net/ipv4/netfilter/arptable_filter.c 12 additions, 18 deletionsnet/ipv4/netfilter/arptable_filter.c
- net/ipv4/netfilter/iptable_filter.c 16 additions, 34 deletionsnet/ipv4/netfilter/iptable_filter.c
- net/ipv4/netfilter/iptable_mangle.c 21 additions, 50 deletionsnet/ipv4/netfilter/iptable_mangle.c
- net/ipv4/netfilter/iptable_raw.c 9 additions, 17 deletionsnet/ipv4/netfilter/iptable_raw.c
- net/ipv4/netfilter/iptable_security.c 17 additions, 33 deletionsnet/ipv4/netfilter/iptable_security.c
- net/ipv6/netfilter/ip6table_filter.c 11 additions, 29 deletionsnet/ipv6/netfilter/ip6table_filter.c
- net/ipv6/netfilter/ip6table_mangle.c 20 additions, 30 deletionsnet/ipv6/netfilter/ip6table_mangle.c
- net/ipv6/netfilter/ip6table_raw.c 9 additions, 17 deletionsnet/ipv6/netfilter/ip6table_raw.c
- net/ipv6/netfilter/ip6table_security.c 11 additions, 30 deletionsnet/ipv6/netfilter/ip6table_security.c
Loading
Please register or sign in to comment