diff --git a/proj/unixsim/apps/fs/documentation.html b/proj/unixsim/apps/fs/documentation.html deleted file mode 100644 index baf35809..00000000 --- a/proj/unixsim/apps/fs/documentation.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - - - - - - - - -
-lwIP - A Lightweight TCP/IP Stack |
- - - - - -Introduction - -| - -News - -| - -[Documentation] - - -| - -Mailing list - -| - -Changelog - -| - -Download - -| - -Links - - - - - |
Documentation |
- - | -
-
-
-For more documentation regarding lwIP and a proxy architecture to -support TCP/IP communication for small clients, look in Adam Dunkels' masters thesis. - - - --The lwIP mailing list can be used to -discuss lwIP. - - --For questions or suggestions, please contact the author at ">Adam Dunkels -<adam@sics.se>. - - - -- -$Date: 2002/10/19 13:00:01 $ - - - - - |
-- - | -
-
- - - - - -Introduction - -| - -News - -| - -[Documentation] - - -| - -Mailing list - -| - -Changelog - -| - -Download - -| - -Links - - - - - - |
- - | -
-lwIP - A Lightweight TCP/IP Stack |
- - - - - -Introduction - -| - -News - -| - -Documentation - -| - -Mailing list - -| - -Changelog - -| - -[Download] - - -| - -Links - - - - - |
Download |
- - | -
-
-
- -lwIP is avaliable for download provided that you read and accept this BSD-style license. - - -Release versions--The latest version is 0.5.3. (Older versions are also provided for an -unknown reason.) - -
Development version--The latest development code from the CVS is also avaliable here. Note that this code may -very well be unstable and might not even compile. - - -Source code online--Joe MacDonald has put an HTML version of the latest lwIP source code -online at http://www.deserted.net/lwIP/. - - -Ports--Florian Shulze has ported lwIP to DJGPP/MS-DOS and to Visual C++ -6.0/Win32. They can be downloaded here -(DJGPP/MS-DOS) and here -(Visual C++ 6.0/Win32). - - -Add-ons/drivers/applications- -DHCP client--Leon Woestenberg from Axon Digital Design B.V. has written a CS8900a -network interface driver and is currently developing a DHCP client for -lwIP. They can both be found here. The plan is -to eventually integrate Leon's DHCP client in the main lwIP -distribution. - - -IGMPv2 implementation--Steve Reynolds of Citel Technologies Ltd. has donated his IGMPv2 -implementation for lwIP to the community. It is avaliable for download -here (note that the copyright and -license differs slightly from lwIP - read the license in the igmp.c -file). The plan is to integrate his code into the main lwIP -distribution. - - -Alternative BSD socket layer--Paul Sheer has incorporated lwIP into his PaulOS system and has -written an alternative BSD socket layer. It is avaliable for download -here. It is copyright Paul Sheer -and licensed under the GNU GPL. - - -- -$Date: 2002/10/19 13:00:06 $ - - - - |
-- - | -
-
- - - - - -Introduction - -| - -News - -| - -Documentation - -| - -Mailing list - -| - -Changelog - -| - -[Download] - - -| - -Links - - - - - - |
- - | -
+ ![]() |
+ lwIP - A Lightweight TCP/IP Stack++ The web page you are watching was served by a simple web + server running on top of the lightweight TCP/IP stack lwIP. + ++ lwIP is an open source implementation of the TCP/IP + protocol suite that was originally written by Adam Dunkels + of the Swedish Institute of Computer Science but now is + being actively developed by a team of developers + distributed world-wide. Since it's release, lwIP has + spurred a lot of interest and has been ported to several + platforms and operating systems. lwIP can be used either + with or without an underlying OS. + ++ The focus of the lwIP TCP/IP implementation is to reduce + the RAM 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 40 kilobytes + of code ROM. + ++ More information about lwIP can be found at the lwIP + homepage at http://www.sics.se/~adam/lwip/. + + | + + |
-lwIP - A Lightweight TCP/IP Stack |
- - - - - -Introduction - -| - -News - -| - -Documentation - -| - -Mailing list - -| - -Changelog - -| - -Download - -| - -Links - - - - - |
lwIP source code licence |
- - | -
-
-Copyright (c) 2001, Swedish Institute of Computer Science.
-All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: -
-THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS `AS IS' AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -SUCH DAMAGE. - - - - - -$Date: 2002/10/19 13:00:01 $ - - - - |
-- - | -
-
- - - - - -Introduction - -| - -News - -| - -Documentation - -| - -Mailing list - -| - -Changelog - -| - -Download - -| - -Links - - - - - - |
- - | -
-lwIP - A Lightweight TCP/IP Stack |
- - - - - -Introduction - -| - -News - -| - -Documentation - -| - -Mailing list - -| - -Changelog - -| - -Download - -| - -[Links] - - - - - - |
Links |
- - | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-lwIP pages:
-
-
-Companies using lwIP in their products:
-
- -$Date: 2002/10/19 13:00:02 $ - - - - - |
-- - | -
-
- - - - - -Introduction - -| - -News - -| - -Documentation - -| - -Mailing list - -| - -Changelog - -| - -Download - -| - -[Links] - - - - - - - |
- - | -
-lwIP - A Lightweight TCP/IP Stack |
- - - - - -Introduction - -| - -News - -| - -Documentation - -| - -[Mailing list] - - -| - -Changelog - -| - -Download - -| - -Links - - - - - |
Mailing list |
- - | -
-
-
- -The lwIP mailing list is the place to discuss lwIP. All topics related -to lwIP, such as porting or using lwIP, writing device drivers or -application programs for lwIP can be discussed here. - - -Archives--Archives can be found here. - - -Subscribe--To subscribe, send a mail to majordomo@sics.se with the message - -subscribe lwip - --in the message body. The subject should be kept blank. - - -In a few minutes, you should receive a welcome message and some -information regarding the subscription, including instructions for -unsubscribing. Save those messages for future reference. - - --You are now an lwIP mailing list subscriber! - - -Post--Posting to the lwIP mailing list is a simple as sending a mail to the -address lwip@sics.se. - - -Unsubscribe--To subscribe, send a mail to majordomo@sics.se with the message - -unsubscribe lwip - --in the message body. The subject should be kept blank. - - - - -$Date: 2002/10/19 13:00:02 $ - - - - - |
-- - | -
-
- - - - - -Introduction - -| - -News - -| - -Documentation - -| - -[Mailing list] - - -| - -Changelog - -| - -Download - -| - -Links - - - - - - |
- - | -
-lwIP - A Lightweight TCP/IP Stack |
- - - - - -Introduction - -| - -News - -| - -Documentation - -| - -Mailing list - -| - -Changelog - -| - -Download - -| - -Links - - - - - |
OS vs non-OS |
- - | -
-
-Using lwIP with or without an operating system- --There has been a few questions about how lwIP can be used in a -standalone environment (i.e., an environment without a multi-threaded -operating system) lately. The purpose of this document is to describe -how lwIP is designed to be used with and without a multi-threaded -operating system. - - -![]() The lwIP single-threaded core--The core of lwIP consists of the actual implementations of the IP, -ICMP, UDP, and TCP protocols, as well as the support functions such as -buffer and memory management. The core components are the only ones -that are needed when lwIP is to be run in a single-threaded (non-OS) -environment. - --The core components can be viewed as a software library which has the -following interface: - -
-Because none of the core functions ever needs to block when run in a -single-threaded environment, the sys_arch (the operating -system abstraction layer) does not need to implement locking -semaphores or mailboxes. In future versions of lwIP, the dependancy of -the sys_arch will be removed in the single-threaded case. - --A simple main loop for a single-threaded system might look -like this: - -- while(1) { - if(poll_driver(netif) == PACKET_READY) { - pbuf = get_packet(netif); - ip_input(pbuf, netif); - } - - if(clock() - last_time == 100 * CLOCK_MS) { - tcp_tmr(); - last_time = clock(); - } - } -- - lwIP in a multi-threaded system--lwIP is designed to be able to be run in a multi-threaded system with -applications running in concurrent threads. The model used in this -case is that all TCP/IP processing is done in a single thread. The -application thread communicate with the TCP/IP thread using the -sequential API. - - -![]() -The inter-thread communication is implemented in the two files -api_lib.c and api_msg.c. The former contains the -functions used by the application programs and the latter implements -the TCP/IP stack interface. A third file, tcpip.c, handles -incoming packets and timer events as described in the previous -section. - - --When run in a multi-threaded environment, incoming packets are handled -by the function tcpip_input(), which takes the same arguments -as the ip_input() function. The difference between the two -functions is that the tcpip_input() function does not process -the incoming packet immediately. It merely puts the packet on a queue -which later is drained by the TCP/IP thread. - - --When being run in a multi-threaded system, timer events are taken care -of internally in tcpip.c. - - -- -$Date: 2002/10/19 13:00:03 $ - - - - - |
-- - | -
-
- - - - - -Introduction - -| - -News - -| - -Documentation - -| - -Mailing list - -| - -Changelog - -| - -Download - -| - -Links - - - - - - |
- - | -