diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-04-01 17:54:39 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-04-01 17:54:39 +0000 |
commit | ca2300d9ac006c3940e4ff1ce9c64ba64b9582b5 (patch) | |
tree | b8587156444b87e5a9ae38dead4268bb785a084c | |
parent | e82bd04cf77629976eb24f31222f877f17a6000b (diff) | |
download | musl-ca2300d9ac006c3940e4ff1ce9c64ba64b9582b5.tar.gz |
add the new SO_REUSEPORT socket option to mips and powerpc
SO_REUSEPORT implementation was merged in the linux kernel commit
c617f398edd4db2b8567a28e899a88f8f574798d 2013-01-23
-rw-r--r-- | arch/mips/bits/socket.h | 2 | ||||
-rw-r--r-- | arch/powerpc/bits/socket.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/bits/socket.h b/arch/mips/bits/socket.h index 74908744..ba790452 100644 --- a/arch/mips/bits/socket.h +++ b/arch/mips/bits/socket.h @@ -36,7 +36,7 @@ struct cmsghdr #define SO_PRIORITY 12 #define SO_LINGER 128 #define SO_BSDCOMPAT 14 -/* #define SO_REUSEPORT 512 */ +#define SO_REUSEPORT 512 #define SO_PASSCRED 17 #define SO_PEERCRED 18 #define SO_RCVLOWAT 0x1004 diff --git a/arch/powerpc/bits/socket.h b/arch/powerpc/bits/socket.h index 26d1010f..ff9246a9 100644 --- a/arch/powerpc/bits/socket.h +++ b/arch/powerpc/bits/socket.h @@ -32,6 +32,7 @@ struct cmsghdr #define SO_PRIORITY 12 #define SO_LINGER 13 #define SO_BSDCOMPAT 14 +#define SO_REUSEPORT 15 #define SO_RCVLOWAT 16 #define SO_SNDLOWAT 17 #define SO_RCVTIMEO 18 |