diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-05 14:29:04 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-05 14:29:04 -0500 |
commit | 32d6d77e544dbb1d9c44cacfc2ea0cbfe5ccfdef (patch) | |
tree | af8d1643260451af2897c16058c0b6d2960735f7 /arch/mips/bits/socket.h | |
parent | fc5f16d18222d197ebf182e50048aa384d84269d (diff) | |
download | musl-32d6d77e544dbb1d9c44cacfc2ea0cbfe5ccfdef.tar.gz |
fix numerous mips abi constant definition mismatches
Diffstat (limited to 'arch/mips/bits/socket.h')
-rw-r--r-- | arch/mips/bits/socket.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/mips/bits/socket.h b/arch/mips/bits/socket.h index 3715ddd6..ba790452 100644 --- a/arch/mips/bits/socket.h +++ b/arch/mips/bits/socket.h @@ -18,3 +18,31 @@ struct cmsghdr #define SOCK_STREAM 2 #define SOCK_DGRAM 1 + +#define SOL_SOCKET 65535 + +#define SO_DEBUG 1 +#define SO_REUSEADDR 4 +#define SO_TYPE 0x1008 +#define SO_ERROR 0x1007 +#define SO_DONTROUTE 16 +#define SO_BROADCAST 32 +#define SO_SNDBUF 0x1001 +#define SO_RCVBUF 0x1002 +#define SO_KEEPALIVE 8 +#define SO_OOBINLINE 256 + +#define SO_NO_CHECK 11 +#define SO_PRIORITY 12 +#define SO_LINGER 128 +#define SO_BSDCOMPAT 14 +#define SO_REUSEPORT 512 +#define SO_PASSCRED 17 +#define SO_PEERCRED 18 +#define SO_RCVLOWAT 0x1004 +#define SO_SNDLOWAT 0x1003 +#define SO_RCVTIMEO 0x1006 +#define SO_SNDTIMEO 0x1005 + +#define SOCK_NONBLOCK 0200 +#define SOCK_CLOEXEC 02000000 |