Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

lwIP

From Wikipedia, the free encyclopedia
Open-source TCP/IP stack
lwIP
Original authorAdam Dunkels
DeveloperlwIP developers group
Initial release1.0.0[1] 10 August 2004; 21 years ago (2004-08-10)
Stable release
2.2.1[2] / 6 February 2025; 12 months ago (2025-02-06)
Written inC
Operating systemmultiple
Platformembedded systems
TypeIP stack
LicenseModified BSD license
Websitewww.nongnu.org/lwip/
Repository

lwIP (lightweight IP) is a widely usedopen-sourceTCP/IP stack designed forembedded systems. lwIP was originally developed byAdam Dunkels in 2001[3] at theSwedish Institute of Computer Science and is now developed and maintained by a worldwide network of developers.

lwIP is used by many manufacturers of embedded systems, includingIntel/Altera,Analog Devices,[4]Xilinx,[5]TI,ST andFreescale.

lwIP network stack

[edit]

The focus of the lwIP network stack implementation is to reduce resource usage while still having a full-scale TCP stack.[6] This makes lwIP suitable for use in embedded systems with tens of kilobytes of free RAM and room for around 40 kilobytes of code ROM.

lwIP protocol implementations

[edit]

Aside from theTCP/IP stack, lwIP has several other important parts, such as anetwork interface, an operating system emulation layer, buffers and a memory management section. The operating system emulation layer and the network interface allow the network stack to be transplanted into an operating system, as it provides a common interface between lwIP code and theoperating system kernel.[6]

The network stack of lwIP includes anIP (Internet Protocol) implementation at theInternet layer that can handle packet forwarding over multiple network interfaces.[6] BothIPv4 andIPv6 are supported dual stack since lwIP v2.0.0 .[7] For network maintenance and debugging, lwIP implementsICMP (Internet Control Message Protocol).[6]IGMP (Internet Group Management Protocol) is supported for multicast traffic management. WhileICMPv6 (includingMLD) is implemented to support the use of IPv6.[citation needed]

lwIP includes an implementation of IPv4ARP (Address Resolution Protocol) and IPv6Neighbor Discovery Protocol to supportEthernet at thedata link layer. lwIP may also be operated on top of aPPP (Point-to-Point Protocol) implementation at the data link layer.[citation needed]

At thetransport layer lwIP implementsTCP (Transmission Control Protocol) with congestion control, RTT estimation and fast recovery/fast retransmit.[6]UDP (User Datagram Protocol) is implemented with experimentalUDP-Lite extensions.[citation needed]

APIs and sockets

[edit]

lwIP provides a specialized no-copyapplication programming interface (API) for enhanced network stack performance. TheBerkeley socket API is optional.[6]Raw sockets, or raw pcbs (protocol control blocks), are provided depending on the API used.[8]

Application layer support

[edit]

At the application layer the lwIP network stack may be supported through the implementation of the following protocols. TheDNS (Domain Name System), anSNMP (Simple Network Management Protocol) agent, in v1, v2 or v3, with private MIB (management information base) support and MIB compiler.

Operating systems that implement the lwIP TCP/IP stack may provide a range of supporting clients and servers at the application layer. Such as an IPv4DHCP (Dynamic Host Configuration Protocol) client or IPv4link-local addresses (AutoIP). Specialized raw API applications include: anHTTP server, aSNTP client, aSMTP client, aNetBIOS nameserver, amDNS responder, aMQTT client and aTFTP server.[citation needed]

OS implementations

[edit]

lwIP is used as network stack inReactOS andGenode[9] and can be used inMinix andGNU Hurd to implement network servers.

See also

[edit]

References

[edit]
  1. ^"lwIP has arrived!".
  2. ^"lwIP 2.2.1 released".Archived from the original on 2023-11-27. Retrieved2025-02-18.
  3. ^D Adam - Swedish Institute of Computer Science, 2001
  4. ^"Building Complex VDK/LwIP Applications Using Blackfin Processors ", Kaushal Sanghai, Analog Devices Inc. September 2008Archived 2012-03-20 at theWayback Machine
  5. ^"Siva Velusamy, LightWeight IP (lwIP) Application Examples, Xilinx Inc. June 2009"(PDF).Archived(PDF) from the original on 2012-03-01. Retrieved2010-11-11.
  6. ^abcdefWu, Yanwen, ed. (2010).Software engineering and knowledge engineering : theory and practice. Berlin: Springer. p. 639.ISBN 978-3-642-03717-7.
  7. ^"LwIP: Upgrading".Archived from the original on 2019-03-31. Retrieved2019-04-03.
  8. ^"lwIP functions documentation".Archived from the original on 2020-10-30. Retrieved2007-11-25.
  9. ^"Release notes for the Genode OS Framework 9.11".

External links

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=LwIP&oldid=1290045322"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp