NftLimitType specifies whether the rate limit applies to packets or bytes.
Values
| Enum Value | Description |
|---|---|
|
|
Limit based on the number of packets. |
|
|
Limit based on the number of bytes. |
Used by
LimitExpressiontype: Limit represents an nftables expression for rate limiting packets or bytes.
Example
Example
"PACKETS"