Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
8dff84e0
Commit
8dff84e0
authored
Oct 01, 2015
by
Johny Mattsson
Browse files
Missing file from the LWIP upgrade/import.
parent
d8ba7d5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/include/lwipopts.h
View file @
8dff84e0
...
...
@@ -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__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment