Changed documentation, added IP configuration example file, rename to 'lwipcfg_msvc.h' to be able to compile!

This commit is contained in:
goldsimon 2007-10-01 20:53:35 +00:00
parent fe5e7bd541
commit d475c7cb17
2 changed files with 17 additions and 15 deletions

View File

@ -0,0 +1,8 @@
/* configuration for this port */
#define PACKET_LIB_ADAPTER_NR 3
#define LWIP_PORT_INIT_IPADDR(addr) IP4_ADDR((addr), 192,168,1,200)
#define LWIP_PORT_INIT_GW(addr) IP4_ADDR((addr), 192,168,1,1)
#define LWIP_PORT_INIT_NETMASK(addr) IP4_ADDR((addr), 255,255,255,0)

View File

@ -7,22 +7,15 @@ The current CVS code of this port isn't much tested.
This is a quickly hacked port and example project of the lwIP library to
Win32/MSVC.
To get this compiling, you have to set the LWIP_SRC environment variable to
point to the src subdirectory in the main lwip tree.
To get this compiling, you have to set a couple of environment variables:
- LWIP_SRC: points to the src subdirectory in the main lwip tree
- CONTRIB_APPS: points to the apps subdirectory of the contrib module
- PCAP_DIR: points to the WinPcap Developer's Packs (containing 'include' and 'lib')
>>>NEW>>>
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).
Note that you also have to set the PCAP_DIR environment variable to point
to the WinPcap Developer's Packs (containing 'include' and 'lib'), as well
as the PLATFORMSDK_DIR environment variable to point to Microsoft's Platform
SDK (or any other place containing 'include/windows.h').
<<<NEW<<<
Due to the nature of the lwip library you have to copy this whole project
into a new subdir in proj and modify lwipopts.h to your needs. If you move
it to another directory besides proj, you have to update the include paths
in the project settings.
Included in the proj/msvc6 directory is the network interface driver using
the winpcap library.
@ -33,6 +26,7 @@ This is provided as is, it's just a hack to test some stuff, no serious
implementation.
Florian Schulze (florian.proff.schulze@gmx.net)
Simon Goldschmidt
lwIP: http://www.sics.se/~adam/lwip/
WinPCap: http://netgroup-serv.polito.it/winpcap/
WinPCap: http://netgroup-serv.polito.it/winpcap/