#Init TCP Stamp Random Init #Aaron Linville # #Index: BSD/netinet/tcp_subr.c #=================================================================== #RCS file: /cvs/Darwin/System/xnu/bsd/netinet/tcp_subr.c,v #retrieving revision 1.1.1.14 #diff -u -d -b -w -r1.1.1.14 tcp_subr.c --- BSD/netinet/tcp_subr.c 15 Aug 2001 00:37:13 -0000 1.1.1.14 +++ BSD/netinet/tcp_subr.c 26 Jan 2002 04:52:55 -0000 @@ -230,6 +230,7 @@ str_size = (vm_size_t) sizeof(struct inp_tp); tcbinfo.ipi_zone = (void *) zinit(str_size, 120000*str_size, 8192, "inpcb_zone"); #endif + tcp_now = random() / 2; #if INET6 #define TCP_LGHDR (sizeof(struct tcpip6hdr)) #else /* INET6 */