In September 1981, the engineers specifying TCP did something quietly radical: they left six bits of every single header empty, and then wrote a rule forbidding anyone from filling them with their own bright ideas. Send them as zero. Leave them alone. Wait for a standard.

Twenty years later, two of those blanks started carrying a conversation between machines that had never been imagined when the ink dried. This is the story of how Explicit Congestion Notification moved into TCP's reserved bits — and why the emptiness, not the bits, was the real engineering achievement.

The short version

  • RFC 793 reserved six TCP header bits for future use and required every sender to transmit them as zero.
  • RFC 3168 spent two of them on ECE and CWR, the endpoint signaling loop behind Explicit Congestion Notification, while leaving the base header boundary untouched.
  • RFC 9293 now records four reserved bits and states the compatibility rule in both directions: zero when sent, ignored when received.

Six bits, zeroed on purpose

By 1981 the TCP header was already a crowded apartment. Sequence numbers, acknowledgment numbers, window sizes, checksums, urgent pointers, six control flags — every field had a job, and the tenants were not moving out. Immediately after the four-bit Data Offset, Jon Postel's RFC 793 set aside six more positions and gave them the least glamorous assignment in the document: reserved for future use, and required to be zero.

Read that again, because the second half is the interesting half. The specification did not merely say the space was unused. It said nobody was allowed to use it privately. A sender had no authority to invent a meaning. A receiver could count on a stable base layout in which those bits carried no standardized signal at all. The space was inert — and yet it rode along in every segment, a permanently visible vacancy.

This is a different animal from the Data Offset field sitting right beside it. Data Offset tells a receiver where the payload begins after a header that may have grown. Reserved bits do not lengthen anything or locate anything. They hold positions inside the fixed portion of the wire image, like survey stakes in an empty lot, so that a later standards action can build on the exact same coordinates.

Two blank switches learn a language

RFC 3168, published in September 2001 by K. Ramakrishnan, Sally Floyd and David Black, supplied the clearest historical demonstration of what those stakes were for. It designated bit 9 of the former Reserved field as ECN-Echo, or ECE, and bit 8 as Congestion Window Reduced, or CWR. The six-bit reservation became four bits of still-unassigned space plus two named control flags.

The point was never that two spare switches happened to exist. The point was that RFC 3168 gave them jobs inside a mechanism larger than themselves. An ECN-capable router can mark an IP packet with the Congestion Experienced codepoint instead of waiting for a queue to overflow and a packet to die. The receiver reports that mark back to the sender by setting ECE in a TCP acknowledgment. The sender reacts to the congestion indication, then sets CWR to tell the receiver the congestion window has actually come down.

Router marks, receiver echoes, sender confirms — a three-party conversation conducted in two bits that had spent two decades saying nothing.

Negotiation is the part people skip. RFC 3168 defines an ECN-capable setup exchange, so the endpoints establish support before either treats these positions as operational signals. The allocation did not magically teach every old endpoint to understand ECN. It gave cooperating endpoints standardized positions and standardized meanings, while the familiar header shape stayed exactly where it was.

The rule now runs in both directions

RFC 9293, the consolidated TCP specification of August 2022, tells you what the arrangement matured into. It describes four reserved bits rather than RFC 793's six, and for features an implementation does not support it states both halves of the compatibility contract: the bits must be zero in generated segments, and they must be ignored in received segments.

Those two directions do completely different work, and the protocol needs both. Zero on transmission stops an implementation from leaking accidental or private signals into unassigned space. Ignore on receipt stops a host that has never heard of some future feature from treating the mere presence of its bit as a malformed base TCP segment. Together they fence off a narrow evolutionary lane running between unauthorized invention on one side and automatic rejection on the other.

IANA's TCP Header Flags registry supplies the allocation boundary. RFC 9293 lists CWR and ECE alongside the six familiar control flags and retains offsets 4 through 7 for future use. A reserved position is therefore not ownerless. Its future meaning depends on a public specification and a managed assignment — not on whoever ships first.

What the spare bits do not prove

The clean standards progression is easy to overstate, and the tidy version deserves a poke. Reserved space does not guarantee deployment. Middleboxes can make assumptions that diverge from endpoint rules; implementations can lag for years; a new flag may need negotiation, state-machine surgery and operational evidence well beyond the bit itself. The cited RFCs do not measure any of that friction.

Nor does the 1981 reservation show that TCP's designers predicted ECN. The defensible historical claim is narrower and more interesting: they preserved wire positions for future control use, and a later standard spent two of them on a specific congestion-feedback mechanism. Foresight was not the gift. Discipline was.

Why the emptiness was the asset

Extensibility is not produced by spare bits. Plenty of protocols have died with unused fields still sitting in their headers, pristine and useless, because nobody agreed on what filling them would mean. What TCP had was a governed vacancy: a default behavior everyone obeyed, an assignment process everyone recognized, and explicit semantics at the moment the space was finally spent.

That is the same principle that keeps any shared coordination layer alive — fix only the minimum at the start, and let later change arrive by adoption rather than decree, as argued in the case for a minimum initial specification. Six reserved positions became four after ECE and CWR were standardized. The remaining budget is smaller now, and every future allocation will be argued over harder than the last.

So the history is not that TCP had spare room. It is that the spare room stayed usable — because the rule was zero, the space was left alone, and the first standard to move in had to earn the address.

Sources