netfilter: nat: move nlattr parse and xfrm session decode to core
authorFlorian Westphal <fw@strlen.de>
Tue, 19 Feb 2019 16:38:20 +0000 (17:38 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 27 Feb 2019 09:49:42 +0000 (10:49 +0100)
commit096d09067a67702f9802e5b3a0fc2ea9c22f1cf6
tree605aea90de98335f1eb91c32c027833241bd9bfa
parentd1aca8ab3104aa7131f5ab144c6f586b54df084b
netfilter: nat: move nlattr parse and xfrm session decode to core

None of these functions calls any external functions, moving them allows
to avoid both the indirection and a need to export these symbols.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_nat_l3proto.h
net/ipv4/netfilter/nf_nat_l3proto_ipv4.c
net/ipv6/netfilter/nf_nat_l3proto_ipv6.c
net/netfilter/nf_nat_core.c