mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
linux-user: add TARGET_SO_{DOMAIN,PROTOCOL}
These were defined for other platforms but mistakenly left out of mips and generic, so this commit adds them to the places missing. Then it makes them be translated in getsockopt. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210204153925.2030606-1-Jason@zx2c4.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
4df7b7fac8
commit
ec63e06ef7
3 changed files with 11 additions and 0 deletions
|
@ -40,6 +40,8 @@
|
|||
#define TARGET_SO_SNDTIMEO 0x1005 /* send timeout */
|
||||
#define TARGET_SO_RCVTIMEO 0x1006 /* receive timeout */
|
||||
#define TARGET_SO_ACCEPTCONN 0x1009
|
||||
#define TARGET_SO_PROTOCOL 0x1028 /* protocol type */
|
||||
#define TARGET_SO_DOMAIN 0x1029 /* domain/socket family */
|
||||
|
||||
/* linux-specific, might as well be the same as on i386 */
|
||||
#define TARGET_SO_NO_CHECK 11
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue