packet 1) is the name of a data unit for the network layer (level 3 of the OSI model) (ie IP).
For a TCP/IP communication over Ethernet,
- a TCP segment is carried in
- one or more IP packets,
- which are each carried in one or more Ethernet frames.
Packets can be forged / dynamically created (including source IP addresses).
Flow of network packets in an operating system. There are two distinct layers in the packet path: