From 9f3cce668b72c9ec9d9e0a6071d132a8f35d7b70 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Wed, 27 Apr 2016 12:29:49 +0100 Subject: stmt: support generating stateful statements outside of rule context The flow statement contains a stateful per flow statement, which is not directly part of the rule. Allow generating these statements without adding them to the rule and mark the supported statements using a new flag STMT_F_STATEFUL. Signed-off-by: Patrick McHardy Signed-off-by: Pablo Neira Ayuso --- include/statement.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/statement.h') diff --git a/include/statement.h b/include/statement.h index e7872b0b..a6a86f94 100644 --- a/include/statement.h +++ b/include/statement.h @@ -197,6 +197,7 @@ struct stmt_ops { enum stmt_flags { STMT_F_TERMINAL = 0x1, + STMT_F_STATEFUL = 0x2, }; /** -- cgit v1.2.3