summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/socket.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-25 21:52:09 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-25 21:52:09 +0000
commita5dd172779d70801c2856aa4a4d37ca027084313 (patch)
tree2decbc9a3d7a16f0794bb40ad485643f4016477d /include/asm-mips/socket.h
parent5d297a89a5d917d58a9459f7c074a00b0f74e635 (diff)
Bits for libc.
Diffstat (limited to 'include/asm-mips/socket.h')
-rw-r--r--include/asm-mips/socket.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/asm-mips/socket.h b/include/asm-mips/socket.h
index 721735127..d7192c809 100644
--- a/include/asm-mips/socket.h
+++ b/include/asm-mips/socket.h
@@ -1,8 +1,8 @@
/*
- * $Id: socket.h,v 1.4 1997/12/06 23:55:49 ralf Exp $
+ * $Id: socket.h,v 1.5 1998/03/17 22:16:17 ralf Exp $
*/
-#ifndef __ASM_MIPS_SOCKET_H
-#define __ASM_MIPS_SOCKET_H
+#ifndef _ASM_SOCKET_H
+#define _ASM_SOCKET_H
#include <asm/sockios.h>
@@ -56,6 +56,8 @@ To add: #define SO_REUSEPORT 0x0200 /* Allow local address and port reuse. */
#define SO_ATTACH_FILTER 26
#define SO_DETACH_FILTER 27
+#ifdef __KERNEL__
+
/* Types of sockets. */
#define SOCK_DGRAM 1 /* Connectionless, unreliable datagrams
of fixed maximum length. */
@@ -69,4 +71,6 @@ To add: #define SO_REUSEPORT 0x0200 /* Allow local address and port reuse. */
the dev level. For writing rarp and
other similar things on the user level. */
-#endif /* __ASM_MIPS_SOCKET_H */
+#endif /* __KERNEL__ */
+
+#endif /* _ASM_SOCKET_H */