-#define TCPTV_MSL ( 15*TCP_RETRANSHZ) /* max seg lifetime (hah!) */
-#define TCPTV_SRTTBASE 0 /* base roundtrip time;
- if 0, no idea yet */
-#define TCPTV_RTOBASE ( 1*TCP_RETRANSHZ) /* assumed RTO if no info */
-#define TCPTV_SRTTDFLT ( 1*TCP_RETRANSHZ) /* assumed RTT if no info */
-
-#define TCPTV_PERSMIN ( 5*TCP_RETRANSHZ) /* retransmit persistence */
-#define TCPTV_PERSMAX ( 60*TCP_RETRANSHZ) /* maximum persist interval */
-
-#define TCPTV_KEEP_INIT ( 75*TCP_RETRANSHZ) /* initial connect keep alive */
-#define TCPTV_KEEP_IDLE (120*60*TCP_RETRANSHZ) /* dflt time before probing */
-#define TCPTV_KEEPINTVL ( 75*TCP_RETRANSHZ) /* default probe interval */
-#define TCPTV_KEEPCNT 8 /* max probes before drop */
-
-#define TCPTV_REXMTMAX ( 64*TCP_RETRANSHZ ) /* max allowable REXMT value */
-#define TCPTV_REXMTMIN ( TCP_RETRANSHZ/33 ) /* min REXMT for non-local connections */
-#define TCPTV_UNACKWIN ( TCP_RETRANSHZ/10 ) /* Window for counting rcv bytes to see if
- ack-stretching can start (default 100 ms) */
-#define TCPTV_MAXRCVIDLE (TCP_RETRANSHZ/5 ) /* Receiver idle time, avoid ack-stretching after that*/
-#define TCPTV_RCVBUFIDLE (TCP_RETRANSHZ/2) /* Receiver idle time, for rcv socket buffer resizing */
-
-/* No ack stretching during slow-start, until we see some packets.
- * By the time the receiver gets 512 packets, the senders cwnd
- * should open by a few hundred packets consdering the
+#define TCPTV_MSL ( 15*TCP_RETRANSHZ) /* max seg lifetime */
+#define TCPTV_SRTTBASE 0 /* base roundtrip time; if 0, no idea yet */
+#define TCPTV_RTOBASE ( 1*TCP_RETRANSHZ) /* assumed RTO if no info */
+#define TCPTV_SRTTDFLT ( 1*TCP_RETRANSHZ) /* assumed RTT if no info */
+#define TCPTV_PERSMIN ( 5*TCP_RETRANSHZ) /* retransmit persistence */
+#define TCPTV_PERSMAX ( 60*TCP_RETRANSHZ) /* maximum persist interval */
+
+extern int tcptv_persmin_val;
+
+#define TCPTV_KEEP_INIT ( 75*TCP_RETRANSHZ) /* connect keep alive */
+#define TCPTV_KEEP_IDLE (120*60*TCP_RETRANSHZ) /* time before probing */
+#define TCPTV_KEEPINTVL ( 75*TCP_RETRANSHZ) /* default probe interval */
+#define TCPTV_KEEPCNT 8 /* max probes before drop */
+
+#define TCPTV_REXMTMAX ( 64*TCP_RETRANSHZ ) /* max REXMT value */
+#define TCPTV_REXMTMIN ( TCP_RETRANSHZ/33 ) /* min REXMT for non-local connections */
+
+/*
+ * Window for counting received bytes to see if ack-stretching
+ * can start (default 100 ms)
+ */
+#define TCPTV_UNACKWIN ( TCP_RETRANSHZ/10 )
+
+/* Receiver idle time, avoid ack-stretching after this idle time */
+#define TCPTV_MAXRCVIDLE (TCP_RETRANSHZ/5 )
+
+/*
+ * No ack stretching during slow-start, until we see some packets.
+ * By the time the receiver gets 512 packets, the senders cwnd
+ * should open by a few hundred packets consdering the