netfilter: core: export raw versions of add/delete hook functions
authorFlorian Westphal <fw@strlen.de>
Mon, 14 May 2018 21:46:56 +0000 (23:46 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 23 May 2018 07:14:05 +0000 (09:14 +0200)
commit06cad3acf07893820391bda912bebc3a8c058994
tree7980b3592fd44f4e6d2ab923d4a914d90de1ab2b
parent4e25ceb80b585891c5e2a6edfa481bc4709e9544
netfilter: core: export raw versions of add/delete hook functions

This will allow the nat core to reuse the nf_hook infrastructure
to maintain nat lookup functions.

The raw versions don't assume a particular hook location, the
functions get added/deleted from the hook blob that is passed to the
functions.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/core.c
net/netfilter/nf_internals.h