Blog

Agility6

论文分享:An Implementation and Analysis of a Kernel Network Stack in Go with the CSP Style(WIP)

Tech

Network Stack in Go with CSP Style

该论文尝试使用Golang和 CSP 风格对内核网络栈进行实现

GoNet通过虚拟的tab网络接口在用户态模拟一个独立的网络栈,协议栈主要分为三层,数据链路层、网络层和传输层

主要通过 packet dealer 设计,每一层主要的 goroutine 负责接收来自下层的数据包,通过 channel 进行分发给多个 goroutine 处理

photo