tcp/ip illustrated volume 2 chapter2

451阅读 0评论2009-10-02 wqfhenanxc_cu
分类:BSD

Net/3 网络数据结构总结
类型一:An mbuf chain
类型二:A linked list of mbuf chains with a head pointer only(用于socket sendbuf
       and receive buf)
类型三:A linked list of mbuf chains with head and tail pointers(用于interface queue)
类型四:A doubly linked, circular list(用于ip分片和重组、PCB、TCP乱序到达队列)


使用cluster的缺点是会浪费空间,优点是减少mbuf链的长度和相关操作,最重要的是可以在mbuf之
     间共享cluster。
上一篇:linux socket()调用与arp报文发送
下一篇:tcp keepalive for unix