lwip/contrib/ports/win32
2022-05-09 21:07:14 +02:00
..
check Whitespace cleanup in contrib dir 2018-10-22 20:53:58 +02:00
example_app cmake: fix building on windows with mingw64 2022-03-22 22:38:28 +01:00
include/arch fix some compile problems with mingw 2022-02-12 09:40:32 +01:00
msvc fix compiling/running tests on win32 2021-05-21 22:00:49 +02:00
Common.mk Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
Filelists.cmake cmake: fix building on windows with mingw64 2022-03-22 22:38:28 +01:00
pcapif_helper.c fix some compile problems with mingw 2022-02-12 09:40:32 +01:00
pcapif_helper.h pcapif: add option PCAPIF_RX_READONLY to simulate readonly RX 2020-02-16 20:43:33 +01:00
pcapif.c Remove extra newlines in LWIP_ASSERT messages 2020-07-01 20:52:12 +02:00
pcapif.h Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
readme.txt Import lwIP contrib rep 2018-10-02 12:19:13 +02:00
sio.c PPP: Change data argument in sio_write to const 2020-12-03 09:47:00 +01:00
sys_arch.c Replace C++ comment with standard C comment to avoid error during building with -Werror. 2022-05-09 21:07:14 +02:00

lwIP for Win32

This is an example port of lwIP for Win32. It uses WinPCAP to send & receive packets.
To compile it, use the MSVC projects in the 'msvc' subdir or the Makefile in the 'mingw' subdir.

For both compilers:
- the lwIP core repository must be in a folder "lwip" next to the "contrib" folder
- you have to set an environment variable PCAP_DIR pointing to the WinPcap Developer's
  Pack (containing 'include' and 'lib')
  alternatively, place the WinPcap Developer's pack next to the "lwip" and "contrib" folders:
  "winpcap\WpdPack"

You also will have to copy the file 'lwipcfg_msvc.h.example' to
'lwipcfg_msvc.h' and modify to suit your needs (WinPcap adapter number,
IP configuration, applications...).

Included in the contrib\ports\win32 directory is the network interface driver
using the winpcap library.

lwIP: http://savannah.nongnu.org/projects/lwip/
WinPCap: https://www.winpcap.org/devel.htm
Visual C++: http://www.microsoft.com/express/download/

To compile the unittests (msvc\lwIP_unittests.sln), download check (tested with v0.11.0) from
https://github.com/libcheck/check/releases/
and place it in a folder "check" next to the "contrib" folder.