netfilter: add struct nf_nat_hook and use it
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 23 May 2018 07:17:19 +0000 (09:17 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 23 May 2018 07:26:07 +0000 (09:26 +0200)
commit2c205dd3981f79cef097207ba9c61c2260812f39
tree6783af0ba95fd8700459bec6fec544c67753989c
parent1f4b24397d3e164dde7026b91056e67304724fb6
netfilter: add struct nf_nat_hook and use it

Move decode_session() and parse_nat_setup_hook() indirections to struct
nf_nat_hook structure.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter.h
include/net/netfilter/nf_nat_core.h
net/netfilter/core.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nf_nat_core.c