lwip/contrib/ports/unix
Erik Ekman 63fb3721ef ports/unix/check: Split depfiles for faster build
Having just one depfile (.depend) means it has to be fully regenerated
on every change, and it can't be done in parallel.

After this change the rebuild time after touching a single test file has
gone from 5.0 to 0.9 seconds. (make -j12)

Build of tests from clean has gone from 8.1 to 5.5s.

We could go even further and have one depfile per c-file, but this felt
like a simple first step giving a nice improvement.
2020-12-03 21:41:31 +01:00
..
check ports/unix/check: Split depfiles for faster build 2020-12-03 21:41:31 +01:00
example_app Fix iteropts.sh to correctly return error code 2019-02-03 09:31:26 +01:00
lib Fix-more-typos-using-codespell 2020-02-15 21:45:53 +01:00
port PPP: Change data argument in sio_write to const 2020-12-03 09:47:00 +01: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 Improve comments in setup-tapif 2018-11-07 21:04:53 +01: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.