| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| check/ | 22-Oct-2025 | - | 130 | 88 | ||
| example_app/ | 22-Oct-2025 | - | 165 | 76 | ||
| include/arch/ | 22-Oct-2025 | - | 257 | 114 | ||
| msvc/ | 22-Oct-2025 | - | 4,423 | 4,414 | ||
| Common.mk | D | 22-Oct-2025 | 2.2 KiB | 52 | 14 | |
| Filelists.cmake | D | 22-Oct-2025 | 1.9 KiB | 47 | 42 | |
| pcapif.c | D | 22-Oct-2025 | 33.8 KiB | 1,130 | 845 | |
| pcapif.h | D | 22-Oct-2025 | 676 | 33 | 22 | |
| pcapif_helper.c | D | 22-Oct-2025 | 4.3 KiB | 173 | 135 | |
| pcapif_helper.h | D | 22-Oct-2025 | 665 | 32 | 22 | |
| readme.txt | D | 22-Oct-2025 | 1.1 KiB | 27 | 20 | |
| sio.c | D | 22-Oct-2025 | 9.2 KiB | 305 | 173 | |
| sys_arch.c | D | 22-Oct-2025 | 20.1 KiB | 783 | 617 |
readme.txt
1lwIP for Win32 2 3This is an example port of lwIP for Win32. It uses WinPCAP to send & receive packets. 4To compile it, use the MSVC projects in the 'msvc' subdir, the CMake files, or the Makefile 5in the 'mingw' subdir. 6 7For all compilers/build systems: 8- you have to set an environment variable PCAP_DIR pointing to the WinPcap Developer's 9 Pack (containing 'include' and 'lib') 10 alternatively, place the WinPcap Developer's pack next to the "lwip" folder: 11 "winpcap\WpdPack" 12 13You also will have to copy the file 'contrib/examples/example_app/lwipcfg.h.example' to 14'contrib/examples/example_app/lwipcfg.h' and modify to suit your needs (WinPcap adapter number, 15IP configuration, applications...). 16 17Included in the contrib\ports\win32 directory is the network interface driver 18using the winpcap library. 19 20lwIP: http://savannah.nongnu.org/projects/lwip/ 21WinPCap: https://www.winpcap.org/devel.htm 22Visual C++: http://www.microsoft.com/express/download/ 23 24To compile the unittests (msvc\lwIP_unittests.sln), download check (tested with v0.11.0) from 25https://github.com/libcheck/check/releases/ 26and place it in a folder "check" next to the "contrib" folder. 27