which is the function of network layer code example
Example: network layer functionality
It translates logical network address into physical address. ... Mechanism is provided by Network Layer for routing the packets to final destination. Connection services are provided including network layer flow control, network layer error control and packet sequence control.