concept

Encapsulation and protocol data units

Encapsulation carries a higher-layer unit in a lower-layer protocol unit, with header or trailer information as applicable. A TCP segment or UDP datagram may be carried inside an IP packet, then inside an Ethernet frame. Sizes depend on headers, options, padding and framing.

Formal Syntax & Structure

networking syntaxnetworking
Encapsulation and protocol data units
Networking Reference