---
title: NftRegister enum | Wartiva GraphQL API
description: NftRegister represents a register within the nftables framework. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/nft-register.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `NftRegister` enum

NftRegister represents a register within the nftables framework. Registers are temporary storage locations used by nftables rules to store and manipulate data during packet processing, such as extracted packet fields or computed values. Reference: [nftables — Registers](https://wiki.nftables.org/wiki-nftables/index.php/Registers)

## Values

| Enum Value | Description |
|---|---|
| `VERDICT` | Verdict register (NFT_REG_VERDICT); holds the rule verdict. |
| `REG_1` | 64-bit register 1 (NFT_REG_1). |
| `REG_2` | 64-bit register 2 (NFT_REG_2). |
| `REG_3` | 64-bit register 3 (NFT_REG_3). |
| `REG_4` | 64-bit register 4 (NFT_REG_4). |
| `REG_MAX` | Maximum register value sentinel. |
| `REG32_00` | 32-bit register 0 (NFT_REG32_00). |
| `REG32_01` | 32-bit register 1 (NFT_REG32_01). |
| `REG32_02` | 32-bit register 2 (NFT_REG32_02). |
| `REG32_03` | 32-bit register 3 (NFT_REG32_03). |
| `REG32_04` | 32-bit register 4 (NFT_REG32_04). |
| `REG32_05` | 32-bit register 5 (NFT_REG32_05). |
| `REG32_06` | 32-bit register 6 (NFT_REG32_06). |
| `REG32_07` | 32-bit register 7 (NFT_REG32_07). |
| `REG32_08` | 32-bit register 8 (NFT_REG32_08). |
| `REG32_09` | 32-bit register 9 (NFT_REG32_09). |
| `REG32_10` | 32-bit register 10 (NFT_REG32_10). |
| `REG32_11` | 32-bit register 11 (NFT_REG32_11). |
| `REG32_12` | 32-bit register 12 (NFT_REG32_12). |
| `REG32_13` | 32-bit register 13 (NFT_REG32_13). |
| `REG32_14` | 32-bit register 14 (NFT_REG32_14). |
| `REG32_15` | 32-bit register 15 (NFT_REG32_15). |

## Used by

- [`BitwiseExpression`](https://wartiva.com/api-docs/types/bitwise-expression.html) type: Perform bit-level operations (AND, OR, XOR, shifts) on packet data or metadata values.
- [`ByteOrderExpression`](https://wartiva.com/api-docs/types/byte-order-expression.html) type: Convert values between network byte order (big-endian) and host byte order for correct comparisons and storage.
- [`CmpExpression`](https://wartiva.com/api-docs/types/cmp-expression.html) type: CmpExpression represents an nftables expression for comparing a value held in a register against a constant data value.
- [`CtExpression`](https://wartiva.com/api-docs/types/ct-expression.html) type: Inspect or modify connection tracking (conntrack) state, such as connection state, marks, labels, addresses, or counters.
- [`DupExpression`](https://wartiva.com/api-docs/types/dup-expression.html) type: Duplicate a packet to another address or device for mirroring or traffic analysis.
- [`DynsetExpression`](https://wartiva.com/api-docs/types/dynset-expression.html) type: Dynset represents an nftables dynamic set expression.
- [`ExthdrExpression`](https://wartiva.com/api-docs/types/exthdr-expression.html) type: Exthdr represents an nftables expression for accessing or manipulating IPv6 extension headers, TCP options, or other protocol options.
- [`FibExpression`](https://wartiva.com/api-docs/types/fib-expression.html) type: Fib represents an nftables expression for performing a Forwarding Information Base (FIB) lookup.
- [`HashExpression`](https://wartiva.com/api-docs/types/hash-expression.html) type: Hash represents an nftables expression for computing a hash value from packet data.
- [`ImmediateExpression`](https://wartiva.com/api-docs/types/immediate-expression.html) type: Immediate represents an nftables expression that loads a constant, immediate value into a register.
- [`LookupExpression`](https://wartiva.com/api-docs/types/lookup-expression.html) type: Lookup represents an nftables expression for looking up a value in a set or map.
- [`MasqExpression`](https://wartiva.com/api-docs/types/masq-expression.html) type: MasqExpression represents an nftables expression for masquerading, a form of Source NAT (SNAT).
- [`MetaExpression`](https://wartiva.com/api-docs/types/meta-expression.html) type: MetaExpression represents an nftables expression for accessing meta-data about the packet, the network device, or the system context.
- [`NatExpression`](https://wartiva.com/api-docs/types/nat-expression.html) type: NatExpression represents an nftables expression for performing Network Address Translation (NAT).
- [`NumgenExpression`](https://wartiva.com/api-docs/types/numgen-expression.html) type: NumgenExpression represents an nftables expression for generating numbers.
- [`ObjRefExpression`](https://wartiva.com/api-docs/types/obj-ref-expression.html) type: ObjRefExpression represents an nftables expression for referencing other objects (like sets, maps, or other named entities) within the nftables…
- [`PayloadExpression`](https://wartiva.com/api-docs/types/payload-expression.html) type: PayloadExpression represents an nftables expression for accessing and manipulating packet payload data at various layers (link, network, transport).
- [`QueueExpression`](https://wartiva.com/api-docs/types/queue-expression.html) type: QueueExpression represents an nftables expression for sending packets to a userspace queue.
- [`RangeExpression`](https://wartiva.com/api-docs/types/range-expression.html) type: RangeExpressions represents an nftables expression for matching a value within a specified range.
- [`RedirExpression`](https://wartiva.com/api-docs/types/redir-expression.html) type: RedirExpression represents an nftables expression for redirecting packets.
- [`RtExpression`](https://wartiva.com/api-docs/types/rt-expression.html) type: RtExpression represents an nftables expression for accessing routing (RT) information.
- [`SocketExpression`](https://wartiva.com/api-docs/types/socket-expression.html) type: SocketExpression represents an nftables expression for querying information about the socket associated with a packet, if one exists.
- [`TransparentProxyExpression`](https://wartiva.com/api-docs/types/transparent-proxy-expression.html) type: TransparentProxyExpression represents an nftables expression for transparent proxying.

## Example

### Example

```json
"VERDICT"

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
