Commit 8dff84e0 authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Missing file from the LWIP upgrade/import.

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