Endpoint configuration · GraphQL enum

NftSocketKey enum

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

TRANSPARENT

Query if the socket has IP_TRANSPARENT set (NFT_SOCKET_TRANSPARENT).

MARK

Query the socket mark (NFT_SOCKET_MARK).

WILDCARD

Query if the socket is a wildcard (unbound) socket (NFT_SOCKET_WILDCARD).

CGROUPV2

Query the cgroup v2 ID associated with the socket (NFT_SOCKET_CGROUPV2).

Used by

  • SocketExpression type: SocketExpression represents an nftables expression for querying information about the socket associated with a packet, if one exists.

Example

Example

"TRANSPARENT"