Missing file from the LWIP upgrade/import.

This commit is contained in:
Johny Mattsson 2015-10-01 15:12:24 +10:00
parent d8ba7d5bd8
commit 8dff84e0a2
1 changed files with 18 additions and 9 deletions

View File

@ -771,7 +771,18 @@
#ifndef LWIP_IGMP
#define LWIP_IGMP 1
#endif
/*
----------------------------------
---------- MDNS options ----------
----------------------------------
*/
/**
* LWIP_MDNS==1: Turn on MDNS module.
*/
#ifndef LWIP_MDNS
#define LWIP_MDNS 1
#endif
/*
/*
----------------------------------
---------- DNS options -----------
@ -887,21 +898,21 @@
* (2 * TCP_MSS) for things to work well
*/
#ifndef TCP_WND
#define TCP_WND (4 * TCP_MSS)
#define TCP_WND (*(volatile uint32*)0x600011F0)
#endif
/**
* TCP_MAXRTX: Maximum number of retransmissions of data segments.
*/
#ifndef TCP_MAXRTX
#define TCP_MAXRTX 3
#define TCP_MAXRTX (*(volatile uint32*)0x600011E8)
#endif
/**
* TCP_SYNMAXRTX: Maximum number of retransmissions of SYN segments.
*/
#ifndef TCP_SYNMAXRTX
#define TCP_SYNMAXRTX 3
#define TCP_SYNMAXRTX (*(volatile uint32*)0x600011E4)
#endif
/**
@ -926,6 +937,7 @@
#define TCP_QUEUE_OOSEQ 0
#endif
#if 1
/**
* TCP_MSS: TCP Maximum segment size. (default is 536, a conservative default,
* you might want to increase this.)
@ -936,6 +948,7 @@
#ifndef TCP_MSS
#define TCP_MSS 1460
#endif
#endif
/**
* TCP_CALCULATE_EFF_SEND_MSS: "The maximum size of a segment that TCP really
@ -1081,7 +1094,7 @@
* field.
*/
#ifndef LWIP_NETIF_HOSTNAME
#define LWIP_NETIF_HOSTNAME 0
#define LWIP_NETIF_HOSTNAME 1
#endif
/**
@ -2045,8 +2058,4 @@
#define DNS_DEBUG LWIP_DBG_OFF
#endif
#ifndef TCP_MSL
#define TCP_MSL 2000UL /* The maximum segment lifetime in milliseconds */
#endif
#endif /* __LWIP_OPT_H__ */