Eight bits sit at byte two of the IPv4 header, and they have been through three constitutions without once changing address. In 1981 the Type of Service octet was a row of switches: three bits of Precedence, three independent requests for low delay, high throughput or high reliability, and two bits reserved for a future nobody had bothered to specify. By 1998 those same eight positions held a six-bit Differentiated Services Codepoint (DSCP) selecting a per-hop behavior, plus a two-bit Explicit Congestion Notification (ECN) signal. The octet did not get wider, faster or optional.

It got redefined—in public, in explicitly incompatible terms, with bridges left standing for the traffic already on the wire.

The short version

  • RFC 791 split the Type of Service octet into three Precedence bits plus independent delay, throughput and reliability requests, with two bits reserved.
  • RFC 1349 (1992) collapsed the middle into a single four-bit enumerated choice and added monetary cost.
  • RFC 2474 (1998) replaced the whole structure with a six-bit DSCP selecting per-hop behavior; RFC 3168 handed the last two bits to ECN.

1981: quality of service as a row of switches

RFC 791 called the field Type of Service. Its first three bits carried Precedence, running from Routine up through several higher designations to network-control traffic. Three more bits independently requested low delay, high throughput and high reliability. The final two were reserved for future use.

The specification framed those middle choices as a tradeoff. Better performance in one dimension might worsen another, or raise service cost in some sense, so except in unusual cases it advised setting no more than two of the three indications. The packet was not commanding a universal treatment. It was describing desired abstract qualities that a particular network could map onto services it actually provided.

That distinction mattered because networks shared neither one queueing system nor one economic model. A low-delay request could influence path or service selection where such choices existed, but the bit itself could not manufacture capacity. Precedence likewise described importance without making every administrative domain honor the same privilege.

1992: RFC 1349 closes the switchboard

RFC 1349 revisited the octet after years of conflicting definitions. It fixed the service portion at four bits and, contrary to RFC 791, treated it as a single enumerated value rather than independent switches. The recognized choices requested minimum delay, maximum throughput, maximum reliability, minimum monetary cost, or normal service.

The change stopped arbitrary combinations from acquiring accidental meaning. A sender picked one requested tradeoff; ORing values together was no longer a valid way to ask for several qualities at once. The cost value also made explicit a dimension RFC 791 had discussed only as a possible consequence of better service.

RFC 1349 still kept the request modest. It wanted a fixed-size field so new service types could be deployed, and said hosts and routers should handle an unfamiliar type correctly without needing to understand its semantics. The signal described a preference. It did not guarantee that the path would deliver the requested property.

1998: the octet becomes a behavior selector

By 1998, RFC 2474 had replaced the TOS definition with the Differentiated Services field. Six bits became an unstructured Differentiated Services Codepoint, or DSCP. A compliant node matches the entire six-bit value and uses it to select a per-hop behavior implemented on that node. The mapping must be configurable.

The change swapped a small vocabulary of named end-to-end aspirations for a much larger selector of forwarding treatment. A codepoint could identify a behavior, but an operator still controlled the local mapping and traffic conditioning. Nodes could rewrite the DS field at administrative boundaries. Service-level relationships between domains governed translations the base field could not express by itself.

RFC 2474 did not pretend the new layout was identical to RFC 791. It called the structures incompatible. Limited backward compatibility came through Class Selector codepoints, whose leading patterns corresponded to historical IP Precedence values and whose per-hop behaviors carried minimum ordering requirements. That preserved useful deployed expectations without dragging the entire old semantic model into the new one.

The result was compatibility by constrained reinterpretation. The wire location survived; selected historical patterns got a bridge; arbitrary assumptions about the rest did not.

The two spare bits get a job they were never reserved for

RFC 2474 labeled the final two bits Currently Unused for differentiated-services processing and required them to be ignored when choosing a per-hop behavior. RFC 3168 then put those positions to work as a separate two-bit Explicit Congestion Notification field.

Its four codepoints are Not-ECT, ECT(0), ECT(1) and Congestion Experienced (CE). A sender uses ECT(0) or ECT(1) only when the transport endpoints can participate. Under incipient congestion, an active queue management mechanism can set CE instead of dropping that capable packet. The receiver and the transport sender then carry the response back into congestion control.

ECN therefore did not turn two spare bits into extra priority. It created a feedback channel with different semantics and different participants from DSCP. The upper six bits help a node select treatment. The lower two can record congestion for a capable transport. A router may still drop at a full queue, and traffic that is not ECN-capable gains no promise of marking instead of loss.

Stable position, unstable assumptions

The history is worth telling precisely because the octet stayed visible while its meaning changed underneath it. An implementation that assumed every old bit retained its 1981 semantics could misread a later packet. A domain that treated every DSCP as a universal global rank could mistake a configurable selector for an entitlement. A device that erased CE could break an end-to-end congestion signal while forwarding the packet perfectly well.

The cited RFCs do not measure how consistently markings survived operational paths, tunnels, remarking policies or middleboxes. They do not establish that a specific codepoint buys a fixed latency, throughput, reliability or monetary price. Those outcomes depend on implemented behaviors, agreements and current path conditions.

What the sources do show is an architectural method. The IETF reused a scarce fixed location by documenting incompatible change, reserving bridges for deployed practice, assigning interpretation to administrative domains, and separating the congestion field from the behavior selector. The octet endured because its physical stability was never confused with semantic immutability.

Eight bits. Three contracts. One address in the header that never moved—and a standing warning to every protocol that assumes a reserved bit will stay reserved.

Sources