一种Mbuf简化实现的方法  

A Simplified Implementation of Mbuf

在线阅读下载全文

作  者:路海 李立清[2] 

机构地区:[1]星盈科技(深圳)有限公司,深圳518048 [2]中国工程物理研究院计算机应用研究所,四川绵阳621900

出  处:《计算机工程与应用》2004年第3期99-101,147,共4页Computer Engineering and Applications

摘  要:为了在中小型的嵌入式系统中实现TCP/IP协议栈,要求提供一种有效、简洁、可靠的缓冲区管理。Mbuf是TCP/IP缓冲区管理最广泛的实现方式。该文介绍了简化的Mbuf实现方法,其代码规模只有4.4BSD-Lite的三分之一。该实现方式基于单次拷贝技术,假设基于裸机实现,即没有操作系统的支持。除了提供Mbuf的例程,还实现了Mbuf的动态分配与回收。同时该文简要地总结了目前TCP/IP缓冲区管理的主要方式和新的发展。Mbuf is the most popular solution in the implementation of TCP/IP buffer management.This paper describes an efficient and simplified scheme for TCP/IP buffer management which is based on small-size embedded system.In this way,the Mbuf code size is as small as one third of the4.4BSD-Lite.The implementation is also“Single-copy”.The paper then describes the Mbuf routines and structures,and explains how to implement the dynamic allocation and collection.This implementation is based on the bare machine,where doesn't need the support of any OS.This paper briefly overviews the solution and progress of the buffer management of TCP/IP protocol stack.

关 键 词:Mbuf TCP/IP协议栈 缓冲区管理 嵌入式系统 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象