简单介绍
lwIP is a small independent implementation of the TCP/IP protocol suite that has been initially developed by Adam Dunkels and is now continued here.
The focus of the lwIP TCP/IP implementation is to reduce resource usage while still having a full scale TCP. This makes lwIP suitable for use in embedded systems with tens of kilobytes of free RAM and room for around 40kilobytes of code ROM.
LwIP是瑞典计算机科学院Adam Dunkels开发的一个独立的小型开源TCP/IP协议栈,项目目前仍然在维护中。它实现的重点是在保持TCP协议主要功能的基础上减少对RAM的占用,这使LwIP协议栈适合在低端的嵌入式系统中使用。
LwIP的主要特性:
- 支持多网络接口下的IP转发;
- 支持ICMP协议;
- 包括实验性扩展的UDP(用户数据报协议);
- 包括阻塞控制、RTT 估算、快速恢复和快速转发的TCP(传输控制协议);
- 提供专门的内部回调接口(Raw API),用于提高应用程序性能;
- 可选择的Berkeley接口API (在多线程情况下使用) ;
- 支持ppp;
- 支持IP fragment的;
- 支持DHCP协议,动态分配ip地址;