Google's project gVisor (used by GKE tor run container workloads) exposes a Go package that implements a full user-land TCP/IP stack (level 2 up). You can programmatically create virtual nics, bind network address, define routing table, create TUN/TAPs, listen/accept connections, etc.
#networking #go #libraries #networkprogramming #TcpIp
#OSI Network model with pictures
#networking #networks #protocols #layers #TcpIp
(apologies for not annotating them… a lot of text in the images)
Also note that aside from academia, no one in the industry really talks about the OSI model.
The OSI model is outdated and was replaced by the TCP/IP model.
The TCP/IP model is basically the same functionality, just with fewer/condensed layers.
( ref: https://www.techtarget.com/searchnetworking/definition/TCP-IP )
#OSI #networking #networks #protocols #layers #TcpIp #docs