]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb26674885fd24b4f0af36cb36cfcd95a7ed3a07f
tree7980b3592fd44f4e6d2ab923d4a914d90de1ab2b
parent0dd87b9f8927eef28139476c9aee6b2123125465
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