SCCS-vsn: sys/netinet/tcp.h 6.4
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)tcp.h 6.3 (Berkeley) %G%
+ * @(#)tcp.h 6.4 (Berkeley) %G%
*/
typedef u_long tcp_seq;
*/
typedef u_long tcp_seq;
* but 512 is probably more convenient.
*/
#define TCP_MSS MIN(512, IP_MSS - sizeof (struct tcpiphdr))
* but 512 is probably more convenient.
*/
#define TCP_MSS MIN(512, IP_MSS - sizeof (struct tcpiphdr))
+
+/*
+ * User-settable options (used with setsockopt).
+ */
+#define TCP_NODELAY 0x01 /* don't delay send to coalesce packets */
+#define TCP_MAXSEG 0x02 /* set maximum segment size */