# Complete `.frasm` Keyword & Feature Reference (All 653 Tokens)

> **FrameAssembly v3.2.2** · Reference Guide R5 · Canonical URL: https://frameassembly-lang.dev/docs/keyword-reference

Every built-in keyword, operator, time unit, cross-layer header modifier, protocol subkeyword, alias, compiler rule, CLI subcommand, and reverse-decompiler capability in FrameAssembly v3.2.2.

## Key Takeaways

- Covers all 653 lexer tokens in FrameAssembly v3.2.2: 7 operators/delimiters (`{`, `}`, `(`, `)`, `,`, `->`, `<-`), 5 `wait` time units (`ns`, `us`, `ms`, `s`, `m`), and 641 strict-lowercase `[a-z0-9]+` keywords across 81 Layer 2–7 protocols.
- Documents every compiler & runtime feature: parameterized `flow(a, b)` templates, deterministic unicast/multicast/IEEE MAC synthesis, stateful 4-tuple TCP `seq`/`acknum` progression, dynamic L7 port pairing, live SNMPv3 USM `Ku -> Kul` crypto, and 9-protocol `transport` whitelisting.
- Details all CLI & library capabilities: classic `.pcap` vs nanosecond `.pcapng` (`IfTsResol=9`), `show`, 5-stage `reverse` decompilation with self-check compiler oracle across 8 `LINKTYPE_*` formats, zero-flag `update`, Rust crate entrypoints, and EBNF/GBNF/Lark grammars.

## 1. How FrameAssembly v3.2.2 Organizes Its 653 Tokens & Compiler Pipeline

Every built-in word in `.frasm` follows one memorizable lexical invariant: **strictly lowercase alphanumeric (`^[a-z0-9]+$`) with zero underscores and zero hyphens** (`echorequest`, `innervlan`, `sackperm`, `hosthdr`, `transporthdr`, `readholdingregisters`, `nullval`). User-defined `host`, `flow`, and parameter identifiers freely allow capitals, underscores, and internal hyphens (`fw-dmz-01`, `Core_SW_1`).

Use the interactive explorer below to search any token, Wireshark field alias, protocol scope, or compiler feature — or switch between the **653-Token Lexicon** and the **Language & Compiler Feature Matrix**.

## Complete Language, Compiler & CLI Feature Matrix

### Two-Block Minimal Program (`host` + `compile`) & Parameterized `flow` Templates (Blocks & Lexical Rules)

Every `.frasm` specification needs only `1+` `host` declarations and `1` `compile` block, with optional parameterized `flow(p1, p2)` templates for replaying exchanges across IPv4 and IPv6.

- `1 statement = 1 Ethernet frame`: statements inside `compile` execute strictly top-to-bottom.
- `flow <name>(<p1>[, <p2>, ...]) { ... }` requires `>= 1` parameter in parentheses; frame endpoints inside a `flow` must reference formal parameters rather than global host names.
- There is no `loop` keyword (removed in v2.0.0); invoke `flow(...)` or repeat frame lines explicitly inside `compile`.
- `compile` freely mixes inline `a -> b ...` / `a <- b ...` frame lines and `flow(...)` calls.

```frameassembly
host app_v4 { ip 10.10.1.10 }
host db_v4  { ip 10.10.1.20 }
host app_v6 { ip 2001:db8:10::10 }
host db_v6  { ip 2001:db8:10::20 }

flow pg_ping(c, s) {
    c -> s tcp syn srcport 52100 dstport 5432 win 65535 mss 1460 wait 1ms
    c <- s tcp syn ack win 65535 mss 1460 wait 1ms
    c -> s tcp ack wait 1ms
    c -> s postgres query sql "SELECT 1;"
}

compile {
    pg_ping(app_v4, db_v4)
    pg_ping(app_v6, db_v6)
}
```

### Strict-Lowercase Built-In Keywords (`[a-z0-9]+`) vs. Flexible User Identifiers (Blocks & Lexical Rules)

All 646 built-in keywords and time units use lowercase letters and digits with zero underscores or hyphens, while user-defined `host` and `flow` names allow capitals, `_`, and internal `-`.

- Built-in keywords match `^[a-z0-9]+$` (`echorequest`, `innervlan`, `sackperm`, `hosthdr`, `transporthdr`, `readholdingregisters`); uppercase or `_` typos trigger self-healing suggestions.
- User identifiers match `[a-zA-Z_][a-zA-Z0-9_]*(-[a-zA-Z0-9_]+)*` (e.g. `fw-dmz-01`, `Core_SW_1`), stopping cleanly before `->`.
- Line comments begin with `//` (`#` and `;` are rejected with an explicit diagnostic).
- Strings are double-quoted UTF-8 supporting `\r`, `\n`, `\t`, `\\`, `\"`, `\'`, `\xHH`, and `\uXXXX` (single-quoted strings are rejected).
- Integers accept decimal (`443`) or hex (`0x0800`); signed integers (`int` varbinds, `ntp precision`, `kerberos etype`, `ldap msgid`) also accept negative decimal (`-20`).
- Hex byte strings (`hexpayload`, `iv`, `icv`, `engineid`) accept optional spaces or colons (`"deadbeef"`, `"de:ad:be:ef"`, `"de ad be ef"`).
- ASN.1 OIDs (`oid`, `enterprise`, `varbind`, `oidval`) accept unquoted dotted trees with `>= 2` numeric arcs (`1.3.6.1.2.1.1.1.0` or `.1.3.6.1...`) or quoted strings.

### Deterministic Unicast MACs, RFC 1112/2464 Multicast MACs & IEEE Group MACs (Host & MAC Resolution)

FrameAssembly synthesizes deterministic Ethernet framing automatically whenever `mac`, `srcmac`, or `dstmac` is omitted.

- Unicast `host` blocks without `mac` receive sequential deterministic MACs in 1-based declaration order: `00:00:00:00:00:01`, `00:00:00:00:00:02`, `00:00:00:00:00:03`, and so on.
- Explicit `mac`, `srcmac`, and `dstmac` values accept colon (`00:1a:2b:3c:4d:5e`), hyphen (`00-1A-2B-3C-4D-5E`), or Cisco dot-quad (`001a.2b3c.4d5e`) notation.
- IPv4 multicast destinations (`224.0.0.0/4`) derive RFC 1112 MACs (`01:00:5e:xx:xx:xx`); IPv6 multicast destinations (`ff00::/8`) derive RFC 2464 MACs (`33:33:xx:xx:xx:xx`).
- Pure Layer 2 control protocols derive IEEE 802.1 group destination MACs automatically unless `dstmac` is set: `stp` (`01:80:c2:00:00:00`), `lacp` (`01:80:c2:00:00:02`), `eapol` (`01:80:c2:00:00:03`), `lldp` (`01:80:c2:00:00:0e`), and `arp request`/`gratuitous`/`garp` (`ff:ff:ff:ff:ff:ff`).
- MAC-only hosts (`host sw1 { mac 00:11:22:33:44:55 }`) are valid for all 8 pure Layer 2 protocols (`arp`, `vlan`, `qinq`, `lldp`, `stp`, `lacp`, `eapol`, `mpls`).

### Post-Packet Nanosecond `wait` Capture Clock (`ns`, `us`, `ms`, `s`, `m`) (Clock & TCP State)

Every capture starts at `0ns` on Frame 1 and advances deterministically after each emitted packet with zero system-clock jitter.

- Frame 1 is always emitted at relative timestamp `0.000000000 s` (`0ns`).
- `wait <u32><ns|us|ms|s|m>` is an inline post-packet modifier: Frame `k` transmits at the current clock value, then advances the clock before Frame `k + 1`.
- Omitting `wait` advances the clock by the default inter-packet gap of `10ms` (`10,000,000 ns`).
- `wait 0ns` emits back-to-back microbursts with zero timestamp delta; `.pcapng` stores full `1ns` precision (`IfTsResol = 9`).

### Shared 4-Tuple TCP `seq` / `acknum` State Machine & `<-` Port Memory (Clock & TCP State)

Raw `tcp` frames and all TCP-based Layer 7 protocols share one canonical 4-tuple state tracker and bidirectional port memory.

- Setting `srcport 51234 dstport 443` on `a -> b` (or relying on ephemeral `49152 -> default_port`) automatically swaps ports to `443 -> 51234` on `a <- b` replies and reuses `51234 -> 443` on later `a -> b` frames.
- Initial TCP `seq` defaults to `1000` per direction; `syn` and `fin` each advance that direction’s next `seq` by `+1`.
- Every TCP payload or TCP Layer 7 frame defaults to `psh ack`, sets `acknum` to the peer’s latest expected `seq`, and advances its own next `seq` by `+payload_len`.
- Explicit `seq <u32>` or `acknum <u32>` overrides emit that exact header value and re-anchor downstream connection state for testing retransmissions, gaps, or blind RSTs.

### Dynamic Layer 7 Port Pairing & Automatic Multicast Overrides (Clock & TCP State)

Protocols with asymmetric request/reply or event/general port pairs select RFC-accurate ports automatically.

- `dhcp`: IPv4 `discover`/`request`/`release` use UDP `68 -> 67` and `offer`/`ack` use `67 -> 68`; over IPv6 hosts, `solicit`/`request` use UDP `546 -> 547` and `advertise`/`reply` use `547 -> 546`.
- `mdns`: Defaults to UDP `5353 -> 5353` and overrides destination IP to `224.0.0.251` (IPv4) or `ff02::fb` (IPv6) with matching RFC multicast MACs.
- `ptp`: Event messages (`sync`, `delayreq`) use UDP `319`; general messages (`followup`, `delayresp`, `announce`) use UDP `320`.
- `radius`: Authentication (`accessrequest`, `accessaccept`, `accessreject`, `accesschallenge`) uses UDP `1812`; accounting (`accountingrequest`, `accountingresponse`) uses UDP `1813`.
- `snmp1` / `snmp2` / `snmp3`: `trap`, `inform`, and `report` default to UDP `162`; `get`, `getnext`, `getbulk`, `set`, and `response` default to UDP `161`.
- `ethernetip`: Explicit CIP messaging uses TCP `44818` by default, while implicit I/O `sendunitdata` switches to UDP `2222` unless `transport` overrides it.

### Cross-Layer 802.1Q VLAN, 802.1ad QinQ, MPLS, IPv4/IPv6 QoS & RFC 7323 Stacking (Tagging & Wire Crypto)

Any L2/L3/L4/L7 protocol statement can be wrapped in single/double VLAN tags, an MPLS shim, DiffServ markings, IPv4 fragments, or TCP options on a single line.

- `vlan <0..4095> [pcp <0..7>] [dei <0|1>]` wraps any frame in IEEE 802.1Q (`0x8100`); `qinq <0..4095> [innervlan <0..4095>]` emits outer S-Tag (`0x88a8`) + inner C-Tag (`0x8100`, default `1`).
- `mpls <0..1048575> [exp|tc <0..7>] [bos <0|1>] [mplsttl <0..255>]` inserts one 32-bit MPLS shim (`0x8847`) between L2/VLAN and L3 (repeating `mpls` twice on one line is rejected).
- `ttl <0..255>`, `dscp <0..63>`, and `ecn <0..3>` work uniformly across IPv4 and IPv6; `ipid`, `df`, `mf`, and `fragoffset` apply to IPv4 while `flowlabel` applies to IPv6.
- Dual-stack morphing: `icmp` automatically emits ICMPv4 (proto `1`) over IPv4 and ICMPv6 (Next Header `58` with IPv6 pseudo-header checksum) over IPv6; `ospf` morphs between OSPFv2 and OSPFv3; `rip` morphs between RIPv2 and RIPng.

### Live Wire Checksums, SNMPv3 USM Crypto (`Ku -> Kul`), BGP 4-Byte ASN & OT CRCs (Tagging & Wire Crypto)

FrameAssembly computes real cryptographic digests and wire-exact CRCs offline so Wireshark, Suricata, and NMS receivers validate every byte.

- `snmp3`: Performs full RFC 3414 / RFC 7860 1 MiB password-to-key (`Ku`) and `engineid`-localized (`Kul`) derivation, live HMAC (`md5`, `sha`, `sha256`, `sha384`, `sha512`), and `ScopedPDU` encryption via AES-128-CFB (`priv aes`, RFC 3826) or CBC-DES (`priv des`).
- `bgp`: Supports full 32-bit `asn <u32>`; when `asn > 65535` on `bgp open`, writes `AS_TRANS` (`23456`) in the 16-bit header slot and appends Capability `65` (RFC 6793 4-octet ASN).
- `sctp`: Computes hardware-matching Castagnoli **CRC-32c** checksums and 4-byte chunk padding across `init`, `initack`, `cookieecho`, `cookieack`, `data`, `sack`, `heartbeat`, `abort`, and `shutdown`.
- `dnp3`: Splits link-layer frames into 16-byte data blocks and appends reflected **DNP3 CRC-16** (`0x3d65`) per block.
- IPv4 header, ICMPv4/v6, IGMP, MLD, TCP, UDP, GRE, OSPF, VRRP, and PIM checksums are computed over exact pseudo-headers on every build.

### Compile-Time `validate_semantics` Bounds & 9-Protocol `transport` Whitelist (Validation & Guardrails)

Invalid IP family pairings, out-of-range bit-widths, and illegal L4 overrides fail cleanly at compile time before writing a `.pcap`.

- Endpoint family match: both hosts on a frame must be IPv4, both IPv6, or (on the 8 L2 protocols only) MAC-only. `igmp` requires IPv4 hosts; `ndp` and `mld` require IPv6 hosts.
- `transport <tcp|udp>` is permitted exclusively on the 9 dual-transport protocols: `dns`, `sip`, `syslog`, `kerberos`, `memcached`, `dnp3`, `modbus`, `nfs`, and `ethernetip`.
- TCP flags (`syn`, `ack`, `fin`, `rst`, `psh`, `urg`, `ece`, `cwr`), `seq`/`acknum`/`win`/`window`/`urgent`, and TCP options (`mss`, `wscale`, `sackperm`, `tsval`, `tsecr`) are rejected on UDP/L2/L3 non-TCP protocols, and duplicate TCP flags on one line are rejected.
- `payload` and `hexpayload` are mutually exclusive on the same frame; `dns`/`mdns` `qname` validates RFC 1035 label length `<= 63` and total domain `<= 253`; `snmp3` `engineid` requires non-empty even-length hex; `hsrp` `hellotime` validates `0..=255`.

### Context-Sensitive Shared Keyword Disambiguation (`ack`, `rst`, `seq`, `whois`, `hosthdr`) (Validation & Guardrails)

The parser resolves shared protocol/transport tokens deterministically by position and avoids top-level keyword collisions.

- `ack` and `rst` placed immediately after `dhcp`, `tftp`, `sip`, or `coap` parse as that protocol’s message type rather than TCP control flags.
- On `tacacs`, writing `seq <u32>` *before* the `tacacs` keyword sets the 32-bit TCP sequence number, while writing `seq <u8>` (or `seqno <u8>`) *after* `tacacs` sets the 8-bit RFC 8907 TACACS+ `seq_no`.
- `whois` works both as standalone TCP/43 WHOIS (`a -> b whois query "example.com"`) and as a BACnet unconfirmed service (`a -> b bacnet whois`).
- HTTP/SSDP `Host:` headers use `hosthdr "<str>"` (never `host`), and RTSP `Transport:` headers use `transporthdr "<str>"` (never `transport`).

### Rootless CLI Commands, `.pcap` vs `.pcapng`, Drag-and-Drop & Overwrite Guards (CLI & Containers)

Single static binary with default root compilation plus 5 subcommands (`show`, `reverse`, `update`, `version`, `help`) and zero root socket privileges.

- `frameassembly <in.frasm> [out.pcap | out.pcapng]` compiles `.frasm` to classic libpcap `.pcap` (`0xa1b2c3d4`, microsecond resolution) by default, or nanosecond `.pcapng` (`IfTsResol = 9`, snaplen `65535`) when the output ends in `.pcapng`.
- `frameassembly show <in.frasm>` validates syntax/semantics and prints the relative-timestamp packet ladder (`Time`, `Source`, `Destination`, `Proto`, `Len`, summary) to stdout without writing disk files.
- `frameassembly reverse <in.pcap|.pcapng> [out.frasm]` decompiles captures back into canonical `.frasm` code (defaulting output to `<stem>.frasm`, or `<stem>.reversed.frasm` if input somehow shares extension).
- `frameassembly update` runs a zero-flag self-updater: prefers `cargo install frameassembly --locked --force` when `cargo` + `rustc >= 1.89` + a working C linker exist, otherwise verifies SHA-256 checksums on GitHub Release binaries.
- Safety & UX guards: refuses to overwrite a `.frasm` source file if passed as the 2nd argument to root compile; auto-routes single-argument `.pcap`/`.pcapng` paths (such as Windows Explorer drag-and-drop) to `reverse`; prints actionable migration hints if legacy `-o`, `--output`, `--show`, `--reverse`, or `compile` flags are typed; accepts `-h`/`--help` and `-V`/`--version`.

```bash
# Compile .frasm -> classic .pcap or nanosecond .pcapng
frameassembly capture.frasm capture.pcap
frameassembly capture.frasm capture.pcapng

# Dry-run packet table in stdout (CI pre-commit validation)
frameassembly show capture.frasm

# Decompile .pcap or .pcapng -> editable .frasm
frameassembly reverse incident.pcapng incident.frasm

# Zero-flag self-update & version check
frameassembly update
frameassembly version
```

### 5-Stage `reverse` Decompiler, Self-Check Oracle, Crate API & Formal Grammars (Reverse & Rust API)

`frameassembly reverse` normalizes 8 link-layer types, reconstructs high-level `.frasm` statements, and verifies every frame through an in-memory compiler oracle.

- Container parser supports classic libpcap (`0xa1b2c3d4`/`0xd4c3b2a1` microsecond & `0xa1b23c4d`/`0x4d3cb2a1` nanosecond, auto-widening truncated `snaplen`) and PCAPNG (`SHB`, `IDB`, `EPB`, `SPB`, legacy `Packet`, decimal $10^{-x}$ & binary $2^{-x}$ `IfTsResol`, `IfTsOffset`, `if_tzone` sanitization, and truncated trailing block salvage with warnings).
- Link-layer normalization converts 8 `LINKTYPE_*` formats (`ETHERNET`, `RAW`, `IPV4`, `IPV6`, `LINUX_SLL`, `LINUX_SLL2`, `NULL`, `LOOP`) into canonical Ethernet II frames while stripping 60/64-byte trailer padding and 4-byte FCS trailers.
- Self-check compiler oracle & shadow TCP state tracker: every candidate `.frasm` statement is compiled in memory and compared byte-for-byte against the original wire frame; encrypted `snmp3` (`authPriv` / keyed `authNoPriv`) or vendor-proprietary payloads step down cleanly to `hexpayload` so zero wire bytes are corrupted, and IP protocol `50` emits canonical `esp`.
- Rust crate (`frameassembly` on Crates.io, Edition 2024, `rustc >= 1.89`) exposes `lexer::lex`, `parser::parse_program`, `parser::validation::validate_semantics`, `backend::{compile_program, generate_pcap, generate_pcapng}`, and `reverse::{reverse_pcap_bytes, reverse_pcap_file, reverse_pcap_reader}`.
- Constrained LLM decoding grammars ship alongside the compiler: ISO/IEC 14977 `grammar.ebnf`, `frameassembly.gbnf` (`llama.cpp` / `XGrammar`), and `frameassembly.lark` (`Outlines` / `vLLM`), plus `/llms.txt` and `/llms-full.txt`.

```rust
use frameassembly::{backend, lexer, parser, reverse};

let tokens = lexer::lex(src)?;
let ast = parser::parse_program(&tokens, src)?;
parser::validation::validate_semantics(&ast, src)?;
let frames = backend::compile_program(&ast)?;
let pcap_bytes = backend::generate_pcap(&frames);
let roundtrip_frasm = reverse::reverse_pcap_bytes(&pcap_bytes)?;
```

## Exhaustive 653-Token `.frasm` Lexicon

### Program Blocks & Host Fields (5 tokens)

Top-level declarations (`host`, `flow`, `compile`) and endpoint address attributes (`ip`, `mac`).

| Token | Scopes | Syntax | Value / Range | Default | Summary |
| --- | --- | --- | --- | --- | --- |
| `compile` | top-level | `compile { <inline_frames_or_flow_calls> }` | Required execution block (1 per file) | 1 frame statement = 1 Ethernet frame | Executes inline frame statements and flow(...) invocations top-to-bottom in deterministic capture order (no loop keyword). |
| `flow` | top-level | `flow <name>(<p1>[, <p2>, ...]) { <frame_statements> }` | Parameterized template block (>= 1 param) | Optional reusable sequence | Defines a reusable parameterized packet sequence (e.g. replaying the same TCP + HTTP exchange across IPv4 and IPv6 host pairs inside compile). |
| `host` | top-level | `host <id> { [ip <ipv4\|ipv6>] [mac <mac>] }` | Endpoint declaration block | Auto MAC 00:00:00:00:00:01, :02, ... when mac omitted | Declares a named network endpoint with an IPv4/IPv6 literal, a MAC address, or both (MAC-only hosts are valid on the 8 Layer 2 protocols). |
| `ip` | host block, dns (qtype/rdata context) | `ip <ipv4_or_ipv6_literal>` | Plain IPv4 (10.0.0.1) or IPv6 (2001:db8::1) literal | Required for all 73 L3/L4/L7 protocols | Assigns the host IPv4 or IPv6 endpoint address (never write /24 CIDR suffixes, =, :, or commas inside host blocks). |
| `mac` | host block | `mac <00:1a:2b:3c:4d:5e \| 00-1A-2B-3C-4D-5E \| 001a.2b3c.4d5e>` | 48-bit Ethernet MAC (colon, hyphen, or Cisco dot-quad) | 00:00:00:00:00:0N in 1-based host declaration order | Assigns an explicit hardware MAC address to a host in colon, hyphen, or Cisco four-hex-group notation. |

### Operators & Delimiters (7 tokens)

Directional frame arrows (`->`, `<-`), block braces (`{`, `}`), and `flow` parameter delimiters (`(`, `)`, `,`).

| Token | Scopes | Syntax | Value / Range | Default | Summary |
| --- | --- | --- | --- | --- | --- |
| `(` | flow, compile | `flow ping(a, b) { ... } · ping(h1, h2)` | Opening parameter parenthesis | Required on flow definitions and flow calls | Opens the formal parameter list on a flow declaration or the host argument list on a flow call. |
| `)` | flow, compile | `flow ping(a, b) { ... } · ping(h1, h2)` | Closing parameter parenthesis | Required on flow definitions and flow calls | Closes the formal parameter list on a flow declaration or the host argument list on a flow call. |
| `,` | flow, compile | `flow relay(client, proxy, backend)` | Parameter separator | Used only inside flow(...) parameter/argument lists | Separates parameters in flow declarations and invocations (never used inside host blocks or between frame modifiers). |
| `->` | compile, flow | `<a> -> <b> <protocol> [modifiers...]` | Forward frame operator | Source = a, Destination = b | Transmits one Ethernet frame from left endpoint a to right endpoint b and records the 4-tuple port pair. |
| `<-` | compile, flow | `<a> <- <b> <protocol> [modifiers...]` | Reverse frame operator | Source = b, Destination = a (auto-swaps remembered ports) | Transmits one Ethernet frame from right endpoint b back to left endpoint a while keeping initiator/responder columns visually aligned. |
| `{` | host, flow, compile | `host a { ... } · flow f(x, y) { ... } · compile { ... }` | Opening block brace | Required block opener | Opens a host attribute block, parameterized flow body, or top-level compile block. |
| `}` | host, flow, compile | `host a { ... } · flow f(x, y) { ... } · compile { ... }` | Closing block brace | Required block closer | Closes a host attribute block, parameterized flow body, or top-level compile block. |

### Timing & Universal Payload (8 tokens)

Post-packet nanosecond capture clock gaps (`wait` + `ns`, `us`, `ms`, `s`, `m`) and raw `payload` / `hexpayload` overrides.

| Token | Scopes | Syntax | Value / Range | Default | Summary |
| --- | --- | --- | --- | --- | --- |
| `hexpayload` | all frames | `hexpayload "<even_hex_octets>"` | Hex string ("deadbeef", "de:ad:be:ef", or "de ad be ef") | Omitted (mutually exclusive with payload) | Attaches or overrides exact binary payload octets (also emitted by frameassembly reverse when preserving opaque or encrypted bytes lossless). |
| `m` | wait <u32>m | `wait 1m` | Minute unit (60,000,000,000 ns) | Used with wait <u32>m | Minute time unit for long-lived session idle timeouts and periodic polling captures. |
| `ms` | wait <u32>ms | `wait 2ms` | Millisecond unit (1,000,000 ns) | 10ms default inter-packet gap | Millisecond time unit for typical WAN/LAN round-trip times. |
| `ns` | wait <u32>ns | `wait 500ns · wait 0ns` | Nanosecond unit (1 ns) | Preserved at full 1ns resolution in .pcapng (IfTsResol=9) | Nanosecond time unit attached directly to an integer in wait <u32>ns (no space between number and unit). |
| `payload` | all frames | `payload "<utf8_str>"` | Double-quoted UTF-8 string (escapes \r, \n, \t, \xHH, \uXXXX) | Omitted (mutually exclusive with hexpayload) | Attaches or overrides raw UTF-8 payload bytes and automatically recomputes IP/UDP/TCP lengths, checksums, and TCP sequence progression. |
| `s` | wait <u32>s | `wait 3s` | Second unit (1,000,000,000 ns) | Used with wait <u32>s | Second time unit for TCP retransmission timeouts, BGP holdtimers, and keepalive intervals. |
| `us` | wait <u32>us | `wait 250us` | Microsecond unit (1,000 ns) | Exact in both classic .pcap and .pcapng | Microsecond time unit for sub-millisecond LAN/datacenter RTTs and BFD/PTP intervals. |
| `wait` | all frames | `wait <u32><ns\|us\|ms\|s\|m>` | Inline post-packet delay | wait 10ms (10,000,000 ns) when omitted; Frame 1 = 0ns | Emits the current frame at the active capture clock timestamp, then advances the clock before the next frame (`wait 0ns` emits zero-gap bursts). |

### Cross-Layer L2 (MAC, VLAN, QinQ, MPLS) (11 tokens)

Ethernet II MAC/EtherType overrides, IEEE 802.1Q VLAN tags, 802.1ad QinQ double tags, and MPLS shim labels.

| Token | Scopes | Syntax | Value / Range | Default | Summary |
| --- | --- | --- | --- | --- | --- |
| `bos` | all frames (with mpls), mpls | `mpls <label> bos <0\|1>` | 1-bit Bottom-of-Stack flag (0..1) | 1 | Sets the Bottom-of-Stack bit (`S`) inside the 32-bit MPLS shim header. |
| `dei` | all frames (with vlan/qinq), vlan, qinq | `vlan <vid> dei <0\|1>` | 1-bit Drop Eligible Indicator (0..1) | 0 | Sets the 1-bit Drop Eligible Indicator bit inside an 802.1Q VLAN or 802.1ad QinQ TCI header. |
| `dstmac` | all frames | `dstmac <mac>` | 48-bit MAC (colon, hyphen, or Cisco dot) | Peer MAC, RFC 1112/2464 multicast MAC, or IEEE L2 group MAC | Overrides the 14-byte Ethernet II destination MAC address for a single frame. |
| `ethertype` | all frames, vlan, qinq | `ethertype <0..65535>` | 16-bit unsigned int (decimal or hex e.g. 0x0800, 0x86dd, 0x88cc) | Auto-selected by protocol / IP family | Overrides the outer or inner Ethernet II EtherType field (`0..=65535`). |
| `exp` | all frames (with mpls), mpls | `mpls <label> exp <0..7>` | 3-bit MPLS Traffic Class / Experimental bits (0..7) | 0 (alias: tc) | Sets the 3-bit Traffic Class (`EXP` / `TC`) field in the 32-bit MPLS shim header (`tc` is an exact alias). |
| `innervlan` | all frames (with qinq), qinq | `qinq <outer_svid 0..4095> innervlan <inner_cvid 0..4095>` | 12-bit inner C-Tag VLAN ID (0..4095) | 1 (when qinq is present) | Sets the inner IEEE 802.1Q C-VLAN (`0x8100`) carried inside an outer IEEE 802.1ad S-VLAN (`0x88a8`). |
| `label` | mpls | `mpls label <0..1048575> · mpls <0..1048575>` | 20-bit MPLS label value (0..1048575) | 16 | Explicit keyword form for setting the 20-bit MPLS shim label (interchangeable with bare `mpls <label>`). |
| `mplsttl` | all frames (with mpls), mpls | `mpls <label> mplsttl <0..255>` | 8-bit MPLS Time-To-Live (0..255) | 64 | Sets the 8-bit MPLS shim TTL independently of the inner IPv4/IPv6 `ttl` modifier. |
| `pcp` | all frames (with vlan/qinq), vlan, qinq | `vlan <vid> pcp <0..7>` | 3-bit IEEE 802.1p Priority Code Point (0..7) | 0 (Best Effort) | Sets the 3-bit IEEE 802.1p Class of Service priority inside an 802.1Q VLAN or 802.1ad QinQ tag. |
| `srcmac` | all frames | `srcmac <mac>` | 48-bit MAC (colon, hyphen, or Cisco dot) | Source host MAC (or 00:00:00:00:00:0N) | Overrides the 14-byte Ethernet II source MAC address for a single frame (e.g. MAC spoofing or VRRP virtual MACs). |
| `tc` | all frames (with mpls), mpls | `mpls <label> tc <0..7>` | 3-bit MPLS Traffic Class bits (0..7) | 0 (alias: exp) | RFC 5462 alias for `exp <0..7>` on standalone or cross-layer `mpls` shim headers. |

