QueueExpression represents an nftables expression for sending packets to a userspace queue. This allows external applications to inspect, modify, or make decisions on packets.
Fields
| Field Name | Description |
|---|---|
num - Int!
|
Netlink queue to send messages to, returned as an unsigned 16-bit integer. |
total - Int!
|
Number of queues to load balance packets on, returned as an unsigned 16-bit integer. |
flag - QueueFlag!
|
Flags to control the behavior of the queue operation (e.g., BYPASS, CPU_FAN_OUT). |
srcRegister - NftRegister!
|
Source register of queue number. |
Used by
ChainExpressionunion: A union of all possible nftables chain expression types.
Example
Example
{"num": 123, "total": 987, "flag": "BYPASS", "srcRegister": "VERDICT"}