An nftables expression representing a single operation or condition within a chain rule.
Fields
| Field Name | Description |
|---|---|
type - ChainExpressionType!
|
The specific type of the expression, which determines how 'data' is interpreted. |
data - ChainExpression!
|
The actual data or configuration for this expression, whose structure depends on the 'type' field. |
Used by
ChainRuletype: Represents an individual rule within an nftables chain.
Example
Example
{"type": "COUNTER", "data": CtExpression}