Compare the functions of data link layer with those offered by the transport layers in the OSI reference model.