patch-2.4.0-test3 linux/include/linux/socket.h
Next file: linux/include/linux/spinlock.h
Previous file: linux/include/linux/slab.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Jul 10 13:21:50 2000
- Orig file:
v2.4.0-test2/linux/include/linux/socket.h
- Orig date:
Fri Jun 23 21:55:11 2000
diff -u --recursive --new-file v2.4.0-test2/linux/include/linux/socket.h linux/include/linux/socket.h
@@ -128,19 +128,6 @@
__u32 gid;
};
-/* 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. */
-
/* Supported address families. */
#define AF_UNSPEC 0
#define AF_UNIX 1 /* Unix domain sockets */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)