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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
+0 −3
Original line number Diff line number Diff line
@@ -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 */