what is the structure of an ip packet
IPv4 An IP packet consists of a header section and a data section.
Encapsulation (networking) In computer networking, encapsulation is a method of designing modular communication protocols in which logically separate functions in the network are abstracted from their underlying structures by inclusion or information hiding within higher level objects.