The OSI Network Stack is divided into 7 .

8. Network protocols ensure the confidentiality and integrity of data transmitted over a network.

The transport layer ensures reliable delivery of data.