summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-08-08 16:19:39 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-08-08 16:19:39 +0000
commitf03016f4b3e10b157b57ed9fe48aae283de3c5a0 (patch)
treede27470a1f791857e7bc8e356de4fdfb6fc93b6c
parent80b58014668474a4ae5f9b3fd5026033ffc529ca (diff)
entered into RCS
-rw-r--r--pfinet/linux/socket.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pfinet/linux/socket.h b/pfinet/linux/socket.h
index 2fd6de00..22dd05ce 100644
--- a/pfinet/linux/socket.h
+++ b/pfinet/linux/socket.h
@@ -14,7 +14,12 @@
#define SOPRI_NORMAL 1
#define SOPRI_BACKGROUND 2
-#define SOL_IP 0 /* XXX */
+#define SOL_IP IPPROTO_IP
+#define SOL_TCP IPPROTO_TCP
+
+/* TCP options */
+#define TCP_NODELAY 1
+#define TCP_MAXSEG 2
#define SO_NO_CHECK 11
#define SO_PRIORITY 12