[NETFILTER]: nf_nat: move NAT ctnetlink helpers to nf_nat_proto_common
authorPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:47 +0000 (11:15 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:47 +0000 (11:15 +0200)
commit535b57c7c1524125444aa1b874332f6ff1608ef5
treec127d9bce1b29158343447967c50edd51e357890
parent5abd363f738dcd048ee790fb9b84d0768a8a407f
[NETFILTER]: nf_nat: move NAT ctnetlink helpers to nf_nat_proto_common

Move to nf_nat_proto_common and rename to nf_nat_proto_... since they're
also used by protocols that don't have port numbers.

Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/netfilter/nf_nat_protocol.h
net/ipv4/netfilter/nf_nat_core.c
net/ipv4/netfilter/nf_nat_proto_common.c
net/ipv4/netfilter/nf_nat_proto_gre.c
net/ipv4/netfilter/nf_nat_proto_icmp.c
net/ipv4/netfilter/nf_nat_proto_tcp.c
net/ipv4/netfilter/nf_nat_proto_udp.c