]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: prepare for future ct timeout policy support
authorFlorian Westphal <fw@strlen.de>
Wed, 24 May 2017 18:05:54 +0000 (20:05 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 27 Sep 2017 18:01:54 +0000 (20:01 +0200)
commit14fd3ad720f6ea629814b8e9307169010f596f6b
treef5d4dc764d3aed0d174d6cbfaa7abff5649e25df
parent25831cdef94b4b86d12e3eec134dd029c37c479e
src: prepare for future ct timeout policy support

Change all places that expect ct helper tokens (ct helper configuration)
to CT HELPER.  ct_obj_kind is removed.

When we add ct timeout support, we will add a new ct_timeout_block,
plus extra rules.  We won't extend ct_block, it prevents the parser
from detecting bogus syntax that only makes sense for ct helper but
not for something else for instance.

ct_block should be renamed to ct_helper_block, will be done in
followup patch.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/ct.h
include/rule.h
src/ct.c
src/parser_bison.y
src/rule.c