lwip/contrib/ports/unix
James Peach ed9dabe088 contrib/ports: Add explanation to using static ip
This took some figuring out, it might be obvious to those familiar with
lwipcfg.h but for someone picking this up for the first time to experiment on
linux, this helpful comment would have helped enormously.
2024-03-24 11:52:34 +00:00
..
check contrib/ports: check library has moved to github 2021-11-24 22:52:18 +01:00
example_app Added warning to cmake instructions when lwipcfg.h isn't present. 2022-12-22 20:42:25 +01:00
lib contrib: Fix speling issues 2023-10-14 18:01:37 +02:00
port contrib: fixed c++ compatibility of unix port 2024-02-19 18:04:02 +01:00
posixlib contrib: Fix speling issues 2023-10-14 18:01:37 +02:00
Common.mk Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
Filelists.cmake CMake build system: Fix STREQUAL comparisons and set /Wall for MSVC 2018-11-22 13:25:43 +01:00
README Fix typos using codespell 2020-02-15 21:45:41 +01:00
setup-tapif contrib/ports: Add explanation to using static ip 2024-03-24 11:52:34 +00:00

This port contains infrastructure and examples for running lwIP on Unix-like
operating systems (Linux, OpenBSD, cygwin). Much of this is targeted towards
testing lwIP applications.

* port/sys_arch.c, port/perf.c, port/include/arch/: Generic platform porting,
  for both states of NO_SYS. (Mapping debugging to printf, providing 
  sys_now & co from the system time etc.)

* check: Runs the unit tests shipped with main lwIP on the Unix port.

* port/netif, port/include/netif: Various network interface implementations and
  their helpers, some explicitly for Unix infrastructure, some generic (but most
  useful on an easy to debug system):

  * fifo: Helper for sio

  * list: Helper for unixif

  * pcapif: Network interface that replays packages from a PCAP dump file, and
    discards packages sent out from it

  * sio: Mapping Unix character devices to lwIP's sio mechanisms

  * tapif: Network interface that is mapped to a tap interface (Unix user
    space layer 2 network device). Uses lwIP threads.