Protocol Data Units at Each Layer

What a Protocol Data Unit Is

A Protocol Data Unit (PDU) is simply the name given to a chunk of data at a specific layer, once that layer's own header has been added. The name changes as the data moves down the stack, because each layer is technically producing a different kind of unit.

PDU Names Across the TCP/IP Layers

LayerPDU nameContains
ApplicationData / MessageThe raw application content (an HTTP request, an email)
TransportSegment (TCP) or Datagram (UDP)Data plus a transport header (ports, sequence numbers)
InternetPacketSegment plus an IP header (source/destination IP)
Network AccessFramePacket plus a MAC header and trailer

Why Precise Terminology Matters

Saying "the packet got dropped" versus "the frame got dropped" points at completely different layers - and therefore completely different causes and fixes. A dropped packet suggests a routing problem (Internet layer); a dropped frame suggests a local link problem (Network Access layer). Using the correct PDU name is a fast way to communicate exactly where in the stack an issue lives.

Visualizing the PDU Chain

Message  ->  [ Segment (+ TCP header) ]
        ->  [ Packet (+ IP header) ]
        ->  [ Frame (+ MAC header/trailer) ]
        ->  raw bits

This is the same encapsulation process covered earlier, just viewed through the lens of what each resulting unit is properly called at each stage.

Written by Lorens Mishra

Software Engineer Notes Management System Administrator

Discussion

0 comments
Sign in to join the discussion.

No comments yet. Be the first to say something.