prev / nextData generated by an application is first received by the transport layer (UDP or TCP) and then to the internet layer. In this layer the internet package called datagram is generated. Then it is encapsulated and transmitted by the network to the router. The router then delivers it to the target host where the process is reverted.