summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-08 18:46:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-08 18:46:57 +0000
commitc894ae089084595dfb2b606a6ddcb4ac4a5f785d (patch)
tree0d757f77609361c2731aa1e08abb3551839a11e3 /sys
parentf75a369da47aa412b1c76a6d206f66aab17ee8f9 (diff)
variables used by #ifdef code should be inside #ifdef too
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/tcp_subr.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 13dc5c7ec40..a91d8e5bc04 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_subr.c,v 1.93 2006/03/04 22:40:16 brad Exp $ */
+/* $OpenBSD: tcp_subr.c,v 1.94 2007/05/08 18:46:56 deraadt Exp $ */
/* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */
/*
@@ -109,9 +109,13 @@ int tcp_rttdflt = TCPTV_SRTTDFLT / PR_SLOWHZ;
/* values controllable via sysctl */
int tcp_do_rfc1323 = 1;
+#ifdef TCP_SACK
int tcp_do_sack = 1; /* RFC 2018 selective ACKs */
+#endif
int tcp_ack_on_push = 0; /* set to enable immediate ACK-on-PUSH */
+#ifdef TCP_ECN
int tcp_do_ecn = 0; /* RFC3168 ECN enabled/disabled? */
+#endif
int tcp_do_rfc3390 = 1; /* RFC3390 Increasing TCP's Initial Window */
u_int32_t tcp_now = 1;