User code
Network Library
Language API
Linux API
Socket Ops
User Space
Kernel Space