diff options
author | Roman Yeryomin <roman@ubnt.com> | 2015-07-02 12:28:41 +0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-07-21 19:14:26 -0400 |
commit | 29ec7677a73a5227badbb1064205be09e707e466 (patch) | |
tree | 0fe3f12af2b74e1b979caa24f1da2814af3695c8 /arch | |
parent | 3fffa7a658aa925b8f95d36aef7531c1827dbf28 (diff) | |
download | musl-29ec7677a73a5227badbb1064205be09e707e466.tar.gz |
socket.h: fix SO_* for mips
Signed-off-by: Roman Yeryomin <roman@ubnt.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/bits/socket.h | 3 | ||||
-rw-r--r-- | arch/powerpc/bits/socket.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/bits/socket.h b/arch/mips/bits/socket.h index fe5bad99..22294f18 100644 --- a/arch/mips/bits/socket.h +++ b/arch/mips/bits/socket.h @@ -44,6 +44,9 @@ struct cmsghdr #define SO_SNDTIMEO 0x1005 #define SO_SNDBUFFORCE 31 #define SO_RCVBUFFORCE 33 +#define SO_ACCEPTCONN 0x1009 +#define SO_PROTOCOL 0x1028 +#define SO_DOMAIN 0x1029 #define SOCK_NONBLOCK 0200 #define SOCK_CLOEXEC 02000000 diff --git a/arch/powerpc/bits/socket.h b/arch/powerpc/bits/socket.h index 4ed04d36..8531ec91 100644 --- a/arch/powerpc/bits/socket.h +++ b/arch/powerpc/bits/socket.h @@ -39,4 +39,6 @@ struct cmsghdr #define SO_SNDTIMEO 19 #define SO_PASSCRED 20 #define SO_PEERCRED 21 - +#define SO_ACCEPTCONN 30 +#define SO_PROTOCOL 38 +#define SO_DOMAIN 39 |