]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser: allow to define maps that contain timeouts and expectations
authorFlorian Westphal <fw@strlen.de>
Fri, 1 Mar 2024 12:59:36 +0000 (13:59 +0100)
committerFlorian Westphal <fw@strlen.de>
Tue, 5 Mar 2024 20:55:20 +0000 (21:55 +0100)
commitbb2054cfd99097973d98e231066297e9e8632a61
tree25bb54a1ad562979128dbfc42e7523713f7c6109
parentff6135270616ccf4712990246cae850e64253516
parser: allow to define maps that contain timeouts and expectations

Its currently not possible to use ct timeouts/expectations/helpers
in objref maps, bison parser lacks the relevant keywords.

This change adds support for timeouts and expectations.
Ct helpers are more problematic, this will come in a different change.

Support is only added for the "typeof" keyword, otherwise we'd
need to add pseudo-datatypes as well, but making "ct expectation"
available as "type" as well might be confusing.

Signed-off-by: Florian Westphal <fw@strlen.de>
src/parser_bison.y