what is the function of an internet router in the transmission of a data packet from a source to a destination node?