patch-1.3.8 linux/include/asm-i386/socket.h
Next file: linux/include/linux/binfmts.h
Previous file: linux/include/asm-alpha/socket.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Jul 7 13:09:26 1995
- Orig file:
v1.3.7/linux/include/asm-i386/socket.h
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v1.3.7/linux/include/asm-i386/socket.h linux/include/asm-i386/socket.h
@@ -0,0 +1,22 @@
+#ifndef _ASM_SOCKET_H
+#define _ASM_SOCKET_H
+
+/* For setsockoptions(2) */
+#define SOL_SOCKET 1
+
+#define SO_DEBUG 1
+#define SO_REUSEADDR 2
+#define SO_TYPE 3
+#define SO_ERROR 4
+#define SO_DONTROUTE 5
+#define SO_BROADCAST 6
+#define SO_SNDBUF 7
+#define SO_RCVBUF 8
+#define SO_KEEPALIVE 9
+#define SO_OOBINLINE 10
+#define SO_NO_CHECK 11
+#define SO_PRIORITY 12
+#define SO_LINGER 13
+/* To add :#define SO_REUSEPORT 14 */
+
+#endif /* _ASM_SOCKET_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this