Skip to content
Snippets Groups Projects
Commit b0a7413d authored by Laurent Vivier's avatar Laurent Vivier
Browse files

linux-user: define TARGET_SO_REUSEPORT


Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180519092956.15134-9-laurent@vivier.eu>
parent 30a1b125
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#define TARGET_SO_BROADCAST 0x0020 #define TARGET_SO_BROADCAST 0x0020
#define TARGET_SO_LINGER 0x0080 #define TARGET_SO_LINGER 0x0080
#define TARGET_SO_OOBINLINE 0x0100 #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_TYPE 0x1008
#define TARGET_SO_ERROR 0x1007 #define TARGET_SO_ERROR 0x1007
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#define TARGET_SO_PRIORITY 12 #define TARGET_SO_PRIORITY 12
#define TARGET_SO_LINGER 13 #define TARGET_SO_LINGER 13
#define TARGET_SO_BSDCOMPAT 14 #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_PASSCRED 16
#define TARGET_SO_PEERCRED 17 #define TARGET_SO_PEERCRED 17
#define TARGET_SO_RCVLOWAT 18 #define TARGET_SO_RCVLOWAT 18
......
...@@ -28,10 +28,7 @@ ...@@ -28,10 +28,7 @@
*/ */
#define TARGET_SO_OOBINLINE 0x0100 /* Receive out-of-band data in-band. #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 #define TARGET_SO_REUSEPORT 0x0200
#endif
#define TARGET_SO_TYPE 0x1008 /* Compatible name for SO_STYLE. */ #define TARGET_SO_TYPE 0x1008 /* Compatible name for SO_STYLE. */
#define TARGET_SO_STYLE SO_TYPE /* Synonym */ #define TARGET_SO_STYLE SO_TYPE /* Synonym */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment