|
|
|
@ -155,16 +155,6 @@ void tcp_rexmit_rto (struct tcp_pcb *pcb); |
|
|
|
|
|
|
|
|
|
|
|
#define TCP_MSL 60000U /* The maximum segment lifetime in microseconds */ |
|
|
|
#define TCP_MSL 60000U /* The maximum segment lifetime in microseconds */ |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
* User-settable options (used with setsockopt). |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
#define TCP_NODELAY 0x01 /* don't delay send to coalesce packets */ |
|
|
|
|
|
|
|
#define TCP_KEEPALIVE 0x02 /* send KEEPALIVE probes when idle for pcb->keep_idle milliseconds */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define TCP_KEEPIDLE 0x03 /* set pcb->keep_idle - Same as TCP_KEEPALIVE, but use seconds for get/setsockopt*/ |
|
|
|
|
|
|
|
#define TCP_KEEPINTVL 0x04 /* set pcb->keep_intvl - Use seconds for get/setsockopt */ |
|
|
|
|
|
|
|
#define TCP_KEEPCNT 0x05 /* set pcb->keep_cnt - Use number of probes sent for get/setsockopt */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Keepalive values, compliant with RFC 1122. Don't change this unless you know what you're doing */ |
|
|
|
/* Keepalive values, compliant with RFC 1122. Don't change this unless you know what you're doing */ |
|
|
|
#ifndef TCP_KEEPIDLE_DEFAULT |
|
|
|
#ifndef TCP_KEEPIDLE_DEFAULT |
|
|
|
#define TCP_KEEPIDLE_DEFAULT 7200000UL /* Default KEEPALIVE timer in milliseconds */ |
|
|
|
#define TCP_KEEPIDLE_DEFAULT 7200000UL /* Default KEEPALIVE timer in milliseconds */ |
|
|
|
|