摘要
为嵌入式TCP/IP协议栈设计了一种简洁高效的缓存机制,基于裸机实现,实现变长和定长缓冲区管理,提供动态分配和回收,针对数据源和流向提供PBUF_ROM,PBUF_RAM,PBUF_REF,PBUF_POOL四种不同的缓冲区实现,提供了对这些缓冲区的操作,并对性能作了简要分析。
The paper describes the design and implementation of a simple and efficient buffer management system for embedded TCP/IP stack. The implementation is based on the bare machine and without the surporting of RTOS. The buffer system implemented variable size buffer pool and fixed size buffer pool, and support dynamic buffer allocation and collection. For the specifical data, implement four types buffer: PBUF_ROM, PBUF RAM, PBUF REF and PBUF_POOL, The paper also de- scribes the operations to the buffer and briefly analysis the performance.
出处
《微计算机信息》
北大核心
2005年第08Z期10-12,共3页
Control & Automation
基金
北京市科技计划究重大项目(数字电视有线传输技术研究)