RtExpression represents an nftables expression for accessing routing (RT) information. This allows rules to inspect attributes of the route a packet would take.
Fields
| Field Name | Description |
|---|---|
register - NftRegister!
|
The register where the retrieved routing information will be stored. |
key - NftRtKey!
|
The specific routing key to query (e.g., CLASSID, NEXTHOP4, TCPMSS). |
Used by
ChainExpressionunion: A union of all possible nftables chain expression types.
Example
Example
{"register": "VERDICT", "key": "CLASSID"}