netfilter: provide nft_ctx in object init function
authorFlorian Westphal <fw@strlen.de>
Wed, 8 Mar 2017 15:48:43 +0000 (16:48 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 13 Mar 2017 12:42:00 +0000 (13:42 +0100)
commit84fba05511c8e0e1a6e6c8ec2c3c85616c39a8c1
treef466214811e3a0002a7ca3e4b23a8f1d5c43f72f
parentc1183db8853d14df390748aa6baa69734db151aa
netfilter: provide nft_ctx in object init function

this is needed by the upcoming ct helper object type --
we'd like to be able use the table family (ip, ip6, inet) to figure
out which helper has to be requested.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_counter.c
net/netfilter/nft_quota.c