lwip/contrib/ports/unix
2018-10-08 22:17:03 +02:00
..
check CMake build system: It is now sufficient to set LWIP_DIR for build 2018-10-02 12:54:56 +02:00
example_app Document CMake build system 2018-10-08 22:17:03 +02:00
lib CMake build system: It is now sufficient to set LWIP_DIR for build 2018-10-02 12:54:56 +02:00
port Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
Common.mk Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
Filelists.cmake Restructure CMake build system a bit 2018-10-08 21:18:18 +02:00
README Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
setup-tapif Import lwIP contrib rep 2018-10-02 12:19:13 +02:00

This port contains infrastructure and examples for running lwIP on Unix-like
operating systems (Linux, OpenBSD, cygwin). Much of this is targetted 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.