Print this page
5850 tcp timestamping behavior changed mid-connection
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man7p/tcp.7p
          +++ new/usr/src/man/man7p/tcp.7p
   1    1  '\" te
   2    2  .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.
   3    3  .\" Copyright (c) 2011 Nexenta Systems, Inc. All rights reserved.
   4    4  .\" Copyright 1989 AT&T
   5    5  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   6    6  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   7    7  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   8      -.TH TCP 7P "May 27, 2014"
        8 +.TH TCP 7P "Apr 27, 2015"
   9    9  .SH NAME
  10   10  tcp, TCP \- Internet Transmission Control Protocol
  11   11  .SH SYNOPSIS
  12   12  .LP
  13   13  .nf
  14   14  \fB#include <sys/socket.h>\fR
  15   15  .fi
  16   16  
  17   17  .LP
  18   18  .nf
↓ open down ↓ 157 lines elided ↑ open up ↑
 176  176  TCP follows the congestion control algorithm described in \fIRFC 2581\fR, and
 177  177  also supports the initial congestion window (cwnd) changes in \fIRFC 3390\fR.
 178  178  The initial cwnd calculation can be overridden by the socket option
 179  179  TCP_INIT_CWND. An application can use this option to set the initial cwnd to a
 180  180  specified number of TCP segments. This applies to the cases when the connection
 181  181  first starts and restarts after an idle period.  The process must have the
 182  182  PRIV_SYS_NET_CONFIG privilege if it wants to specify a number greater than that
 183  183  calculated by \fIRFC 3390\fR.
 184  184  .sp
 185  185  .LP
 186      -SunOS supports \fBTCP\fR Extensions for High Performance (\fIRFC 1323\fR) which
 187      -includes the window scale and timestamp options, and Protection Against Wrap
 188      -Around Sequence Numbers (PAWS). SunOS also supports Selective Acknowledgment
 189      -(SACK) capabilities (RFC 2018) and Explicit Congestion Notification (ECN)
 190      -mechanism (\fIRFC 3168\fR).
      186 +illumos supports \fBTCP\fR Extensions for High Performance (\fIRFC 7323\fR)
      187 +which includes the window scale and timestamp options, and Protection Against
      188 +Wrap Around Sequence Numbers (PAWS). Note that if timestamps are negotiated on
      189 +a connection, received segments without timestamps on that connection are
      190 +silently dropped per the suggestion in the RFC. illumos also supports Selective
      191 +Acknowledgment (SACK) capabilities (RFC 2018) and Explicit Congestion
      192 +Notification (ECN) mechanism (\fIRFC 3168\fR).
 191  193  .sp
 192  194  .LP
 193  195  Turn on the window scale option in one of the following ways:
 194  196  .RS +4
 195  197  .TP
 196  198  .ie t \(bu
 197  199  .el o
 198  200  An application can set \fBSO_SNDBUF\fR or \fBSO_RCVBUF\fR size in the
 199  201  \fBsetsockopt()\fR option to be larger than 64K. This must be done \fIbefore\fR
 200  202  the program calls \fBlisten()\fR or \fBconnect()\fR, because the window scale
↓ open down ↓ 168 lines elided ↑ open up ↑
 369  371  .LP
 370  372  Mathias, M. and Hahdavi, J. Pittsburgh Supercomputing Center; Ford, S. Lawrence
 371  373  Berkeley National Laboratory; Romanow, A. Sun Microsystems, Inc. \fIRFC 2018,
 372  374  TCP Selective Acknowledgement Options\fR, October 1996.
 373  375  .sp
 374  376  .LP
 375  377  Bellovin, S., \fIRFC 1948, Defending Against Sequence Number Attacks\fR, May
 376  378  1996.
 377  379  .sp
 378  380  .LP
 379      -Jacobson, V., Braden, R., and Borman, D., \fIRFC 1323, TCP Extensions for High
 380      -Performance\fR, May 1992.
      381 +D. Borman, B. Braden, V. Jacobson and R. Scheffenegger, Ed., \fIRFC 7323, TCP
      382 +Extensions for High Performance\fR, September 2014.
 381  383  .sp
 382  384  .LP
 383  385  Postel, Jon, \fIRFC 793, Transmission Control Protocol - DARPA Internet Program
 384  386  Protocol Specification\fR, Network Information Center, SRI International, Menlo
 385  387  Park, CA., September 1981.
 386  388  .SH DIAGNOSTICS
 387  389  .sp
 388  390  .LP
 389  391  A socket operation may fail if:
 390  392  .sp
↓ open down ↓ 95 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX