summaryrefslogtreecommitdiff
path: root/sys/compat/linux/include/linux_socket.h
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1995-05-28 10:16:32 +0000
committermycroft <mycroft@NetBSD.org>1995-05-28 10:16:32 +0000
commit32659780f6d3fe65f8680bc138fa29144925b9a6 (patch)
treed57e1257a4a20b7855bf14cce7851a4f888949ec /sys/compat/linux/include/linux_socket.h
parent00569bf57452c50f323d6a79a388de51419d1c52 (diff)
Convert TCP socket options.
Diffstat (limited to 'sys/compat/linux/include/linux_socket.h')
-rw-r--r--sys/compat/linux/include/linux_socket.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/compat/linux/include/linux_socket.h b/sys/compat/linux/include/linux_socket.h
index 27f9fdb02bb..a0da285cfa2 100644
--- a/sys/compat/linux/include/linux_socket.h
+++ b/sys/compat/linux/include/linux_socket.h
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_socket.h,v 1.2 1995/05/28 08:50:19 mycroft Exp $ */
+/* $NetBSD: linux_socket.h,v 1.3 1995/05/28 10:16:34 mycroft Exp $ */
/*
* Copyright (c) 1995 Frank van der Linden
@@ -86,8 +86,7 @@
#define LINUX_SO_LINGER 13
/*
- * Options vor [gs]etsockopt(2), IP level. Only 2 of them are
- * currently implemented in Linux
+ * Options vor [gs]etsockopt(2), IP level.
*/
#define LINUX_IP_TOS 1
@@ -98,4 +97,11 @@
#define LINUX_IP_ADD_MEMBERSHIP 35
#define LINUX_IP_DROP_MEMBERSHIP 36
+/*
+ * Options vor [gs]etsockopt(2), TCP level.
+ */
+
+#define LINUX_TCP_NODELAY 1
+#define LINUX_TCP_MAXSEG 2
+
#endif /* _LINUX_SOCKET_H */