LwIP Main Page

From ScribbleWiki: lwip - A lightweight TCP/IP stack

Jump to: navigation, search

lwIP - a lightweight TCP/IP stack

lwIP is a small independent implementation of the TCP/IP protocol suite that has been developed by Adam Dunkels at the Computer and Networks Architectures (CNA) lab at the Swedish Institute of Computer Science (SICS).

The focus of the lwIP TCP/IP implementation is to reduce resource usage while still having a full scale TCP. This making lwIP suitable for use in embedded systems with tens of kilobytes of free RAM and room for around 40 kilobytes of code ROM.

lwIP features:

  • IP (Internet Protocol) including packet forwarding over multiple network interfaces
  • ICMP (Internet Control Message Protocol) for network maintenance and debugging
  • IGMP (Internet Group Management Protocol) for multicast traffic management
  • UDP (User Datagram Protocol) including experimental UDP-lite extensions
  • TCP (Transmission Control Protocol) with congestion control, RTT estimation and fast recovery/fast retransmit
  • Specialized raw/native API for enhanced performance
  • Optional Berkeley-like socket API
  • DNS (Domain names resolver)
  • SNMP (Simple Network Management Protocol)
  • DHCP (Dynamic Host Configuration Protocol)
  • AUTOIP (for IPv4, conform with RFC 3927)
  • PPP (Point-to-Point Protocol)
  • ARP (Address Resolution Protocol) for Ethernet

Getting Started

If you are new to lwIP, we recommend that you read one of the following manuals:

In any case, the following links will be useful:

Further Reading

lwIP Application Developers Manual

  1. Audience
  2. Introduction to lwIP
  3. Protocols
  4. Application API layers
  5. lwIP with or without an operating system
  6. lwIP and multithreading
  7. lwIP IPv4/IPv6 stacks
  8. Initializing lwIP
  9. Configuring lwIP
  10. Reporting bugs
  11. Further lwIP support

lwIP Platform Developers Manual

  1. Audience
  2. Getting the code
  3. Creating a platform
  4. Debugging lwIP

lwIP Developers Manual

  1. Audience
  2. Contributing to lwIP
  3. lwIP modules (files, directories...)
  4. Architectural flow charts
  5. Debugging lwIP
Personal tools