fix autoconf, move code to isa.c, remove debugging, drop redundant tlbflushes, macros...
[unix-history] / usr / src / sys / netinet / tcp.h
index 81e84c4..eae3c64 100644 (file)
@@ -2,19 +2,9 @@
  * Copyright (c) 1982, 1986 Regents of the University of California.
  * All rights reserved.
  *
  * Copyright (c) 1982, 1986 Regents of the University of California.
  * All rights reserved.
  *
- * Redistribution and use in source and binary forms are permitted
- * provided that the above copyright notice and this paragraph are
- * duplicated in all such forms and that any documentation,
- * advertising materials, and other materials related to such
- * distribution and use acknowledge that the software was developed
- * by the University of California, Berkeley.  The name of the
- * University may not be used to endorse or promote products derived
- * from this software without specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ * %sccs.include.redist.c%
  *
  *
- *     @(#)tcp.h       7.4.1.2 (Berkeley) %G%
+ *     @(#)tcp.h       7.7 (Berkeley) %G%
  */
 #ifndef BYTE_ORDER
 /*
  */
 #ifndef BYTE_ORDER
 /*
@@ -70,15 +60,11 @@ struct tcphdr {
  * Default maximum segment size for TCP.
  * With an IP MSS of 576, this is 536,
  * but 512 is probably more convenient.
  * Default maximum segment size for TCP.
  * With an IP MSS of 576, this is 536,
  * but 512 is probably more convenient.
+ * This should be defined as MIN(512, IP_MSS - sizeof (struct tcpiphdr)).
  */
  */
-#ifdef lint
-#define        TCP_MSS 536
-#else
-#ifndef IP_MSS
-#define        IP_MSS  576
-#endif
-#define        TCP_MSS MIN(512, IP_MSS - sizeof (struct tcpiphdr))
-#endif
+#define        TCP_MSS 512
+
+#define        TCP_MAXWIN      65535           /* largest value for window */
 
 /*
  * User-settable options (used with setsockopt).
 
 /*
  * User-settable options (used with setsockopt).