patch-1.3.9 linux/include/asm-alpha/socket.h
Next file: linux/include/asm-i386/socket.h
Previous file: linux/fs/xiafs/Makefile
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Jul 10 16:59:58 1995
- Orig file:
v1.3.8/linux/include/asm-alpha/socket.h
- Orig date:
Fri Jul 7 13:42:58 1995
diff -u --recursive --new-file v1.3.8/linux/include/asm-alpha/socket.h linux/include/asm-alpha/socket.h
@@ -1,6 +1,19 @@
#ifndef _ASM_SOCKET_H
#define _ASM_SOCKET_H
+#include <linux/types.h>
+#include <asm/ioctl.h>
+
+/* Socket-level I/O control calls. */
+#define FIOGETOWN _IOR('f', 123, int)
+#define FIOSETOWN _IOW('f', 124, int)
+
+#define SIOCATMARK _IOR('s', 7, int)
+#define SIOCSPGRP _IOW('s', 8, pid_t)
+#define SIOCGPGRP _IOR('s', 9, pid_t)
+
+#define SIOCGSTAMP 0x8906 /* Get stamp - linux-specific */
+
/* For setsockoptions(2) */
/*
* Note: we only bother about making the SOL_SOCKET options
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