Picture a packet arriving at a 1980s workstation. The bytes are already in memory, the network card has done its job, and the operating system would very much like to hand the payload to a program without copying it one more time. There is just one obstacle: a header of unpredictable length sits in front of the data, and it keeps nudging the useful bytes off the tidy boundaries the hardware prefers.

The short version

  • Trailer encapsulation, described in RFC 893 (April 1984), moved variable-length higher-level headers behind the data inside a single link packet, so a suitable receiver could exploit page-aligned memory and reconstruct the normal order before higher-level processing.
  • The saving was conditional: it depended on the receiver's architecture, its page size, and whether avoided copying outweighed the cost of buffering the whole packet before reading headers that another implementation might inspect early.
  • Because the benefit belonged to the receiver, the sender needed positive knowledge of its link peer. By RFC 1122 (October 1989), host requirements demanded per-destination negotiation and a default-off rule wherever dynamic negotiation was absent.

The awkward bytes before the useful block

Suppose a receiver can make data available to a program by remapping memory pages instead of copying every byte. That trick has a precondition: the data must begin where the hardware likes it to begin. A block starting halfway through a page is not interchangeable with one arranged for page-granularity protection and remapping.

Now slide a header of variable length in front of it. Even if the link prefix has a predictable size, the higher-level headers keep changing length, and every change shifts the useful data off its boundary. Copying the payload into alignment can burn the very work the receiver hoped to save.

RFC 893, published in April 1984, proposed a way around the obstruction: move the variable headers behind the data on the link. The receiver could then handle the large block under friendlier alignment and put the smaller headers back where higher-level protocols expected them. The document described a format already used by 4.2BSD UNIX and other systems. It was explicitly informational — not an official ARPA Internet protocol — and its subject was a conditional favour to a receiving implementation, not a compulsory rearrangement of Internet traffic.

Arrival was not the end of the copying bill

Network data could be copied between a device and memory, or between the operating system and a user address space. On a suitable virtual-memory machine, rewriting page tables offered an alternative to moving the contents again.

RFC 893's discussion normally required page-aligned data whose size was a multiple of the page size, or filled to a page boundary, under page-granularity protection. It also conceded that the hardware architecture could change the prerequisites. The format never promised universal zero-copy reception.

Moving headers out of the way made the opportunity easier to seize. It did not make Ethernet transmit faster, abolish every header copy, or prove that remapping was free. The document's VAX example — 512 data bytes — belongs to that architectural setting. It is neither a rule for modern page sizes nor a claim that IP and TCP headers always share a fixed combined length.

The distinction matters because a historical implementation report so easily hardens into a timeless performance claim in retelling. The authors reported benefits for their implementation. This account adds no new benchmark, no percentage improvement, no measurement on current hardware.

A tail inside the same packet

The trailer was not a second packet carrying instructions that arrived later. Nor was it a footer an application appended to a file. It was part of the same link-level packet, with data placed ahead of headers that logically preceded it at the higher layer.

Link-type information marked the special form and told the receiver where to find the trailer. The trailing portion carried the original protocol and header length, then the original higher-level headers. The receiver stripped the encapsulation-specific material and rebuilt the ordinary header-and-data relationship.

TCP therefore acquired no new sequence meaning. An application did not win permission to consume unprocessed bytes merely because they arrived earlier on the wire. Correct reconstruction kept the local rearrangement invisible to the higher protocols.

The baseline in RFC 894, also published in April 1984, was plain IP over Ethernet: the IP header followed immediately by IP data. A host able to read that arrangement was not automatically able to read the alternative. Carrying the same protocol did not erase the difference in representation.

Nor did rearrangement enlarge the link. The verified technical erratum 570 corrects RFC 894's description of 1500 octets from a minimum to a maximum. Padding to Ethernet's minimum data length is separately excluded from the IP total length. Memory alignment, padding, and link capacity should not be collapsed into one number.

The price of finding the header late

RFC 893 set out the terms of the bargain. The receiver had to be willing and able to use trailers. Alignment had to cost no more than it saved. The trailing headers had to be small relative to the data, and the avoided copying valuable enough to justify extra software complexity.

There was also a timing cost. A receiver had to buffer the whole packet before it could process information now sitting at the end. An implementation that inspected headers early could lose a chance to reject unwanted traffic or reserve resources before the entire packet landed.

