netfilter: nat: un-export nf_nat_l4proto_unique_tuple
authorFlorian Westphal <fw@strlen.de>
Thu, 13 Dec 2018 15:01:28 +0000 (16:01 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Dec 2018 22:32:57 +0000 (23:32 +0100)
commit716b23c19edd47134104d39e3537d21c0b68d7d1
tree10be708d6f370e8b229d1e597ad44410f2b69ece
parent912da924a29fc6bd466b98a8791d6f7cf74caf61
netfilter: nat: un-export nf_nat_l4proto_unique_tuple

almost all l4proto->unique_tuple implementations just call this helper,
so make ->unique_tuple() optional and call its helper directly if the
l4proto doesn't override it.

This is an intermediate step to get rid of ->unique_tuple completely.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_nat_l4proto.h
net/netfilter/nf_nat_core.c
net/netfilter/nf_nat_proto_common.c
net/netfilter/nf_nat_proto_dccp.c
net/netfilter/nf_nat_proto_sctp.c
net/netfilter/nf_nat_proto_tcp.c
net/netfilter/nf_nat_proto_udp.c