diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-05-19 11:29:56 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-05-25 10:10:55 +0200 |
commit | b0a7413dd53cbb75227152374689c3bde39c89db (patch) | |
tree | a7f1d1c422ff49a829aa1fa2b321af9d21b94b44 /linux-user | |
parent | 30a1b125884f53bb33b7b7276ff63b1dd8682669 (diff) | |
download | qemu-b0a7413dd53cbb75227152374689c3bde39c89db.zip qemu-b0a7413dd53cbb75227152374689c3bde39c89db.tar.gz qemu-b0a7413dd53cbb75227152374689c3bde39c89db.tar.bz2 |
linux-user: define TARGET_SO_REUSEPORT
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180519092956.15134-9-laurent@vivier.eu>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/alpha/sockbits.h | 2 | ||||
-rw-r--r-- | linux-user/generic/sockbits.h | 2 | ||||
-rw-r--r-- | linux-user/mips/sockbits.h | 3 |
3 files changed, 2 insertions, 5 deletions
diff --git a/linux-user/alpha/sockbits.h b/linux-user/alpha/sockbits.h index f5397dd..d54dc98 100644 --- a/linux-user/alpha/sockbits.h +++ b/linux-user/alpha/sockbits.h @@ -18,7 +18,7 @@ #define TARGET_SO_BROADCAST 0x0020 #define TARGET_SO_LINGER 0x0080 #define TARGET_SO_OOBINLINE 0x0100 -/* To add :#define TARGET_SO_REUSEPORT 0x0200 */ +#define TARGET_SO_REUSEPORT 0x0200 #define TARGET_SO_TYPE 0x1008 #define TARGET_SO_ERROR 0x1007 diff --git a/linux-user/generic/sockbits.h b/linux-user/generic/sockbits.h index 99505f1..e44733c 100644 --- a/linux-user/generic/sockbits.h +++ b/linux-user/generic/sockbits.h @@ -29,7 +29,7 @@ #define TARGET_SO_PRIORITY 12 #define TARGET_SO_LINGER 13 #define TARGET_SO_BSDCOMPAT 14 -/* To add :#define TARGET_SO_REUSEPORT 15 */ +#define TARGET_SO_REUSEPORT 15 #define TARGET_SO_PASSCRED 16 #define TARGET_SO_PEERCRED 17 #define TARGET_SO_RCVLOWAT 18 diff --git a/linux-user/mips/sockbits.h b/linux-user/mips/sockbits.h index 370d13e..0f022cd 100644 --- a/linux-user/mips/sockbits.h +++ b/linux-user/mips/sockbits.h @@ -28,10 +28,7 @@ */ #define TARGET_SO_OOBINLINE 0x0100 /* Receive out-of-band data in-band. */ -#if 0 -/* To add: Allow local address and port reuse. */ #define TARGET_SO_REUSEPORT 0x0200 -#endif #define TARGET_SO_TYPE 0x1008 /* Compatible name for SO_STYLE. */ #define TARGET_SO_STYLE SO_TYPE /* Synonym */ |