Endpoint configuration · GraphQL enum

NftCmpOp enum

NFTables comparison operation used in comparison expressions to match packet fields against values. Reference: nftables — Comparison expression

Values

Enum Value Description

EQUALS

Equal to (==).

NOT_EQUALS

Not equal to (!=).

GREATER_THAN

Greater than (>).

LESS_THAN

Less than (<).

LESS_THAN_OR_EQUALS

Less than or equal to (<=).

GREATER_THAN_OR_EQUALS

Greater than or equal to (>=).

Used by

  • CmpExpression type: CmpExpression represents an nftables expression for comparing a value held in a register against a constant data value.
  • RangeExpression type: RangeExpressions represents an nftables expression for matching a value within a specified range.

Example

Example

"EQUALS"