doc: remove queue from verdict list
Florian Westphal
maintainerPATCH 1/1 doc: remove queue from verdict list
While its correct that the queue statement is internally implemented via the queue verdict, this is an implementation detail. We don't list "stolen" as a verdict either.
nft ... queue will always use the nft_queue statement, so move the reinject detail from statements to queue statement and remove this.
Signed-off-by Florian Westphal <[email protected]>
--- doc/statements.txt | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)
doc/statements.txt +5 -9
@@ -4,7 +4,7 @@ The verdict statement alters control flow in the ruleset and issues policy decis [verse] ____ -{*accept* | *drop* | *queue* | *continue* | *return*} +{*accept* | *drop* | *continue* | *return*} {*jump* | *goto*} 'CHAIN' 'CHAIN' := 'chain_name' | *{* 'statement' ... *}*
@@ -22,11 +22,6 @@ afterwards in the processing pipeline. The drop occurs instantly, no further chains or hooks are evaluated. It is not possible to accept the packet in a later chain again, as those are not 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 evaluation with the next rule. This - is the default behaviour in case a rule issues no verdict. *return*:: Return from the current chain and continue evaluation at the next rule in the last chain. If issued in a base chain, it is equivalent to the base chain policy.
@@ -741,9 +736,10 @@ QUEUE STATEMENT ~~~~~~~~~~~~~~~ This statement passes the packet to userspace using the nfnetlink_queue handler. The packet is put into the queue identified by its 16-bit queue number. -Userspace can inspect and modify the packet if desired. Userspace must then drop -or re-inject the packet into the kernel. See libnetfilter_queue documentation -for details. +Userspace can inspect and optionally modify the packet if desired. +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. +See libnetfilter_queue documentation for details. [verse] ____
Signature · 1 line
2.51.0
Quoted 8 lines · Florian Westphal
While its correct that the queue statement is internally implemented via the queue verdict, this is an implementation detail. We don't list "stolen" as a verdict either.
nft ... queue will always use the
nft_queuestatement, so move the reinject detail from statements to queue statement and remove this.Signed-off-by Florian Westphal <[email protected]>
Quoted 47 lines
--- doc/statements.txt | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)doc/statements.txt +5
-9@@ -4,7 +4,7 @@ The verdict statement alters control flow in the ruleset and issues policy decis [verse] ____ -{*accept* | *drop* | *queue* | *continue* | *return*} +{*accept* | *drop* | *continue* | *return*} {*jump* | *goto*} 'CHAIN' 'CHAIN' := 'chain_name' | *{* 'statement' ... *}*@@ -22,11 +22,6 @@ afterwards in the processing pipeline. The drop occurs instantly, no further chains or hooks are evaluated. It is not possible to accept the packet in a later chain again, as those are not 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 evaluation with the next rule. This - is the default behaviour in case a rule issues no verdict. *return*:: Return from the current chain and continue evaluation at the next rule in the last chain. If issued in a base chain, it is equivalent to the base chain policy.@@ -741,9 +736,10 @@ QUEUE STATEMENT ~~~~~~~~~~~~~~~ This statement passes the packet to userspace using the nfnetlink_queue handler. The packet is put into the queue identified by its 16-bit queue number. -Userspace can inspect and modify the packet if desired. Userspace must then drop -or re-inject the packet into the kernel. See libnetfilter_queue documentation -for details. +Userspace can inspect and optionally modify the packet if desired. +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. +See libnetfilter_queue documentation for details. [verse] ____Signature · 1 line
2.51.0