According to the OSI model, at which of the following layers is data encapsulated into a packet?