diff options
Diffstat (limited to 'include/asm-sh')
-rw-r--r-- | include/asm-sh/socket.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-sh/socket.h b/include/asm-sh/socket.h index a3de49dc2..ebcb6a333 100644 --- a/include/asm-sh/socket.h +++ b/include/asm-sh/socket.h @@ -41,4 +41,19 @@ #define SO_PEERNAME 28 +/* Nast libc5 fixup - bletch */ +#if defined(__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_SH_SOCKET_H */ |