### Cross-Layer L3 (IPv4, IPv6, QoS, Frag) (8 tokens)

Unified TTL/Hop Limit, DiffServ DSCP & ECN markings, IPv6 20-bit flow labels, and IPv4 fragmentation controls.

| Token | Scopes | Syntax | Value / Range | Default | Summary |
| --- | --- | --- | --- | --- | --- |
| `df` | IPv4 L3/L4/L7 frames | `df` | Boolean IPv4 Don't Fragment flag | Unset | Sets the IPv4 Don't Fragment (`DF`) flag bit for Path MTU Discovery probes. |
| `dscp` | all L3/L4/L7 frames | `dscp <0..63>` | 6-bit DiffServ Code Point (0..63, e.g. 46 = EF) | 0 (CS0) | Sets the upper 6 bits of the IPv4 TOS byte or IPv6 Traffic Class field for QoS policy testing. |
| `ecn` | all L3/L4/L7 frames | `ecn <0..3>` | 2-bit Explicit Congestion Notification (0..3) | 0 (Non-ECT) | Sets the lower 2 ECN bits (`0`=Not-ECT, `1`=ECT(1), `2`=ECT(0), `3`=CE) in IPv4 TOS or IPv6 Traffic Class. |
| `flowlabel` | IPv6 L3/L4/L7 frames | `flowlabel <0..1048575>` | 20-bit IPv6 Flow Label (0..1048575) | 0 (silently ignored over IPv4 hosts) | Sets the 20-bit IPv6 Flow Label for ECMP hashing tests while keeping dual-stack `flow` templates reusable over IPv4. |
| `fragoffset` | IPv4 L3/L4/L7 frames | `fragoffset <0..8191>` | 13-bit IPv4 fragment offset in 8-byte blocks (0..8191) | 0 | Sets the 13-bit IPv4 fragment offset (in 8-octet units) for fragmentation and IDS reassembly tests. |
| `ipid` | IPv4 L3/L4/L7 frames | `ipid <0..65535>` | 16-bit IPv4 Identification (0..65535) | 1 (ignored over IPv6) | Overrides the 16-bit IPv4 Identification field for fragment reassembly and OS fingerprint testing. |
| `mf` | IPv4 L3/L4/L7 frames | `mf` | Boolean IPv4 More Fragments flag | Unset | Sets the IPv4 More Fragments (`MF`) flag bit on non-terminal IPv4 fragments. |
| `ttl` | all L3/L4/L7 frames, lldp (16-bit TLV 3) | `ttl <0..255> (L3) · lldp ttl <0..65535>` | u8 IPv4 TTL / IPv6 Hop Limit (0..255); u16 on lldp | 64 (255 on ndp/vrrp/bfd; 1 on ospf/igmp/mld; 120 on lldp) | Unified hop-count modifier setting IPv4 TTL or IPv6 Hop Limit on L3+ frames (and the 16-bit hold-time TLV when used on `lldp`). |

### Cross-Layer L4 (Ports, Transport, TCP) (21 tokens)

Port overrides (`srcport`, `dstport`), 9-protocol `transport` switch, stateful TCP `seq`/`acknum`, flags, and RFC 7323 options.

| Token | Scopes | Syntax | Value / Range | Default | Summary |
| --- | --- | --- | --- | --- | --- |
| `ack` | tcp, TCP L7, dhcp, tftp, sip, coap | `tcp syn ack · dhcp ack · tftp ack · sip ack · coap ack` | TCP ACK bit (0x10) or L7 message kind | Auto psh ack on TCP L7 frames | Sets the TCP ACK control flag on TCP frames, or selects the protocol acknowledgment message when placed immediately after `dhcp`, `tftp`, `sip`, or `coap`. |
| `acknum` | tcp, all TCP L7 protocols | `acknum <0..4294967295>` | 32-bit unsigned TCP acknowledgment number | Peer expected next seq (0 on initial SYN) | Overrides the 32-bit TCP acknowledgment header number (`ack` alone sets the 1-bit ACK flag). |
| `cwr` | tcp, all TCP L7 protocols | `cwr` | TCP Congestion Window Reduced bit (0x80, RFC 3168) | Unset | Sets the TCP Congestion Window Reduced (`CWR`) flag bit. |
| `dstport` | tcp, udp, sctp, all L7 TCP/UDP protocols | `dstport <0..65535>` | 16-bit transport destination port (0..65535) | Protocol standard port (remembered & swapped onto srcport on <- replies) | Overrides the TCP, UDP, or SCTP destination port (e.g. running HTTP over 8080 or OpenFlow over 6633). |
| `ece` | tcp, all TCP L7 protocols | `ece` | TCP ECN-Echo control bit (0x40, RFC 3168) | Unset | Sets the TCP ECN-Echo (`ECE`) flag bit for RFC 3168 Explicit Congestion Notification negotiation and signaling. |
| `fin` | tcp, all TCP L7 protocols | `fin` | TCP Finish control bit (0x01) | Advances sender next seq by +1 | Sets the TCP FIN connection-close flag bit (use `finbit` for the WebSocket frame FIN bit). |
| `mss` | tcp, all TCP L7 protocols | `mss <0..65535>` | TCP Option Kind 2 Maximum Segment Size (u16) | Omitted unless specified (e.g. mss 1460 or mss 1360) | Appends the 4-byte TCP Maximum Segment Size option (`Kind=2, Len=4`) and pads the TCP header to a 32-bit boundary. |
| `psh` | tcp, all TCP L7 protocols | `psh` | TCP Push control bit (0x08) | Emitted automatically (`psh ack`) on TCP payload & L7 frames | Sets the TCP PSH flag bit. |
| `rst` | tcp, TCP L7, coap | `tcp rst ack · coap rst` | TCP Reset bit (0x04) or CoAP Reset type (3) | Unset | Sets the TCP RST connection-abort flag bit on TCP frames, or selects a CoAP Reset (`T=3`) message after `coap`. |
| `sackperm` | tcp, all TCP L7 protocols | `sackperm` | TCP Option Kind 4 SACK Permitted (RFC 2018) | Omitted unless specified | Appends the 2-byte RFC 2018 TCP Selective Acknowledgment Permitted option (`Kind=4, Len=2`). |
| `seq` | tcp, TCP L7, icmp, rtp, tacacs, bfd | `seq <u32> (TCP/RTP/BFD) · icmp seq <u16> · tacacs seq <u8>` | u32 TCP sequence override (or protocol seq field) | 1000 initial TCP seq, auto +1 on syn/fin & +len on payload | Overrides the 32-bit TCP sequence number and re-anchors the 4-tuple state machine (before `tacacs` sets TCP `seq`; after `tacacs` sets 8-bit TACACS+ `seq_no`; also sets `icmp`/`rtp`/`bfd` sequence fields). |
| `srcport` | tcp, udp, sctp, all L7 TCP/UDP protocols | `srcport <0..65535>` | 16-bit transport source port (0..65535) | 49152 (remembered & swapped onto dstport on <- replies) | Overrides the TCP, UDP, or SCTP source port and anchors bidirectional port memory for the host pair. |
| `syn` | tcp, all TCP L7 protocols | `syn` | TCP Synchronize control bit (0x02) | Advances sender next seq by +1 | Sets the TCP SYN flag bit (rejected on UDP/L2/L3 non-TCP frames and if repeated twice on one line). |
| `transport` | dns, sip, syslog, kerberos, memcached, dnp3 (+3 more) | `transport <tcp\|udp>` | L4 selector (`tcp` or `udp`) on 9 whitelisted protocols | udp on dns/sip/syslog/kerberos/memcached; tcp on dnp3/modbus/nfs/ethernetip | Switches L4 encapsulation between stateful TCP (adding RFC length prefixes on DNS/Kerberos/NFS) and UDP on the 9 dual-transport protocols (use `transporthdr` on RTSP). |
| `tsecr` | tcp, all TCP L7 protocols | `tsval <u32> tsecr <u32>` | TCP Option Kind 8 Timestamp Echo Reply (u32, RFC 7323) | 0 when tsval is set alone | Sets the `TSecr` echoed peer timestamp inside the 10-byte RFC 7323 TCP Timestamps option. |
| `tsval` | tcp, all TCP L7 protocols | `tsval <u32> [tsecr <u32>]` | TCP Option Kind 8 Timestamp Value (u32, RFC 7323) | Omitted unless tsval or tsecr is set | Appends the 10-byte RFC 7323 TCP Timestamps option (`Kind=8, Len=10`) with the sender `TSval` clock value. |
| `urg` | tcp, all TCP L7 protocols | `urg urgent 1` | TCP Urgent control bit (0x20) | Unset | Sets the TCP URG control bit indicating the 16-bit `urgent` pointer field is significant. |
| `urgent` | tcp, all TCP L7 protocols | `urgent <0..65535>` | 16-bit TCP urgent pointer offset (0..65535) | 0 | Sets the 16-bit TCP Urgent Pointer field (pair with bare `urg` flag for out-of-band/IDS evasion tests). |
| `win` | tcp, all TCP L7 protocols | `win <0..65535>` | 16-bit TCP receive window (0..65535) | 65535 (alias: window) | Sets the 16-bit TCP receive window size (`win 0` simulates a TCP ZeroWindow stall; `window` is an exact alias). |
| `window` | tcp, all TCP L7 protocols | `window <0..65535>` | 16-bit TCP receive window (0..65535) | 65535 (alias: win) | Full-word alias for `win <0..65535>` on `tcp` and all TCP-based Layer 7 frames. |
| `wscale` | tcp, all TCP L7 protocols | `wscale <0..255>` | TCP Option Kind 3 Window Scale shift count (u8, RFC 7323) | Omitted unless specified (e.g. wscale 7) | Appends the 3-byte RFC 7323 TCP Window Scale option (`Kind=3, Len=3`). |

### 81 Native Protocol Keywords (81 tokens)

Every Layer 2 through Layer 7 protocol builder keyword compiled natively by FrameAssembly v3.2.2.

| Token | Scopes | Syntax | Value / Range | Default | Summary |
| --- | --- | --- | --- | --- | --- |
| `ah` | Layer 3 (IP Proto 51) | `ah [spi <number>] [seq <number>] [icv "<hex>"] [nextheader <0..255>]` | IPsec AH (Dual-Stack IPv4/IPv6) | IP Proto 51 | IPsec Authentication Header (RFC 4302) |
| `amqp` | Layer 7 (TCP 5672) | `amqp [protocolheader \| connectionstart \| channelopen \| basicpublish \| basicdeliver \| heartbeat] [channel <0..65535>] [exchange "<text>"] [routingkey "<text>"]` | AMQP 0-9-1 (Dual-Stack IPv4/IPv6) | TCP 5672 | Advanced Message Queuing Protocol (RabbitMQ) (AMQP 0-9-1) |
| `arp` | Layer 2 (EtherType 0x0806), MAC-only or IP hosts | `arp [request \| reply \| gratuitous \| garp] [sendermac\|sha <mac>] [senderip\|spa <ipv4>] [targetmac\|tha <mac>] [targetip\|tpa <ipv4>]` | ARP / GARP (MAC-Only or IP) | EtherType 0x0806 | Address Resolution Protocol & Gratuitous ARP (RFC 826, RFC 5227) |
| `bacnet` | Layer 7 (UDP 47808 (0xbac0)) | `bacnet [whois \| iam \| readproperty \| writeproperty] [invokeid <0..255>] [objecttype <0..1023>] [objectinstance <number>] [propertyid <number>] [value <number>]` | BACnet/IP (Dual-Stack IPv4/IPv6) | UDP 47808 (0xbac0) | BACnet/IP Building Automation & Control Networks (ASHRAE 135, ISO 16484-5) |
| `bfd` | Layer 3 (UDP 3784 (Multihop 4784, TTL 255)) | `bfd [state <0..3>] [diag <0..31>] [mydisc <number>] [yourdisc <number>] [mintx <number>] [minrx <number>] [mult <0..255>]` | BFD (Dual-Stack IPv4/IPv6) | UDP 3784 (Multihop 4784, TTL 255) | Bidirectional Forwarding Detection Control Packet (RFC 5880, RFC 5881, RFC 5883) |
| `bgp` | Layer 3 (TCP 179) | `bgp [open \| update \| notification \| keepalive] [asn <number>] [holdtime <0..65535>] [bgpid <ipv4>] [prefix\|nlri <str\|ip>] [nexthop <ip>]` | BGP-4 / 4-Byte ASN (Dual-Stack IPv4/IPv6) | TCP 179 | Border Gateway Protocol 4 & 4-Byte ASN Capability (RFC 4271, RFC 6793) |
| `coap` | Layer 7 (UDP 5683) | `coap [con \| non \| ack \| rst \| msgtype "<text>"] [get \| post \| put \| delete \| created \| changed \| notfound \| code "<c.dd>"] [msgid <0..65535>] [token <hex_or_num>] [uripath "<text>"] [contentformat <0..65535>]` | CoAP (IoT) (Dual-Stack IPv4/IPv6) | UDP 5683 | Constrained Application Protocol (RFC 7252) |
| `dhcp` | Layer 7 (UDP 68/67 (DHCPv4) · UDP 546/547 (DHCPv6)) | `dhcp [discover \| offer \| request \| ack \| release \| solicit \| advertise \| reply] [xid <number>] [ciaddr <ipv4>] [yiaddr <ipv4>] [siaddr <ipv4>] [chaddr <mac>] [subnetmask <ipv4>] [router <ipv4>] [dnsserver <ip>] [leasetime <number>] [hostname "<text>"]` | DHCPv4 / DHCPv6 (Dual-Stack Morphing (v4/v6)) | UDP 68/67 (DHCPv4) · UDP 546/547 (DHCPv6) | Dynamic Host Configuration Protocol — DHCPv4 & DHCPv6 (RFC 2131, RFC 2132, RFC 8415) |
| `dnp3` | Layer 7 (TCP 20000 (or UDP 20000 via transport udp)) | `dnp3 [read \| write \| select \| operate \| directoperate \| confirm \| response \| unsolicitedresponse \| func "<text>"] [src <0..65535>] [dst <0..65535>] [group <0..255>] [variation <0..255>] [crc <hex_or_num>] [transport <tcp\|udp>]` | DNP3 (IEEE 1815) (Dual-Stack IPv4/IPv6) | TCP 20000 (or UDP 20000 via transport udp) | Distributed Network Protocol 3 (Electric & Water Utilities) (IEEE 1815-2012) |
| `dns` | Layer 7 (UDP 53 (or TCP 53 via transport tcp)) | `dns [query \| response] [txid <0..65535>] [qname "<text>"] [qtype "<text>"] [rdata "<text>"] [rcode <0..15>] [ansttl <number>] [transport <udp\|tcp>]` | DNS (UDP/TCP) (Dual-Stack IPv4/IPv6) | UDP 53 (or TCP 53 via transport tcp) | Domain Name System over UDP or TCP (RFC 1035, RFC 3596, RFC 2782) |
| `eapol` | Layer 2 (EtherType 0x888e -> 01:80:c2:00:00:03), MAC-only or IP hosts | `eapol [version <0..255>] [type <eappacket\|start\|logoff\|key> \| eappacket \| start \| logoff \| key] [eapcode <0..255>] [eapid <0..255>] [eapmethod <0..255>] [identity "<text>"]` | 802.1X EAPOL (MAC-Only or IP) | EtherType 0x888e -> 01:80:c2:00:00:03 | IEEE 802.1X Port-Based Network Access Control (EAP over LAN) (IEEE 802.1X, RFC 3748) |
| `esp` | Layer 3 (IP Proto 50) | `esp [spi <number>] [seq <number>] [iv "<hex>"] [icv "<hex>"] [nextheader <0..255>]` | IPsec ESP (Dual-Stack IPv4/IPv6) | IP Proto 50 | IPsec Encapsulating Security Payload (RFC 4303) |
| `ethernetip` | Layer 7 (TCP 44818 (Explicit) / UDP 2222 (Implicit I/O)) | `ethernetip [nop \| listservices \| listidentity \| listinterfaces \| registersession \| unregistersession \| sendrrdata \| sendunitdata \| cmd "<text>"] [sessionhandle <hex_or_num>] [status <number>] [context <hex_or_str>] [cipservice <hex_or_num>] [cipclass <hex_or_num>] [cipinstance <number>] [cipattr <number>] [transport <tcp\|udp>]` | EtherNet/IP (CIP) (Dual-Stack IPv4/IPv6) | TCP 44818 (Explicit) / UDP 2222 (Implicit I/O) | ODVA EtherNet/IP & Common Industrial Protocol (Rockwell) (ODVA EtherNet/IP, CIP Vol. 1 & Vol. 2) |
| `ftp` | Layer 7 (TCP 21) | `ftp [cmd "<text>"] [arg "<text>"] [code <100..599>] [reply "<text>"]` | FTP (Dual-Stack IPv4/IPv6) | TCP 21 | File Transfer Protocol Control Channel (RFC 959, RFC 2428) |
| `geneve` | Layer 3 (UDP 6081 (Proto 0x6558)) | `geneve [vni\|vnid <0..16777215>] [optclass <0..65535>] [opttype <0..255>] [protocoltype <0..65535>]` | GENEVE (Dual-Stack IPv4/IPv6) | UDP 6081 (Proto 0x6558) | Generic Network Virtualization Encapsulation (RFC 8926) |
| `gre` | Layer 3 (IP Proto 47) | `gre [grekey\|key <number>] [greseq <number>] [greproto <0..65535>] [checksum]` | GRE / NVGRE (Dual-Stack IPv4/IPv6) | IP Proto 47 | Generic Routing Encapsulation (GRE, GRETAP & NVGRE) (RFC 2784, RFC 2890, RFC 7637) |
| `grpc` | Layer 7 (TCP 50051) | `grpc [service "<text>"] [method "<text>"] [grpcstatus <number>]` | gRPC (Dual-Stack IPv4/IPv6) | TCP 50051 | gRPC Remote Procedure Calls over HTTP/2 (gRPC over HTTP/2, RFC 9113) |
| `hsrp` | Layer 3 (UDP 1985 (v1) / UDP 2029 (v2)) | `hsrp [group <0..255>] [priority <0..255>] [state <0..255>] [hellotime <0..255>] [holdtime <0..255>] [auth "<text>"] [vip <ip>]` | HSRPv1 / HSRPv2 (Dual-Stack Morphing (v4/v6)) | UDP 1985 (v1) / UDP 2029 (v2) | Cisco Hot Standby Router Protocol v1 & v2 (RFC 2281) |
| `http` | Layer 7 (TCP 80) | `http [get \| post \| put \| delete \| head \| options \| patch \| method "<text>"] [uri "<text>"] [version "<text>"] [hosthdr "<text>"] [useragent "<text>"] [contenttype "<text>"] [status <100..599>] [reason "<text>"] [header "<name>" "<value>" ...] [body "<text>"]` | HTTP/1.1 (Dual-Stack IPv4/IPv6) | TCP 80 | Hypertext Transfer Protocol HTTP/1.1 (RFC 9110, RFC 9112) |
| `http2` | Layer 7 (TCP 443) | `http2 [preface \| settings \| headers \| data \| windowupdate \| ping \| goaway] [streamid <number>]` | HTTP/2 (Dual-Stack IPv4/IPv6) | TCP 443 | Hypertext Transfer Protocol Version 2 Binary Framing (RFC 9113) |
| `icmp` | Layer 3 (IP Proto 1 (v4) / NextHdr 58 (v6)) | `icmp [echorequest \| echoreply \| destunreach \| timeexceeded \| redirect] [type <0..255>] [code <0..255>] [id <0..65535>] [seq <0..65535>] [gateway <ipv4>]` | ICMP / ICMPv6 (Dual-Stack Morphing (v4/v6)) | IP Proto 1 (v4) / NextHdr 58 (v6) | Internet Control Message Protocol v4 & Dual-Stack ICMPv6 (RFC 792, RFC 4443) |
| `igmp` | Layer 3 (IPv4 Proto 2 (TTL 1)) | `igmp [query \| report \| leave] [v1 \| v2 \| v3 \| version <1\|2\|3>] [group <ipv4>] [maxresp <0..255>]` | IGMPv1/v2/v3 (IPv4-Only) | IPv4 Proto 2 (TTL 1) | Internet Group Management Protocol v1, v2 & v3 (RFC 1112, RFC 2236, RFC 3376) |
| `ikev2` | Layer 3 (UDP 500 -> 500 (NAT-T 4500)) | `ikev2 [exchange <sainit\|auth\|createchildsa\|informational> \| sainit \| auth \| createchildsa \| informational] [initiatorspi <u64\|"hex">] [responderspi <u64\|"hex">] [msgid <number>] [flags <0..255>] [nextpayload\|nextheader <0..255>]` | IKEv2 (Dual-Stack IPv4/IPv6) | UDP 500 -> 500 (NAT-T 4500) | Internet Key Exchange Protocol Version 2 (RFC 7296, RFC 3948) |
| `imap` | Layer 7 (TCP 143) | `imap [tag "<text>"] [cmd "<text>"] [arg "<text>"] [status "<text>"] [response "<text>"]` | IMAP4 (Dual-Stack IPv4/IPv6) | TCP 143 | Internet Message Access Protocol IMAP4rev1 (RFC 3501, RFC 9051) |
| `ipfix` | Layer 7 (UDP 4739) | `ipfix [domainid <number>] [srcip <ip>] [dstip <ip>] [srcport <0..65535>] [dstport <0..65535>] [proto <0..255>] [packets <number>] [octets <number>]` | IPFIX (Dual-Stack IPv4/IPv6) | UDP 4739 | IP Flow Information Export (NetFlow v10) (RFC 7011, RFC 7012) |
| `ipsec` | Layer 3 (IP Proto 50 (ESP)) | `ipsec [spi <number>] [seq <number>] [iv "<hex>"] [icv "<hex>"] [nextheader <0..255>]` | IPsec (ESP Alias) (Dual-Stack IPv4/IPv6) | IP Proto 50 (ESP) | IPsec Encapsulating Security Payload (Protocol Alias) (RFC 4303, RFC 4301) |
| `kerberos` | Layer 7 (UDP 88 (or TCP 88 via transport tcp)) | `kerberos [asreq \| asrep \| tgsreq \| tgsrep \| krberror] [realm "<text>"] [cname "<text>"] [sname "<text>"] [etype <number>] [transport <udp\|tcp>]` | Kerberos v5 (Dual-Stack IPv4/IPv6) | UDP 88 (or TCP 88 via transport tcp) | Kerberos Network Authentication Service v5 (Active Directory) (RFC 4120, RFC 3962, RFC 4757) |
| `lacp` | Layer 2 (EtherType 0x8809 (Slow Subtype 0x01)), MAC-only or IP hosts | `lacp [actorsys <mac>] [actorkey <0..65535>] [actorport <0..65535>] [actorstate <0..255>] [partnersys <mac>] [partnerkey <0..65535>] [partnerport <0..65535>] [partnerstate <0..255>]` | LACP (MAC-Only or IP) | EtherType 0x8809 (Slow Subtype 0x01) | IEEE 802.3ad / 802.1AX Link Aggregation Control Protocol (IEEE 802.1AX, IEEE 802.3ad) |
| `ldap` | Layer 7 (TCP 389) | `ldap [msgid <number>] [bindreq \| bindres \| searchreq \| searchentry \| searchdone \| unbindreq] [basedn "<text>"] [filter "<text>"] [resultcode <number>]` | LDAPv3 (Dual-Stack IPv4/IPv6) | TCP 389 | Lightweight Directory Access Protocol v3 (ASN.1 BER) (RFC 4511) |
| `lldp` | Layer 2 (EtherType 0x88cc), MAC-only or IP hosts | `lldp [chassisid "<text>"] [portid "<text>"] [ttl <0..65535>] [sysname "<text>"] [sysdesc "<text>"]` | LLDP (MAC-Only or IP) | EtherType 0x88cc | IEEE 802.1AB Link Layer Discovery Protocol (IEEE 802.1AB) |
| `mdns` | Layer 7 (UDP 5353 -> 5353 (224.0.0.251 / ff02::fb)) | `mdns [query \| response] [txid <0..65535>] [qname "<text>"] [qtype "<text>"] [rdata "<text>"] [rcode <0..15>] [ansttl <number>]` | mDNS (Zero-Conf) (Dual-Stack IPv4/IPv6) | UDP 5353 -> 5353 (224.0.0.251 / ff02::fb) | Multicast DNS Zero-Configuration Discovery (RFC 6762, RFC 6763) |
| `memcached` | Layer 7 (UDP 11211 (or TCP 11211 via transport tcp)) | `memcached [get \| set \| cmd "<text>"] [key "<text>"] [value "<text>"] [flags <number>] [exptime <number>] [opcode <hex_or_num>] [opaque <hex_or_num>] [cas <hex_or_num>] [transport <udp\|tcp>]` | Memcached (Dual-Stack IPv4/IPv6) | UDP 11211 (or TCP 11211 via transport tcp) | Memcached ASCII & Binary Cache Protocol (Memcached Protocol Specification) |
| `mld` | Layer 3 (ICMPv6 NextHdr 58 (Hop Limit 1)) | `mld [query \| report \| done] [multicastaddr <ipv6>] [maxrespdelay <0..65535>]` | IPv6 MLD (IPv6-Only) | ICMPv6 NextHdr 58 (Hop Limit 1) | Multicast Listener Discovery v1 & v2 (IPv6) (RFC 2710, RFC 3810) |
| `modbus` | Layer 7 (TCP 502 (or UDP 502 via transport udp)) | `modbus [readcoils \| readdiscreteinputs \| readholdingregisters \| readinputregisters \| writesinglecoil \| writesingleregister \| writemultipleregisters \| func "<name_or_fc>"] [txid <0..65535>] [protoid <0..65535>] [unitid <0..255>] [addr <0..65535>] [count <0..65535>] [value <0..65535>] [isresponse] [transport <tcp\|udp>]` | Modbus TCP (Dual-Stack IPv4/IPv6) | TCP 502 (or UDP 502 via transport udp) | Modbus TCP / UDP Industrial Application Protocol (Modbus Application Protocol v1.1b3) |
| `mpls` | Layer 2 (EtherType 0x8847 (Label 16)), cross-layer L2 wrapper, MAC-only or IP hosts | `mpls [<0..1048575>] [exp\|tc <0..7>] [bos <0\|1>] [mplsttl <0..255>]` | MPLS (MAC-Only or IP) | EtherType 0x8847 (Label 16) | Multiprotocol Label Switching Unicast Shim (RFC 3032, RFC 5462) |
| `mqtt` | Layer 7 (TCP 1883) | `mqtt [connect \| connack \| publish \| puback \| subscribe \| suback \| pingreq \| pingresp \| disconnect \| pkttype "<text>"] [clientid "<text>"] [topic "<text>"] [qos <0..2>] [retain] [pktid <0..65535>] [keepalive <0..65535>] [returncode <0..255>]` | MQTT (Dual-Stack IPv4/IPv6) | TCP 1883 | Message Queuing Telemetry Transport (IoT & IIoT) (OASIS MQTT v3.1.1, OASIS MQTT v5.0) |
| `mysql` | Layer 7 (TCP 3306) | `mysql [greeting \| login \| query \| ok \| err \| eof] [serverversion "<text>"] [user "<text>"] [db "<text>"] [sql "<text>"] [errcode <0..65535>]` | MySQL / MariaDB (Dual-Stack IPv4/IPv6) | TCP 3306 | MySQL & MariaDB Wire Protocol v10 (MySQL Client/Server Protocol v10) |
| `ndp` | Layer 3 (ICMPv6 NextHdr 58 (Hop Limit 255)) | `ndp [routersolicit \| routeradvert \| neighborsolicit \| neighboradvert \| redirect] [target <ipv6>] [slla <mac>] [tlla <mac>] [routerlifetime <0..65535>]` | IPv6 NDP (IPv6-Only) | ICMPv6 NextHdr 58 (Hop Limit 255) | IPv6 Neighbor Discovery Protocol (RFC 4861) |
| `netflow` | Layer 7 (UDP 2055) | `netflow [srcip <ipv4>] [dstip <ipv4>] [srcport <0..65535>] [dstport <0..65535>] [proto <0..255>] [packets <number>] [octets <number>]` | NetFlow v5 (Dual-Stack IPv4/IPv6) | UDP 2055 | Cisco NetFlow Version 5 Flow Export (Cisco NetFlow v5) |
| `nfs` | Layer 7 (TCP 2049 (or UDP 2049 via transport udp)) | `nfs [vers <3\|4>] [compound \| proc "<text>"] [tag "<text>"] [path "<text>"] [xid <hex_or_num>] [transport <tcp\|udp>]` | NFSv3 / v4 (Dual-Stack IPv4/IPv6) | TCP 2049 (or UDP 2049 via transport udp) | Network File System over ONC RPC (RFC 7530, RFC 8881, RFC 1813) |
| `ntp` | Layer 7 (UDP 123) | `ntp [li <0..3>] [vn <1..4>] [mode <0..7>] [stratum <0..16>] [poll <0..255>] [precision <-128..127>] [refid "<text>"] [txtimestamp <number>]` | NTPv4 (Dual-Stack IPv4/IPv6) | UDP 123 | Network Time Protocol v1–v4 (RFC 5905) |
| `opcua` | Layer 7 (TCP 4840) | `opcua [msgtype "<HEL\|ACK\|OPN\|MSG\|CLO\|ERR>"] [chunktype "<F\|C\|A>"] [securechannelid <number>] [tokenid <number>] [seqnum <number>] [reqid <number>] [endpointurl "<text>"] [nodeid "<text>"]` | OPC UA (Dual-Stack IPv4/IPv6) | TCP 4840 | OPC Unified Architecture Binary TCP Protocol (IEC 62541-6) |
| `openflow` | Layer 3 (TCP 6653) | `openflow [hello \| echoreq \| echorequest \| echoreply \| featuresreq \| featuresreply \| packetin \| packetout \| flowmod \| type <0..255>] [version <0..255>] [xid <number>] [dpid <number>] [tableid <0..255>] [priority <0..65535>]` | OpenFlow SDN (Dual-Stack IPv4/IPv6) | TCP 6653 | OpenFlow SDN Control Channel (OpenFlow 1.3 / 1.4) (ONF OpenFlow 1.3 (TS-023), OpenFlow 1.4) |
| `ospf` | Layer 3 (IP Proto 89 (TTL 1)) | `ospf [hello \| dbd \| lsr \| lsu \| lsack] [routerid <ipv4>] [areaid <u32\|ipv4>] [hellointerval <0..65535>] [deadinterval <number>] [priority <0..255>]` | OSPFv2 / OSPFv3 (Dual-Stack Morphing (v4/v6)) | IP Proto 89 (TTL 1) | Open Shortest Path First — OSPFv2 & Dual-Stack OSPFv3 (RFC 2328, RFC 5340) |
| `pim` | Layer 3 (IP Proto 103) | `pim [hello \| joinprune \| register] [holdtime <0..65535>] [drpriority <number>] [group <ip>] [source <ip>] [rp <ip>]` | PIM-SM (Dual-Stack IPv4/IPv6) | IP Proto 103 | Protocol Independent Multicast — Sparse Mode (RFC 7761) |
| `pop3` | Layer 7 (TCP 110) | `pop3 [cmd "<text>"] [arg "<text>"] [ok \| err] [response "<text>"]` | POP3 (Dual-Stack IPv4/IPv6) | TCP 110 | Post Office Protocol Version 3 (RFC 1939) |
| `postgres` | Layer 7 (TCP 5432) | `postgres [startup \| authok \| query \| commandcomplete \| readyforquery \| errorresponse] [user "<text>"] [db "<text>"] [sql "<text>"]` | PostgreSQL (Dual-Stack IPv4/IPv6) | TCP 5432 | PostgreSQL Frontend/Backend Wire Protocol v3.0 (PostgreSQL Protocol v3.0) |
| `ptp` | Layer 7 (UDP 319 (Event) / UDP 320 (General)) | `ptp [sync \| delayreq \| followup \| delayresp \| announce \| msgtype "<text>"] [domain <0..255>] [seqid <0..65535>] [clockid "<text>"]` | PTPv2 (IEEE 1588) (Dual-Stack IPv4/IPv6) | UDP 319 (Event) / UDP 320 (General) | IEEE 1588 Precision Time Protocol v2 (IEEE 1588-2008, SMPTE ST 2059-2, ITU-T G.8275.2) |
| `qinq` | Layer 2 (Outer 0x88a8 + Inner 0x8100), cross-layer L2 wrapper, MAC-only or IP hosts | `qinq [<outer_svlan 0..4095>] [innervlan <inner_cvlan 0..4095>] [pcp <0..7>] [dei <0\|1>]` | 802.1ad QinQ (MAC-Only or IP) | Outer 0x88a8 + Inner 0x8100 | IEEE 802.1ad Provider Bridge Double VLAN Tagging (S-Tag + C-Tag) (IEEE 802.1ad, IEEE 802.1Q) |
| `quic` | Layer 7 (UDP 443) | `quic [initial \| zerortt \| handshake \| retry \| short] [version <number>] [dcid <hex_or_num>] [scid <hex_or_num>] [token "<text>"] [pktnum <number>]` | QUIC (HTTP/3) (Dual-Stack IPv4/IPv6) | UDP 443 | QUIC v1 & v2 Encrypted UDP Transport (RFC 9000, RFC 9369) |
| `radius` | Layer 7 (UDP 1812 (Auth) / UDP 1813 (Accounting)) | `radius [accessrequest \| accessaccept \| accessreject \| accesschallenge \| accountingrequest \| accountingresponse \| code "<text>"] [id <0..255>] [user "<text>"] [nasip <ipv4>] [servicetype <number>] [framedip <ipv4>]` | RADIUS (Dual-Stack IPv4/IPv6) | UDP 1812 (Auth) / UDP 1813 (Accounting) | Remote Authentication Dial-In User Service (Auth & Accounting) (RFC 2865, RFC 2866) |
| `redis` | Layer 7 (TCP 6379) | `redis [get \| set \| cmd "<text>"] [key "<text>"] [args "<text>"] [value "<text>"] [replytype "<ok\|err\|integer\|bulk>"]` | Redis (RESP) (Dual-Stack IPv4/IPv6) | TCP 6379 | Redis Serialization Protocol Cache & Broker (Redis RESP2 / RESP3) |
| `rip` | Layer 3 (UDP 520 (RIPv2) / UDP 521 (RIPng)) | `rip [request \| response \| reply] [prefix <ip>] [metric <1..16>] [nexthop <ip>] [tag <0..65535>]` | RIPv2 / RIPng (Dual-Stack Morphing (v4/v6)) | UDP 520 (RIPv2) / UDP 521 (RIPng) | Routing Information Protocol — RIPv2 & Dual-Stack RIPng (RFC 2453, RFC 2080) |
| `rtp` | Layer 7 (UDP 5004) | `rtp [pt <0..127>] [seq <0..65535>] [timestamp <number>] [ssrc <hex_or_num>] [marker <0\|1>]` | RTP (Media) (Dual-Stack IPv4/IPv6) | UDP 5004 | Real-time Transport Protocol Audio & Video Streams (RFC 3550, RFC 3551, RFC 4733) |
| `rtsp` | Layer 7 (TCP 554) | `rtsp [options \| describe \| setup \| play \| teardown \| method "<text>"] [uri "<text>"] [status <100..599>] [cseq <number>] [transporthdr "<text>"] [session "<text>"]` | RTSP (Dual-Stack IPv4/IPv6) | TCP 554 | Real Time Streaming Protocol IP Camera & Media Control (RFC 2326, RFC 7826) |
| `s7comm` | Layer 7 (TCP 102 (ISO-on-TCP)) | `s7comm [setupcomm \| readvar \| writevar \| plccontrol \| func "<text>"] [rosctr "<job\|ack\|ackdata\|userdata>"] [pduref <0..65535>] [area <hex_or_str>] [dbnum <0..65535>] [offset <number>] [count <0..65535>]` | Siemens S7comm (Dual-Stack IPv4/IPv6) | TCP 102 (ISO-on-TCP) | Siemens S7 Communication Protocol over ISO-on-TCP (RFC 1006 (TPKT), ISO 8073 (COTP), Siemens S7comm) |
| `sctp` | Layer 4 (IP Proto 132 (38412 NGAP / 36412 S1AP)) | `sctp [chunk <type> \| data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack] [vtag <number>] [tsn <number>] [stream <0..65535>] [ssn <0..65535>] [ppid <number>]` | SCTP (CRC-32c) (Dual-Stack IPv4/IPv6) | IP Proto 132 (38412 NGAP / 36412 S1AP) | Stream Control Transmission Protocol (RFC 9260, RFC 4960, 3GPP TS 38.412) |
| `sflow` | Layer 7 (UDP 6343) | `sflow [agentip <ip>] [subagentid <number>] [seq <number>] [uptime <number>] [samples <number>]` | sFlow v5 (Dual-Stack IPv4/IPv6) | UDP 6343 | sFlow Version 5 Switched & Routed Packet Sampling (sFlow v5 Specification) |
| `sip` | Layer 7 (UDP 5060 (or TCP 5060 via transport tcp)) | `sip [invite \| ack \| bye \| cancel \| register \| options \| method "<text>"] [uri "<text>"] [status <100..699>] [reason "<text>"] [from "<text>"] [to "<text>"] [callid "<text>"] [cseq <number>] [via "<text>"] [contact "<text>"] [contenttype "<text>"] [body "<text>"] [transport <udp\|tcp>]` | SIP (VoIP) (Dual-Stack IPv4/IPv6) | UDP 5060 (or TCP 5060 via transport tcp) | Session Initiation Protocol VoIP Signaling (RFC 3261) |
| `smb` | Layer 7 (TCP 445) | `smb [negotiate \| sessionsetup \| treeconnect \| treedisconnect \| create \| close \| read \| write \| logoff \| command "<text>"] [status <hex_or_num>] [treeid <number>] [sessionid <hex_or_num>] [msgid <number>] [share "<unc_path>"] [filename "<text>"]` | SMB2 / SMB3 (Dual-Stack IPv4/IPv6) | TCP 445 | Server Message Block SMB2 & SMB3 File Sharing (MS-SMB2) |
| `smtp` | Layer 7 (TCP 25 (or dstport 587 Submission)) | `smtp [ehlo ["<domain>"] \| helo ["<domain>"] \| mailfrom "<addr>" \| rcptto "<addr>" \| data \| quit \| cmd "<verb>" [param "<text>"]] [code <200..599>] [reply "<text>"] [body "<text>"]` | SMTP (Dual-Stack IPv4/IPv6) | TCP 25 (or dstport 587 Submission) | Simple Mail Transfer Protocol (RFC 5321) |
| `snmp1` | Layer 7 (UDP 162 (trap) / UDP 161 (get/set)) | `snmp1 [trap \| get \| getnext \| set \| response] [community "<text>"] [enterprise <oid>] [agentip <ipv4>] [gentrap <0..6>] [spectrap <number>] [sysuptime <number>] [reqid <number>] [oid <oid>] [varbind <oid> <type_val> ...]` | SNMPv1 (Dual-Stack IPv4/IPv6) | UDP 162 (trap) / UDP 161 (get/set) | Simple Network Management Protocol v1 (RFC 1157, RFC 1155, RFC 3584) |
| `snmp2` | Layer 7 (UDP 162 (trap/inform) / UDP 161 (get/getbulk)) | `snmp2 [trap \| inform \| report \| get \| getnext \| getbulk \| set \| response] [community "<text>"] [reqid <number>] [nonrepeaters <number>] [maxrepetitions <number>] [sysuptime <number>] [oid <oid>] [varbind <oid> <type_val> ...]` | SNMPv2c (Dual-Stack IPv4/IPv6) | UDP 162 (trap/inform) / UDP 161 (get/getbulk) | Simple Network Management Protocol v2c (RFC 3416, RFC 3418, RFC 2863) |
| `snmp3` | Layer 7 (UDP 162 (trap/inform/report) / UDP 161 (get/getbulk)) | `snmp3 [trap \| inform \| report \| get \| getnext \| getbulk \| set \| response] [user "<text>"] [engineid "<even_hex>"] [engineboots <number>] [enginetime <number>] [contextname "<text>"] [auth <md5\|sha\|sha256\|sha384\|sha512> "<password>"] [priv <des\|aes> "<password>"] [reqid <number>] [nonrepeaters <number>] [maxrepetitions <number>] [sysuptime <number>] [oid <oid>] [varbind <oid> <type_val> ...]` | SNMPv3 USM (authPriv) (Dual-Stack IPv4/IPv6) | UDP 162 (trap/inform/report) / UDP 161 (get/getbulk) | Simple Network Management Protocol v3 with USM Auth & Privacy (RFC 3414, RFC 3826, RFC 7860) |
| `ssdp` | Layer 7 (UDP 1900 (239.255.255.250 / ff02::c)) | `ssdp [msearch \| notify] [hosthdr "<text>"] [man "<text>"] [mx <0..255>] [st "<text>"] [nt "<text>"] [nts "<text>"] [usn "<text>"] [location "<text>"]` | SSDP (UPnP) (Dual-Stack IPv4/IPv6) | UDP 1900 (239.255.255.250 / ff02::c) | Simple Service Discovery Protocol & UPnP Multicast (UPnP Device Architecture 2.0) |
| `ssh` | Layer 7 (TCP 22) | `ssh [banner "<text>"] [kexinit] [newkeys] [msgcode <0..255>] [cookie "<text>"]` | SSH-2 (Dual-Stack IPv4/IPv6) | TCP 22 | Secure Shell Transport Layer Protocol (RFC 4253) |
| `stp` | Layer 2 (802.3 LLC 0x4242 -> 01:80:c2:00:00:00), MAC-only or IP hosts | `stp [rstp] [rootid "<text>"] [bridgeid "<text>"] [portid <0..65535>] [cost <number>] [maxage <0..65535>] [hellotime <0..65535>] [forwarddelay <0..65535>] [flags <0..255>]` | STP / RSTP (MAC-Only or IP) | 802.3 LLC 0x4242 -> 01:80:c2:00:00:00 | IEEE 802.1D Spanning Tree & IEEE 802.1w Rapid Spanning Tree (IEEE 802.1D, IEEE 802.1w) |
| `stun` | Layer 7 (UDP 3478) | `stun [bindingrequest \| bindingresponse \| bindingerror] [txid <hex_or_num>] [xormappedaddr <ip>] [software "<text>"]` | STUN (NAT) (Dual-Stack IPv4/IPv6) | UDP 3478 | Session Traversal Utilities for NAT (RFC 5389) |
| `syslog` | Layer 7 (UDP 514 (or TCP 514 via transport tcp)) | `syslog [facility <0..23>] [severity <0..7>] [pri <0..191>] [hostname "<text>"] [app "<text>"] [procid "<text>"] [msgid "<text>"] [msg "<text>"] [transport <udp\|tcp>]` | Syslog (Dual-Stack IPv4/IPv6) | UDP 514 (or TCP 514 via transport tcp) | Syslog Event Logging over UDP or TCP (RFC 5424, RFC 3164, RFC 6587) |
| `tacacs` | Layer 7 (TCP 49) | `tacacs [authen \| author \| acct \| type <authen\|author\|acct>] [seq <0..255>] [flags <0..255>] [sessionid <number>] [user "<text>"] [data "<text>"]` | TACACS+ (Dual-Stack IPv4/IPv6) | TCP 49 | Terminal Access Controller Access-Control System Plus (RFC 8907) |
| `tcp` | Layer 4 (IP Proto 6 (Default dstport 80)) | `tcp [syn] [ack] [fin] [rst] [psh] [urg] [ece] [cwr] [srcport <0..65535>] [dstport <0..65535>] [seq <number>] [acknum <number>] [win\|window <0..65535>] [urgent <0..65535>] [mss <0..65535>] [wscale <0..255>] [sackperm] [tsval <number>] [tsecr <number>]` | TCP & RFC 7323 (Dual-Stack IPv4/IPv6) | IP Proto 6 (Default dstport 80) | Transmission Control Protocol & RFC 7323 Options (RFC 9293, RFC 7323, RFC 2018) |
| `telnet` | Layer 7 (TCP 23) | `telnet [do <0..255>] [dont <0..255>] [will <0..255>] [wont <0..255>] [option <0..255>] [data "<text>"]` | Telnet (Dual-Stack IPv4/IPv6) | TCP 23 | Telnet Cleartext Terminal & IAC Negotiation (RFC 854, RFC 855) |
| `tftp` | Layer 7 (UDP 69) | `tftp [rrq \| wrq \| data \| ack \| error \| err] [filename "<text>"] [mode "<text>"] [block <0..65535>] [errcode <0..65535>] [errmsg "<text>"]` | TFTP (Dual-Stack IPv4/IPv6) | UDP 69 | Trivial File Transfer Protocol (RFC 1350) |
| `tls` | Layer 7 (TCP 443) | `tls [clienthello \| serverhello \| certificate \| finished \| appdata \| alert] [recordversion <hex>] [handshakeversion <hex>] [sni "<text>"] [ciphersuite <hex>] [alpn "<text>"]` | TLS 1.2 / 1.3 (Dual-Stack IPv4/IPv6) | TCP 443 | Transport Layer Security Record & Handshake Layer (RFC 8446, RFC 5246, RFC 6066) |
| `udp` | Layer 4 (IP Proto 17 (Default dstport 80)) | `udp [srcport <0..65535>] [dstport <0..65535>] [payload "<text>" \| hexpayload "<hex>"]` | UDP (Dual-Stack IPv4/IPv6) | IP Proto 17 (Default dstport 80) | User Datagram Protocol (RFC 768, RFC 8200) |
| `vlan` | Layer 2 (TPID 0x8100 (VID 1)), cross-layer L2 wrapper, MAC-only or IP hosts | `vlan [<vid 0..4095>] [pcp <0..7>] [dei <0\|1>]` | 802.1Q VLAN (MAC-Only or IP) | TPID 0x8100 (VID 1) | IEEE 802.1Q Virtual LAN Tagging & 802.1p QoS (IEEE 802.1Q, IEEE 802.1p) |
| `vrrp` | Layer 3 (IP Proto 112 (TTL 255)) | `vrrp [vrid <1..255>] [priority <0..255>] [advint <0..65535>] [vip <ip>] [version <2\|3>]` | VRRPv2 / VRRPv3 (Dual-Stack Morphing (v4/v6)) | IP Proto 112 (TTL 255) | Virtual Router Redundancy Protocol v2 & v3 (RFC 3768, RFC 5798) |
| `vxlan` | Layer 3 (UDP 4789 (VNI 1)) | `vxlan [vni\|vnid <0..16777215>]` | VXLAN (Dual-Stack IPv4/IPv6) | UDP 4789 (VNI 1) | Virtual eXtensible Local Area Network Overlay (RFC 7348) |
| `websocket` | Layer 7 (TCP 80) | `websocket [text \| binary \| close \| ping \| pong \| opcode "<text>"] [finbit <0\|1>] [maskkey <number>] [payload "<text>"]` | WebSocket (Dual-Stack IPv4/IPv6) | TCP 80 | WebSocket Framed Bidirectional Messaging (RFC 6455) |
| `whois` | Layer 7 (TCP 43), bacnet service | `whois [query \| response] [domain "<text>"] [registrar "<text>"]` | WHOIS (Dual-Stack IPv4/IPv6) | TCP 43 | WHOIS Domain & IP Directory Query Protocol (RFC 3912) (also accepted after `bacnet` to emit a BACnet unconfirmed Who-Is APDU). |
| `wireguard` | Layer 3 (UDP 51820) | `wireguard [type <initiation\|response\|cookie\|data> \| initiation \| response \| cookie \| data] [sender <number>] [receiver <number>] [counter <number>]` | WireGuard (Dual-Stack IPv4/IPv6) | UDP 51820 | WireGuard Noise_IK Secure Network Tunnel (WireGuard Whitepaper (NDSS 2017)) |

