summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2016-04-27 12:29:49 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-05-13 19:30:29 +0200
commit9f3cce668b72c9ec9d9e0a6071d132a8f35d7b70 (patch)
treef0067fa2e8083c10644c87b1b904fb0f937c8791 /include
parentcca234097a46c8e2e6fcf2e5d34a973dda103a10 (diff)
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 <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/statement.h1
1 files changed, 1 insertions, 0 deletions
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,
};
/**