mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-11-18 22:05:51 +00:00
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
lwIP for Win32
|
|
|
|
This is a quickly hacked port and example project of the lwIP library to
|
|
Win32/MSVC9.
|
|
|
|
It doesn't (yet?) include support for dhcp, autoip, slipif, ppp or pppoe. This
|
|
is simply because none of the active developers using this port are using these
|
|
interfaces right now.
|
|
|
|
To get this compiling, you have to set a couple of environment variables:
|
|
- LWIP_DIR: points to the main lwip tree (the folder where is the CHANGELOG file).
|
|
- PCAP_DIR: points to the WinPcap Developer's Packs (containing 'include' and 'lib')
|
|
|
|
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...).
|
|
|
|
Note that you also have to set the PCAP_DIR environment variable to point
|
|
to the WinPcap Developer's Packs (containing 'include' and 'lib').
|
|
|
|
Included in the contrib\ports\win32 directory is the network interface driver
|
|
using the winpcap library.
|
|
|
|
lwIP: http://savannah.nongnu.org/projects/lwip/
|
|
WinPCap: http://netgroup-serv.polito.it/winpcap/
|
|
|
|
To compile the unittests, download check (tested with v0.9.8) from
|
|
http://sourceforge.net/projects/check/
|
|
and place it in a folder "check" next to the "contrib" folder. |