aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorAndras Olah <olah@FreeBSD.org>1995-11-03 22:08:13 +0000
committerAndras Olah <olah@FreeBSD.org>1995-11-03 22:08:13 +0000
commita45d27261da492e9fc50e93e61770f4693bda7c3 (patch)
tree9b3a8e7df4e0197a04c16458af0e284ac3f222fe /sys/netinet/tcp_var.h
parent042cd119d32538cfb1984dc8765682959942e491 (diff)
downloadsrc-a45d27261da492e9fc50e93e61770f4693bda7c3.tar.gz
src-a45d27261da492e9fc50e93e61770f4693bda7c3.zip
Fix a logical error in T/TCP: when we actively open a connection, we
have to decide whether to send a CC or CCnew option in our SYN segment depending on the contents of our TAO cache. This decision has to be made once when the connection starts. The earlier code delayed this decision until the segment was assembled in tcp_output() and retransmitted SYN segments could have different CC options. Reviewed by: Richard Stevens, davidg, wollman
Notes
Notes: svn path=/head/; revision=12045
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 0a1ce277ac60..595d639ab3a8 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.20 1995/10/12 17:37:25 wollman Exp $
+ * $Id: tcp_var.h,v 1.21 1995/10/16 18:21:26 wollman Exp $
*/
#ifndef _NETINET_TCP_VAR_H_
@@ -70,6 +70,7 @@ struct tcpcb {
#define TF_NOPUSH 0x1000 /* don't push */
#define TF_REQ_CC 0x2000 /* have/will request CC */
#define TF_RCVD_CC 0x4000 /* a CC was received in SYN */
+#define TF_SENDCCNEW 0x8000 /* send CCnew instead of CC in SYN */
struct tcpiphdr *t_template; /* skeletal packet for transmit */
struct inpcb *t_inpcb; /* back pointer to internet pcb */