patch-2.2.11 linux/include/asm-alpha/socket.h
Next file: linux/include/asm-alpha/spinlock.h
Previous file: linux/include/asm-alpha/smp.h
Back to the patch index
Back to the overall index
-  Lines: 18
 -  Date:
Mon Aug  9 12:04:41 1999
 -  Orig file: 
v2.2.10/linux/include/asm-alpha/socket.h
 -  Orig date: 
Sun Dec 21 17:41:24 1997
 
diff -u --recursive --new-file v2.2.10/linux/include/asm-alpha/socket.h linux/include/asm-alpha/socket.h
@@ -48,4 +48,17 @@
 #define SO_SECURITY_ENCRYPTION_TRANSPORT	20
 #define SO_SECURITY_ENCRYPTION_NETWORK		21
 
+#ifdef __KERNEL__
+/* Socket types. */
+#define SOCK_STREAM	1		/* stream (connection) socket	*/
+#define SOCK_DGRAM	2		/* datagram (conn.less) socket	*/
+#define SOCK_RAW	3		/* raw socket			*/
+#define SOCK_RDM	4		/* reliably-delivered message	*/
+#define SOCK_SEQPACKET	5		/* sequential packet socket	*/
+#define SOCK_PACKET	10		/* linux specific way of	*/
+					/* getting packets at the dev	*/
+					/* level.  For writing rarp and	*/
+					/* other similar things on the	*/
+					/* user level.			*/
+#endif
 #endif /* _ASM_SOCKET_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)