summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/socket.h')
-rw-r--r--include/asm-mips/socket.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/asm-mips/socket.h b/include/asm-mips/socket.h
index 5108021ba..b98107cfe 100644
--- a/include/asm-mips/socket.h
+++ b/include/asm-mips/socket.h
@@ -60,19 +60,19 @@ To add: #define SO_REUSEPORT 0x0200 /* Allow local address and port reuse. */
#define SO_PEERNAME 28
-/* Types of sockets. */
-#define SOCK_DGRAM 1 /* Connectionless, unreliable datagrams
- of fixed maximum length. */
-#define SOCK_STREAM 2 /* Sequenced, reliable, connection-based
- byte streams. */
-#define SOCK_RAW 3 /* Raw protocol interface. */
-#define SOCK_RDM 4 /* Reliably-delivered messages. */
-#define SOCK_SEQPACKET 5 /* Sequenced, reliable, connection-based,
- datagrams of fixed maximum length. */
-#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 /* __KERNEL__ */
+/* Nast libc5 fixup - bletch */
+#if defined(__KERNEL__)
+/* Socket types. */
+#define SOCK_DGRAM 1 /* datagram (conn.less) socket */
+#define SOCK_STREAM 2 /* stream (connection) 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 */