2 * Additional settings for the win32 port.
3 * Copy this to lwipcfg_msvc.h and make the config changes you need.
6 /* configuration for this port */
7 #define PPP_USERNAME "Admin"
8 #define PPP_PASSWORD "pass"
10 /** Define this to the index of the windows network adapter to use */
11 #define PACKET_LIB_ADAPTER_NR 2
12 /** Define this to the GUID of the windows network adapter to use
13 * or NOT define this if you want PACKET_LIB_ADAPTER_NR to be used */
14 /*#define PACKET_LIB_ADAPTER_GUID "00000000-0000-0000-0000-000000000000"*/
15 /*#define PACKET_LIB_GET_ADAPTER_NETADDRESS(addr) IP4_ADDR((addr), 192,168,1,0)*/
16 /*#define PACKET_LIB_QUIET*/
18 #define LWIP_PORT_INIT_IPADDR(addr) IP4_ADDR((addr), 192,168,0,200)
19 #define LWIP_PORT_INIT_GW(addr) IP4_ADDR((addr), 192,168,0,3)
20 #define LWIP_PORT_INIT_NETMASK(addr) IP4_ADDR((addr), 255,255,255,0)
22 /* remember to change this MAC address to suit your needs!
23 the last octet will be increased by netif->num for each netif */
24 #define LWIP_MAC_ADDR_BASE {0x00,0x01,0x02,0x03,0x04,0x05}
26 /* configuration for applications */
28 #define LWIP_CHARGEN_APP 0
29 #define LWIP_DNS_APP 0
30 #define LWIP_HTTPD_APP 1
31 /* Set this to 1 to use the netconn http server,
32 * otherwise the raw api server will be used. */
33 /*#define LWIP_HTTPD_APP_NETCONN */
34 #define LWIP_NETBIOS_APP 0
35 #define LWIP_NETIO_APP 0
36 #define LWIP_PING_APP 0
37 #define LWIP_RTP_APP 0
38 #define LWIP_SHELL_APP 0
39 #define LWIP_SNTP_APP 0
40 #define LWIP_SOCKET_EXAMPLES_APP 0
41 #define LWIP_TCPECHO_APP 0
42 /* Set this to 1 to use the netconn tcpecho server,
43 * otherwise the raw api server will be used. */
44 /*#define LWIP_TCPECHO_APP_NETCONN */
45 #define LWIP_UDPECHO_APP 0