NftVerdictKind specifies the action or decision to be taken for a packet within an nftables rule.
Values
| Enum Value | Description |
|---|---|
|
|
Return from the current chain to the calling chain (or the hook if it's a base chain). |
|
|
Transfer control unconditionally to the specified chain, without returning. |
|
|
Transfer control to the specified chain, with the expectation to return. |
|
|
Break out of a loop or set iteration. |
|
|
Continue to the next iteration of a loop or set. |
|
|
Drop the packet, silently discarding it. |
|
|
Accept the packet and allow it to continue processing. |
|
|
Indicates that the packet has been "stolen" by userspace (e.g., NFQUEUE) and removed from kernel processing. |
|
|
Send the packet to a userspace queue. |
|
|
Repeat the current rule (or expression). |
|
|
Stop processing the current rule or chain. |
Used by
VerdictExpressiontype: VerdictExpression represents an nftables expression that determines the fate of a packet or controls the flow of execution within the rule set.
Example
Example
"RETURN"