NftSocketKey specifies the type of socket information to query in a socket expression. Socket expressions match properties of the socket associated with a packet. Reference: nftables — Socket expression
Values
| Enum Value | Description |
|---|---|
|
|
Query if the socket has IP_TRANSPARENT set (NFT_SOCKET_TRANSPARENT). |
|
|
Query the socket mark (NFT_SOCKET_MARK). |
|
|
Query if the socket is a wildcard (unbound) socket (NFT_SOCKET_WILDCARD). |
|
|
Query the cgroup v2 ID associated with the socket (NFT_SOCKET_CGROUPV2). |
Used by
SocketExpressiontype: SocketExpression represents an nftables expression for querying information about the socket associated with a packet, if one exists.
Example
Example
"TRANSPARENT"