mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-07-07 20:29:04 +00:00
win32 port: minor changes
This commit is contained in:
parent
85c2c164cc
commit
eca09602e9
@ -5,4 +5,14 @@
|
|||||||
|
|
||||||
#define LWIP_PORT_INIT_IPADDR(addr) IP4_ADDR((addr), 192,168,1,200)
|
#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_GW(addr) IP4_ADDR((addr), 192,168,1,1)
|
||||||
#define LWIP_PORT_INIT_NETMASK(addr) IP4_ADDR((addr), 255,255,255,0)
|
#define LWIP_PORT_INIT_NETMASK(addr) IP4_ADDR((addr), 255,255,255,0)
|
||||||
|
|
||||||
|
/* configuration for applications */
|
||||||
|
|
||||||
|
#define LWIP_DNS_APP 0
|
||||||
|
#define LWIP_PING_APP 0
|
||||||
|
#define LWIP_NETBIOS_APP 0
|
||||||
|
#define LWIP_HTTPD_APP 0
|
||||||
|
#define LWIP_NETIO_APP 0
|
||||||
|
#define LWIP_RTP_APP 0
|
||||||
|
#define LWIP_SNTP_APP 0
|
||||||
|
@ -104,13 +104,13 @@ a lot of data that needs to be copied, this should be set high. */
|
|||||||
/* MEMP_NUM_PBUF: the number of memp struct pbufs. If the application
|
/* MEMP_NUM_PBUF: the number of memp struct pbufs. If the application
|
||||||
sends a lot of data out of ROM (or other static memory), this
|
sends a lot of data out of ROM (or other static memory), this
|
||||||
should be set high. */
|
should be set high. */
|
||||||
#define MEMP_NUM_PBUF 64//FB 16
|
#define MEMP_NUM_PBUF 16
|
||||||
/* MEMP_NUM_RAW_PCB: the number of UDP protocol control blocks. One
|
/* MEMP_NUM_RAW_PCB: the number of UDP protocol control blocks. One
|
||||||
per active RAW "connection". */
|
per active RAW "connection". */
|
||||||
#define MEMP_NUM_RAW_PCB 3
|
#define MEMP_NUM_RAW_PCB 3
|
||||||
/* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One
|
/* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One
|
||||||
per active UDP "connection". */
|
per active UDP "connection". */
|
||||||
#define MEMP_NUM_UDP_PCB 64//FB 4
|
#define MEMP_NUM_UDP_PCB 4
|
||||||
/* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP
|
/* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP
|
||||||
connections. */
|
connections. */
|
||||||
#define MEMP_NUM_TCP_PCB 5
|
#define MEMP_NUM_TCP_PCB 5
|
||||||
@ -127,9 +127,9 @@ a lot of data that needs to be copied, this should be set high. */
|
|||||||
/* The following four are used only with the sequential API and can be
|
/* The following four are used only with the sequential API and can be
|
||||||
set to 0 if the application only will use the raw API. */
|
set to 0 if the application only will use the raw API. */
|
||||||
/* MEMP_NUM_NETBUF: the number of struct netbufs. */
|
/* MEMP_NUM_NETBUF: the number of struct netbufs. */
|
||||||
#define MEMP_NUM_NETBUF 64//FB 2
|
#define MEMP_NUM_NETBUF 2
|
||||||
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
/* MEMP_NUM_NETCONN: the number of struct netconns. */
|
||||||
#define MEMP_NUM_NETCONN 64//FB 10
|
#define MEMP_NUM_NETCONN 10
|
||||||
/* MEMP_NUM_TCPIP_MSG_*: the number of struct tcpip_msg, which is used
|
/* MEMP_NUM_TCPIP_MSG_*: the number of struct tcpip_msg, which is used
|
||||||
for sequential API communication and incoming packets. Used in
|
for sequential API communication and incoming packets. Used in
|
||||||
src/api/tcpip.c. */
|
src/api/tcpip.c. */
|
||||||
|
@ -129,6 +129,12 @@ SOURCE="..\..\..\apps\ping\ping.c"
|
|||||||
SOURCE="..\..\..\apps\sntp\sntp.c"
|
SOURCE="..\..\..\apps\sntp\sntp.c"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Group
|
# End Group
|
||||||
|
# Begin Group "rtp"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE="..\..\..\apps\rtp\rtp.c"
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "header"
|
# Begin Group "header"
|
||||||
|
|
||||||
@ -162,7 +168,7 @@ SOURCE="..\..\..\apps\netbios\netbios.h"
|
|||||||
# Begin Group "ping"
|
# Begin Group "ping"
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE="..\..\..\apps\sntp\sntp.h"
|
SOURCE="..\..\..\apps\ping\ping.h"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "sntp"
|
# Begin Group "sntp"
|
||||||
@ -171,6 +177,12 @@ SOURCE="..\..\..\apps\sntp\sntp.h"
|
|||||||
SOURCE="..\..\..\apps\sntp\sntp.h"
|
SOURCE="..\..\..\apps\sntp\sntp.h"
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Group
|
# End Group
|
||||||
|
# Begin Group "rtp"
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE="..\..\..\apps\rtp\rtp.h"
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
# End Group
|
# End Group
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@ -13,7 +13,7 @@ To get this compiling, you have to set a couple of environment variables:
|
|||||||
|
|
||||||
You also will have to copy the file 'lwipcfg_msvc.h.example' to
|
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,
|
'lwipcfg_msvc.h' and modify to suit your needs (WinPcap adapter number,
|
||||||
IP configuration).
|
IP configuration, applications...).
|
||||||
|
|
||||||
Note that you also have to set the PCAP_DIR environment variable to point
|
Note that you also have to set the PCAP_DIR environment variable to point
|
||||||
to the WinPcap Developer's Packs (containing 'include' and 'lib').
|
to the WinPcap Developer's Packs (containing 'include' and 'lib').
|
||||||
|
Loading…
Reference in New Issue
Block a user