summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-09-13 23:51:44 +0000
committerpst <pst@FreeBSD.org>1996-09-13 23:51:44 +0000
commit460ca264a35697912ee6892edf43493bc7037685 (patch)
tree9a4c6784e5101afa9ee7f4c8c86e2355d2a13483 /sys/netinet/tcp_var.h
parentaa0bf1e119360aec199b9032cc73b4ad92f3b4a1 (diff)
downloadFreeBSD-src-460ca264a35697912ee6892edf43493bc7037685.zip
FreeBSD-src-460ca264a35697912ee6892edf43493bc7037685.tar.gz
Make the misnamed tcp initial keepalive timer value (which is really the
time, in seconds, that state for non-established TCP sessions stays about) a sysctl modifyable variable. [part 1 of two commits, I just realized I can't play with the indices as I was typing this commit message.]
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 4717e5d..06836c2 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_var.h 8.4 (Berkeley) 5/24/95
- * $Id: tcp_var.h,v 1.33 1996/06/05 16:57:38 wollman Exp $
+ * $Id: tcp_var.h,v 1.34 1996/07/11 16:32:40 wollman Exp $
*/
#ifndef _NETINET_TCP_VAR_H_
@@ -307,9 +307,10 @@ struct tcpstat {
#define TCPCTL_RTTDFLT 5 /* default RTT estimate */
#define TCPCTL_KEEPIDLE 6 /* keepalive idle timer */
#define TCPCTL_KEEPINTVL 7 /* interval to send keepalives */
-#define TCPCTL_SENDSPACE 8 /* send buffer space */
-#define TCPCTL_RECVSPACE 9 /* receive buffer space */
-#define TCPCTL_MAXID 10
+#define TCPCTL_KEEPINIT 8 /* timeout for establishing syn */
+#define TCPCTL_SENDSPACE 9 /* send buffer space */
+#define TCPCTL_RECVSPACE 10 /* receive buffer space */
+#define TCPCTL_MAXID 11
#define TCPCTL_NAMES { \
{ 0, 0 }, \
@@ -320,6 +321,7 @@ struct tcpstat {
{ "rttdflt", CTLTYPE_INT }, \
{ "keepidle", CTLTYPE_INT }, \
{ "keepintvl", CTLTYPE_INT }, \
+ { "keepinit", CTLTYPE_INT }, \
{ "sendspace", CTLTYPE_INT }, \
{ "recvspace", CTLTYPE_INT }, \
}
OpenPOWER on IntegriCloud