netfilter: nat: remove nf_nat_l3proto.h and nf_nat_core.h
The l3proto name is gone, its header file is the last trace. While at it, also remove nf_nat_core.h, its very small and all users include nf_nat.h too. before: text data bss dec hex filename 22948 1612 4136 28696 7018 nf_nat.ko after removal of l3proto register/unregister functions: text data bss dec hex filename 22196 1516 4136 27848 6cc8 nf_nat.ko checkpatch complains about overly long lines, but line breaks do not make things more readable and the line length gets smaller here, not larger. Signed-off-by:Florian Westphal <fw@strlen.de> Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org>
Showing
- include/net/netfilter/nf_nat.h 39 additions, 0 deletionsinclude/net/netfilter/nf_nat.h
- include/net/netfilter/nf_nat_core.h 0 additions, 29 deletionsinclude/net/netfilter/nf_nat_core.h
- include/net/netfilter/nf_nat_l3proto.h 0 additions, 26 deletionsinclude/net/netfilter/nf_nat_l3proto.h
- net/ipv4/netfilter/iptable_nat.c 3 additions, 5 deletionsnet/ipv4/netfilter/iptable_nat.c
- net/ipv4/netfilter/nft_chain_nat_ipv4.c 2 additions, 4 deletionsnet/ipv4/netfilter/nft_chain_nat_ipv4.c
- net/ipv6/netfilter/ip6table_nat.c 3 additions, 5 deletionsnet/ipv6/netfilter/ip6table_nat.c
- net/ipv6/netfilter/nft_chain_nat_ipv6.c 2 additions, 4 deletionsnet/ipv6/netfilter/nft_chain_nat_ipv6.c
- net/netfilter/nf_conntrack_core.c 0 additions, 1 deletionnet/netfilter/nf_conntrack_core.c
- net/netfilter/nf_conntrack_netlink.c 1 addition, 1 deletionnet/netfilter/nf_conntrack_netlink.c
- net/netfilter/nf_nat_core.c 0 additions, 2 deletionsnet/netfilter/nf_nat_core.c
- net/netfilter/nf_nat_helper.c 0 additions, 2 deletionsnet/netfilter/nf_nat_helper.c
- net/netfilter/nf_nat_proto.c 8 additions, 10 deletionsnet/netfilter/nf_nat_proto.c
- net/netfilter/nft_nat.c 0 additions, 2 deletionsnet/netfilter/nft_nat.c
- net/netfilter/xt_nat.c 1 addition, 1 deletionnet/netfilter/xt_nat.c
- net/openvswitch/conntrack.c 1 addition, 3 deletionsnet/openvswitch/conntrack.c
Loading
Please register or sign in to comment