Endpoint configuration · GraphQL type

RangeExpression type

RangeExpressions represents an nftables expression for matching a value within a specified range.

Fields

Field Name Description
op - NftCmpOp! The comparison operator to use for the range check .
register - NftRegister! The register holding the value to be compared against the range.
fromData - Binary! The lower bound (inclusive) of the range.
toData - Binary! The upper bound (inclusive) of the range.

Used by

  • ChainExpression union: A union of all possible nftables chain expression types.

Example

Example

{
  "op": "EQUALS",
  "register": "VERDICT",
  "fromData": Binary,
  "toData": Binary
}