lwip: Allow config TCP_MAXRTX & TCP_SYNMAXRTX in menuconfig

This commit is contained in:
Wu Jian Gang
2017-01-17 17:44:25 +08:00
parent a14bef8f8a
commit 3c8235d40d
2 changed files with 25 additions and 11 deletions

View File

@@ -288,12 +288,12 @@
/**
* 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.
*/
#define TCP_SYNMAXRTX 6 //(*(volatile uint32*)0x600011E4)
#define TCP_SYNMAXRTX CONFIG_TCP_SYNMAXRTX
/**
* TCP_LISTEN_BACKLOG: Enable the backlog option for tcp listen pcb.