TCP over IPv4, in a protected QoS Data frame

The same chain, encrypted. Locked, this is what a sniffer without the passphrase actually gets — a fully readable MAC header and an opaque body. Unlocked, it reads all the way down to the application data.

Find a frame
PHY
Class
Mechanism

Everything here is true proportion on each lane's own axis. Labels float above their field and step down a row only where they would collide, so nothing is inflated to make its name fit. Zoom widens the whole diagram together and scrolls sideways, which keeps the lanes aligned.

PHY 802.11ac Wi-Fi 5 µs
MAC octets

this whole lane is the PSDU, inside the Data field above

Not in this frame: Address 4 — Both To DS and From DS are 1. An absent field takes no octets at all; what follows moves up to meet what came before.

SEC octets

this whole lane is the Frame Body above it

LLC octets

this whole lane is the Encrypted Data above it

NET octets

this whole lane is the Payload above it

TSPT octets

this whole lane is the Payload above it

The Data slot is open — nothing is stacked below this lane yet. A truncated stack is a valid composition, not a broken one.

How the layers combine

Each layer names the unit it receives from above differently from the unit the layer above hands down. They are the same octets. Nothing is added crossing a seam — the header you see appear was always inside the slot, and only becomes visible when the next layer subdivides it.

  1. PPDU = L-STF + L-LTF + L-SIG + VHT-SIG-A + VHT-STF + VHT-LTF + VHT-SIG-B + DATA ⊃ PSDU
    the PSDU is the MPDU — same octets, different name
  2. MPDU = FC + Dur + A1/RA + A2/TA + A3 + SeqCtl + QoS + Body + FCS
    the MSDU is wrapped by CCMP-128 protection — a header and trailer around the same payload
  3. CCMP = CCMP Hdr + Ciphertext + MIC
    the MSDU is the LPDU — same octets, different name byte order flips to network order ; bit 0 moves to the other end of the octet
  4. LPDU = DSAP + SSAP + Control + OUI + EtherType + Payload
    the Payload is the Datagram — same octets, different name
  5. Datagram = Version + IHL + DSCP + ECN + Total Length + Identification + Flags + Fragment Offset + TTL + Protocol + Header Checksum + Src + Dst + Payload
    the Payload is the Segment — same octets, different name
  6. Segment = SrcPort + DstPort + Seq + Ack + Data Offset + Reserved + Flags + Window + Checksum + Urg + Data

Select any field to read what it is and why it matters.

The octets

Structure is a property of the format; values are a property of the capture. Everything above is named and positioned whether or not you hold the passphrase — only the octets below are withheld.

Encrypted — values withheld

64 octets at offset 34 are CCMP-128 ciphertext. Every field below is still named, sized and positioned — that is the format, not the capture. Only the values are unavailable, which is exactly what a sniffer without the passphrase gets.

The passphrase reveals octets this site already holds. It does not derive a key or run AES — deriving one for real needs a four-way handshake, which needs management frames to exist first.

The octets

110 octets, exactly as a capture tool would show them — most significant bit leftmost, which is the opposite direction from the bit strips above. Click a field to highlight its octets, or an octet to find its field.

0000·A,···^·S···^·S·
0010··^·S·@······ ··
0020········g··q0···
0030··F···}···Gi····
0040··e···~····PY·p;
0050·C Xdw·\·····-··
0060ygk··8·····X··

The shaded span is ciphertext — 64 octets from offset 34. Its structure is known and rendered above; only these values are unavailable. The shaded span is the 64 octets that were ciphertext, now shown in the clear. Same offsets, same fields — the lock never changed the structure, only what you could read.

A shaded octet is shared by more than one field — several sub-octet fields live inside it, so highlighting the byte overstates any one of them.

Every field, and what contains what

The same frame as a hierarchy rather than a scale drawing. Proportion is useful for airtime and useless for structure — a one-bit flag and a 1500-octet payload matter equally here and not at all equally above.

Structure

Every field in this transmission and what contains what — one hierarchy from the PPDU on the air down to the application's bytes. Indentation is containment. 118 fields, 118 unverified.