usr/src/uts/common/inet/tcp/tcp.c
changeset 13435 3185061eadee
parent 13345 20c193a013b8
child 13443 76ab5b799560
equal deleted inserted replaced
13434:af0bf36c290c 13435:3185061eadee
    20  */
    20  */
    21 
    21 
    22 /*
    22 /*
    23  * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
    23  * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
    24  * Copyright (c) 2011, Joyent Inc. All rights reserved.
    24  * Copyright (c) 2011, Joyent Inc. All rights reserved.
       
    25  * Copyright (c) 2011 Nexenta Systems, Inc. All rights reserved.
    25  */
    26  */
    26 /* Copyright (c) 1990 Mentat Inc. */
    27 /* Copyright (c) 1990 Mentat Inc. */
    27 
    28 
    28 #include <sys/types.h>
    29 #include <sys/types.h>
    29 #include <sys/stream.h>
    30 #include <sys/stream.h>
  2352 		tcp->tcp_fin_wait_2_flush_interval =
  2353 		tcp->tcp_fin_wait_2_flush_interval =
  2353 		    tcps->tcps_fin_wait_2_flush_interval;
  2354 		    tcps->tcps_fin_wait_2_flush_interval;
  2354 
  2355 
  2355 		tcp->tcp_ka_interval = tcps->tcps_keepalive_interval;
  2356 		tcp->tcp_ka_interval = tcps->tcps_keepalive_interval;
  2356 		tcp->tcp_ka_abort_thres = tcps->tcps_keepalive_abort_interval;
  2357 		tcp->tcp_ka_abort_thres = tcps->tcps_keepalive_abort_interval;
       
  2358 		tcp->tcp_ka_cnt = 0;
       
  2359 		tcp->tcp_ka_rinterval = 0;
  2357 
  2360 
  2358 		/*
  2361 		/*
  2359 		 * Default value of tcp_init_cwnd is 0, so no need to set here
  2362 		 * Default value of tcp_init_cwnd is 0, so no need to set here
  2360 		 * if parent is NULL.  But we need to inherit it from parent.
  2363 		 * if parent is NULL.  But we need to inherit it from parent.
  2361 		 */
  2364 		 */