lwip-contrib-mac/ports/win32/lwipcfg_msvc.h.example

31 lines
1.2 KiB
Plaintext
Raw Normal View History

/**
* Additional settings for the win32 port.
* Copy this to lwipcfg_msvc.h and make the config changes you need.
*/
/* configuration for this port */
/** Define this to the index of the windows network adapter to use */
#define PACKET_LIB_ADAPTER_NR 1
/** Define this to the GUID of the windows network adapter to use
* or NOT define this if you want PACKET_LIB_ADAPTER_NR to be used */
/*#define PACKET_LIB_ADAPTER_GUID "00000000-0000-0000-0000-000000000000"*/
#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)
2008-04-26 11:12:50 +00:00
#define LWIP_PORT_INIT_NETMASK(addr) IP4_ADDR((addr), 255,255,255,0)
/* remember to change this MAC address to suit your needs!
the last octet will be increased by netif->num for each netif */
#define LWIP_MAC_ADDR_BASE {0x00,0x01,0x02,0x03,0x04,0x05}
2008-04-26 11:12:50 +00:00
/* 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