https://www.techtarget.com/searchnetworking/definition/protocol-data-unit-PDU
A protocol data unit (PDU) is the basic unit of exchange between entities that communicate with a specified networking protocol. It's important for network professionals to use the correct PDU when they work with a multilayer protocol stack and manage protocol interactions.
Networking protocols define their units of data exchange between networked entities. This is especially true for those developed in a layered reference model framework, such as the seven-layer Open Systems Interconnection (OSI) model or the four-layer TCP/IP model. For example, a packet is the PDU for IP, which defines interactions between hosts identified by IP addresses at the network layer.
When a host connects to the internet via an Ethernet network, it incorporates IP into Ethernet frames. These frames transmit between network interface cards (NICs). Datagrams and segments are the most common PDUs carried within IP packets, used in User Datagram Protocol (UDP) and TCP communications, respectively. These two transport layer protocols mediate communication between processes, also known as programs. Datagrams and segments are the units of exchange.
While the PDU is the unit of exchange between communicating entities, the service data unit (SDU) is the data unit delivered over data networks. SDU is the message delivered by the next lower protocol layer, which incorporates it as the payload of its PDU.
The protocol specification defines the format and function of the PDU. To comply with a protocol specification, a protocol implementation must accept PDUs sent by other compliant implementations. It must also compose PDUs that other implementations can accept as valid.
The PDU defines what a protocol message should look like. PDUs typically consist of the following:
Protocols that define specific word lengths -- groupings of multiple bits or bytes that expedite processing -- might require padding some sections of the header or PDU with bits valued at either 0 or 1. Many networking protocols call for network data processing in 32-bit groups. If the PDU has fewer than 32 bits remaining, padding augments it.
PDUs enable interoperable data transmission across internetworks -- networks of networks -- through encapsulation. Consider the following example.
Suppose a network professional uses an application layer protocol to request a file transfer from a remote server to their local host. To request the file, the network professional must use a client application -- a browser, in this case -- which drafts a request to the remote server application for the file. The remote server can begin to send the file once it receives the request.
In general, most of the functions assigned to the OSI model's upper layers -- the application, presentation and session layers -- exist within the TCP/IP model's application layer. Most application layer protocols use messages as their PDUs. For simplicity, this example focuses on how the server sends the file to the client with the OSI model's lower layers: the transport, network, data link and physical layers.
The upper layers pass the files to the lower layers for transmission over the necessary data networks separating the network professional from the remote server. The process proceeds as follows:
When the packet arrives at a destination, it reverses the encapsulation process, known as decapsulation. First, the router decapsulates the frame to determine the next internet layer hop. Once the packet arrives at the user's host, it reverses the process:
This is a simplified explanation. For example, most IP packets are no longer than 1,500 octets (bytes). That is the maximum transmission unit length for many Ethernet networks. IP packets larger than that must fragment during their internet transit, which is undesirable because it significantly slows transmissions.
Although internet transmissions are all contained in IP packets, those packets also encapsulate other protocols used in the transport or application layer. Further data link layer protocols also encapsulate IP packets. The IP packet is an SDU for LAN technologies, such as those used in Ethernet or asynchronous transfer mode (ATM) networks.
The following table lists common PDUs.
PDU name | OSI reference model layer | TCP/IP reference model layer | Protocol | Notes |
Message | Application layer | Application layer | Most application layer protocols, including HTTPS (web), Simple Mail Transfer Protocol (email) and Secure Shell (terminal emulation and IP tunneling) | Application layer PDUs are conventionally referred to as messages |
Segment | Transport layer | Transport layer | TCP | |
Datagram | Transport layer | Transport layer | UDP | |
Packet | Transport layer | Transport layer | Stream Control Transmission Protocol (SCTP) | The PDU is called a packet; SCTP packets are composed of an additional unit called a chunk |
Packet | Network layer | Internet layer | IP | IP packets are also referred to as datagrams |
Frame | Data link layer | Network link layer | Ethernet | |
Cell | Data link layer | Network link layer | ATM | |
Bit | Physical layer | Physical hardware | Physical network media |
18 Feb 2025