summaryrefslogtreecommitdiffstats
path: root/include/datatype.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-12-27 22:15:17 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-01-03 20:53:37 +0100
commita3e60492a684be09374d0649735da42bdadc6b48 (patch)
treeb25f36eccccc7af644bc7111dba273fda4ad9764 /include/datatype.h
parent19fd6ae16cbc61a34f046accf3e6076d8b1128e6 (diff)
parser: restrict relational rhs expression recursion
The relational expression allows recursion from both sides, this doesn't allow us to know what hand side the input is coming from. This patch adds a new expr_rhs rule that specifies what can be found on the constant side of the relational. Besides making it easier to understand what is actually supported, this allows us to use reserve words both as constant and statements. This is used by the following patch to allow to use redirect as constant from the icmp payload match. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/datatype.h')
0 files changed, 0 insertions, 0 deletions