You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Dirk Ziegelmeier 2e56e70a30 Fix compile of default_netif.c when IPv4 is disabled 8 years ago
..
check A few cleanups in lwIP unittests (unix port) CMakeLists.txt 8 years ago
example_app Fix compile of default_netif.c when IPv4 is disabled 8 years ago
lib Work on task #14780: Add debug helper asserts to ensure threading/locking requirements are met 8 years ago
minimal Work on task #14780: Add debug helper asserts to ensure threading/locking requirements are met 8 years ago
port Try to fix build errors in tunif.c 8 years ago
unixsim Work on CMake build system - restructure to use included cmake files, this is more flexible 8 years ago
Common.mk Add make support for unit tests on MacOS /w clang 9 years ago
Filelists.cmake Minor cleanups in cmake files 8 years ago
README Create unified example application shared between Unix and Win32 8 years ago
setup-tapif Unix port: update comments in setup-tapif 10 years ago

README

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):

* delif: Network interface that inserts delay before receiving or sending
packages

* 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.

* tcpdump: Utility functions to dump pbufs into a tcpdump formatted log
file

* tunif: Network interface that is mapped to a tun interface (Unix user
space layer 3 network device). Uses lwIP threads.

* unixif: Network interface that allows lwIP Unix programs to "meet" at Unix
socket address and exchange traffic over it.