What functions need to be implemented in the 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.