Statements are elements of rules. Non-terminal statement are in particular passive with respect to their rules (and thus automatically with respect to the whole ruleset). In “Continue ruleset evaluation”, it’s not necessary to mention the ruleset as it’s obvious that the evaluation of the current chain will be continued. Signed-off-by: Christoph Anton Mitterer --- doc/nft.txt | 6 +++--- doc/statements.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/nft.txt b/doc/nft.txt index c7d8500d..f52b7fef 100644 --- a/doc/nft.txt +++ b/doc/nft.txt @@ -910,9 +910,9 @@ actions, such as logging, rejecting a packet, etc. + Statements exist in two kinds. Terminal statements unconditionally terminate evaluation of the current rule, non-terminal statements either only conditionally or never terminate evaluation of the current rule, in other words, -they are passive from the ruleset evaluation perspective. There can be an -arbitrary amount of non-terminal statements in a rule, but only a single -terminal statement as the final statement. +they are passive from the rule evaluation perspective. There can be an arbitrary +amount of non-terminal statements in a rule, but only a single terminal +statement as the final statement. include::statements.txt[] diff --git a/doc/statements.txt b/doc/statements.txt index b085b3ab..bddbf12f 100644 --- a/doc/statements.txt +++ b/doc/statements.txt @@ -41,7 +41,7 @@ evaluated anymore for the packet. *queue*:: Terminate ruleset evaluation and queue the packet to userspace. Userspace must provide a drop or accept verdict. In case of accept, processing resumes with the next base chain hook, not the rule following the queue verdict. -*continue*:: Continue ruleset evaluation with the next rule. This +*continue*:: Continue evaluation with the next rule. This is the default behaviour in case a rule issues no verdict. *return*:: In a regular chain that was called via *jump*, end evaluation of that chain and return to the calling chain, continuing evaluation there at the rule -- 2.51.0