De-encapsulation is the receiving host’s process of inspecting and removing protocol headers and trailers as data moves upward through the networking stack. It reverses encapsulation and delivers the remaining data to the application. section 4.3.2 section 4.4
The destination host processes the message in five stages:
- Receives the transmitted bits as a message. section 4.3.2
- Inspects and removes the Layer 2 header and trailer, then passes the message to Layer 3. section 4.3.2
- Inspects and removes the Layer 3 header, then passes the message to Layer 4. section 4.3.2
- Inspects and removes the Layer 4 header and sends the data to the appropriate application. section 4.3.2
- Receives and processes the data at the application layer. section 4.3.2
Following a received message
A received frame contains a packet, and the packet contains a segment. The host removes the frame’s Layer 2 header and trailer, removes the packet’s Layer 3 header, removes the segment’s Layer 4 header, and delivers the application data. The removed information is inspected before each layer passes the remaining message upward. section 4.3.2
