From: Szabolcs Nagy Date: Mon, 1 Apr 2013 17:54:39 +0000 (+0000) Subject: add the new SO_REUSEPORT socket option to mips and powerpc X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=ca2300d9ac006c3940e4ff1ce9c64ba64b9582b5 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 --- 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