The document acknowledged delayed type recognition as a fair criticism. Its answer was narrow: in the DMA case it discussed, the complete packet was already in hand before that processing began. That explains why the trade could work there. It does not prove that all DMA hardware — especially today's — shares the same reception path.

What looked like a small rearrangement to the sender could therefore land differently on different recipients. One might skip a substantial copy. Another might inherit extra buffering or complexity for no comparable gain. Receiver consent was part of the engineering because the receiver owned that side of the arithmetic.

An interface could not speak for every neighbour

RFC 894 let consenting systems on the same Ethernet use trailers while requiring no host to implement them. A sender needed positive knowledge that its recipient could read the form. Ordinary encapsulation stayed the compatible baseline.

The 1984 descriptions exposed a practical limit. The then-described 4.2BSD choice was made per interface at boot: either use trailers with the required cooperation on the shared medium, or never transmit them through that interface. A per-host negotiation using ARP was floated as a possible or expected improvement.

By October 1989, RFC 1122, section 2.3.1, specified a tighter arrangement. Both participants in the link exchange — host or gateway — had to be verified as supporting trailers. Where there was no dynamic per-destination negotiation, the default configuration had to disable their use.

These documents trace a described interface-wide assumption followed by a specified per-destination exchange. They do not fix the first shipping date of every implementation, nor show that all BSD releases stood still until 1989. The defensible historical comparison is between documented requirements and mechanisms.

Address knowledge was not format knowledge

ARP's ordinary success did not answer the new compatibility question. RFC 826 mapped a protocol address to a hardware address on a chosen link, after the next-hop decision. Knowing where to send a frame did not prove the neighbour could read every optional form the frame might contain.

The fields also had distinct jobs. The outer Ethernet type naming ARP, the protocol-address-space field inside ARP, and the operation code for request or reply were not one interchangeable type value. Trailer negotiation depended on keeping those meanings apart.

The implementation described in RFC 1122 left the ordinary IP ARP exchange intact. A system willing to receive trailers sent an additional Trailer ARP reply, using the ordinary reply format but naming the trailer protocol inside ARP. This did not replace the basic IP reply and did not require a preceding Trailer ARP request.

Both roles could announce reception capability. A recipient of a normal ARP request could send the extra reply alongside its IP reply. The original requester could announce its own ability when the matching normal IP reply arrived. Each announcement described its sender as a potential receiver of trailers.

A host configured to use the form could record the neighbour's capability — say, as a flag in an ARP entry. This was not an application delivery receipt, a performance guarantee, or cryptographic authentication. It was one particular piece of link-peer knowledge.

The gateway context makes the scope matter. RFC 1009, published in June 1987, explains proxy ARP cases where a gateway answers with its own interface address for a reachable off-link destination. The link peer learned through that exchange need not be the application's final correspondent. Its capability could not certify the whole route.

A reply needed an unfinished question

An extra reply introduced a small but consequential state problem. A misbehaving host could answer a Trailer ARP reply with an ordinary IP ARP reply. If its neighbour answered every IP reply with another trailer announcement, replies could keep generating replies.

RFC 1122 bounded that branch. A Trailer ARP reply sent in response to an IP reply should occur only when the latter answered an outstanding request — the hardware address was still unresolved before that reply was processed. Sending the extra announcement alongside a normal answer to an incoming request was a separate permitted case.

The guard required no invented retry count, timer, or authentication scheme. It relied on local history. Was there still a question this response resolved? Once the work was no longer outstanding, an incoming reply did not by itself justify continuing the conversation.

This was a second boundary on inference. Ordinary ARP did not prove trailer support, and an arbitrary IP ARP reply did not prove another trailer reply was needed. The implementation had to preserve the reasons behind its actions, not merely recognise familiar packet shapes.

Some traffic could conceal the disagreement

RFC 1122 warned that trailers were chosen only for packets with particular size attributes — typically a small fraction, in its discussion. A mismatch could therefore pass some packets while blackholing others. A short successful exchange might never touch the special receiving path at all.

This is not a claim that all large packets failed, or that any size-related loss proves trailer encapsulation. Evidence of the actual format and the peer's state would be needed. The historical failure mechanism was conditional selection of a representation the recipient could not read — not necessarily an MTU shortage.

The warning completes the case for per-peer knowledge. A coarse observation that a neighbour was reachable could hide a fine-grained incompatibility. The exceptional format needed its own evidence, even when the ordinary network appeared to work.