wqfhenanxc 发表于 2009-10-02 10:18

tcp/ip illustrated volume 2 chapter2


                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。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/63316/showart_2063443.html
页: [1]
查看完整版本: tcp/ip illustrated volume 2 chapter2