### Protocol-Specific Subkeywords & Fields (512 tokens)

All PDU types, message opcodes, header fields, USM crypto selectors, SMIv2 varbind value types, and aliases across the 81 protocols.

| Token | Scopes | Syntax | Value / Range | Default | Summary |
| --- | --- | --- | --- | --- | --- |
| `abort` | sctp | `data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack` | Bare chunk keyword (or `chunk <type>`) | data (Chunk Type 0) | Selects the RFC 9260 SCTP chunk type (`0`=DATA, `1`=INIT, `2`=INIT_ACK, `3`=SACK, `4`=HEARTBEAT, `5`=HEARTBEAT_ACK, `6`=ABORT, `7`=SHUTDOWN, `8`=SHUTDOWN_ACK, `10`=COOKIE_ECHO, `11`=COOKIE_ACK). |
| `accessaccept` | radius | `accessrequest \| accessaccept \| accessreject \| accesschallenge \| accountingrequest \| accountingresponse` | RADIUS packet code keyword (or `code "<text>"`) | accessrequest (Code 1, UDP 1812) | Sets the 1-byte RADIUS Code (`1` Access-Request, `2` Access-Accept, `3` Access-Reject, `4` Accounting-Request, `5` Accounting-Response, `11` Access-Challenge) and selects UDP `1812` or `1813`. |
| `accesschallenge` | radius | `accessrequest \| accessaccept \| accessreject \| accesschallenge \| accountingrequest \| accountingresponse` | RADIUS packet code keyword (or `code "<text>"`) | accessrequest (Code 1, UDP 1812) | Sets the 1-byte RADIUS Code (`1` Access-Request, `2` Access-Accept, `3` Access-Reject, `4` Accounting-Request, `5` Accounting-Response, `11` Access-Challenge) and selects UDP `1812` or `1813`. |
| `accessreject` | radius | `accessrequest \| accessaccept \| accessreject \| accesschallenge \| accountingrequest \| accountingresponse` | RADIUS packet code keyword (or `code "<text>"`) | accessrequest (Code 1, UDP 1812) | Sets the 1-byte RADIUS Code (`1` Access-Request, `2` Access-Accept, `3` Access-Reject, `4` Accounting-Request, `5` Accounting-Response, `11` Access-Challenge) and selects UDP `1812` or `1813`. |
| `accessrequest` | radius | `accessrequest \| accessaccept \| accessreject \| accesschallenge \| accountingrequest \| accountingresponse` | RADIUS packet code keyword (or `code "<text>"`) | accessrequest (Code 1, UDP 1812) | Sets the 1-byte RADIUS Code (`1` Access-Request, `2` Access-Accept, `3` Access-Reject, `4` Accounting-Request, `5` Accounting-Response, `11` Access-Challenge) and selects UDP `1812` or `1813`. |
| `accountingrequest` | radius | `accessrequest \| accessaccept \| accessreject \| accesschallenge \| accountingrequest \| accountingresponse` | RADIUS packet code keyword (or `code "<text>"`) | accessrequest (Code 1, UDP 1812) | Sets the 1-byte RADIUS Code (`1` Access-Request, `2` Access-Accept, `3` Access-Reject, `4` Accounting-Request, `5` Accounting-Response, `11` Access-Challenge) and selects UDP `1812` or `1813`. |
| `accountingresponse` | radius | `accessrequest \| accessaccept \| accessreject \| accesschallenge \| accountingrequest \| accountingresponse` | RADIUS packet code keyword (or `code "<text>"`) | accessrequest (Code 1, UDP 1812) | Sets the 1-byte RADIUS Code (`1` Access-Request, `2` Access-Accept, `3` Access-Reject, `4` Accounting-Request, `5` Accounting-Response, `11` Access-Challenge) and selects UDP `1812` or `1813`. |
| `acct` | tacacs | `authen \| author \| acct \| type <authen\|author\|acct>` | TACACS+ AAA packet type | authen (0x01) | Selects TACACS+ Type `0x01` Authentication (`authen`), `0x02` Authorization (`author`), or `0x03` Accounting (`acct`). |
| `actorkey` | lacp | `actorkey <0..65535> \| actorport <0..65535>` | 16-bit unsigned integers | actorkey 1, actorport 1 | Sets the Actor Operational Key (LAG ID) and Actor Port Number. |
| `actorport` | lacp | `actorkey <0..65535> \| actorport <0..65535>` | 16-bit unsigned integers | actorkey 1, actorport 1 | Sets the Actor Operational Key (LAG ID) and Actor Port Number. |
| `actorstate` | lacp | `actorstate <0..255>` | 8-bit IEEE 802.1AX state bitmask | 0x3d | Bitmask: `0x01` Activity, `0x02` Timeout (1=Short 1s), `0x04` Aggregation, `0x08` Sync, `0x10` Collecting, `0x20` Distributing, `0x40` Defaulted, `0x80` Expired. |
| `actorsys` | lacp | `actorsys <mac>` | 48-bit MAC address | Source host MAC | Sets the 6-byte Actor System MAC identifier inside TLV `0x01`. |
| `addr` | modbus | `addr <0..65535> \| count <0..65535> \| value <0..65535>` | 0-indexed starting register/coil address, item quantity, and write/reply value | addr 0, count 1, value 0 | Populates register addresses, counts, and 16-bit data words. |
| `advertise` | dhcp | `discover \| offer \| request \| ack \| release \| solicit \| advertise \| reply` | DHCPv4 / DHCPv6 message type keyword | discover (IPv4) / solicit (IPv6) | Sets DHCPv4 Option `53` + BOOTP `op` (`1` request, `2` reply) or DHCPv6 `msg-type` (`1` Solicit, `2` Advertise, `3` Request, `7` Reply, `8` Release). |
| `advint` | vrrp | `advint <0..65535>` | u8 seconds (v2) or 12-bit centiseconds (v3) | 1 (v2) / 100 (v3) | Sets Advertisement Interval (`1` second in VRRPv2; `100` centiseconds = `1.00s` in VRRPv3). |
| `aes` | snmp3 | `priv des \| aes "<password>"` | `des` (CBC-DES) or `aes` (AES-128-CFB) + passphrase | Omitted | Encrypts the `ScopedPDU` (`authPriv`, requires `auth`) and populates the 8-byte `msgPrivacyParameters` salt/IV. |
| `agentip` | snmp1, sflow | `agentip <ipv4>` | IPv4 dotted-quad literal | Source IPv4 (or 0.0.0.0 on IPv6) | Used across `snmp1`, `sflow`: Sets the 4-byte `NetworkAddress` (`agent-addr`) inside SNMPv1 `trap` PDUs. |
| `alert` | tls | `clienthello \| serverhello \| certificate \| finished \| appdata \| alert` | TLS record / handshake message type | clienthello | Selects Handshake (`22`: `clienthello`, `serverhello`, `certificate`, `finished`), Application Data (`23`: `appdata`), or Alert (`21`: `alert`). |
| `alpn` | tls | `alpn "<text>"` | Quoted protocol ID (`"h2"`, `"http/1.1"`, `"mqtt"`) | Omitted unless set | Adds TLS Extension `0x0010` (Application-Layer Protocol Negotiation) to `clienthello`. |
| `announce` | ptp | `sync \| delayreq \| followup \| delayresp \| announce \| msgtype "<text>"` | PTPv2 message type keyword | sync (0x0 on UDP 319) | Selects lower nibble of byte 0 and target UDP port (`0x0` Sync/319, `0x1` Delay_Req/319, `0x8` Follow_Up/320, `0x9` Delay_Resp/320, `0xb` Announce/320). |
| `ansttl` | dns, mdns | `ansttl <number>` | Whole number (seconds) | 300 | Used across `dns`, `mdns`: Sets the 32-bit caching TTL inside the Answer Resource Record (never `ans_ttl`). |
| `app` | syslog | `hostname "<text>" \| app "<text>" \| procid "<text>" \| msgid "<text>"` | Quoted text fields | Standard RFC 5424 defaults | Populates the structured RFC 5424 header fields before the log message body. |
| `appdata` | tls | `clienthello \| serverhello \| certificate \| finished \| appdata \| alert` | TLS record / handshake message type | clienthello | Selects Handshake (`22`: `clienthello`, `serverhello`, `certificate`, `finished`), Application Data (`23`: `appdata`), or Alert (`21`: `alert`). |
| `area` | s7comm | `area <hex_or_str> \| dbnum <0..65535>` | `0x84` Data Blocks (`DB`), `0x81` Inputs (`I`), `0x82` Outputs (`Q`), `0x83` Merkers (`M`) + DB number | area 0x84 (DB), dbnum 1 | Sets the memory area and Data Block number in S7Any item addressing. |
| `areaid` | ospf | `areaid <u32\|ipv4>` | u32 integer (0) or dotted-quad (0.0.0.0) | 0 (Backbone Area 0.0.0.0) | Sets the 32-bit OSPF Area ID. |
| `arg` | ftp, imap, pop3 | `arg "<text>"` | Quoted command argument (username, path, etc.) | Omitted unless set | Used across `ftp`, `imap`, `pop3`: Appends a space and argument after `cmd` before `\r\n`. |
| `args` | redis | `key "<text>" \| value "<text>" \| args "<text>"` | Quoted key, value, or extra arguments | key "mykey" on get/set | Populates subsequent `$len\r\n...` elements in requests or payload text in server replies. |
| `asn` | bgp | `asn <number>` | 16-bit or 32-bit Autonomous System Number | 65001 | Sets the Autonomous System in `open` (`<= 65535` direct; `> 65535` `AS_TRANS` `23456` + Capability `65`) and `AS_PATH` in `update`. |
| `asrep` | kerberos | `asreq \| asrep \| tgsreq \| tgsrep \| krberror` | Kerberos v5 message type | asreq (msg-type 10) | Selects Authentication Service Request/Reply (`10`/`11`), Ticket-Granting Service Request/Reply (`12`/`13`), or Error (`30`). |
| `asreq` | kerberos | `asreq \| asrep \| tgsreq \| tgsrep \| krberror` | Kerberos v5 message type | asreq (msg-type 10) | Selects Authentication Service Request/Reply (`10`/`11`), Ticket-Granting Service Request/Reply (`12`/`13`), or Error (`30`). |
| `auth` | ikev2, hsrp, snmp3 | `sainit \| auth \| createchildsa \| informational \| exchange <...>` | RFC 7296 Exchange Type keyword or u8 | sainit (34) | Used across `ikev2`, `hsrp`, `snmp3`: Sets Exchange Type: `sainit` (`34` IKE_SA_INIT), `auth` (`35` IKE_AUTH), `createchildsa` (`36` CREATE_CHILD_SA), `informational` (`37` INFORMATIONAL). |
| `authen` | tacacs | `authen \| author \| acct \| type <authen\|author\|acct>` | TACACS+ AAA packet type | authen (0x01) | Selects TACACS+ Type `0x01` Authentication (`authen`), `0x02` Authorization (`author`), or `0x03` Accounting (`acct`). |
| `authok` | postgres | `startup \| authok \| query \| commandcomplete \| readyforquery \| errorresponse` | PostgreSQL v3.0 message type | query ('Q') | Selects untagged `StartupMessage` (`startup`), `'R'` AuthOK (`authok`), `'Q'` Simple Query (`query`), `'C'` CommandComplete, `'Z'` ReadyForQuery, or `'E'` ErrorResponse. |
| `author` | tacacs | `authen \| author \| acct \| type <authen\|author\|acct>` | TACACS+ AAA packet type | authen (0x01) | Selects TACACS+ Type `0x01` Authentication (`authen`), `0x02` Authorization (`author`), or `0x03` Accounting (`acct`). |
| `banner` | ssh | `banner "<text>"` | Quoted SSH identification string (e.g. "SSH-2.0-OpenSSH_9.7") | "SSH-2.0-OpenSSH_9.6" | Emits the cleartext `\r\n`-terminated SSH version banner. |
| `basedn` | ldap | `basedn "<text>"` | Quoted Distinguished Name (`"dc=corp,dc=internal"`) | "dc=example,dc=com" | Sets the Bind DN on `bindreq`, Base Object on `searchreq`, or Object Name on `searchentry`. |
| `basicdeliver` | amqp | `protocolheader \| connectionstart \| channelopen \| basicpublish \| basicdeliver \| heartbeat` | AMQP 0-9-1 frame/method selector | basicpublish (channel 1) | Selects the 8-byte AMQP header, Method frame (`Type 1`), or Heartbeat frame (`Type 8`). |
| `basicpublish` | amqp | `protocolheader \| connectionstart \| channelopen \| basicpublish \| basicdeliver \| heartbeat` | AMQP 0-9-1 frame/method selector | basicpublish (channel 1) | Selects the 8-byte AMQP header, Method frame (`Type 1`), or Heartbeat frame (`Type 8`). |
| `bgpid` | bgp | `bgpid <ipv4>` | 32-bit dotted-quad identifier | Source IPv4 (or 1.1.1.1 on IPv6) | Sets the 4-byte BGP Identifier in `open` messages (always 32-bit dotted-quad on both v4 and v6). |
| `binary` | websocket | `text \| binary \| close \| ping \| pong \| opcode "<text>"` | WebSocket frame opcode | text (0x1) | Selects RFC 6455 opcode `0x1` (`text`), `0x2` (`binary`), `0x8` (`close`), `0x9` (`ping`), `0xa` (`pong`), or `"continuation"` (`0x0`). |
| `bindingerror` | stun | `bindingrequest \| bindingresponse \| bindingerror` | STUN message class/method | bindingrequest (0x0001) | Selects STUN Binding Request (`0x0001`), Binding Success Response (`0x0101`), or Binding Error Response (`0x0111`). |
| `bindingrequest` | stun | `bindingrequest \| bindingresponse \| bindingerror` | STUN message class/method | bindingrequest (0x0001) | Selects STUN Binding Request (`0x0001`), Binding Success Response (`0x0101`), or Binding Error Response (`0x0111`). |
| `bindingresponse` | stun | `bindingrequest \| bindingresponse \| bindingerror` | STUN message class/method | bindingrequest (0x0001) | Selects STUN Binding Request (`0x0001`), Binding Success Response (`0x0101`), or Binding Error Response (`0x0111`). |
| `bindreq` | ldap | `bindreq \| bindres \| searchreq \| searchentry \| searchdone \| unbindreq` | LDAPv3 protocol operation keyword | searchreq | Selects the ASN.1 BER `protocolOp` tag inside `LDAPMessage`. |
| `bindres` | ldap | `bindreq \| bindres \| searchreq \| searchentry \| searchdone \| unbindreq` | LDAPv3 protocol operation keyword | searchreq | Selects the ASN.1 BER `protocolOp` tag inside `LDAPMessage`. |
| `block` | tftp | `block <0..65535>` | 16-bit block number | 1 | Sets the 2-byte Block Number in `data` and `ack` packets (`0` acknowledges a `wrq`). |
| `body` | http, sip, smtp | `body "<text>"` | Quoted response or request payload | Empty | Used across `http`, `sip`, `smtp`: Appends the HTTP body after `\r\n\r\n` and calculates `Content-Length` automatically. |
| `bridgeid` | stp | `bridgeid "<text>"` | Bridge ID string ("<prio>:<mac>" or "<mac>") | "32768:<src_mac>" | Encodes the 8-byte Bridge Identifier of the transmitting switch. |
| `bye` | sip | `invite \| ack \| bye \| cancel \| register \| options \| method "<text>"` | SIP request method | invite | Sets the SIP request verb on the start line and inside the `CSeq` header. |
| `callid` | sip | `callid "<text>" \| cseq <number>` | Quoted Call-ID string + sequence number | callid "call-1", cseq 1 | Links all messages belonging to the same VoIP dialog (`Call-ID:`) and transaction (`CSeq:`). |
| `cancel` | sip | `invite \| ack \| bye \| cancel \| register \| options \| method "<text>"` | SIP request method | invite | Sets the SIP request verb on the start line and inside the `CSeq` header. |
| `cas` | memcached | `opcode <hex_or_num> [opaque <hex_or_num>] [cas <hex_or_num>]` | Binary protocol opcode (`0x00` Get, `0x01` Set, `0x07` Quit) | Omitted (uses ASCII mode) | Switches the packet to the 24-byte `0x80` Memcached Binary Protocol. |
| `certificate` | tls | `clienthello \| serverhello \| certificate \| finished \| appdata \| alert` | TLS record / handshake message type | clienthello | Selects Handshake (`22`: `clienthello`, `serverhello`, `certificate`, `finished`), Application Data (`23`: `appdata`), or Alert (`21`: `alert`). |
| `chaddr` | dhcp | `chaddr <mac>` | Colon, hyphen, or Cisco dot MAC | Source host MAC | Populates the 16-byte Client Hardware Address field in DHCPv4. |
| `changed` | coap | `get \| post \| put \| delete \| created \| changed \| notfound \| code "<c.dd>"` | Shorthand keyword OR dotted code (`"0.01"`..`"5.05"`, choose one) | get ("0.01") | Encodes byte 1 (`(class << 5) \| detail`, e.g. `"2.05"` Content = `0x45`). |
| `channel` | amqp | `channel <0..65535>` | 16-bit AMQP channel number (`0` for connection/heartbeat, `>= 1` for work channels) | 1 (0 on connectionstart/heartbeat) | Sets bytes 1..2 of the 7-byte AMQP frame header. |
| `channelopen` | amqp | `protocolheader \| connectionstart \| channelopen \| basicpublish \| basicdeliver \| heartbeat` | AMQP 0-9-1 frame/method selector | basicpublish (channel 1) | Selects the 8-byte AMQP header, Method frame (`Type 1`), or Heartbeat frame (`Type 8`). |
| `chassisid` | lldp | `chassisid "<text>"` | Quoted string or identifier | "switch" | Encodes Mandatory TLV Type 1 (Chassis ID) with Locally Assigned subtype. |
| `checksum` | gre | `checksum` | Bare boolean flag | Omitted (C=0) | Sets Checksum Present bit (`0x8000`) and inserts the computed 2-byte GRE Checksum + 2-byte Reserved1 (`0x0000`). |
| `chunk` | sctp | `sctp [chunk <type> \| data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack] [vtag <number>] [tsn <number>] [stream <0..65535>] [ssn <0..65535>] [ppid <number>]` | SCTP (CRC-32c) modifier | IP Proto 132 (38412 NGAP / 36412 S1AP) | Sets `chunk` on `sctp` frames. |
| `chunktype` | opcua | `chunktype "<F\|C\|A>"` | `"F"` Final chunk, `"C"` Intermediate chunk, `"A"` Abort | "F" | Sets byte 3 (`IsFinal`) of the 8-byte OPC UA Binary header. |
| `ciaddr` | dhcp | `ciaddr <ipv4> \| yiaddr <ipv4> \| siaddr <ipv4>` | IPv4 dotted-quad literals | 0.0.0.0 | Sets Client IP, Your (offered) IP, and Next Server IP in the DHCPv4 BOOTP header. |
| `cipattr` | ethernetip | `cipclass <hex_or_num> \| cipinstance <number> \| cipattr <number>` | CIP Object Class (`0x01` Identity, `0x04` Assembly, `0x6b` Symbol), Instance, and Attribute | cipclass 0x01, cipinstance 1, cipattr 1 | Encodes the logical EPATH segments targeting the PLC CIP object. |
| `cipclass` | ethernetip | `cipclass <hex_or_num> \| cipinstance <number> \| cipattr <number>` | CIP Object Class (`0x01` Identity, `0x04` Assembly, `0x6b` Symbol), Instance, and Attribute | cipclass 0x01, cipinstance 1, cipattr 1 | Encodes the logical EPATH segments targeting the PLC CIP object. |
| `ciphersuite` | tls | `ciphersuite <hex>` | 16-bit IANA cipher code (`0x1301` AES-128-GCM, `0x1302` AES-256-GCM, `0x1303` ChaCha20) | 0x1301 | Sets the offered or selected Cipher Suite in `clienthello` / `serverhello`. |
| `cipinstance` | ethernetip | `cipclass <hex_or_num> \| cipinstance <number> \| cipattr <number>` | CIP Object Class (`0x01` Identity, `0x04` Assembly, `0x6b` Symbol), Instance, and Attribute | cipclass 0x01, cipinstance 1, cipattr 1 | Encodes the logical EPATH segments targeting the PLC CIP object. |
| `cipservice` | ethernetip | `cipservice <hex_or_num>` | CIP Service Code (`0x01` Get_Attributes_All, `0x0e` Get_Attribute_Single, `0x10` Set_Attribute_Single, `0x4c` Read_Tag) | 0x0e (Get_Attribute_Single) | Sets the CIP Service byte inside `sendrrdata` / `sendunitdata`. |
| `clienthello` | tls | `clienthello \| serverhello \| certificate \| finished \| appdata \| alert` | TLS record / handshake message type | clienthello | Selects Handshake (`22`: `clienthello`, `serverhello`, `certificate`, `finished`), Application Data (`23`: `appdata`), or Alert (`21`: `alert`). |
| `clientid` | mqtt | `clientid "<text>" \| keepalive <0..65535>` | Quoted Client ID + keepalive seconds on `connect` | clientid "frameassembly", keepalive 60 | Populates the `CONNECT` payload Client Identifier and Keep Alive timer. |
| `clockid` | ptp | `clockid "<text>"` | 16-char EUI-64 hex ("001c73fffe000001") or 8B string | Derived from source MAC (EUI-64 fffe) | Populates the 8-byte `ClockIdentity` inside the 10-byte `sourcePortIdentity` field. |
| `close` | websocket, smb | `text \| binary \| close \| ping \| pong \| opcode "<text>"` | WebSocket frame opcode | text (0x1) | Used across `websocket`, `smb`: Selects RFC 6455 opcode `0x1` (`text`), `0x2` (`binary`), `0x8` (`close`), `0x9` (`ping`), `0xa` (`pong`), or `"continuation"` (`0x0`). |
| `cmd` | ftp, smtp, imap, pop3, redis, memcached | `cmd "<text>"` | Quoted FTP command verb (`"USER"`, `"PASS"`, `"PASV"`, `"RETR"`, `"STOR"`, `"QUIT"`) | "USER" | Used across `ftp`, `smtp`, `imap`, `pop3`, `redis`, `memcached`: Writes the FTP client command verb. |
| `cname` | kerberos | `cname "<text>" \| sname "<text>"` | Quoted Client Principal Name or Service Principal Name (SPN) | cname "alice", sname "krbtgt/EXAMPLE.COM" | Encodes `PrincipalName` components in `KDC-REQ-BODY` / `KDC-REP`. |
| `code` | icmp, ftp, smtp, coap | `type <0..255> \| code <0..255>` | 8-bit unsigned integers | Derived from shorthand (code 0) | Used across `icmp`, `ftp`, `smtp`, `coap`: Explicitly overrides the 1-byte ICMP/ICMPv6 Type and Code fields (e.g., `type 2 code 0` for ICMPv6 Packet Too Big). |
| `command` | rip | `request \| response \| reply \| command <1\|2>` | RIP Command selector | response (Command 2) | Selects Command `1` (`request`) or Command `2` (`response` / `reply`). |
| `commandcomplete` | postgres | `startup \| authok \| query \| commandcomplete \| readyforquery \| errorresponse` | PostgreSQL v3.0 message type | query ('Q') | Selects untagged `StartupMessage` (`startup`), `'R'` AuthOK (`authok`), `'Q'` Simple Query (`query`), `'C'` CommandComplete, `'Z'` ReadyForQuery, or `'E'` ErrorResponse. |
| `community` | snmp1, snmp2 | `community "<text>"` | Double-quoted OCTET STRING | "public" | Used across `snmp1`, `snmp2`: Sets the cleartext SNMPv1 community string. |
| `compound` | nfs | `compound \| proc "<text>"` | `compound` or procedure name (`"NULL"`, `"GETATTR"`, `"LOOKUP"`, `"READ"`, `"WRITE"`) | compound | Selects RPC procedure `1` (`COMPOUND` on NFSv4) or named NFSv3/v4 procedure. |
| `con` | coap | `con \| non \| ack \| rst \| msgtype "<text>"` | CoAP Message Type (`0` CON, `1` NON, `2` ACK, `3` RST) | con (Confirmable) | Sets the 2-bit `T` field in byte 0 (`ack` and `rst` are CoAP UDP message types, not TCP flags). |
| `confirm` | dnp3 | `read \| write \| select \| operate \| directoperate \| confirm \| response \| unsolicitedresponse \| func "<text>"` | DNP3 Application Function Code | read (0x01) | Selects `0x00` Confirm, `0x01` Read, `0x02` Write, `0x03` Select, `0x04` Operate, `0x05` Direct Operate, `0x81` Response, or `0x82` Unsolicited Response. |
| `connack` | mqtt | `connect \| connack \| publish \| puback \| subscribe \| suback \| pingreq \| pingresp \| disconnect` | MQTT Control Packet type (or `pkttype "<text>"`) | publish | Sets the upper 4-bit Control Packet Type (`1`..`14`) in byte 0 of the MQTT header. |
| `connect` | mqtt | `connect \| connack \| publish \| puback \| subscribe \| suback \| pingreq \| pingresp \| disconnect` | MQTT Control Packet type (or `pkttype "<text>"`) | publish | Sets the upper 4-bit Control Packet Type (`1`..`14`) in byte 0 of the MQTT header. |
| `connectionstart` | amqp | `protocolheader \| connectionstart \| channelopen \| basicpublish \| basicdeliver \| heartbeat` | AMQP 0-9-1 frame/method selector | basicpublish (channel 1) | Selects the 8-byte AMQP header, Method frame (`Type 1`), or Heartbeat frame (`Type 8`). |
| `contact` | sip | `uri "<text>" \| from "<text>" \| to "<text>" \| contact "<text>" \| via "<text>"` | Quoted SIP URIs / header values | RFC 3261 defaults | Populates the request URI and corresponding SIP signaling headers. |
| `contentformat` | coap | `contentformat <0..65535>` | IANA CoAP Content-Format (`0` text/plain, `40` link-format, `50` JSON, `60` CBOR) | Omitted unless set | Encodes CoAP Option `12` (`Content-Format`). |
| `contenttype` | http, sip | `useragent "<text>" \| contenttype "<text>"` | Quoted header values | Omitted unless set | Used across `http`, `sip`: Writes `User-Agent:` and `Content-Type:` headers. |
| `context` | ethernetip | `sessionhandle <hex_or_num> \| status <number> \| context <hex_or_str>` | 32-bit Session Handle, 32-bit Status (`0` Success), 64-bit Sender Context | sessionhandle 0, status 0 | Populates the 24-byte EtherNet/IP Encapsulation Header fields. |
| `contextname` | snmp3 | `contextname "<text>"` | Quoted text | "" (default context) | Sets `contextName` inside the `ScopedPDU` (e.g. `"vlan-10"` per-VLAN bridge MIB contexts). |
| `cookie` | wireguard, ssh | `initiation \| response \| cookie \| data \| type <...>` | WireGuard message type keyword | initiation (Type 1) | Used across `wireguard`, `ssh`: Selects Type `1` Handshake Initiation (`148B`), Type `2` Handshake Response (`92B`), Type `3` Cookie Reply (`64B`), or Type `4` Transport Data (`>= 32B`). |
| `cookieack` | sctp | `data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack` | Bare chunk keyword (or `chunk <type>`) | data (Chunk Type 0) | Selects the RFC 9260 SCTP chunk type (`0`=DATA, `1`=INIT, `2`=INIT_ACK, `3`=SACK, `4`=HEARTBEAT, `5`=HEARTBEAT_ACK, `6`=ABORT, `7`=SHUTDOWN, `8`=SHUTDOWN_ACK, `10`=COOKIE_ECHO, `11`=COOKIE_ACK). |
| `cookieecho` | sctp | `data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack` | Bare chunk keyword (or `chunk <type>`) | data (Chunk Type 0) | Selects the RFC 9260 SCTP chunk type (`0`=DATA, `1`=INIT, `2`=INIT_ACK, `3`=SACK, `4`=HEARTBEAT, `5`=HEARTBEAT_ACK, `6`=ABORT, `7`=SHUTDOWN, `8`=SHUTDOWN_ACK, `10`=COOKIE_ECHO, `11`=COOKIE_ACK). |
| `cost` | stp | `cost <number>` | Whole number | 0 | Sets the 4-byte Root Path Cost (`20000` = 1GbE, `2000` = 10GbE). |
| `count` | modbus, s7comm | `addr <0..65535> \| count <0..65535> \| value <0..65535>` | 0-indexed starting register/coil address, item quantity, and write/reply value | addr 0, count 1, value 0 | Used across `modbus`, `s7comm`: Populates register addresses, counts, and 16-bit data words. |
| `counter` | wireguard | `counter <number>` | Whole number | 0 | Sets the 64-bit ChaCha20-Poly1305 AEAD nonce counter in Type `4` `data` packets. |
| `counter32` | snmp1, snmp2, snmp3 | `varbind <oid> string "<text>" \| int <number> \| oidval <oid> \| ipval <ipv4> \| counter32 <number> \| gauge32 <number> \| timeticks <number> \| counter64 <number> \| null \| nullval` | Repeatable OID + SMI value keyword | Omitted | Used across `snmp1`, `snmp2`, `snmp3`: Appends an ASN.1 BER `VarBind` `(OID, SMI-value)` pair to the `VarBindList` SEQUENCE (`null` and `nullval` are interchangeable aliases). |
| `counter64` | snmp1, snmp2, snmp3 | `varbind <oid> string "<text>" \| int <number> \| oidval <oid> \| ipval <ipv4> \| counter32 <number> \| gauge32 <number> \| timeticks <number> \| counter64 <number> \| null \| nullval` | Repeatable OID + SMI value keyword | Omitted | Used across `snmp1`, `snmp2`, `snmp3`: Appends an ASN.1 BER `VarBind` `(OID, SMI-value)` pair to the `VarBindList` SEQUENCE (`null` and `nullval` are interchangeable aliases). |
| `crc` | dnp3 | `crc <hex_or_num>` | Optional 16-bit link-header CRC override | Auto-computed IEEE 1815 CRC-16 | Replaces the computed Data Link header CRC for negative/fuzz testing (omit for valid packets!). |
| `create` | smb | `negotiate \| sessionsetup \| treeconnect \| treedisconnect \| create \| close \| read \| write \| logoff` | SMB2/3 command keyword (or `command "<text>"`) | negotiate (0x0000) | Selects the 16-bit MS-SMB2 command (`0x00` Negotiate, `0x01` SessionSetup, `0x02` Logoff, `0x03` TreeConnect, `0x04` TreeDisconnect, `0x05` Create, `0x06` Close, `0x08` Read, `0x09` Write). |
| `createchildsa` | ikev2 | `sainit \| auth \| createchildsa \| informational \| exchange <...>` | RFC 7296 Exchange Type keyword or u8 | sainit (34) | Sets Exchange Type: `sainit` (`34` IKE_SA_INIT), `auth` (`35` IKE_AUTH), `createchildsa` (`36` CREATE_CHILD_SA), `informational` (`37` INFORMATIONAL). |
| `created` | coap | `get \| post \| put \| delete \| created \| changed \| notfound \| code "<c.dd>"` | Shorthand keyword OR dotted code (`"0.01"`..`"5.05"`, choose one) | get ("0.01") | Encodes byte 1 (`(class << 5) \| detail`, e.g. `"2.05"` Content = `0x45`). |
| `cseq` | sip, rtsp | `callid "<text>" \| cseq <number>` | Quoted Call-ID string + sequence number | callid "call-1", cseq 1 | Used across `sip`, `rtsp`: Links all messages belonging to the same VoIP dialog (`Call-ID:`) and transaction (`CSeq:`). |
| `data` | wireguard, sctp, tacacs, http2, telnet, tftp (+1 more) | `initiation \| response \| cookie \| data \| type <...>` | WireGuard message type keyword | initiation (Type 1) | Used across `wireguard`, `sctp`, `tacacs`, `http2`, `telnet`, `tftp`, `smtp`: Selects Type `1` Handshake Initiation (`148B`), Type `2` Handshake Response (`92B`), Type `3` Cookie Reply (`64B`), or Type `4` Transport Data (`>= 32B`). |
| `db` | mysql, postgres | `user "<text>" \| db "<text>"` | Quoted MySQL username and schema name on `login` | user "root", db "" | Used across `mysql`, `postgres`: Populates username and initial database inside `login` packets. |
| `dbd` | ospf | `hello \| dbd \| lsr \| lsu \| lsack` | OSPF Packet Type keyword | hello (Type 1) | Selects Type `1` Hello, Type `2` Database Description (`dbd`), Type `3` Link State Request (`lsr`), Type `4` Link State Update (`lsu`), or Type `5` Link State Acknowledgment (`lsack`). |
| `dbnum` | s7comm | `area <hex_or_str> \| dbnum <0..65535>` | `0x84` Data Blocks (`DB`), `0x81` Inputs (`I`), `0x82` Outputs (`Q`), `0x83` Merkers (`M`) + DB number | area 0x84 (DB), dbnum 1 | Sets the memory area and Data Block number in S7Any item addressing. |
| `dcid` | quic | `dcid <hex_or_num> \| scid <hex_or_num>` | 64-bit Connection IDs (e.g. 0x1122334455667788) | Deterministic 8-byte IDs | Sets the 8-byte Destination Connection ID (`dcid`) and Source Connection ID (`scid`, Long Header only). |
| `deadinterval` | ospf | `hellointerval <0..65535> \| deadinterval <number>` | Timers in seconds | hellointerval 10, deadinterval 40 | Sets the Hello Interval (`u16` seconds) and Router Dead Interval (`u32` OSPFv2 / `u16` OSPFv3) in `hello` packets. |
| `delayreq` | ptp | `sync \| delayreq \| followup \| delayresp \| announce \| msgtype "<text>"` | PTPv2 message type keyword | sync (0x0 on UDP 319) | Selects lower nibble of byte 0 and target UDP port (`0x0` Sync/319, `0x1` Delay_Req/319, `0x8` Follow_Up/320, `0x9` Delay_Resp/320, `0xb` Announce/320). |
| `delayresp` | ptp | `sync \| delayreq \| followup \| delayresp \| announce \| msgtype "<text>"` | PTPv2 message type keyword | sync (0x0 on UDP 319) | Selects lower nibble of byte 0 and target UDP port (`0x0` Sync/319, `0x1` Delay_Req/319, `0x8` Follow_Up/320, `0x9` Delay_Resp/320, `0xb` Announce/320). |
| `delete` | http, coap | `get \| post \| put \| delete \| head \| options \| patch \| method "<text>"` | HTTP request method | get | Used across `http`, `coap`: Sets the HTTP request verb at the start of the request line. |
| `des` | snmp3 | `priv des \| aes "<password>"` | `des` (CBC-DES) or `aes` (AES-128-CFB) + passphrase | Omitted | Encrypts the `ScopedPDU` (`authPriv`, requires `auth`) and populates the 8-byte `msgPrivacyParameters` salt/IV. |
| `describe` | rtsp | `options \| describe \| setup \| play \| teardown \| method "<text>"` | RTSP request verb | options | Sets the RTSP command method on the request line. |
| `destunreach` | icmp | `echorequest \| echoreply \| destunreach \| timeexceeded \| redirect` | Named ICMP message shorthand | echorequest | Maps to IPv4/ICMPv6 Type codes: `8`/`128` (`echorequest`), `0`/`129` (`echoreply`), `3`/`1` (`destunreach`), `11`/`3` (`timeexceeded`), `5`/`137` (`redirect`). |
| `diag` | bfd | `diag <0..31>` | 5-bit RFC 5880 Diagnostic code (0..31) | 0 (No Diagnostic) | Sets failure reason (`0` None, `1` Control Detection Time Expired, `3` Neighbor Signaled Session Down, `7` Administratively Down). |
| `directoperate` | dnp3 | `read \| write \| select \| operate \| directoperate \| confirm \| response \| unsolicitedresponse \| func "<text>"` | DNP3 Application Function Code | read (0x01) | Selects `0x00` Confirm, `0x01` Read, `0x02` Write, `0x03` Select, `0x04` Operate, `0x05` Direct Operate, `0x81` Response, or `0x82` Unsolicited Response. |
| `disconnect` | mqtt | `connect \| connack \| publish \| puback \| subscribe \| suback \| pingreq \| pingresp \| disconnect` | MQTT Control Packet type (or `pkttype "<text>"`) | publish | Sets the upper 4-bit Control Packet Type (`1`..`14`) in byte 0 of the MQTT header. |
| `discover` | dhcp | `discover \| offer \| request \| ack \| release \| solicit \| advertise \| reply` | DHCPv4 / DHCPv6 message type keyword | discover (IPv4) / solicit (IPv6) | Sets DHCPv4 Option `53` + BOOTP `op` (`1` request, `2` reply) or DHCPv6 `msg-type` (`1` Solicit, `2` Advertise, `3` Request, `7` Reply, `8` Release). |
| `dnsserver` | dhcp | `subnetmask <ipv4> \| router <ipv4> \| dnsserver <ip>` | IPv4/IPv6 address literals | Omitted | Appends Option `1` (Subnet Mask), Option `3` (Router), and Option `6` / DHCPv6 Option `23` (DNS Recursive Name Server). |
| `do` | telnet | `do <0..255> \| dont <0..255> \| will <0..255> \| wont <0..255>` | Telnet option code (`1` Echo, `3` Suppress Go Ahead, `24` Terminal Type, `31` Window Size) | Omitted | Emits the 3-byte `0xff <CMD> <OPT>` IAC negotiation triplet. |
| `domain` | ptp, whois | `domain <0..255>` | Whole number (0..255) | 0 | Used across `ptp`, `whois`: Sets `domainNumber` in byte 4 (`0` default IEEE 1588, `24`/`44` telecom G.8275, `127` SMPTE ST 2059). |
| `domainid` | ipfix | `domainid <number>` | 32-bit Observation Domain ID | 1 | Sets the 4-byte Observation Domain ID in bytes 12..15 of the IPFIX header. |
| `done` | mld | `query \| report \| done` | MLD message selector | query (Type 130) | Selects MLD Multicast Listener Query (`130`), Multicast Listener Report (`131`), or Multicast Listener Done (`132`). |
| `dont` | telnet | `do <0..255> \| dont <0..255> \| will <0..255> \| wont <0..255>` | Telnet option code (`1` Echo, `3` Suppress Go Ahead, `24` Terminal Type, `31` Window Size) | Omitted | Emits the 3-byte `0xff <CMD> <OPT>` IAC negotiation triplet. |
| `dpid` | openflow | `dpid <number>` | Whole number (0x hex recommended) | 1 | Sets the 8-byte Datapath ID in `featuresreply` (`upper 16 bits` vendor/ID + `lower 48 bits` switch MAC). |
| `drpriority` | pim | `drpriority <number>` | Whole number | 1 | Encodes Designated Router Priority Option TLV `19` in `pim hello` messages. |
| `dst` | dnp3 | `src <0..65535> \| dst <0..65535>` | 16-bit DNP3 Data Link station addresses | src 1, dst 10 | Sets the 2-byte little-endian DNP3 Source and Destination outstation/master addresses. |
| `dstip` | netflow, ipfix | `srcip <ipv4> \| dstip <ipv4>` | IPv4 address (e.g. 10.10.1.25) | Outer host IPv4 (or 10.0.0.1 / 10.0.0.2) | Used across `netflow`, `ipfix`: Sets the exported IPv4 Source and Destination addresses inside the 48-byte NetFlow v5 record. |
| `eapcode` | eapol | `eapcode <1..4>` | 8-bit RFC 3748 EAP Code | 2 (Response) | Sets the inner EAP Code when `eappacket` is active: `1` Request, `2` Response, `3` Success, `4` Failure. |
| `eapid` | eapol | `eapid <0..255>` | 8-bit EAP Identifier | 1 | Matches an EAP Response (`eapcode 2`) to its corresponding EAP Request (`eapcode 1`). |
| `eapmethod` | eapol | `eapmethod <0..255>` | 8-bit EAP Method Type | 1 (Identity) | Sets EAP Method on Request/Response: `1` Identity, `4` MD5-Challenge, `13` EAP-TLS, `25` PEAP. |
| `eappacket` | eapol | `eappacket \| start \| logoff \| key \| type <...>` | EAPOL packet type keyword or u8 | eappacket (type 0) | Selects EAPOL Packet Type: `eappacket` (`0`), `start` (`1`, 0-byte body), `logoff` (`2`, 0-byte body), or `key` (`3`, EAPOL-Key descriptor). |
| `echoreply` | icmp, openflow | `echorequest \| echoreply \| destunreach \| timeexceeded \| redirect` | Named ICMP message shorthand | echorequest | Used across `icmp`, `openflow`: Maps to IPv4/ICMPv6 Type codes: `8`/`128` (`echorequest`), `0`/`129` (`echoreply`), `3`/`1` (`destunreach`), `11`/`3` (`timeexceeded`), `5`/`137` (`redirect`). |
| `echoreq` | openflow | `hello \| echoreq \| echorequest \| echoreply \| featuresreq \| featuresreply \| packetin \| packetout \| flowmod \| type <0..255>` | OpenFlow message type keyword or u8 | hello (Type 0) | Maps to OpenFlow 1.3 types: `hello` (`0`), `echoreq`/`echorequest` (`2`), `echoreply` (`3`), `featuresreq` (`5`), `featuresreply` (`6`), `packetin` (`10`), `packetout` (`13`), `flowmod` (`14`). |
| `echorequest` | icmp, openflow | `echorequest \| echoreply \| destunreach \| timeexceeded \| redirect` | Named ICMP message shorthand | echorequest | Used across `icmp`, `openflow`: Maps to IPv4/ICMPv6 Type codes: `8`/`128` (`echorequest`), `0`/`129` (`echoreply`), `3`/`1` (`destunreach`), `11`/`3` (`timeexceeded`), `5`/`137` (`redirect`). |
| `ehlo` | smtp | `ehlo ["<domain>"] \| helo ["<domain>"]` | Extended or classic SMTP greeting + client hostname | "localhost" | Writes `EHLO <domain>\r\n` or `HELO <domain>\r\n`. |
| `endpointurl` | opcua | `endpointurl "<text>"` | Quoted `opc.tcp://...` endpoint URL on `"HEL"` | "opc.tcp://localhost:4840" | Writes the length-prefixed `EndpointUrl` string inside `"HEL"` messages. |
| `engineboots` | snmp3 | `engineboots <number> \| enginetime <number>` | Whole number | engineboots 1, enginetime 100 | Sets `msgAuthoritativeEngineBoots` and `msgAuthoritativeEngineTime` (also used in the AES-128-CFB IV). |
| `engineid` | snmp3 | `engineid "<even_hex>"` | Even-length ASCII hex string (e.g. "80001f880431") | "80001f888000000001" | Sets `msgAuthoritativeEngineID` and `contextEngineID` and localizes `Ku -> Kul` USM keys. |
| `enginetime` | snmp3 | `engineboots <number> \| enginetime <number>` | Whole number | engineboots 1, enginetime 100 | Sets `msgAuthoritativeEngineBoots` and `msgAuthoritativeEngineTime` (also used in the AES-128-CFB IV). |
| `enterprise` | snmp1 | `enterprise <oid>` | Dotted numeric OID (>= 2 arcs) | 1.3.6.1.4.1.8072.3.2.10 | Sets the `enterprise` OBJECT IDENTIFIER inside SNMPv1 `trap` PDUs. |
| `eof` | mysql | `greeting \| login \| query \| ok \| err \| eof` | MySQL packet type keyword | query (COM_QUERY 0x03) | Selects Server Greeting v10 (`greeting`), Client HandshakeResponse41 (`login`), SQL Query (`query`), `0x00` OK (`ok`), `0xff` Error (`err`), or `0xfe` EOF (`eof`). |
| `err` | tftp, pop3, mysql | `rrq \| wrq \| data \| ack \| error \| err` | TFTP opcode keyword | rrq (Opcode 1) | Used across `tftp`, `pop3`, `mysql`: Selects Opcode `1` Read Request (`rrq`), `2` Write Request (`wrq`), `3` Data (`data`), `4` Acknowledgment (`ack`), or `5` Error (`error` / `err`). |
| `errcode` | tftp, mysql | `errcode <0..65535> \| errmsg "<text>"` | RFC 1350 error code (`1` File not found, `2` Access violation) + message | errcode 1, errmsg "File not found" | Used across `tftp`, `mysql`: Populates the error code and NUL-terminated error string in `error` / `err` packets. |
| `errmsg` | tftp | `errcode <0..65535> \| errmsg "<text>"` | RFC 1350 error code (`1` File not found, `2` Access violation) + message | errcode 1, errmsg "File not found" | Populates the error code and NUL-terminated error string in `error` / `err` packets. |
| `error` | tftp | `rrq \| wrq \| data \| ack \| error \| err` | TFTP opcode keyword | rrq (Opcode 1) | Selects Opcode `1` Read Request (`rrq`), `2` Write Request (`wrq`), `3` Data (`data`), `4` Acknowledgment (`ack`), or `5` Error (`error` / `err`). |
| `errorresponse` | postgres | `startup \| authok \| query \| commandcomplete \| readyforquery \| errorresponse` | PostgreSQL v3.0 message type | query ('Q') | Selects untagged `StartupMessage` (`startup`), `'R'` AuthOK (`authok`), `'Q'` Simple Query (`query`), `'C'` CommandComplete, `'Z'` ReadyForQuery, or `'E'` ErrorResponse. |
| `etype` | kerberos | `etype <number>` | RFC 3961 encryption ID (`18` AES256, `17` AES128, `23` RC4-HMAC; negative vendor IDs allowed) | 18 (aes256-cts-hmac-sha1-96) | Sets the requested or encrypted-part `etype` integer. |
| `exchange` | ikev2, amqp | `sainit \| auth \| createchildsa \| informational \| exchange <...>` | RFC 7296 Exchange Type keyword or u8 | sainit (34) | Used across `ikev2`, `amqp`: Sets Exchange Type: `sainit` (`34` IKE_SA_INIT), `auth` (`35` IKE_AUTH), `createchildsa` (`36` CREATE_CHILD_SA), `informational` (`37` INFORMATIONAL). |
| `exptime` | memcached | `flags <number> \| exptime <number>` | 32-bit client flags + TTL expiration in seconds | flags 0, exptime 0 | Sets `flags` and `exptime` in `set` requests. |
| `facility` | syslog | `facility <0..23>` | Facility code 0..23 (`4` auth, `10` authpriv, `16..23` local0..local7) | 16 (local0) | Sets the RFC 5424 Facility number multiplied by `8` inside `<PRI>`. |
| `featuresreply` | openflow | `hello \| echoreq \| echorequest \| echoreply \| featuresreq \| featuresreply \| packetin \| packetout \| flowmod \| type <0..255>` | OpenFlow message type keyword or u8 | hello (Type 0) | Maps to OpenFlow 1.3 types: `hello` (`0`), `echoreq`/`echorequest` (`2`), `echoreply` (`3`), `featuresreq` (`5`), `featuresreply` (`6`), `packetin` (`10`), `packetout` (`13`), `flowmod` (`14`). |
| `featuresreq` | openflow | `hello \| echoreq \| echorequest \| echoreply \| featuresreq \| featuresreply \| packetin \| packetout \| flowmod \| type <0..255>` | OpenFlow message type keyword or u8 | hello (Type 0) | Maps to OpenFlow 1.3 types: `hello` (`0`), `echoreq`/`echorequest` (`2`), `echoreply` (`3`), `featuresreq` (`5`), `featuresreply` (`6`), `packetin` (`10`), `packetout` (`13`), `flowmod` (`14`). |
| `filename` | tftp, smb | `filename "<text>" \| mode "<text>"` | Quoted filename and mode (`"octet"` or `"netascii"`) | filename "boot.bin", mode "octet" | Used across `tftp`, `smb`: Writes NUL-terminated filename and transfer mode strings in `rrq` and `wrq` packets. |
| `filter` | ldap | `filter "<text>"` | Quoted LDAP search filter (`"(objectClass=*)"`, `"(sAMAccountName=jdoe)"`) | "(objectClass=*)" | Encodes the filter inside `searchreq` frames. |
| `finbit` | websocket | `finbit <0\|1>` | `1` (final frame) or `0` (more fragments follow) | 1 | Sets the `FIN` bit in byte 0 of the WebSocket header. |
| `finished` | tls | `clienthello \| serverhello \| certificate \| finished \| appdata \| alert` | TLS record / handshake message type | clienthello | Selects Handshake (`22`: `clienthello`, `serverhello`, `certificate`, `finished`), Application Data (`23`: `appdata`), or Alert (`21`: `alert`). |
| `flags` | stp, ikev2, tacacs, memcached | `flags <0..255>` | 8-bit bitmask | 0 (or RSTP role bits) | Used across `stp`, `ikev2`, `tacacs`, `memcached`: Sets Topology Change (`0x01`), Proposal (`0x02`), Port Role (`bits 2..3`), Learning (`0x10`), Forwarding (`0x20`), Agreement (`0x40`), and TCA (`0x80`). |
| `flowmod` | openflow | `hello \| echoreq \| echorequest \| echoreply \| featuresreq \| featuresreply \| packetin \| packetout \| flowmod \| type <0..255>` | OpenFlow message type keyword or u8 | hello (Type 0) | Maps to OpenFlow 1.3 types: `hello` (`0`), `echoreq`/`echorequest` (`2`), `echoreply` (`3`), `featuresreq` (`5`), `featuresreply` (`6`), `packetin` (`10`), `packetout` (`13`), `flowmod` (`14`). |
| `followup` | ptp | `sync \| delayreq \| followup \| delayresp \| announce \| msgtype "<text>"` | PTPv2 message type keyword | sync (0x0 on UDP 319) | Selects lower nibble of byte 0 and target UDP port (`0x0` Sync/319, `0x1` Delay_Req/319, `0x8` Follow_Up/320, `0x9` Delay_Resp/320, `0xb` Announce/320). |
| `forwarddelay` | stp | `maxage <0..65535> \| hellotime <0..65535> \| forwarddelay <0..65535>` | 16-bit unsigned integers (seconds) | maxage 20, hellotime 2, forwarddelay 15 | Encodes BPDU timers scaled to IEEE 802.1D `1/256`s increments. |
| `framedip` | radius | `framedip <ipv4>` | IPv4 address (e.g. 10.250.0.25) | Omitted unless set | Adds Attribute `8` (`Framed-IP-Address`) carrying the client’s assigned IPv4 address. |
| `from` | sip | `uri "<text>" \| from "<text>" \| to "<text>" \| contact "<text>" \| via "<text>"` | Quoted SIP URIs / header values | RFC 3261 defaults | Populates the request URI and corresponding SIP signaling headers. |
| `func` | modbus, dnp3, s7comm | `readcoils \| readdiscreteinputs \| readholdingregisters \| readinputregisters \| writesinglecoil \| writesingleregister \| writemultipleregisters \| func "<fc>"` | Function Code keyword or number (`"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"15"`, `"16"`) | readholdingregisters (FC 3) | Used across `modbus`, `dnp3`, `s7comm`: Sets the 1-byte Modbus Function Code immediately after `unitid`. |
| `garp` | arp | `request \| reply \| gratuitous \| garp` | Operation mode flag | request | Selects Opcode `1` broadcast Who-Has (`request`), Opcode `2` unicast Is-At (`reply`), or broadcast Gratuitous ARP (`gratuitous`/`garp` with `tpa = spa` and `ff:ff:ff:ff:ff:ff`). |
| `gateway` | icmp | `gateway <ipv4>` | IPv4 address literal | 0.0.0.0 (or source router IPv4) | Sets the 4-byte Redirect Gateway Internet Address on IPv4 `icmp redirect` messages. |
| `gauge32` | snmp1, snmp2, snmp3 | `varbind <oid> string "<text>" \| int <number> \| oidval <oid> \| ipval <ipv4> \| counter32 <number> \| gauge32 <number> \| timeticks <number> \| counter64 <number> \| null \| nullval` | Repeatable OID + SMI value keyword | Omitted | Used across `snmp1`, `snmp2`, `snmp3`: Appends an ASN.1 BER `VarBind` `(OID, SMI-value)` pair to the `VarBindList` SEQUENCE (`null` and `nullval` are interchangeable aliases). |
| `gentrap` | snmp1 | `gentrap <0..6> \| spectrap <number>` | gentrap: 0..6, spectrap: u32 | gentrap 6, spectrap 1 | Sets `generic-trap` (`0`=coldStart, `1`=warmStart, `2`=linkDown, `3`=linkUp, `4`=authFailure, `5`=egpNeighborLoss, `6`=enterpriseSpecific) and `specific-trap`. |
| `get` | snmp1, snmp2, snmp3, http, redis, memcached (+1 more) | `trap \| get \| getnext \| set \| response` | SNMPv1 PDU type keyword | trap (PDU 0xa4 on UDP 162) | Used across `snmp1`, `snmp2`, `snmp3`, `http`, `redis`, `memcached`, `coap`: Selects ASN.1 BER PDU context tag (`0xa0` GetRequest, `0xa1` GetNextRequest, `0xa2` GetResponse, `0xa3` SetRequest, `0xa4` v1 Trap). |
| `getbulk` | snmp2, snmp3 | `trap \| inform \| report \| get \| getnext \| getbulk \| set \| response` | SNMPv2c PDU type keyword | trap (PDU 0xa7 on UDP 162) | Used across `snmp2`, `snmp3`: Selects RFC 3416 BER PDU tag (`0xa0`..`0xa3` or `0xa5` GetBulk, `0xa6` Inform, `0xa7` SNMPv2-Trap, `0xa8` Report). |
| `getnext` | snmp1, snmp2, snmp3 | `trap \| get \| getnext \| set \| response` | SNMPv1 PDU type keyword | trap (PDU 0xa4 on UDP 162) | Used across `snmp1`, `snmp2`, `snmp3`: Selects ASN.1 BER PDU context tag (`0xa0` GetRequest, `0xa1` GetNextRequest, `0xa2` GetResponse, `0xa3` SetRequest, `0xa4` v1 Trap). |
| `goaway` | http2 | `preface \| settings \| headers \| data \| windowupdate \| ping \| goaway` | HTTP/2 frame type keyword | settings (Type 0x04, streamid 0) | Selects the RFC 9113 HTTP/2 binary frame type (`0x0` DATA, `0x1` HEADERS, `0x4` SETTINGS, `0x6` PING, `0x7` GOAWAY, `0x8` WINDOW_UPDATE, or connection `preface`). |
| `gratuitous` | arp | `request \| reply \| gratuitous \| garp` | Operation mode flag | request | Selects Opcode `1` broadcast Who-Has (`request`), Opcode `2` unicast Is-At (`reply`), or broadcast Gratuitous ARP (`gratuitous`/`garp` with `tpa = spa` and `ff:ff:ff:ff:ff:ff`). |
| `greeting` | mysql | `greeting \| login \| query \| ok \| err \| eof` | MySQL packet type keyword | query (COM_QUERY 0x03) | Selects Server Greeting v10 (`greeting`), Client HandshakeResponse41 (`login`), SQL Query (`query`), `0x00` OK (`ok`), `0xff` Error (`err`), or `0xfe` EOF (`eof`). |
| `grekey` | gre | `grekey <number> \| key <number>` | Whole number | Omitted (K=0) | Sets Key Present bit (`0x2000`) and inserts the 4-byte RFC 2890 Tunnel Key (or 24-bit NVGRE VSID + 8-bit FlowID). |
| `greproto` | gre | `greproto <0..65535>` | 16-bit EtherType (decimal or 0x hex) | 0x0800 | Sets the 2-byte GRE Protocol Type (`0x0800` IPv4, `0x86dd` IPv6, `0x6558` TEB/GRETAP, `0x88be` ERSPAN). |
| `greseq` | gre | `greseq <number>` | Whole number | Omitted (S=0) | Sets Sequence Number Present bit (`0x1000`) and inserts the 4-byte GRE Sequence Number. |
| `group` | igmp, pim, hsrp, dnp3 | `group <ipv4>` | IPv4 multicast address | 224.0.0.1 (or 0.0.0.0 general query) | Used across `igmp`, `pim`, `hsrp`, `dnp3`: Sets the 4-byte Group Address in v1/v2 headers or the Multicast Address inside the v3 Group Record. |
| `grpcstatus` | grpc | `grpcstatus <number>` | gRPC status code (`0` OK, `3` INVALID_ARGUMENT, `7` PERMISSION_DENIED, `14` UNAVAILABLE, `16` UNAUTHENTICATED) | Omitted on requests | Switches the packet to a gRPC Trailers response frame carrying `grpc-status`. |
| `handshake` | quic | `initial \| zerortt \| handshake \| retry \| short` | QUIC packet header type | initial | Selects Long Header (`initial`, `zerortt`, `handshake`, `retry`) or 1-RTT Short Header (`short`). |
| `handshakeversion` | tls | `recordversion <hex> \| handshakeversion <hex>` | 16-bit TLS version (`0x0301` TLS 1.0, `0x0303` TLS 1.2/1.3 record) | 0x0303 | Overrides the outer 5-byte TLS Record version or inner Handshake legacy version. |
| `head` | http | `get \| post \| put \| delete \| head \| options \| patch \| method "<text>"` | HTTP request method | get | Sets the HTTP request verb at the start of the request line. |
| `header` | http | `header "<name>" "<value>"` | Repeatable header name + value pair | Omitted | Appends one or more custom HTTP headers (`Authorization`, `Cookie`, `X-Forwarded-For`, etc.). |
| `headers` | http2 | `preface \| settings \| headers \| data \| windowupdate \| ping \| goaway` | HTTP/2 frame type keyword | settings (Type 0x04, streamid 0) | Selects the RFC 9113 HTTP/2 binary frame type (`0x0` DATA, `0x1` HEADERS, `0x4` SETTINGS, `0x6` PING, `0x7` GOAWAY, `0x8` WINDOW_UPDATE, or connection `preface`). |
| `heartbeat` | sctp, amqp | `data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack` | Bare chunk keyword (or `chunk <type>`) | data (Chunk Type 0) | Used across `sctp`, `amqp`: Selects the RFC 9260 SCTP chunk type (`0`=DATA, `1`=INIT, `2`=INIT_ACK, `3`=SACK, `4`=HEARTBEAT, `5`=HEARTBEAT_ACK, `6`=ABORT, `7`=SHUTDOWN, `8`=SHUTDOWN_ACK, `10`=COOKIE_ECHO, `11`=COOKIE_ACK). |
| `heartbeatack` | sctp | `data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack` | Bare chunk keyword (or `chunk <type>`) | data (Chunk Type 0) | Selects the RFC 9260 SCTP chunk type (`0`=DATA, `1`=INIT, `2`=INIT_ACK, `3`=SACK, `4`=HEARTBEAT, `5`=HEARTBEAT_ACK, `6`=ABORT, `7`=SHUTDOWN, `8`=SHUTDOWN_ACK, `10`=COOKIE_ECHO, `11`=COOKIE_ACK). |
| `hello` | ospf, pim, openflow | `hello \| dbd \| lsr \| lsu \| lsack` | OSPF Packet Type keyword | hello (Type 1) | Used across `ospf`, `pim`, `openflow`: Selects Type `1` Hello, Type `2` Database Description (`dbd`), Type `3` Link State Request (`lsr`), Type `4` Link State Update (`lsu`), or Type `5` Link State Acknowledgment (`lsack`). |
| `hellointerval` | ospf | `hellointerval <0..65535> \| deadinterval <number>` | Timers in seconds | hellointerval 10, deadinterval 40 | Sets the Hello Interval (`u16` seconds) and Router Dead Interval (`u32` OSPFv2 / `u16` OSPFv3) in `hello` packets. |
| `hellotime` | stp, hsrp | `maxage <0..65535> \| hellotime <0..65535> \| forwarddelay <0..65535>` | 16-bit unsigned integers (seconds) | maxage 20, hellotime 2, forwarddelay 15 | Used across `stp`, `hsrp`: Encodes BPDU timers scaled to IEEE 802.1D `1/256`s increments. |
| `helo` | smtp | `ehlo ["<domain>"] \| helo ["<domain>"]` | Extended or classic SMTP greeting + client hostname | "localhost" | Writes `EHLO <domain>\r\n` or `HELO <domain>\r\n`. |
| `holdtime` | bgp, pim, hsrp | `holdtime <0..65535>` | Whole number (0..65535) (seconds) | 180 | Used across `bgp`, `pim`, `hsrp`: Sets the BGP Hold Time in `open` (`0` or `>= 3` seconds per RFC 4271). |
| `hosthdr` | http, ssdp | `hosthdr "<text>"` | Quoted hostname (e.g. "api.internal") | Destination IP | Used across `http`, `ssdp`: Writes the `Host:` HTTP header (named `hosthdr` so it never conflicts with the top-level `host` block keyword). |
| `hostname` | dhcp, syslog | `leasetime <number> \| hostname "<text>"` | u32 seconds, UTF-8 string | leasetime 86400 | Used across `dhcp`, `syslog`: Appends Option `51` (IP Address Lease Time) and Option `12` (Host Name). |
| `iam` | bacnet | `whois \| iam \| readproperty \| writeproperty` | BACnet APDU service selector | whois | Selects Unconfirmed `Who-Is` (`8`), Unconfirmed `I-Am` (`0`), Confirmed `ReadProperty` (`12`), or Confirmed `WriteProperty` (`15`). |
| `icv` | ipsec, esp, ah | `icv "<hex>"` | Double-quoted even-length hex octets | 12-byte (96-bit) authenticator | Used across `ipsec`, `esp`, `ah`: Appends the trailing Integrity Check Value authentication tag. |
| `id` | icmp, radius | `id <0..65535> \| seq <0..65535>` | 16-bit unsigned integers | id 1, seq 1 | Used across `icmp`, `radius`: Sets the 16-bit Echo Identifier and Echo Sequence Number in the 4-byte rest-of-header. |
| `identity` | eapol | `identity "<text>"` | UTF-8 string | "user" (on Identity) | Populates the EAP-Identity Type-Data string (escape backslashes as `"corp\\alice"`). |
| `inform` | snmp2, snmp3 | `trap \| inform \| report \| get \| getnext \| getbulk \| set \| response` | SNMPv2c PDU type keyword | trap (PDU 0xa7 on UDP 162) | Used across `snmp2`, `snmp3`: Selects RFC 3416 BER PDU tag (`0xa0`..`0xa3` or `0xa5` GetBulk, `0xa6` Inform, `0xa7` SNMPv2-Trap, `0xa8` Report). |
| `informational` | ikev2 | `sainit \| auth \| createchildsa \| informational \| exchange <...>` | RFC 7296 Exchange Type keyword or u8 | sainit (34) | Sets Exchange Type: `sainit` (`34` IKE_SA_INIT), `auth` (`35` IKE_AUTH), `createchildsa` (`36` CREATE_CHILD_SA), `informational` (`37` INFORMATIONAL). |
| `init` | sctp | `data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack` | Bare chunk keyword (or `chunk <type>`) | data (Chunk Type 0) | Selects the RFC 9260 SCTP chunk type (`0`=DATA, `1`=INIT, `2`=INIT_ACK, `3`=SACK, `4`=HEARTBEAT, `5`=HEARTBEAT_ACK, `6`=ABORT, `7`=SHUTDOWN, `8`=SHUTDOWN_ACK, `10`=COOKIE_ECHO, `11`=COOKIE_ACK). |
| `initack` | sctp | `data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack` | Bare chunk keyword (or `chunk <type>`) | data (Chunk Type 0) | Selects the RFC 9260 SCTP chunk type (`0`=DATA, `1`=INIT, `2`=INIT_ACK, `3`=SACK, `4`=HEARTBEAT, `5`=HEARTBEAT_ACK, `6`=ABORT, `7`=SHUTDOWN, `8`=SHUTDOWN_ACK, `10`=COOKIE_ECHO, `11`=COOKIE_ACK). |
| `initial` | quic | `initial \| zerortt \| handshake \| retry \| short` | QUIC packet header type | initial | Selects Long Header (`initial`, `zerortt`, `handshake`, `retry`) or 1-RTT Short Header (`short`). |
| `initiation` | wireguard | `initiation \| response \| cookie \| data \| type <...>` | WireGuard message type keyword | initiation (Type 1) | Selects Type `1` Handshake Initiation (`148B`), Type `2` Handshake Response (`92B`), Type `3` Cookie Reply (`64B`), or Type `4` Transport Data (`>= 32B`). |
| `initiatorspi` | ikev2 | `initiatorspi <u64\|"hex"> \| responderspi <u64\|"hex">` | 64-bit integer or hex string | Deterministic initiator SPI; responderspi 0 on sainit | Populates the 8-byte Initiator SPI and 8-byte Responder SPI in the IKEv2 header. |
| `int` | snmp1, snmp2, snmp3 | `varbind <oid> string "<text>" \| int <number> \| oidval <oid> \| ipval <ipv4> \| counter32 <number> \| gauge32 <number> \| timeticks <number> \| counter64 <number> \| null \| nullval` | Repeatable OID + SMI value keyword | Omitted | Used across `snmp1`, `snmp2`, `snmp3`: Appends an ASN.1 BER `VarBind` `(OID, SMI-value)` pair to the `VarBindList` SEQUENCE (`null` and `nullval` are interchangeable aliases). |
| `invite` | sip | `invite \| ack \| bye \| cancel \| register \| options \| method "<text>"` | SIP request method | invite | Sets the SIP request verb on the start line and inside the `CSeq` header. |
| `invokeid` | bacnet | `invokeid <0..255>` | 1-byte Confirmed-Request Invoke ID | 1 | Matches Confirmed `readproperty` / `writeproperty` requests with Complex-ACK / Simple-ACK replies. |
| `ipval` | snmp1, snmp2, snmp3 | `varbind <oid> string "<text>" \| int <number> \| oidval <oid> \| ipval <ipv4> \| counter32 <number> \| gauge32 <number> \| timeticks <number> \| counter64 <number> \| null \| nullval` | Repeatable OID + SMI value keyword | Omitted | Used across `snmp1`, `snmp2`, `snmp3`: Appends an ASN.1 BER `VarBind` `(OID, SMI-value)` pair to the `VarBindList` SEQUENCE (`null` and `nullval` are interchangeable aliases). |
| `isresponse` | modbus | `isresponse` | Keyword flag on PLC replies | Request format when omitted | Formats `FC 1..4` packets as PLC responses (`[FC][ByteCount][Data...]`) so Wireshark dissects the reply without malformed-length warnings. |
| `iv` | ipsec, esp | `iv "<hex>"` | Double-quoted even-length hex octets | 8-byte deterministic IV | Used across `ipsec`, `esp`: Writes the explicit Initialization Vector octets immediately after `spi` + `seq`. |
| `joinprune` | pim | `hello \| joinprune \| register` | PIMv2 Message Type keyword | hello (Type 0) | Selects Type `0` Hello, Type `1` unicast Register (to RP), or Type `3` Join/Prune. |
| `keepalive` | bgp, mqtt | `open \| update \| notification \| keepalive` | BGP message type keyword | keepalive (Type 4) | Used across `bgp`, `mqtt`: Selects Type `1` OPEN, Type `2` UPDATE, Type `3` NOTIFICATION (Cease error), or Type `4` 19-byte KEEPALIVE. |
| `kexinit` | ssh | `kexinit` | Keyword flag | Omitted | Emits a binary RFC 4253 `SSH_MSG_KEXINIT` (`20`) packet with 16-byte cookie and KEX algorithm lists. |
| `key` | eapol, gre, redis, memcached | `eappacket \| start \| logoff \| key \| type <...>` | EAPOL packet type keyword or u8 | eappacket (type 0) | Used across `eapol`, `gre`, `redis`, `memcached`: Selects EAPOL Packet Type: `eappacket` (`0`), `start` (`1`, 0-byte body), `logoff` (`2`, 0-byte body), or `key` (`3`, EAPOL-Key descriptor). |
| `krberror` | kerberos | `asreq \| asrep \| tgsreq \| tgsrep \| krberror` | Kerberos v5 message type | asreq (msg-type 10) | Selects Authentication Service Request/Reply (`10`/`11`), Ticket-Granting Service Request/Reply (`12`/`13`), or Error (`30`). |
| `leasetime` | dhcp | `leasetime <number> \| hostname "<text>"` | u32 seconds, UTF-8 string | leasetime 86400 | Appends Option `51` (IP Address Lease Time) and Option `12` (Host Name). |
| `leave` | igmp | `query \| report \| leave` | IGMP message type | query | Selects Membership Query (`0x11`), Membership Report (`0x12` v1 / `0x16` v2 / `0x22` v3), or Leave Group (`0x17`). |
| `li` | ntp | `li <0..3>` | 2-bit Leap Indicator | 0 (no warning) | Sets bits 7..6 of byte 0 (`0`=no leap, `1`=61s minute, `2`=59s minute, `3`=unsynchronized/alarm). |
| `listidentity` | ethernetip | `nop \| listservices \| listidentity \| listinterfaces \| registersession \| unregistersession \| sendrrdata \| sendunitdata` | EtherNet/IP encapsulation command (or `cmd "<text>"`) | listidentity (0x0063) | Selects Encapsulation Command `0x0000` NOP, `0x0004` ListServices, `0x0063` ListIdentity, `0x0064` ListInterfaces, `0x0065` RegisterSession, `0x0066` UnRegisterSession, `0x006f` SendRRData, or `0x0070` SendUnitData. |
| `listinterfaces` | ethernetip | `nop \| listservices \| listidentity \| listinterfaces \| registersession \| unregistersession \| sendrrdata \| sendunitdata` | EtherNet/IP encapsulation command (or `cmd "<text>"`) | listidentity (0x0063) | Selects Encapsulation Command `0x0000` NOP, `0x0004` ListServices, `0x0063` ListIdentity, `0x0064` ListInterfaces, `0x0065` RegisterSession, `0x0066` UnRegisterSession, `0x006f` SendRRData, or `0x0070` SendUnitData. |
| `listservices` | ethernetip | `nop \| listservices \| listidentity \| listinterfaces \| registersession \| unregistersession \| sendrrdata \| sendunitdata` | EtherNet/IP encapsulation command (or `cmd "<text>"`) | listidentity (0x0063) | Selects Encapsulation Command `0x0000` NOP, `0x0004` ListServices, `0x0063` ListIdentity, `0x0064` ListInterfaces, `0x0065` RegisterSession, `0x0066` UnRegisterSession, `0x006f` SendRRData, or `0x0070` SendUnitData. |
| `location` | ssdp | `nt "<text>" \| nts "<text>" \| usn "<text>" \| location "<text>"` | NOTIFY advertisement headers (`NTS` `"ssdp:alive"` or `"ssdp:byebye"`) | nts "ssdp:alive" | Populates Notification Type, Sub-Type, Unique Service Name, and XML `LOCATION` URL on `notify` packets. |
| `login` | mysql | `greeting \| login \| query \| ok \| err \| eof` | MySQL packet type keyword | query (COM_QUERY 0x03) | Selects Server Greeting v10 (`greeting`), Client HandshakeResponse41 (`login`), SQL Query (`query`), `0x00` OK (`ok`), `0xff` Error (`err`), or `0xfe` EOF (`eof`). |
| `logoff` | eapol, smb | `eappacket \| start \| logoff \| key \| type <...>` | EAPOL packet type keyword or u8 | eappacket (type 0) | Used across `eapol`, `smb`: Selects EAPOL Packet Type: `eappacket` (`0`), `start` (`1`, 0-byte body), `logoff` (`2`, 0-byte body), or `key` (`3`, EAPOL-Key descriptor). |
| `lsack` | ospf | `hello \| dbd \| lsr \| lsu \| lsack` | OSPF Packet Type keyword | hello (Type 1) | Selects Type `1` Hello, Type `2` Database Description (`dbd`), Type `3` Link State Request (`lsr`), Type `4` Link State Update (`lsu`), or Type `5` Link State Acknowledgment (`lsack`). |
| `lsr` | ospf | `hello \| dbd \| lsr \| lsu \| lsack` | OSPF Packet Type keyword | hello (Type 1) | Selects Type `1` Hello, Type `2` Database Description (`dbd`), Type `3` Link State Request (`lsr`), Type `4` Link State Update (`lsu`), or Type `5` Link State Acknowledgment (`lsack`). |
| `lsu` | ospf | `hello \| dbd \| lsr \| lsu \| lsack` | OSPF Packet Type keyword | hello (Type 1) | Selects Type `1` Hello, Type `2` Database Description (`dbd`), Type `3` Link State Request (`lsr`), Type `4` Link State Update (`lsu`), or Type `5` Link State Acknowledgment (`lsack`). |
| `mailfrom` | smtp | `mailfrom "<addr>" \| rcptto "<addr>"` | Quoted sender or recipient email address | Omitted unless set | Writes `MAIL FROM:<addr>\r\n` or `RCPT TO:<addr>\r\n`. |
| `man` | ssdp | `man "<text>" \| mx <0..255> \| st "<text>"` | M-SEARCH discovery headers (`MX` max wait seconds, `ST` Search Target) | man "\"ssdp:discover\"", mx 3, st "ssdp:all" | Populates mandatory UPnP discovery request headers on `msearch` packets. |
| `marker` | rtp | `marker <0\|1>` | `1` (talkspurt start / end-of-video-frame) or `0` | 0 | Sets the 1-bit `M` flag at the top of byte 1. |
| `maskkey` | websocket | `maskkey <number>` | 32-bit masking key (e.g. 0x37fa213d) | Unmasked (MASK=0) | Sets `MASK=1`, inserts the 4-byte Masking-Key in the header, and XOR-masks payload bytes on the wire. |
| `maxage` | stp | `maxage <0..65535> \| hellotime <0..65535> \| forwarddelay <0..65535>` | 16-bit unsigned integers (seconds) | maxage 20, hellotime 2, forwarddelay 15 | Encodes BPDU timers scaled to IEEE 802.1D `1/256`s increments. |
| `maxrepetitions` | snmp2, snmp3 | `nonrepeaters <number> \| maxrepetitions <number>` | Whole number | nonrepeaters 0, maxrepetitions 10 | Used across `snmp2`, `snmp3`: Sets scalar `non-repeaters` count and tabular `max-repetitions` row count on `getbulk` PDUs. |
| `maxresp` | igmp | `maxresp <0..255>` | Whole number (0..255) (1/10th seconds) | 100 (10.0 seconds) | Sets the Max Response Time byte in IGMPv2/v3 Queries (`0` in IGMPv1 and Reports). |
| `maxrespdelay` | mld | `maxrespdelay <0..65535>` | Whole number (0..65535) (milliseconds) | 10000 (10 seconds) | Sets the Maximum Response Delay in milliseconds on MLD Queries (`0` on Reports and Done messages). |
| `md5` | snmp3 | `auth md5 \| sha \| sha256 \| sha384 \| sha512 "<password>"` | HMAC algorithm keyword + passphrase string | Omitted (noAuthNoPriv) | Enables USM authentication (`authNoPriv` or `authPriv`) and writes the live RFC 3414 / RFC 7860 HMAC digest. |
| `method` | http, grpc, sip, rtsp | `get \| post \| put \| delete \| head \| options \| patch \| method "<text>"` | HTTP request method | get | Used across `http`, `grpc`, `sip`, `rtsp`: Sets the HTTP request verb at the start of the request line. |
| `metric` | rip | `metric <1..16>` | Hop count integer (1..16) | 1 | Sets the route hop-count metric (`1..15` reachable hops, `16` infinity / unreachable). |
| `minrx` | bfd | `mintx <number> \| minrx <number>` | Whole number (microseconds) | 100000 (100 ms) | Sets Desired Min TX Interval and Required Min RX Interval in **microseconds** (`50000` = `50ms`, `1000000` = `1s`). |
| `mintx` | bfd | `mintx <number> \| minrx <number>` | Whole number (microseconds) | 100000 (100 ms) | Sets Desired Min TX Interval and Required Min RX Interval in **microseconds** (`50000` = `50ms`, `1000000` = `1s`). |
| `mode` | ntp, tftp | `mode <0..7>` | 3-bit Association Mode | 3 (Client) | Used across `ntp`, `tftp`: Sets bits 2..0 of byte 0 (`1`=Symmetric Active, `2`=Passive, `3`=Client, `4`=Server, `5`=Broadcast, `6`=Control, `7`=Private). |
| `msearch` | ssdp | `msearch \| notify` | SSDP HTTPU method | msearch | Selects `M-SEARCH * HTTP/1.1` active discovery or `NOTIFY * HTTP/1.1` multicast announcement. |
| `msg` | syslog | `msg "<text>"` | Quoted log message text | "FrameAssembly syslog message" | Sets the UTF-8 log message text at the end of the syslog record. |
| `msgcode` | ssh | `msgcode <0..255>` | RFC 4253 message number (e.g. `5` SERVICE_REQUEST, `50` USERAUTH_REQUEST) | Omitted | Emits a properly length-prefixed and block-padded SSH binary packet with the chosen message code. |
| `msgid` | ikev2, syslog, ldap, smb, coap | `msgid <number>` | Whole number | 0 | Used across `ikev2`, `syslog`, `ldap`, `smb`, `coap`: Sets the 4-byte IKEv2 Message ID (`0` for `sainit`, `1` for initial `auth`, incrementing per request/response pair). |
| `msgtype` | ptp, coap, opcua | `sync \| delayreq \| followup \| delayresp \| announce \| msgtype "<text>"` | PTPv2 message type keyword | sync (0x0 on UDP 319) | Used across `ptp`, `coap`, `opcua`: Selects lower nibble of byte 0 and target UDP port (`0x0` Sync/319, `0x1` Delay_Req/319, `0x8` Follow_Up/320, `0x9` Delay_Resp/320, `0xb` Announce/320). |
| `mult` | bfd | `mult <1..255>` | 8-bit Detect Multiplier | 3 | Sets the missed-packet multiplier (`Detection Time = mult * max(minrx, peer_mintx)`). |
| `multicastaddr` | mld | `multicastaddr <ipv6>` | 128-bit IPv6 multicast address (or ::) | :: (General Query) | Sets the 16-byte Multicast Address field (`::` in General Queries, specific `ffxx::` group in Group-Specific Queries, Reports, and Done messages). |
| `mx` | ssdp | `man "<text>" \| mx <0..255> \| st "<text>"` | M-SEARCH discovery headers (`MX` max wait seconds, `ST` Search Target) | man "\"ssdp:discover\"", mx 3, st "ssdp:all" | Populates mandatory UPnP discovery request headers on `msearch` packets. |
| `mydisc` | bfd | `mydisc <number> \| yourdisc <number>` | 32-bit non-zero / peer session discriminators | mydisc 1, yourdisc 0 | Sets My Discriminator and Your Discriminator (`0` until learned from peer). |
| `nasip` | radius | `nasip <ipv4>` | IPv4 address (e.g. 10.20.0.10) | Omitted unless set | Adds Attribute `4` (`NAS-IP-Address`) identifying the switch, WLC, or VPN concentrator. |
| `negotiate` | smb | `negotiate \| sessionsetup \| treeconnect \| treedisconnect \| create \| close \| read \| write \| logoff` | SMB2/3 command keyword (or `command "<text>"`) | negotiate (0x0000) | Selects the 16-bit MS-SMB2 command (`0x00` Negotiate, `0x01` SessionSetup, `0x02` Logoff, `0x03` TreeConnect, `0x04` TreeDisconnect, `0x05` Create, `0x06` Close, `0x08` Read, `0x09` Write). |
| `neighboradvert` | ndp | `routersolicit \| routeradvert \| neighborsolicit \| neighboradvert \| redirect` | NDP message selector | neighborsolicit (Type 135) | Selects ICMPv6 Type `133` (`routersolicit`), `134` (`routeradvert`), `135` (`neighborsolicit`), `136` (`neighboradvert`), or `137` (`redirect`). |
| `neighborsolicit` | ndp | `routersolicit \| routeradvert \| neighborsolicit \| neighboradvert \| redirect` | NDP message selector | neighborsolicit (Type 135) | Selects ICMPv6 Type `133` (`routersolicit`), `134` (`routeradvert`), `135` (`neighborsolicit`), `136` (`neighboradvert`), or `137` (`redirect`). |
| `newkeys` | ssh | `newkeys` | Keyword flag | Omitted | Emits a binary `SSH_MSG_NEWKEYS` (`21`) packet signaling transition to negotiated keys. |
| `nextheader` | ipsec, esp, ah, ikev2 | `nextheader <0..255>` | 8-bit IP protocol number | 4 (IPv4-in-IP tunnel mode) | Used across `ipsec`, `esp`, `ah`, `ikev2`: Sets the ESP trailer Next Header byte (`4` IPv4-in-IP, `41` IPv6-in-IP, `6` TCP transport mode). |
| `nexthop` | bgp, rip | `nexthop <ip>` | IPv4 or IPv6 address literal | Source host IP | Used across `bgp`, `rip`: Sets the `NEXT_HOP` path attribute inside `bgp update` messages. |
| `nextpayload` | ikev2 | `nextpayload <0..255> \| nextheader <0..255>` | 8-bit IKEv2 Payload Type | 33 (SA) or 0 (None) | Sets the first chained IKEv2 Payload Type (`33` SA, `34` KE, `40` Nonce, `46` Encrypted SK, `0` None). |
| `nlri` | bgp | `prefix <str\|ip> \| nlri <str\|ip>` | CIDR string ("10.20.0.0/16") or IP literal | "10.0.0.0/24" | Encodes Network Layer Reachability Information (`nlri` is an exact alias for `prefix`) in `update` messages. |
| `nodeid` | opcua | `nodeid "<text>"` | Quoted OPC UA NodeId string (`"ns=2;s=Line1.Pressure"`) | Omitted unless set | Encodes a String `NodeId` inside `"MSG"` ReadRequest payloads. |
| `non` | coap | `con \| non \| ack \| rst \| msgtype "<text>"` | CoAP Message Type (`0` CON, `1` NON, `2` ACK, `3` RST) | con (Confirmable) | Sets the 2-bit `T` field in byte 0 (`ack` and `rst` are CoAP UDP message types, not TCP flags). |
| `nonrepeaters` | snmp2, snmp3 | `nonrepeaters <number> \| maxrepetitions <number>` | Whole number | nonrepeaters 0, maxrepetitions 10 | Used across `snmp2`, `snmp3`: Sets scalar `non-repeaters` count and tabular `max-repetitions` row count on `getbulk` PDUs. |
| `nop` | ethernetip | `nop \| listservices \| listidentity \| listinterfaces \| registersession \| unregistersession \| sendrrdata \| sendunitdata` | EtherNet/IP encapsulation command (or `cmd "<text>"`) | listidentity (0x0063) | Selects Encapsulation Command `0x0000` NOP, `0x0004` ListServices, `0x0063` ListIdentity, `0x0064` ListInterfaces, `0x0065` RegisterSession, `0x0066` UnRegisterSession, `0x006f` SendRRData, or `0x0070` SendUnitData. |
| `notfound` | coap | `get \| post \| put \| delete \| created \| changed \| notfound \| code "<c.dd>"` | Shorthand keyword OR dotted code (`"0.01"`..`"5.05"`, choose one) | get ("0.01") | Encodes byte 1 (`(class << 5) \| detail`, e.g. `"2.05"` Content = `0x45`). |
| `notification` | bgp | `open \| update \| notification \| keepalive` | BGP message type keyword | keepalive (Type 4) | Selects Type `1` OPEN, Type `2` UPDATE, Type `3` NOTIFICATION (Cease error), or Type `4` 19-byte KEEPALIVE. |
| `notify` | ssdp | `msearch \| notify` | SSDP HTTPU method | msearch | Selects `M-SEARCH * HTTP/1.1` active discovery or `NOTIFY * HTTP/1.1` multicast announcement. |
| `nt` | ssdp | `nt "<text>" \| nts "<text>" \| usn "<text>" \| location "<text>"` | NOTIFY advertisement headers (`NTS` `"ssdp:alive"` or `"ssdp:byebye"`) | nts "ssdp:alive" | Populates Notification Type, Sub-Type, Unique Service Name, and XML `LOCATION` URL on `notify` packets. |
| `nts` | ssdp | `nt "<text>" \| nts "<text>" \| usn "<text>" \| location "<text>"` | NOTIFY advertisement headers (`NTS` `"ssdp:alive"` or `"ssdp:byebye"`) | nts "ssdp:alive" | Populates Notification Type, Sub-Type, Unique Service Name, and XML `LOCATION` URL on `notify` packets. |
| `null` | snmp1, snmp2, snmp3 | `varbind <oid> string "<text>" \| int <number> \| oidval <oid> \| ipval <ipv4> \| counter32 <number> \| gauge32 <number> \| timeticks <number> \| counter64 <number> \| null \| nullval` | Repeatable OID + SMI value keyword | Omitted | Used across `snmp1`, `snmp2`, `snmp3`: Appends an ASN.1 BER `VarBind` `(OID, SMI-value)` pair to the `VarBindList` SEQUENCE (`null` and `nullval` are interchangeable aliases). |
| `nullval` | snmp1, snmp2, snmp3 | `varbind <oid> string "<text>" \| int <number> \| oidval <oid> \| ipval <ipv4> \| counter32 <number> \| gauge32 <number> \| timeticks <number> \| counter64 <number> \| null \| nullval` | Repeatable OID + SMI value keyword | Omitted | Used across `snmp1`, `snmp2`, `snmp3`: Appends an ASN.1 BER `VarBind` `(OID, SMI-value)` pair to the `VarBindList` SEQUENCE (`null` and `nullval` are interchangeable aliases). |
| `objectinstance` | bacnet | `objecttype <0..1023> \| objectinstance <number>` | `0` Analog-Input, `1` Analog-Output, `2` Analog-Value, `3` Binary-Input, `8` Device + 22-bit instance | objecttype 0, objectinstance 1 (or 8 / 1000 on iam) | Packs the 4-byte `BACnetObjectIdentifier` (`(objecttype << 22) \| objectinstance`). |
| `objecttype` | bacnet | `objecttype <0..1023> \| objectinstance <number>` | `0` Analog-Input, `1` Analog-Output, `2` Analog-Value, `3` Binary-Input, `8` Device + 22-bit instance | objecttype 0, objectinstance 1 (or 8 / 1000 on iam) | Packs the 4-byte `BACnetObjectIdentifier` (`(objecttype << 22) \| objectinstance`). |
| `octets` | netflow, ipfix | `octets <number>` | 32-bit byte count | 1500 | Used across `netflow`, `ipfix`: Sets the `dOctets` 32-bit Layer 3 byte counter for the flow. |
| `offer` | dhcp | `discover \| offer \| request \| ack \| release \| solicit \| advertise \| reply` | DHCPv4 / DHCPv6 message type keyword | discover (IPv4) / solicit (IPv6) | Sets DHCPv4 Option `53` + BOOTP `op` (`1` request, `2` reply) or DHCPv6 `msg-type` (`1` Solicit, `2` Advertise, `3` Request, `7` Reply, `8` Release). |
| `offset` | s7comm | `offset <number> \| count <0..65535>` | Byte offset + item byte count | offset 0, count 1 | Encodes the 24-bit bit-addressed start offset and 16-bit read/write length. |
| `oid` | snmp1, snmp2, snmp3 | `oid <oid>` | Dotted numeric OID | 1.3.6.1.2.1.1.1.0 | Used across `snmp1`, `snmp2`, `snmp3`: Shorthand that appends a `NULL`-valued varbind (`<oid> = NULL`) for `get` / `getnext` requests. |
| `oidval` | snmp1, snmp2, snmp3 | `varbind <oid> string "<text>" \| int <number> \| oidval <oid> \| ipval <ipv4> \| counter32 <number> \| gauge32 <number> \| timeticks <number> \| counter64 <number> \| null \| nullval` | Repeatable OID + SMI value keyword | Omitted | Used across `snmp1`, `snmp2`, `snmp3`: Appends an ASN.1 BER `VarBind` `(OID, SMI-value)` pair to the `VarBindList` SEQUENCE (`null` and `nullval` are interchangeable aliases). |
| `ok` | pop3, mysql | `ok \| err` | POP3 server status indicator | Omitted on client commands | Used across `pop3`, `mysql`: Emits `+OK` (`ok`) or `-ERR` (`err`) at the start of a server reply. |
| `opaque` | memcached | `opcode <hex_or_num> [opaque <hex_or_num>] [cas <hex_or_num>]` | Binary protocol opcode (`0x00` Get, `0x01` Set, `0x07` Quit) | Omitted (uses ASCII mode) | Switches the packet to the 24-byte `0x80` Memcached Binary Protocol. |
| `opcode` | websocket, memcached | `text \| binary \| close \| ping \| pong \| opcode "<text>"` | WebSocket frame opcode | text (0x1) | Used across `websocket`, `memcached`: Selects RFC 6455 opcode `0x1` (`text`), `0x2` (`binary`), `0x8` (`close`), `0x9` (`ping`), `0xa` (`pong`), or `"continuation"` (`0x0`). |
| `open` | bgp | `open \| update \| notification \| keepalive` | BGP message type keyword | keepalive (Type 4) | Selects Type `1` OPEN, Type `2` UPDATE, Type `3` NOTIFICATION (Cease error), or Type `4` 19-byte KEEPALIVE. |
| `operate` | dnp3 | `read \| write \| select \| operate \| directoperate \| confirm \| response \| unsolicitedresponse \| func "<text>"` | DNP3 Application Function Code | read (0x01) | Selects `0x00` Confirm, `0x01` Read, `0x02` Write, `0x03` Select, `0x04` Operate, `0x05` Direct Operate, `0x81` Response, or `0x82` Unsolicited Response. |
| `optclass` | geneve | `optclass <0..65535>` | 16-bit IANA Option Class (hex or decimal) | Omitted (OptLen 0 unless set) | Appends a GENEVE TLV Option with the given namespace (`0x0102` OVN, `0x0104` Cilium, `0x0108` AWS) and increments `OptLen`. |
| `option` | telnet | `option <0..255>` | 1-byte option number | Omitted | Specifies an auxiliary Telnet option code. |
| `options` | http, sip, rtsp | `get \| post \| put \| delete \| head \| options \| patch \| method "<text>"` | HTTP request method | get | Used across `http`, `sip`, `rtsp`: Sets the HTTP request verb at the start of the request line. |
| `opttype` | geneve | `opttype <0..255>` | 8-bit Option Type (bit 7 = Critical bit) | 1 (when optclass set) | Sets the 8-bit Option Type inside the GENEVE TLV (`>= 0x80` marks a Critical option per RFC 8926 §3.5). |
| `packetin` | openflow | `hello \| echoreq \| echorequest \| echoreply \| featuresreq \| featuresreply \| packetin \| packetout \| flowmod \| type <0..255>` | OpenFlow message type keyword or u8 | hello (Type 0) | Maps to OpenFlow 1.3 types: `hello` (`0`), `echoreq`/`echorequest` (`2`), `echoreply` (`3`), `featuresreq` (`5`), `featuresreply` (`6`), `packetin` (`10`), `packetout` (`13`), `flowmod` (`14`). |
| `packetout` | openflow | `hello \| echoreq \| echorequest \| echoreply \| featuresreq \| featuresreply \| packetin \| packetout \| flowmod \| type <0..255>` | OpenFlow message type keyword or u8 | hello (Type 0) | Maps to OpenFlow 1.3 types: `hello` (`0`), `echoreq`/`echorequest` (`2`), `echoreply` (`3`), `featuresreq` (`5`), `featuresreply` (`6`), `packetin` (`10`), `packetout` (`13`), `flowmod` (`14`). |
| `packets` | netflow, ipfix | `packets <number>` | 32-bit packet count | 10 | Used across `netflow`, `ipfix`: Sets the `dPkts` 32-bit packet counter for the flow. |
| `param` | smtp | `data \| quit \| cmd "<verb>" [param "<text>"]` | Envelope command or custom verb (e.g. `cmd "STARTTLS"`) | Omitted | Writes `DATA\r\n`, `QUIT\r\n`, or `<verb> <param>\r\n`. |
| `partnerkey` | lacp | `partnerkey <0..65535> \| partnerport <0..65535>` | 16-bit unsigned integers | partnerkey 1, partnerport 1 | Sets the Partner Operational Key and Partner Port Number. |
| `partnerport` | lacp | `partnerkey <0..65535> \| partnerport <0..65535>` | 16-bit unsigned integers | partnerkey 1, partnerport 1 | Sets the Partner Operational Key and Partner Port Number. |
| `partnerstate` | lacp | `partnerstate <0..255>` | 8-bit IEEE 802.1AX state bitmask | 0x3d | Sets the 8-bit Partner State bitmask recorded by the sender. |
| `partnersys` | lacp | `partnersys <mac>` | 48-bit MAC address | Destination host MAC | Sets the 6-byte Partner System MAC identifier inside TLV `0x02`. |
| `patch` | http | `get \| post \| put \| delete \| head \| options \| patch \| method "<text>"` | HTTP request method | get | Sets the HTTP request verb at the start of the request line. |
| `path` | nfs | `tag "<text>" \| path "<text>"` | Quoted NFSv4 compound tag and export path | tag "fa", path "/export" | Encodes XDR length-prefixed `tag` and `LOOKUP` component path inside NFSv4 `COMPOUND`. |
| `pduref` | s7comm | `pduref <0..65535>` | 16-bit PDU Reference ID | 1 | Correlates each PLC `ackdata` response with its initiating `job`. |
| `ping` | http2, websocket | `preface \| settings \| headers \| data \| windowupdate \| ping \| goaway` | HTTP/2 frame type keyword | settings (Type 0x04, streamid 0) | Used across `http2`, `websocket`: Selects the RFC 9113 HTTP/2 binary frame type (`0x0` DATA, `0x1` HEADERS, `0x4` SETTINGS, `0x6` PING, `0x7` GOAWAY, `0x8` WINDOW_UPDATE, or connection `preface`). |
| `pingreq` | mqtt | `connect \| connack \| publish \| puback \| subscribe \| suback \| pingreq \| pingresp \| disconnect` | MQTT Control Packet type (or `pkttype "<text>"`) | publish | Sets the upper 4-bit Control Packet Type (`1`..`14`) in byte 0 of the MQTT header. |
| `pingresp` | mqtt | `connect \| connack \| publish \| puback \| subscribe \| suback \| pingreq \| pingresp \| disconnect` | MQTT Control Packet type (or `pkttype "<text>"`) | publish | Sets the upper 4-bit Control Packet Type (`1`..`14`) in byte 0 of the MQTT header. |
| `pktid` | mqtt | `pktid <0..65535>` | 16-bit Packet Identifier | 1 (when qos > 0 or subscribe/puback) | Matches `publish` <-> `puback` and `subscribe` <-> `suback`. |
| `pktnum` | quic | `pktnum <number>` | Packet Number | 1 | Sets the packet number field in `initial`, `zerortt`, `handshake`, and `short` frames. |
| `pkttype` | mqtt | `mqtt [connect \| connack \| publish \| puback \| subscribe \| suback \| pingreq \| pingresp \| disconnect \| pkttype "<text>"] [clientid "<text>"] [topic "<text>"] [qos <0..2>] [retain] [pktid <0..65535>] [keepalive <0..65535>] [returncode <0..255>]` | MQTT modifier | TCP 1883 | Sets `pkttype` on `mqtt` frames. |
| `play` | rtsp | `options \| describe \| setup \| play \| teardown \| method "<text>"` | RTSP request verb | options | Sets the RTSP command method on the request line. |
| `plccontrol` | s7comm | `setupcomm \| readvar \| writevar \| plccontrol \| func "<text>"` | S7 Parameter Function (`0xf0` Setup, `0x04` ReadVar, `0x05` WriteVar, `0x28` PLCControl) | setupcomm (0xf0) | Selects the S7comm Parameter Function code. |
| `poll` | ntp | `poll <0..255> \| precision <-128..127>` | poll: u8 log2 seconds, precision: signed i8 (-128..127) | poll 6 (64s), precision -20 (~1us) | Sets 8-bit Poll Interval exponent and signed 8-bit two's-complement Clock Precision. |
| `pong` | websocket | `text \| binary \| close \| ping \| pong \| opcode "<text>"` | WebSocket frame opcode | text (0x1) | Selects RFC 6455 opcode `0x1` (`text`), `0x2` (`binary`), `0x8` (`close`), `0x9` (`ping`), `0xa` (`pong`), or `"continuation"` (`0x0`). |
| `portid` | lldp, stp | `portid <str\|u16>` | Interface string or port number | "eth0" | Used across `lldp`, `stp`: Encodes Mandatory TLV Type 2 (Port ID, e.g. `"Gi1/0/48"` or `"Ethernet1"`). |
| `post` | http, coap | `get \| post \| put \| delete \| head \| options \| patch \| method "<text>"` | HTTP request method | get | Used across `http`, `coap`: Sets the HTTP request verb at the start of the request line. |
| `ppid` | sctp | `ppid <number>` | 32-bit IANA Payload Protocol Identifier | 0 | Sets the big-endian Payload Protocol ID in `data` chunks (`60`=NGAP, `18`=S1AP, `46`=Diameter, `3`=M3UA) so Wireshark auto-dissects upper layers. |
| `precision` | ntp | `poll <0..255> \| precision <-128..127>` | poll: u8 log2 seconds, precision: signed i8 (-128..127) | poll 6 (64s), precision -20 (~1us) | Sets 8-bit Poll Interval exponent and signed 8-bit two's-complement Clock Precision. |
| `preface` | http2 | `preface \| settings \| headers \| data \| windowupdate \| ping \| goaway` | HTTP/2 frame type keyword | settings (Type 0x04, streamid 0) | Selects the RFC 9113 HTTP/2 binary frame type (`0x0` DATA, `0x1` HEADERS, `0x4` SETTINGS, `0x6` PING, `0x7` GOAWAY, `0x8` WINDOW_UPDATE, or connection `preface`). |
| `prefix` | bgp, rip | `prefix <str\|ip> \| nlri <str\|ip>` | CIDR string ("10.20.0.0/16") or IP literal | "10.0.0.0/24" | Used across `bgp`, `rip`: Encodes Network Layer Reachability Information (`nlri` is an exact alias for `prefix`) in `update` messages. |
| `pri` | syslog | `pri <0..191>` | Combined Priority value (0..191) | Computed from facility * 8 + severity | Directly sets the `<PRI>` value, overriding `facility` and `severity`. |
| `priority` | ospf, vrrp, hsrp, openflow | `priority <0..255>` | Whole number (0..255) | 1 | Used across `ospf`, `vrrp`, `hsrp`, `openflow`: Sets the Designated Router (DR) Election Priority (`0` = ineligible to become DR/BDR). |
| `priv` | snmp3 | `priv des \| aes "<password>"` | `des` (CBC-DES) or `aes` (AES-128-CFB) + passphrase | Omitted | Encrypts the `ScopedPDU` (`authPriv`, requires `auth`) and populates the 8-byte `msgPrivacyParameters` salt/IV. |
| `proc` | nfs | `compound \| proc "<text>"` | `compound` or procedure name (`"NULL"`, `"GETATTR"`, `"LOOKUP"`, `"READ"`, `"WRITE"`) | compound | Selects RPC procedure `1` (`COMPOUND` on NFSv4) or named NFSv3/v4 procedure. |
| `procid` | syslog | `hostname "<text>" \| app "<text>" \| procid "<text>" \| msgid "<text>"` | Quoted text fields | Standard RFC 5424 defaults | Populates the structured RFC 5424 header fields before the log message body. |
| `propertyid` | bacnet | `propertyid <number>` | `85` Present-Value, `77` Object-Name, `28` Description | 85 (Present-Value) | Encodes Context Tag `[1]` (`Property-Identifier`) in `readproperty` / `writeproperty`. |
| `proto` | netflow, ipfix | `proto <0..255>` | IP protocol number (`6` TCP, `17` UDP, `1` ICMP) | 6 (TCP) | Used across `netflow`, `ipfix`: Sets byte 38 (`prot`) of the NetFlow v5 flow record. |
| `protocolheader` | amqp | `protocolheader \| connectionstart \| channelopen \| basicpublish \| basicdeliver \| heartbeat` | AMQP 0-9-1 frame/method selector | basicpublish (channel 1) | Selects the 8-byte AMQP header, Method frame (`Type 1`), or Heartbeat frame (`Type 8`). |
| `protocoltype` | geneve | `protocoltype <0..65535>` | 16-bit IEEE EtherType | 0x6558 (Transparent Ethernet Bridging) | Sets the inner encapsulated EtherType (`0x6558` Ethernet L2 frame, `0x0800` raw IPv4, `0x86dd` raw IPv6). |
| `protoid` | modbus | `txid <0..65535> \| protoid <0..65535> \| unitid <0..255>` | MBAP Transaction ID, Protocol ID (`0` = Modbus), and Slave/Unit ID | txid 1, protoid 0, unitid 1 | Populates the 7-byte MBAP header preceding the Modbus PDU. |
| `pt` | rtp | `pt <0..127>` | 7-bit RTP Payload Type (`0` PCMU, `8` PCMA, `9` G.722, `96` Opus/H.264, `101` DTMF) | 0 (G.711 PCMU) | Sets the lower 7 bits of byte 1 in the 12-byte RTP header. |
| `puback` | mqtt | `connect \| connack \| publish \| puback \| subscribe \| suback \| pingreq \| pingresp \| disconnect` | MQTT Control Packet type (or `pkttype "<text>"`) | publish | Sets the upper 4-bit Control Packet Type (`1`..`14`) in byte 0 of the MQTT header. |
| `publish` | mqtt | `connect \| connack \| publish \| puback \| subscribe \| suback \| pingreq \| pingresp \| disconnect` | MQTT Control Packet type (or `pkttype "<text>"`) | publish | Sets the upper 4-bit Control Packet Type (`1`..`14`) in byte 0 of the MQTT header. |
| `put` | http, coap | `get \| post \| put \| delete \| head \| options \| patch \| method "<text>"` | HTTP request method | get | Used across `http`, `coap`: Sets the HTTP request verb at the start of the request line. |
| `qname` | dns, mdns | `qname "<text>"` | Domain string (labels <= 63B, total <= 253B) | "example.com" | Used across `dns`, `mdns`: Encodes the Question `QNAME` wire labels. |
| `qos` | mqtt | `qos <0..2> \| retain` | QoS delivery level (`0`, `1`, or `2`) + `retain` flag | qos 0, retain off | Sets QoS bits `1..2` and Retain bit `0` in the Fixed Header. |
| `qtype` | dns, mdns | `qtype "<text>"` | "A" \| "AAAA" \| "CNAME" \| "MX" \| "NS" \| "PTR" \| "SOA" \| "SRV" \| "TXT" \| "AXFR" \| "ANY" | "A" | Used across `dns`, `mdns`: Sets the 16-bit `QTYPE` (and Answer RR `TYPE` on responses). |
| `query` | igmp, mld, dns, mdns, whois, mysql (+1 more) | `query \| report \| leave` | IGMP message type | query | Used across `igmp`, `mld`, `dns`, `mdns`, `whois`, `mysql`, `postgres`: Selects Membership Query (`0x11`), Membership Report (`0x12` v1 / `0x16` v2 / `0x22` v3), or Leave Group (`0x17`). |
| `quit` | smtp | `data \| quit \| cmd "<verb>" [param "<text>"]` | Envelope command or custom verb (e.g. `cmd "STARTTLS"`) | Omitted | Writes `DATA\r\n`, `QUIT\r\n`, or `<verb> <param>\r\n`. |
| `rcode` | dns, mdns | `rcode <0..15>` | 4-bit response code | 0 (NOERROR) | Used across `dns`, `mdns`: Sets the lower 4 bits of DNS Flags (`0`=NOERROR, `1`=FORMERR, `2`=SERVFAIL, `3`=NXDOMAIN, `5`=REFUSED). |
| `rcptto` | smtp | `mailfrom "<addr>" \| rcptto "<addr>"` | Quoted sender or recipient email address | Omitted unless set | Writes `MAIL FROM:<addr>\r\n` or `RCPT TO:<addr>\r\n`. |
| `rdata` | dns, mdns | `rdata "<text>"` | IP string, hostname, or text value | Omitted (or 93.184.216.34 on A response) | Used across `dns`, `mdns`: Populates the Answer Resource Record `RDATA` payload on `response` frames. |
| `read` | smb, dnp3 | `negotiate \| sessionsetup \| treeconnect \| treedisconnect \| create \| close \| read \| write \| logoff` | SMB2/3 command keyword (or `command "<text>"`) | negotiate (0x0000) | Used across `smb`, `dnp3`: Selects the 16-bit MS-SMB2 command (`0x00` Negotiate, `0x01` SessionSetup, `0x02` Logoff, `0x03` TreeConnect, `0x04` TreeDisconnect, `0x05` Create, `0x06` Close, `0x08` Read, `0x09` Write). |
| `readcoils` | modbus | `readcoils \| readdiscreteinputs \| readholdingregisters \| readinputregisters \| writesinglecoil \| writesingleregister \| writemultipleregisters \| func "<fc>"` | Function Code keyword or number (`"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"15"`, `"16"`) | readholdingregisters (FC 3) | Sets the 1-byte Modbus Function Code immediately after `unitid`. |
| `readdiscreteinputs` | modbus | `readcoils \| readdiscreteinputs \| readholdingregisters \| readinputregisters \| writesinglecoil \| writesingleregister \| writemultipleregisters \| func "<fc>"` | Function Code keyword or number (`"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"15"`, `"16"`) | readholdingregisters (FC 3) | Sets the 1-byte Modbus Function Code immediately after `unitid`. |
| `readholdingregisters` | modbus | `readcoils \| readdiscreteinputs \| readholdingregisters \| readinputregisters \| writesinglecoil \| writesingleregister \| writemultipleregisters \| func "<fc>"` | Function Code keyword or number (`"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"15"`, `"16"`) | readholdingregisters (FC 3) | Sets the 1-byte Modbus Function Code immediately after `unitid`. |
| `readinputregisters` | modbus | `readcoils \| readdiscreteinputs \| readholdingregisters \| readinputregisters \| writesinglecoil \| writesingleregister \| writemultipleregisters \| func "<fc>"` | Function Code keyword or number (`"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"15"`, `"16"`) | readholdingregisters (FC 3) | Sets the 1-byte Modbus Function Code immediately after `unitid`. |
| `readproperty` | bacnet | `whois \| iam \| readproperty \| writeproperty` | BACnet APDU service selector | whois | Selects Unconfirmed `Who-Is` (`8`), Unconfirmed `I-Am` (`0`), Confirmed `ReadProperty` (`12`), or Confirmed `WriteProperty` (`15`). |
| `readvar` | s7comm | `setupcomm \| readvar \| writevar \| plccontrol \| func "<text>"` | S7 Parameter Function (`0xf0` Setup, `0x04` ReadVar, `0x05` WriteVar, `0x28` PLCControl) | setupcomm (0xf0) | Selects the S7comm Parameter Function code. |
| `readyforquery` | postgres | `startup \| authok \| query \| commandcomplete \| readyforquery \| errorresponse` | PostgreSQL v3.0 message type | query ('Q') | Selects untagged `StartupMessage` (`startup`), `'R'` AuthOK (`authok`), `'Q'` Simple Query (`query`), `'C'` CommandComplete, `'Z'` ReadyForQuery, or `'E'` ErrorResponse. |
| `realm` | kerberos | `realm "<text>"` | Quoted uppercase Kerberos realm (e.g. "CORP.INTERNAL") | "EXAMPLE.COM" | Encodes the `Realm` `GeneralString` inside the ASN.1 DER body. |
| `reason` | http, sip | `status <100..599> [reason "<text>"]` | HTTP status code + optional reason phrase | Omitted (emits request); reason "OK" when status is set | Used across `http`, `sip`: Switches the packet from an HTTP request to an HTTP response (`HTTP/1.1 200 OK`). |
| `receiver` | wireguard | `receiver <number>` | Whole number | 2 | Sets the 32-bit Receiver Index in `response`, `cookie`, and `data` messages referencing the peer Sender Index. |
| `recordversion` | tls | `recordversion <hex> \| handshakeversion <hex>` | 16-bit TLS version (`0x0301` TLS 1.0, `0x0303` TLS 1.2/1.3 record) | 0x0303 | Overrides the outer 5-byte TLS Record version or inner Handshake legacy version. |
| `redirect` | icmp, ndp | `echorequest \| echoreply \| destunreach \| timeexceeded \| redirect` | Named ICMP message shorthand | echorequest | Used across `icmp`, `ndp`: Maps to IPv4/ICMPv6 Type codes: `8`/`128` (`echorequest`), `0`/`129` (`echoreply`), `3`/`1` (`destunreach`), `11`/`3` (`timeexceeded`), `5`/`137` (`redirect`). |
| `refid` | ntp | `refid "<text>"` | Up to 4 ASCII chars ("GPS", "PPS", "ATOM", "RATE") | "LOCL" / zeroed | Writes the 4-byte Reference Identifier in bytes 12..15. |
| `register` | pim, sip | `hello \| joinprune \| register` | PIMv2 Message Type keyword | hello (Type 0) | Used across `pim`, `sip`: Selects Type `0` Hello, Type `1` unicast Register (to RP), or Type `3` Join/Prune. |
| `registersession` | ethernetip | `nop \| listservices \| listidentity \| listinterfaces \| registersession \| unregistersession \| sendrrdata \| sendunitdata` | EtherNet/IP encapsulation command (or `cmd "<text>"`) | listidentity (0x0063) | Selects Encapsulation Command `0x0000` NOP, `0x0004` ListServices, `0x0063` ListIdentity, `0x0064` ListInterfaces, `0x0065` RegisterSession, `0x0066` UnRegisterSession, `0x006f` SendRRData, or `0x0070` SendUnitData. |
| `registrar` | whois | `registrar "<text>"` | Quoted registrar organization name | "IANA" on response | Populates the `Registrar:` record line inside `whois response` frames. |
| `release` | dhcp | `discover \| offer \| request \| ack \| release \| solicit \| advertise \| reply` | DHCPv4 / DHCPv6 message type keyword | discover (IPv4) / solicit (IPv6) | Sets DHCPv4 Option `53` + BOOTP `op` (`1` request, `2` reply) or DHCPv6 `msg-type` (`1` Solicit, `2` Advertise, `3` Request, `7` Reply, `8` Release). |
| `reply` | arp, rip, dhcp, ftp, smtp | `request \| reply \| gratuitous \| garp` | Operation mode flag | request | Used across `arp`, `rip`, `dhcp`, `ftp`, `smtp`: Selects Opcode `1` broadcast Who-Has (`request`), Opcode `2` unicast Is-At (`reply`), or broadcast Gratuitous ARP (`gratuitous`/`garp` with `tpa = spa` and `ff:ff:ff:ff:ff:ff`). |
| `replytype` | redis | `replytype "<ok\|err\|integer\|bulk>"` | RESP reply type selector | Omitted on client requests | Switches the packet to a server reply using `+`, `-`, `:`, or `$` RESP framing. |
| `report` | igmp, mld, snmp2, snmp3 | `query \| report \| leave` | IGMP message type | query | Used across `igmp`, `mld`, `snmp2`, `snmp3`: Selects Membership Query (`0x11`), Membership Report (`0x12` v1 / `0x16` v2 / `0x22` v3), or Leave Group (`0x17`). |
| `reqid` | snmp1, snmp2, snmp3, opcua | `sysuptime <number> \| reqid <number>` | Whole number | sysuptime 1000, reqid 1 | Used across `snmp1`, `snmp2`, `snmp3`, `opcua`: Sets `time-stamp` (`TimeTicks` hundredths of a second) on `trap` or `request-id` on `get`/`getnext`/`set`/`response`. |
| `request` | arp, rip, dhcp | `request \| reply \| gratuitous \| garp` | Operation mode flag | request | Used across `arp`, `rip`, `dhcp`: Selects Opcode `1` broadcast Who-Has (`request`), Opcode `2` unicast Is-At (`reply`), or broadcast Gratuitous ARP (`gratuitous`/`garp` with `tpa = spa` and `ff:ff:ff:ff:ff:ff`). |
| `responderspi` | ikev2 | `initiatorspi <u64\|"hex"> \| responderspi <u64\|"hex">` | 64-bit integer or hex string | Deterministic initiator SPI; responderspi 0 on sainit | Populates the 8-byte Initiator SPI and 8-byte Responder SPI in the IKEv2 header. |
| `response` | wireguard, rip, snmp1, snmp2, snmp3, dns (+5 more) | `initiation \| response \| cookie \| data \| type <...>` | WireGuard message type keyword | initiation (Type 1) | Used across `wireguard`, `rip`, `snmp1`, `snmp2`, `snmp3`, `dns`, `mdns`, `whois`, `imap`, `pop3`, `dnp3`: Selects Type `1` Handshake Initiation (`148B`), Type `2` Handshake Response (`92B`), Type `3` Cookie Reply (`64B`), or Type `4` Transport Data (`>= 32B`). |
| `resultcode` | ldap | `resultcode <number>` | RFC 4511 LDAPResult code (`0` success, `32` noSuchObject, `49` invalidCredentials, `50` insufficientAccessRights) | 0 (success) | Sets the `ENUMERATED` result code in `bindres` and `searchdone` replies. |
| `retain` | mqtt | `qos <0..2> \| retain` | QoS delivery level (`0`, `1`, or `2`) + `retain` flag | qos 0, retain off | Sets QoS bits `1..2` and Retain bit `0` in the Fixed Header. |
| `retry` | quic | `initial \| zerortt \| handshake \| retry \| short` | QUIC packet header type | initial | Selects Long Header (`initial`, `zerortt`, `handshake`, `retry`) or 1-RTT Short Header (`short`). |
| `returncode` | mqtt | `returncode <0..255>` | CONNACK return code (`0` Accepted, `4` Bad user/pass, `5` Not authorized) | 0 (Connection Accepted) | Sets byte 3 (`Connect Return Code`) of `connack`. |
| `rootid` | stp | `rootid "<text>"` | Bridge ID string ("<prio>:<mac>" or "<mac>") | "32768:<src_mac>" | Encodes the 8-byte Root Identifier (2-byte priority + 6-byte MAC). |
| `rosctr` | s7comm | `rosctr "<job\|ack\|ackdata\|userdata>"` | Remote Operating Service Control type | "job" (0x01) | Sets `0x01` Job (HMI/engineering request), `0x02` Ack, `0x03` Ack_Data (PLC reply with 2-byte error status), or `0x07` Userdata. |
| `router` | dhcp | `subnetmask <ipv4> \| router <ipv4> \| dnsserver <ip>` | IPv4/IPv6 address literals | Omitted | Appends Option `1` (Subnet Mask), Option `3` (Router), and Option `6` / DHCPv6 Option `23` (DNS Recursive Name Server). |
| `routeradvert` | ndp | `routersolicit \| routeradvert \| neighborsolicit \| neighboradvert \| redirect` | NDP message selector | neighborsolicit (Type 135) | Selects ICMPv6 Type `133` (`routersolicit`), `134` (`routeradvert`), `135` (`neighborsolicit`), `136` (`neighboradvert`), or `137` (`redirect`). |
| `routerid` | ospf | `routerid <ipv4>` | 32-bit dotted-quad IPv4 format (e.g. 1.1.1.1) | Source IPv4 (or 1.1.1.1 on IPv6) | Sets the 32-bit OSPF Router ID in both OSPFv2 and OSPFv3 headers. |
| `routerlifetime` | ndp | `routerlifetime <0..65535>` | Whole number (0..65535) (seconds) | 1800 | Sets the 16-bit Router Lifetime in `routeradvert` (`0` indicates the router is not a default gateway). |
| `routersolicit` | ndp | `routersolicit \| routeradvert \| neighborsolicit \| neighboradvert \| redirect` | NDP message selector | neighborsolicit (Type 135) | Selects ICMPv6 Type `133` (`routersolicit`), `134` (`routeradvert`), `135` (`neighborsolicit`), `136` (`neighboradvert`), or `137` (`redirect`). |
| `routingkey` | amqp | `exchange "<text>" \| routingkey "<text>"` | Quoted exchange name and routing key | exchange "", routingkey "test" | Populates the Exchange and Routing-Key short strings in `basicpublish` and `basicdeliver`. |
| `rp` | pim | `group <ip> \| source <ip> \| rp <ip>` | IPv4 or IPv6 address literals | 239.1.1.1 / endpoint IPs | Sets the multicast Group, unicast Source `(S,G)`, and Rendezvous Point addresses in `joinprune` and `register` packets. |
| `rrq` | tftp | `rrq \| wrq \| data \| ack \| error \| err` | TFTP opcode keyword | rrq (Opcode 1) | Selects Opcode `1` Read Request (`rrq`), `2` Write Request (`wrq`), `3` Data (`data`), `4` Acknowledgment (`ack`), or `5` Error (`error` / `err`). |
| `rstp` | stp | `rstp` | Bare boolean flag | Omitted (classic 802.1D v0) | Emits IEEE 802.1w Rapid STP BPDU (`Protocol Version 2`, `BPDU Type 0x02`, plus trailing 1-byte Version 1 Length `0x00`). |
| `sack` | sctp | `data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack` | Bare chunk keyword (or `chunk <type>`) | data (Chunk Type 0) | Selects the RFC 9260 SCTP chunk type (`0`=DATA, `1`=INIT, `2`=INIT_ACK, `3`=SACK, `4`=HEARTBEAT, `5`=HEARTBEAT_ACK, `6`=ABORT, `7`=SHUTDOWN, `8`=SHUTDOWN_ACK, `10`=COOKIE_ECHO, `11`=COOKIE_ACK). |
| `sainit` | ikev2 | `sainit \| auth \| createchildsa \| informational \| exchange <...>` | RFC 7296 Exchange Type keyword or u8 | sainit (34) | Sets Exchange Type: `sainit` (`34` IKE_SA_INIT), `auth` (`35` IKE_AUTH), `createchildsa` (`36` CREATE_CHILD_SA), `informational` (`37` INFORMATIONAL). |
| `samples` | sflow | `samples <number>` | Sample count | 1 | Sets the number of sample records carried in the sFlow datagram. |
| `scid` | quic | `dcid <hex_or_num> \| scid <hex_or_num>` | 64-bit Connection IDs (e.g. 0x1122334455667788) | Deterministic 8-byte IDs | Sets the 8-byte Destination Connection ID (`dcid`) and Source Connection ID (`scid`, Long Header only). |
| `searchdone` | ldap | `bindreq \| bindres \| searchreq \| searchentry \| searchdone \| unbindreq` | LDAPv3 protocol operation keyword | searchreq | Selects the ASN.1 BER `protocolOp` tag inside `LDAPMessage`. |
| `searchentry` | ldap | `bindreq \| bindres \| searchreq \| searchentry \| searchdone \| unbindreq` | LDAPv3 protocol operation keyword | searchreq | Selects the ASN.1 BER `protocolOp` tag inside `LDAPMessage`. |
| `searchreq` | ldap | `bindreq \| bindres \| searchreq \| searchentry \| searchdone \| unbindreq` | LDAPv3 protocol operation keyword | searchreq | Selects the ASN.1 BER `protocolOp` tag inside `LDAPMessage`. |
| `securechannelid` | opcua | `securechannelid <number> \| tokenid <number> \| seqnum <number> \| reqid <number>` | 32-bit little-endian channel, token, sequence, and request IDs | 1 | Populates the Secure Conversation and Sequence headers on `"OPN"`, `"MSG"`, and `"CLO"` frames. |
| `select` | dnp3 | `read \| write \| select \| operate \| directoperate \| confirm \| response \| unsolicitedresponse \| func "<text>"` | DNP3 Application Function Code | read (0x01) | Selects `0x00` Confirm, `0x01` Read, `0x02` Write, `0x03` Select, `0x04` Operate, `0x05` Direct Operate, `0x81` Response, or `0x82` Unsolicited Response. |
| `sender` | wireguard | `sender <number>` | Whole number | 1 | Sets the 32-bit Sender Index in `initiation` and `response` messages identifying the local session slot. |
| `senderip` | arp | `senderip <ipv4> \| spa <ipv4>` | IPv4 literal | Source host IPv4 (or 0.0.0.0 on MAC-only host) | Sets the 4-byte ARP Sender Protocol Address (`spa`). |
| `sendermac` | arp | `sendermac <mac> \| sha <mac>` | 48-bit MAC (colon, hyphen, or Cisco dot) | Source host MAC | Sets the 6-byte ARP Sender Hardware Address (`sha`) independently of the outer Ethernet II `srcmac`. |
| `sendrrdata` | ethernetip | `nop \| listservices \| listidentity \| listinterfaces \| registersession \| unregistersession \| sendrrdata \| sendunitdata` | EtherNet/IP encapsulation command (or `cmd "<text>"`) | listidentity (0x0063) | Selects Encapsulation Command `0x0000` NOP, `0x0004` ListServices, `0x0063` ListIdentity, `0x0064` ListInterfaces, `0x0065` RegisterSession, `0x0066` UnRegisterSession, `0x006f` SendRRData, or `0x0070` SendUnitData. |
| `sendunitdata` | ethernetip | `nop \| listservices \| listidentity \| listinterfaces \| registersession \| unregistersession \| sendrrdata \| sendunitdata` | EtherNet/IP encapsulation command (or `cmd "<text>"`) | listidentity (0x0063) | Selects Encapsulation Command `0x0000` NOP, `0x0004` ListServices, `0x0063` ListIdentity, `0x0064` ListInterfaces, `0x0065` RegisterSession, `0x0066` UnRegisterSession, `0x006f` SendRRData, or `0x0070` SendUnitData. |
| `seqid` | ptp | `seqid <0..65535>` | Whole number (0..65535) | 1 | Sets `sequenceId` in bytes 30..31 pairing `sync` with `followup` and `delayreq` with `delayresp`. |
| `seqnum` | opcua | `securechannelid <number> \| tokenid <number> \| seqnum <number> \| reqid <number>` | 32-bit little-endian channel, token, sequence, and request IDs | 1 | Populates the Secure Conversation and Sequence headers on `"OPN"`, `"MSG"`, and `"CLO"` frames. |
| `serverhello` | tls | `clienthello \| serverhello \| certificate \| finished \| appdata \| alert` | TLS record / handshake message type | clienthello | Selects Handshake (`22`: `clienthello`, `serverhello`, `certificate`, `finished`), Application Data (`23`: `appdata`), or Alert (`21`: `alert`). |
| `serverversion` | mysql | `serverversion "<text>"` | Quoted version banner on `greeting` | "8.0.36" | Sets the NUL-terminated server version string in `greeting` packets. |
| `service` | grpc | `service "<text>"` | Package-qualified gRPC service name | "helloworld.Greeter" | Sets the service prefix in the HTTP/2 `:path` pseudo-header (`/<service>/<method>`). |
| `servicetype` | radius | `servicetype <number>` | Whole number (`1` Login, `2` Framed, `6` Administrative) | Omitted unless set | Adds Attribute `6` (`Service-Type`) as a 4-byte integer. |
| `session` | rtsp | `session "<text>"` | Quoted RTSP Session ID | Omitted unless set | Writes the `Session:` header linking `SETUP`, `PLAY`, and `TEARDOWN`. |
| `sessionhandle` | ethernetip | `sessionhandle <hex_or_num> \| status <number> \| context <hex_or_str>` | 32-bit Session Handle, 32-bit Status (`0` Success), 64-bit Sender Context | sessionhandle 0, status 0 | Populates the 24-byte EtherNet/IP Encapsulation Header fields. |
| `sessionid` | tacacs, smb | `sessionid <number>` | 32-bit session identifier (decimal or 0x hex) | 1 | Used across `tacacs`, `smb`: Sets the 4-byte TACACS+ `session_id` grouping messages in one AAA exchange. |
| `sessionsetup` | smb | `negotiate \| sessionsetup \| treeconnect \| treedisconnect \| create \| close \| read \| write \| logoff` | SMB2/3 command keyword (or `command "<text>"`) | negotiate (0x0000) | Selects the 16-bit MS-SMB2 command (`0x00` Negotiate, `0x01` SessionSetup, `0x02` Logoff, `0x03` TreeConnect, `0x04` TreeDisconnect, `0x05` Create, `0x06` Close, `0x08` Read, `0x09` Write). |
| `set` | snmp1, snmp2, snmp3, redis, memcached | `trap \| get \| getnext \| set \| response` | SNMPv1 PDU type keyword | trap (PDU 0xa4 on UDP 162) | Used across `snmp1`, `snmp2`, `snmp3`, `redis`, `memcached`: Selects ASN.1 BER PDU context tag (`0xa0` GetRequest, `0xa1` GetNextRequest, `0xa2` GetResponse, `0xa3` SetRequest, `0xa4` v1 Trap). |
| `settings` | http2 | `preface \| settings \| headers \| data \| windowupdate \| ping \| goaway` | HTTP/2 frame type keyword | settings (Type 0x04, streamid 0) | Selects the RFC 9113 HTTP/2 binary frame type (`0x0` DATA, `0x1` HEADERS, `0x4` SETTINGS, `0x6` PING, `0x7` GOAWAY, `0x8` WINDOW_UPDATE, or connection `preface`). |
| `setup` | rtsp | `options \| describe \| setup \| play \| teardown \| method "<text>"` | RTSP request verb | options | Sets the RTSP command method on the request line. |
| `setupcomm` | s7comm | `setupcomm \| readvar \| writevar \| plccontrol \| func "<text>"` | S7 Parameter Function (`0xf0` Setup, `0x04` ReadVar, `0x05` WriteVar, `0x28` PLCControl) | setupcomm (0xf0) | Selects the S7comm Parameter Function code. |
| `severity` | syslog | `severity <0..7>` | Severity 0..7 (`0` emerg, `2` crit, `3` err, `4` warn, `6` info, `7` debug) | 6 (Informational) | Sets the 3-bit Severity level (`0` is highest urgency, `7` is debug). |
| `sha` | arp, snmp3 | `sendermac <mac> \| sha <mac>` | 48-bit MAC (colon, hyphen, or Cisco dot) | Source host MAC | Used across `arp`, `snmp3`: Sets the 6-byte ARP Sender Hardware Address (`sha`) independently of the outer Ethernet II `srcmac`. |
| `sha256` | snmp3 | `auth md5 \| sha \| sha256 \| sha384 \| sha512 "<password>"` | HMAC algorithm keyword + passphrase string | Omitted (noAuthNoPriv) | Enables USM authentication (`authNoPriv` or `authPriv`) and writes the live RFC 3414 / RFC 7860 HMAC digest. |
| `sha384` | snmp3 | `auth md5 \| sha \| sha256 \| sha384 \| sha512 "<password>"` | HMAC algorithm keyword + passphrase string | Omitted (noAuthNoPriv) | Enables USM authentication (`authNoPriv` or `authPriv`) and writes the live RFC 3414 / RFC 7860 HMAC digest. |
| `sha512` | snmp3 | `auth md5 \| sha \| sha256 \| sha384 \| sha512 "<password>"` | HMAC algorithm keyword + passphrase string | Omitted (noAuthNoPriv) | Enables USM authentication (`authNoPriv` or `authPriv`) and writes the live RFC 3414 / RFC 7860 HMAC digest. |
| `share` | smb | `share "<unc_path>"` | Quoted UNC share path (`"\\server\IPC$"`) | "\\server\IPC$" on treeconnect | Encodes the UTF-16LE share path inside `treeconnect` requests. |
| `short` | quic | `initial \| zerortt \| handshake \| retry \| short` | QUIC packet header type | initial | Selects Long Header (`initial`, `zerortt`, `handshake`, `retry`) or 1-RTT Short Header (`short`). |
| `shutdown` | sctp | `data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack` | Bare chunk keyword (or `chunk <type>`) | data (Chunk Type 0) | Selects the RFC 9260 SCTP chunk type (`0`=DATA, `1`=INIT, `2`=INIT_ACK, `3`=SACK, `4`=HEARTBEAT, `5`=HEARTBEAT_ACK, `6`=ABORT, `7`=SHUTDOWN, `8`=SHUTDOWN_ACK, `10`=COOKIE_ECHO, `11`=COOKIE_ACK). |
| `shutdownack` | sctp | `data \| init \| initack \| sack \| heartbeat \| heartbeatack \| abort \| shutdown \| shutdownack \| cookieecho \| cookieack` | Bare chunk keyword (or `chunk <type>`) | data (Chunk Type 0) | Selects the RFC 9260 SCTP chunk type (`0`=DATA, `1`=INIT, `2`=INIT_ACK, `3`=SACK, `4`=HEARTBEAT, `5`=HEARTBEAT_ACK, `6`=ABORT, `7`=SHUTDOWN, `8`=SHUTDOWN_ACK, `10`=COOKIE_ECHO, `11`=COOKIE_ACK). |
| `siaddr` | dhcp | `ciaddr <ipv4> \| yiaddr <ipv4> \| siaddr <ipv4>` | IPv4 dotted-quad literals | 0.0.0.0 | Sets Client IP, Your (offered) IP, and Next Server IP in the DHCPv4 BOOTP header. |
| `slla` | ndp | `slla <mac> \| tlla <mac>` | 48-bit MAC address | Omitted unless set | Appends 8-byte NDP Option Type `1` (Source Link-Layer Address, `slla`) or Option Type `2` (Target Link-Layer Address, `tlla`). |
| `sname` | kerberos | `cname "<text>" \| sname "<text>"` | Quoted Client Principal Name or Service Principal Name (SPN) | cname "alice", sname "krbtgt/EXAMPLE.COM" | Encodes `PrincipalName` components in `KDC-REQ-BODY` / `KDC-REP`. |
| `sni` | tls | `sni "<text>"` | Quoted hostname (e.g. "api.example.com") | Omitted unless set | Adds TLS Extension `0x0000` (`server_name`) to `clienthello` for proxy/firewall SNI inspection. |
| `software` | stun | `software "<text>"` | Quoted agent/server string | Omitted unless set | Adds 4-byte-padded Attribute `0x8022` (`SOFTWARE`). |
| `solicit` | dhcp | `discover \| offer \| request \| ack \| release \| solicit \| advertise \| reply` | DHCPv4 / DHCPv6 message type keyword | discover (IPv4) / solicit (IPv6) | Sets DHCPv4 Option `53` + BOOTP `op` (`1` request, `2` reply) or DHCPv6 `msg-type` (`1` Solicit, `2` Advertise, `3` Request, `7` Reply, `8` Release). |
| `source` | pim | `group <ip> \| source <ip> \| rp <ip>` | IPv4 or IPv6 address literals | 239.1.1.1 / endpoint IPs | Sets the multicast Group, unicast Source `(S,G)`, and Rendezvous Point addresses in `joinprune` and `register` packets. |
| `spa` | arp | `senderip <ipv4> \| spa <ipv4>` | IPv4 literal | Source host IPv4 (or 0.0.0.0 on MAC-only host) | Sets the 4-byte ARP Sender Protocol Address (`spa`). |
| `spectrap` | snmp1 | `gentrap <0..6> \| spectrap <number>` | gentrap: 0..6, spectrap: u32 | gentrap 6, spectrap 1 | Sets `generic-trap` (`0`=coldStart, `1`=warmStart, `2`=linkDown, `3`=linkUp, `4`=authFailure, `5`=egpNeighborLoss, `6`=enterpriseSpecific) and `specific-trap`. |
| `spi` | ipsec, esp, ah | `spi <number>` | Whole number (decimal or 0x hex) | 0x00000100 | Used across `ipsec`, `esp`, `ah`: Sets the 4-byte Security Parameters Index identifying the unidirectional IPsec Security Association. |
| `sql` | mysql, postgres | `sql "<text>"` | Quoted SQL statement on `query` | "SELECT 1" | Used across `mysql`, `postgres`: Writes the SQL query string following `COM_QUERY` (`0x03`). |
| `src` | dnp3 | `src <0..65535> \| dst <0..65535>` | 16-bit DNP3 Data Link station addresses | src 1, dst 10 | Sets the 2-byte little-endian DNP3 Source and Destination outstation/master addresses. |
| `srcip` | netflow, ipfix | `srcip <ipv4> \| dstip <ipv4>` | IPv4 address (e.g. 10.10.1.25) | Outer host IPv4 (or 10.0.0.1 / 10.0.0.2) | Used across `netflow`, `ipfix`: Sets the exported IPv4 Source and Destination addresses inside the 48-byte NetFlow v5 record. |
| `ssn` | sctp | `ssn <0..65535>` | Whole number (0..65535) | 0 | Sets the 16-bit Stream Sequence Number inside `data` chunks. |
| `ssrc` | rtp | `ssrc <hex_or_num>` | 32-bit Synchronization Source ID | 0x12345678 | Uniquely identifies the unidirectional RTP media stream in bytes 8..11. |
| `st` | ssdp | `man "<text>" \| mx <0..255> \| st "<text>"` | M-SEARCH discovery headers (`MX` max wait seconds, `ST` Search Target) | man "\"ssdp:discover\"", mx 3, st "ssdp:all" | Populates mandatory UPnP discovery request headers on `msearch` packets. |
| `start` | eapol | `eappacket \| start \| logoff \| key \| type <...>` | EAPOL packet type keyword or u8 | eappacket (type 0) | Selects EAPOL Packet Type: `eappacket` (`0`), `start` (`1`, 0-byte body), `logoff` (`2`, 0-byte body), or `key` (`3`, EAPOL-Key descriptor). |
| `startup` | postgres | `startup \| authok \| query \| commandcomplete \| readyforquery \| errorresponse` | PostgreSQL v3.0 message type | query ('Q') | Selects untagged `StartupMessage` (`startup`), `'R'` AuthOK (`authok`), `'Q'` Simple Query (`query`), `'C'` CommandComplete, `'Z'` ReadyForQuery, or `'E'` ErrorResponse. |
| `state` | hsrp, bfd | `state <0..255>` | 8-bit RFC 2281 HSRP state code | 16 (Active) | Used across `hsrp`, `bfd`: Sets router state: `0` Initial, `1` Learn, `2` Listen, `4` Speak, `8` Standby, `16` Active. |
| `status` | http, sip, rtsp, imap, smb, ethernetip | `status <100..599> [reason "<text>"]` | HTTP status code + optional reason phrase | Omitted (emits request); reason "OK" when status is set | Used across `http`, `sip`, `rtsp`, `imap`, `smb`, `ethernetip`: Switches the packet from an HTTP request to an HTTP response (`HTTP/1.1 200 OK`). |
| `stratum` | ntp | `stratum <0..16>` | Whole number (0..255) | 0 (client) / 1 (when refid set) | Sets Clock Stratum (`0`=unspecified/KoD, `1`=primary GPS/PPS, `2..15`=secondary, `16`=unsynchronized). |
| `stream` | sctp | `stream <0..65535>` | Whole number (0..65535) | 0 | Sets the Stream Identifier S field inside `data` chunks. |
| `streamid` | http2 | `streamid <number>` | 31-bit Stream Identifier (`0` for connection control, odd `1, 3, 5` for client streams) | 0 on control frames, 1 on headers/data | Sets the 31-bit Stream ID in bytes 5..8 of the 9-byte HTTP/2 frame header. |
| `string` | snmp1, snmp2, snmp3 | `varbind <oid> string "<text>" \| int <number> \| oidval <oid> \| ipval <ipv4> \| counter32 <number> \| gauge32 <number> \| timeticks <number> \| counter64 <number> \| null \| nullval` | Repeatable OID + SMI value keyword | Omitted | Used across `snmp1`, `snmp2`, `snmp3`: Appends an ASN.1 BER `VarBind` `(OID, SMI-value)` pair to the `VarBindList` SEQUENCE (`null` and `nullval` are interchangeable aliases). |
| `suback` | mqtt | `connect \| connack \| publish \| puback \| subscribe \| suback \| pingreq \| pingresp \| disconnect` | MQTT Control Packet type (or `pkttype "<text>"`) | publish | Sets the upper 4-bit Control Packet Type (`1`..`14`) in byte 0 of the MQTT header. |
| `subagentid` | sflow | `subagentid <number>` | 32-bit Sub-Agent ID | 0 | Disambiguates multiple linecards or virtual switches sharing one `agentip`. |
| `subnetmask` | dhcp | `subnetmask <ipv4> \| router <ipv4> \| dnsserver <ip>` | IPv4/IPv6 address literals | Omitted | Appends Option `1` (Subnet Mask), Option `3` (Router), and Option `6` / DHCPv6 Option `23` (DNS Recursive Name Server). |
| `subscribe` | mqtt | `connect \| connack \| publish \| puback \| subscribe \| suback \| pingreq \| pingresp \| disconnect` | MQTT Control Packet type (or `pkttype "<text>"`) | publish | Sets the upper 4-bit Control Packet Type (`1`..`14`) in byte 0 of the MQTT header. |
| `sync` | ptp | `sync \| delayreq \| followup \| delayresp \| announce \| msgtype "<text>"` | PTPv2 message type keyword | sync (0x0 on UDP 319) | Selects lower nibble of byte 0 and target UDP port (`0x0` Sync/319, `0x1` Delay_Req/319, `0x8` Follow_Up/320, `0x9` Delay_Resp/320, `0xb` Announce/320). |
| `sysdesc` | lldp | `sysdesc "<text>"` | Quoted string | Omitted unless set | Appends Optional TLV Type 6 (System Description). |
| `sysname` | lldp | `sysname "<text>"` | Quoted string or identifier | Omitted unless set | Appends Optional TLV Type 5 (System Name). |
| `sysuptime` | snmp1, snmp2, snmp3 | `sysuptime <number> \| reqid <number>` | Whole number | sysuptime 1000, reqid 1 | Used across `snmp1`, `snmp2`, `snmp3`: Sets `time-stamp` (`TimeTicks` hundredths of a second) on `trap` or `request-id` on `get`/`getnext`/`set`/`response`. |
| `tableid` | openflow | `tableid <0..255> \| priority <0..65535>` | 8-bit Table ID, 16-bit Flow Priority | tableid 0, priority 100 | Populates pipeline Table ID (`flowmod` / `packetin`) and rule match Priority (`flowmod`). |
| `tag` | rip, imap, nfs | `tag <0..65535>` | Whole number (0..65535) | 0 | Used across `rip`, `imap`, `nfs`: Sets the 16-bit external Route Tag (often carrying redistributed BGP ASN). |
| `target` | ndp | `target <ipv6>` | 128-bit IPv6 address literal | Destination host IPv6 address | Populates the 16-byte Target Address field in Neighbor Solicitation, Neighbor Advertisement, and Redirect messages. |
| `targetip` | arp | `targetip <ipv4> \| tpa <ipv4>` | IPv4 literal | Destination host IPv4 (or senderip on garp) | Sets the 4-byte ARP Target Protocol Address (`tpa`). |
| `targetmac` | arp | `targetmac <mac> \| tha <mac>` | 48-bit MAC (colon, hyphen, or Cisco dot) | 00:00:00:00:00:00 on request; peer MAC on reply | Sets the 6-byte ARP Target Hardware Address (`tha`). |
| `teardown` | rtsp | `options \| describe \| setup \| play \| teardown \| method "<text>"` | RTSP request verb | options | Sets the RTSP command method on the request line. |
| `text` | websocket | `text \| binary \| close \| ping \| pong \| opcode "<text>"` | WebSocket frame opcode | text (0x1) | Selects RFC 6455 opcode `0x1` (`text`), `0x2` (`binary`), `0x8` (`close`), `0x9` (`ping`), `0xa` (`pong`), or `"continuation"` (`0x0`). |
| `tgsrep` | kerberos | `asreq \| asrep \| tgsreq \| tgsrep \| krberror` | Kerberos v5 message type | asreq (msg-type 10) | Selects Authentication Service Request/Reply (`10`/`11`), Ticket-Granting Service Request/Reply (`12`/`13`), or Error (`30`). |
| `tgsreq` | kerberos | `asreq \| asrep \| tgsreq \| tgsrep \| krberror` | Kerberos v5 message type | asreq (msg-type 10) | Selects Authentication Service Request/Reply (`10`/`11`), Ticket-Granting Service Request/Reply (`12`/`13`), or Error (`30`). |
| `tha` | arp | `targetmac <mac> \| tha <mac>` | 48-bit MAC (colon, hyphen, or Cisco dot) | 00:00:00:00:00:00 on request; peer MAC on reply | Sets the 6-byte ARP Target Hardware Address (`tha`). |
| `timeexceeded` | icmp | `echorequest \| echoreply \| destunreach \| timeexceeded \| redirect` | Named ICMP message shorthand | echorequest | Maps to IPv4/ICMPv6 Type codes: `8`/`128` (`echorequest`), `0`/`129` (`echoreply`), `3`/`1` (`destunreach`), `11`/`3` (`timeexceeded`), `5`/`137` (`redirect`). |
| `timestamp` | rtp | `timestamp <number>` | 32-bit media sampling clock timestamp | 160 | Sets bytes 4..7 of the RTP header (`+160` per 20ms for 8kHz voice; `+1800` per frame for 90kHz 50fps video). |
| `timeticks` | snmp1, snmp2, snmp3 | `varbind <oid> string "<text>" \| int <number> \| oidval <oid> \| ipval <ipv4> \| counter32 <number> \| gauge32 <number> \| timeticks <number> \| counter64 <number> \| null \| nullval` | Repeatable OID + SMI value keyword | Omitted | Used across `snmp1`, `snmp2`, `snmp3`: Appends an ASN.1 BER `VarBind` `(OID, SMI-value)` pair to the `VarBindList` SEQUENCE (`null` and `nullval` are interchangeable aliases). |
| `tlla` | ndp | `slla <mac> \| tlla <mac>` | 48-bit MAC address | Omitted unless set | Appends 8-byte NDP Option Type `1` (Source Link-Layer Address, `slla`) or Option Type `2` (Target Link-Layer Address, `tlla`). |
| `to` | sip | `uri "<text>" \| from "<text>" \| to "<text>" \| contact "<text>" \| via "<text>"` | Quoted SIP URIs / header values | RFC 3261 defaults | Populates the request URI and corresponding SIP signaling headers. |
| `token` | quic, coap | `token "<text>"` | Quoted Retry / address-validation token | Empty (length 0) | Used across `quic`, `coap`: Populates the Token field on `initial` and `retry` packets. |
| `tokenid` | opcua | `securechannelid <number> \| tokenid <number> \| seqnum <number> \| reqid <number>` | 32-bit little-endian channel, token, sequence, and request IDs | 1 | Populates the Secure Conversation and Sequence headers on `"OPN"`, `"MSG"`, and `"CLO"` frames. |
| `topic` | mqtt | `topic "<text>"` | Quoted slash-delimited MQTT topic (`"sensors/temp"`) | "sensors/temp" | Encodes the 2-byte length-prefixed Topic Name in `publish` or Topic Filter in `subscribe`. |
| `tpa` | arp | `targetip <ipv4> \| tpa <ipv4>` | IPv4 literal | Destination host IPv4 (or senderip on garp) | Sets the 4-byte ARP Target Protocol Address (`tpa`). |
| `transporthdr` | rtsp | `transporthdr "<text>"` | Quoted RTSP `Transport:` header string | Omitted unless set | Writes the `Transport:` header (named `transporthdr` so it never collides with Layer 4 `transport tcp\|udp`). |
| `trap` | snmp1, snmp2, snmp3 | `trap \| get \| getnext \| set \| response` | SNMPv1 PDU type keyword | trap (PDU 0xa4 on UDP 162) | Used across `snmp1`, `snmp2`, `snmp3`: Selects ASN.1 BER PDU context tag (`0xa0` GetRequest, `0xa1` GetNextRequest, `0xa2` GetResponse, `0xa3` SetRequest, `0xa4` v1 Trap). |
| `treeconnect` | smb | `negotiate \| sessionsetup \| treeconnect \| treedisconnect \| create \| close \| read \| write \| logoff` | SMB2/3 command keyword (or `command "<text>"`) | negotiate (0x0000) | Selects the 16-bit MS-SMB2 command (`0x00` Negotiate, `0x01` SessionSetup, `0x02` Logoff, `0x03` TreeConnect, `0x04` TreeDisconnect, `0x05` Create, `0x06` Close, `0x08` Read, `0x09` Write). |
| `treedisconnect` | smb | `negotiate \| sessionsetup \| treeconnect \| treedisconnect \| create \| close \| read \| write \| logoff` | SMB2/3 command keyword (or `command "<text>"`) | negotiate (0x0000) | Selects the 16-bit MS-SMB2 command (`0x00` Negotiate, `0x01` SessionSetup, `0x02` Logoff, `0x03` TreeConnect, `0x04` TreeDisconnect, `0x05` Create, `0x06` Close, `0x08` Read, `0x09` Write). |
| `treeid` | smb | `sessionid <hex_or_num> \| treeid <number> \| msgid <number>` | 64-bit SessionId, 32-bit TreeId, 64-bit MessageId | 0 | Links SMB2 requests and replies across authenticated sessions and mounted shares. |
| `tsn` | sctp | `tsn <number>` | Whole number | 1 | Sets Initial TSN in `init`/`initack`, Cumulative TSN Ack in `sack`, or chunk TSN in `data`. |
| `txid` | dns, mdns, stun, modbus | `txid <0..65535>` | Whole number (0..65535) | 0x1234 | Used across `dns`, `mdns`, `stun`, `modbus`: Sets the 16-bit DNS Transaction ID matching requests to responses. |
| `txtimestamp` | ntp | `txtimestamp <number>` | 64-bit NTP timestamp (32b sec since 1900 + 32b frac) | Non-zero deterministic epoch | Writes the 8-byte Transmit Timestamp in bytes 40..47. |
| `type` | eapol, icmp, wireguard, openflow, tacacs | `eappacket \| start \| logoff \| key \| type <...>` | EAPOL packet type keyword or u8 | eappacket (type 0) | Used across `eapol`, `icmp`, `wireguard`, `openflow`, `tacacs`: Selects EAPOL Packet Type: `eappacket` (`0`), `start` (`1`, 0-byte body), `logoff` (`2`, 0-byte body), or `key` (`3`, EAPOL-Key descriptor). |
| `unbindreq` | ldap | `bindreq \| bindres \| searchreq \| searchentry \| searchdone \| unbindreq` | LDAPv3 protocol operation keyword | searchreq | Selects the ASN.1 BER `protocolOp` tag inside `LDAPMessage`. |
| `unitid` | modbus | `txid <0..65535> \| protoid <0..65535> \| unitid <0..255>` | MBAP Transaction ID, Protocol ID (`0` = Modbus), and Slave/Unit ID | txid 1, protoid 0, unitid 1 | Populates the 7-byte MBAP header preceding the Modbus PDU. |
| `unregistersession` | ethernetip | `nop \| listservices \| listidentity \| listinterfaces \| registersession \| unregistersession \| sendrrdata \| sendunitdata` | EtherNet/IP encapsulation command (or `cmd "<text>"`) | listidentity (0x0063) | Selects Encapsulation Command `0x0000` NOP, `0x0004` ListServices, `0x0063` ListIdentity, `0x0064` ListInterfaces, `0x0065` RegisterSession, `0x0066` UnRegisterSession, `0x006f` SendRRData, or `0x0070` SendUnitData. |
| `unsolicitedresponse` | dnp3 | `read \| write \| select \| operate \| directoperate \| confirm \| response \| unsolicitedresponse \| func "<text>"` | DNP3 Application Function Code | read (0x01) | Selects `0x00` Confirm, `0x01` Read, `0x02` Write, `0x03` Select, `0x04` Operate, `0x05` Direct Operate, `0x81` Response, or `0x82` Unsolicited Response. |
| `update` | bgp | `open \| update \| notification \| keepalive` | BGP message type keyword | keepalive (Type 4) | Selects Type `1` OPEN, Type `2` UPDATE, Type `3` NOTIFICATION (Cease error), or Type `4` 19-byte KEEPALIVE. |
| `uptime` | sflow | `uptime <number>` | 32-bit milliseconds since boot | 1000 | Sets `sysUpTime` in milliseconds inside the sFlow v5 header. |
| `uri` | http, sip, rtsp | `uri "<text>" \| version "<text>"` | Request path and HTTP version string | uri "/", version "HTTP/1.1" | Used across `http`, `sip`, `rtsp`: Sets the request target path and protocol version (`GET /path HTTP/1.1`). |
| `uripath` | coap | `uripath "<text>"` | Slash-separated resource path without leading slash (`"sensors/temp"`) | Omitted unless set | Encodes repeatable delta-encoded CoAP Option `11` (`Uri-Path`). |
| `user` | snmp3, radius, tacacs, mysql, postgres | `user "<text>"` | Double-quoted USM securityName | "initial" | Used across `snmp3`, `radius`, `tacacs`, `mysql`, `postgres`: Sets `msgUserName` in the USM security parameters header. |
| `useragent` | http | `useragent "<text>" \| contenttype "<text>"` | Quoted header values | Omitted unless set | Writes `User-Agent:` and `Content-Type:` headers. |
| `usn` | ssdp | `nt "<text>" \| nts "<text>" \| usn "<text>" \| location "<text>"` | NOTIFY advertisement headers (`NTS` `"ssdp:alive"` or `"ssdp:byebye"`) | nts "ssdp:alive" | Populates Notification Type, Sub-Type, Unique Service Name, and XML `LOCATION` URL on `notify` packets. |
| `v1` | igmp | `v1 \| v2 \| v3 \| version <1\|2\|3>` | Protocol version selector | v2 | Selects RFC 1112 IGMPv1, RFC 2236 IGMPv2, or RFC 3376 IGMPv3 packet encoding. |
| `v2` | igmp | `v1 \| v2 \| v3 \| version <1\|2\|3>` | Protocol version selector | v2 | Selects RFC 1112 IGMPv1, RFC 2236 IGMPv2, or RFC 3376 IGMPv3 packet encoding. |
| `v3` | igmp | `v1 \| v2 \| v3 \| version <1\|2\|3>` | Protocol version selector | v2 | Selects RFC 1112 IGMPv1, RFC 2236 IGMPv2, or RFC 3376 IGMPv3 packet encoding. |
| `value` | redis, memcached, modbus, bacnet | `key "<text>" \| value "<text>" \| args "<text>"` | Quoted key, value, or extra arguments | key "mykey" on get/set | Used across `redis`, `memcached`, `modbus`, `bacnet`: Populates subsequent `$len\r\n...` elements in requests or payload text in server replies. |
| `varbind` | snmp1, snmp2, snmp3 | `varbind <oid> string "<text>" \| int <number> \| oidval <oid> \| ipval <ipv4> \| counter32 <number> \| gauge32 <number> \| timeticks <number> \| counter64 <number> \| null \| nullval` | Repeatable OID + SMI value keyword | Omitted | Used across `snmp1`, `snmp2`, `snmp3`: Appends an ASN.1 BER `VarBind` `(OID, SMI-value)` pair to the `VarBindList` SEQUENCE (`null` and `nullval` are interchangeable aliases). |
| `variation` | dnp3 | `group <0..255> \| variation <0..255>` | DNP3 Object Group (`1` Binary In, `12` CROB, `30` Analog In, `60` Class Data) + Variation | group 30, variation 1 | Populates the Object Header `(Group, Variation)` inside the Application Layer. |
| `vers` | nfs | `vers <3\|4>` | NFS protocol version (`4` default, or `3`) | 4 | Sets the ONC RPC Program Version (`4` or `3`) for Program `100003`. |
| `version` | eapol, igmp, vrrp, openflow, http, quic | `version <0..255>` | Whole number (0..255) | 2 (802.1X-2004) | Used across `eapol`, `igmp`, `vrrp`, `openflow`, `http`, `quic`: Sets the 1-byte EAPOL Protocol Version (`1` = 2001, `2` = 2004, `3` = 2010/2020). |
| `via` | sip | `uri "<text>" \| from "<text>" \| to "<text>" \| contact "<text>" \| via "<text>"` | Quoted SIP URIs / header values | RFC 3261 defaults | Populates the request URI and corresponding SIP signaling headers. |
| `vip` | vrrp, hsrp | `vip <ip>` | IPv4 or IPv6 Virtual IP address | Source host IP | Used across `vrrp`, `hsrp`: Populates the Virtual Router IPv4/IPv6 Address field (`Count IPvX Addr = 1`). |
| `vn` | ntp | `vn <1..4>` | 3-bit NTP Version Number | 4 (NTPv4) | Sets bits 5..3 of byte 0 (`1`..`4`). |
| `vni` | vxlan, geneve | `vni <0..16777215> \| vnid <0..16777215>` | 24-bit unsigned integer (0..16777215) | 1 | Used across `vxlan`, `geneve`: Sets the 24-bit VXLAN Network Identifier in bytes 4..6 of the 8-byte VXLAN header (`vnid` is an exact alias for `vni`). |
| `vnid` | vxlan, geneve | `vni <0..16777215> \| vnid <0..16777215>` | 24-bit unsigned integer (0..16777215) | 1 | Used across `vxlan`, `geneve`: Sets the 24-bit VXLAN Network Identifier in bytes 4..6 of the 8-byte VXLAN header (`vnid` is an exact alias for `vni`). |
| `vrid` | vrrp | `vrid <1..255>` | 8-bit Virtual Router Identifier (1..255) | 1 | Sets the VRID (matches standard virtual MAC `00:00:5e:00:01:<vrid_hex>` on v4 or `00:00:5e:00:02:<vrid_hex>` on v6). |
| `vtag` | sctp | `vtag <number>` | Whole number | 0 on init, 1 otherwise | Sets the 32-bit Verification Tag in bytes 4..7 of the SCTP Common Header (`0` mandatory on `init`). |
| `will` | telnet | `do <0..255> \| dont <0..255> \| will <0..255> \| wont <0..255>` | Telnet option code (`1` Echo, `3` Suppress Go Ahead, `24` Terminal Type, `31` Window Size) | Omitted | Emits the 3-byte `0xff <CMD> <OPT>` IAC negotiation triplet. |
| `windowupdate` | http2 | `preface \| settings \| headers \| data \| windowupdate \| ping \| goaway` | HTTP/2 frame type keyword | settings (Type 0x04, streamid 0) | Selects the RFC 9113 HTTP/2 binary frame type (`0x0` DATA, `0x1` HEADERS, `0x4` SETTINGS, `0x6` PING, `0x7` GOAWAY, `0x8` WINDOW_UPDATE, or connection `preface`). |
| `wont` | telnet | `do <0..255> \| dont <0..255> \| will <0..255> \| wont <0..255>` | Telnet option code (`1` Echo, `3` Suppress Go Ahead, `24` Terminal Type, `31` Window Size) | Omitted | Emits the 3-byte `0xff <CMD> <OPT>` IAC negotiation triplet. |
| `write` | smb, dnp3 | `negotiate \| sessionsetup \| treeconnect \| treedisconnect \| create \| close \| read \| write \| logoff` | SMB2/3 command keyword (or `command "<text>"`) | negotiate (0x0000) | Used across `smb`, `dnp3`: Selects the 16-bit MS-SMB2 command (`0x00` Negotiate, `0x01` SessionSetup, `0x02` Logoff, `0x03` TreeConnect, `0x04` TreeDisconnect, `0x05` Create, `0x06` Close, `0x08` Read, `0x09` Write). |
| `writemultipleregisters` | modbus | `readcoils \| readdiscreteinputs \| readholdingregisters \| readinputregisters \| writesinglecoil \| writesingleregister \| writemultipleregisters \| func "<fc>"` | Function Code keyword or number (`"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"15"`, `"16"`) | readholdingregisters (FC 3) | Sets the 1-byte Modbus Function Code immediately after `unitid`. |
| `writeproperty` | bacnet | `whois \| iam \| readproperty \| writeproperty` | BACnet APDU service selector | whois | Selects Unconfirmed `Who-Is` (`8`), Unconfirmed `I-Am` (`0`), Confirmed `ReadProperty` (`12`), or Confirmed `WriteProperty` (`15`). |
| `writesinglecoil` | modbus | `readcoils \| readdiscreteinputs \| readholdingregisters \| readinputregisters \| writesinglecoil \| writesingleregister \| writemultipleregisters \| func "<fc>"` | Function Code keyword or number (`"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"15"`, `"16"`) | readholdingregisters (FC 3) | Sets the 1-byte Modbus Function Code immediately after `unitid`. |
| `writesingleregister` | modbus | `readcoils \| readdiscreteinputs \| readholdingregisters \| readinputregisters \| writesinglecoil \| writesingleregister \| writemultipleregisters \| func "<fc>"` | Function Code keyword or number (`"1"`, `"2"`, `"3"`, `"4"`, `"5"`, `"6"`, `"15"`, `"16"`) | readholdingregisters (FC 3) | Sets the 1-byte Modbus Function Code immediately after `unitid`. |
| `writevar` | s7comm | `setupcomm \| readvar \| writevar \| plccontrol \| func "<text>"` | S7 Parameter Function (`0xf0` Setup, `0x04` ReadVar, `0x05` WriteVar, `0x28` PLCControl) | setupcomm (0xf0) | Selects the S7comm Parameter Function code. |
| `wrq` | tftp | `rrq \| wrq \| data \| ack \| error \| err` | TFTP opcode keyword | rrq (Opcode 1) | Selects Opcode `1` Read Request (`rrq`), `2` Write Request (`wrq`), `3` Data (`data`), `4` Acknowledgment (`ack`), or `5` Error (`error` / `err`). |
| `xid` | openflow, dhcp, nfs | `xid <number>` | 32-bit Transaction ID | 1 | Used across `openflow`, `dhcp`, `nfs`: Correlates controller requests (`featuresreq`, `echoreq`) with switch replies. |
| `xormappedaddr` | stun | `xormappedaddr <ip>` | IPv4 or IPv6 public/reflexive IP address | Client IP on bindingresponse | Adds Attribute `0x0020` (`XOR-MAPPED-ADDRESS`) with RFC 5389 XOR obfuscation applied. |
| `yiaddr` | dhcp | `ciaddr <ipv4> \| yiaddr <ipv4> \| siaddr <ipv4>` | IPv4 dotted-quad literals | 0.0.0.0 | Sets Client IP, Your (offered) IP, and Next Server IP in the DHCPv4 BOOTP header. |
| `yourdisc` | bfd | `mydisc <number> \| yourdisc <number>` | 32-bit non-zero / peer session discriminators | mydisc 1, yourdisc 0 | Sets My Discriminator and Your Discriminator (`0` until learned from peer). |
| `zerortt` | quic | `initial \| zerortt \| handshake \| retry \| short` | QUIC packet header type | initial | Selects Long Header (`initial`, `zerortt`, `handshake`, `retry`) or 1-RTT Short Header (`short`). |
