mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-06 22:24:33 +02:00
lwip: Allow config TCP_MAXRTX & TCP_SYNMAXRTX in menuconfig
This commit is contained in:
@@ -47,27 +47,41 @@ config LWIP_SO_RCVBUF
|
|||||||
Enabling this option allows checking for available data on a netconn.
|
Enabling this option allows checking for available data on a netconn.
|
||||||
|
|
||||||
config LWIP_DHCP_MAX_NTP_SERVERS
|
config LWIP_DHCP_MAX_NTP_SERVERS
|
||||||
int "Maximum number of NTP servers"
|
int "Maximum number of NTP servers"
|
||||||
default 1
|
default 1
|
||||||
range 1 16
|
range 1 16
|
||||||
help
|
help
|
||||||
Set maxumum number of NTP servers used by LwIP SNTP module.
|
Set maximum number of NTP servers used by LwIP SNTP module.
|
||||||
First argument of sntp_setserver/sntp_setservername functions
|
First argument of sntp_setserver/sntp_setservername functions
|
||||||
is limited to this value.
|
is limited to this value.
|
||||||
|
|
||||||
config LWIP_IP_FRAG
|
config LWIP_IP_FRAG
|
||||||
bool "Enable fragment outgoing IP packets"
|
bool "Enable fragment outgoing IP packets"
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
Enabling this option allows fragmenting outgoing IP packets if their size
|
Enabling this option allows fragmenting outgoing IP packets if their size
|
||||||
exceeds MTU.
|
exceeds MTU.
|
||||||
|
|
||||||
config LWIP_IP_REASSEMBLY
|
config LWIP_IP_REASSEMBLY
|
||||||
bool "Enable reassembly incoming fragmented IP packets"
|
bool "Enable reassembly incoming fragmented IP packets"
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
Enabling this option allows reassemblying incoming fragmented IP packets.
|
Enabling this option allows reassemblying incoming fragmented IP packets.
|
||||||
|
|
||||||
|
config TCP_MAXRTX
|
||||||
|
int "Maximum number of retransmissions of data segments"
|
||||||
|
default 12
|
||||||
|
range 3 12
|
||||||
|
help
|
||||||
|
Set maximum number of retransmissions of data segments.
|
||||||
|
|
||||||
|
config TCP_SYNMAXRTX
|
||||||
|
int "Maximum number of retransmissions of SYN segments"
|
||||||
|
default 6
|
||||||
|
range 3 12
|
||||||
|
help
|
||||||
|
Set maximum number of retransmissions of SYN segments.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
||||||
|
@@ -288,12 +288,12 @@
|
|||||||
/**
|
/**
|
||||||
* TCP_MAXRTX: Maximum number of retransmissions of data segments.
|
* TCP_MAXRTX: Maximum number of retransmissions of data segments.
|
||||||
*/
|
*/
|
||||||
#define TCP_MAXRTX 12 //(*(volatile uint32*)0x600011E8)
|
#define TCP_MAXRTX CONFIG_TCP_MAXRTX
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TCP_SYNMAXRTX: Maximum number of retransmissions of SYN segments.
|
* TCP_SYNMAXRTX: Maximum number of retransmissions of SYN segments.
|
||||||
*/
|
*/
|
||||||
#define TCP_SYNMAXRTX 6 //(*(volatile uint32*)0x600011E4)
|
#define TCP_SYNMAXRTX CONFIG_TCP_SYNMAXRTX
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TCP_LISTEN_BACKLOG: Enable the backlog option for tcp listen pcb.
|
* TCP_LISTEN_BACKLOG: Enable the backlog option for tcp listen pcb.
|
||||||
|
Reference in New Issue
Block a user