mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:17 +00:00
linux-user: Define SO_TIMESTAMP*_NEW and SO_RCVTIMEIO_NEW
Define the entries which always use the 64-bit timestamps. Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
@@ -75,6 +75,13 @@
|
||||
/* Instruct lower device to use last 4-bytes of skb data as FCS */
|
||||
#define TARGET_SO_NOFCS 43
|
||||
|
||||
#define TARGET_SO_TIMESTAMP_NEW 63
|
||||
#define TARGET_SO_TIMESTAMPNS_NEW 64
|
||||
#define TARGET_SO_TIMESTAMPING_NEW 65
|
||||
|
||||
#define TARGET_SO_RCVTIMEO_NEW 66
|
||||
#define TARGET_SO_SNDTIMEO_NEW 67
|
||||
|
||||
/* TARGET_O_NONBLOCK clashes with the bits used for socket types. Therefore we
|
||||
* have to define SOCK_NONBLOCK to a different value here.
|
||||
*/
|
||||
|
||||
@@ -58,4 +58,12 @@
|
||||
|
||||
#define TARGET_SO_PROTOCOL 38
|
||||
#define TARGET_SO_DOMAIN 39
|
||||
|
||||
#define TARGET_SO_TIMESTAMP_NEW 63
|
||||
#define TARGET_SO_TIMESTAMPNS_NEW 64
|
||||
#define TARGET_SO_TIMESTAMPING_NEW 65
|
||||
|
||||
#define TARGET_SO_RCVTIMEO_NEW 66
|
||||
#define TARGET_SO_SNDTIMEO_NEW 67
|
||||
|
||||
#endif
|
||||
|
||||
@@ -67,6 +67,13 @@
|
||||
|
||||
#define TARGET_SO_CNX_ADVICE 0x402E
|
||||
|
||||
#define TARGET_SO_TIMESTAMP_NEW 0x4038
|
||||
#define TARGET_SO_TIMESTAMPNS_NEW 0x4039
|
||||
#define TARGET_SO_TIMESTAMPING_NEW 0x403A
|
||||
|
||||
#define TARGET_SO_RCVTIMEO_NEW 0x4040
|
||||
#define TARGET_SO_SNDTIMEO_NEW 0x4041
|
||||
|
||||
/* TARGET_O_NONBLOCK clashes with the bits used for socket types. Therefore we
|
||||
* have to define SOCK_NONBLOCK to a different value here.
|
||||
*/
|
||||
|
||||
@@ -71,6 +71,13 @@
|
||||
#define TARGET_SO_RCVBUFFORCE 33
|
||||
#define TARGET_SO_PASSSEC 34
|
||||
|
||||
#define TARGET_SO_TIMESTAMP_NEW 63
|
||||
#define TARGET_SO_TIMESTAMPNS_NEW 64
|
||||
#define TARGET_SO_TIMESTAMPING_NEW 65
|
||||
|
||||
#define TARGET_SO_RCVTIMEO_NEW 66
|
||||
#define TARGET_SO_SNDTIMEO_NEW 67
|
||||
|
||||
/** sock_type - Socket types
|
||||
*
|
||||
* Please notice that for binary compat reasons MIPS has to
|
||||
|
||||
@@ -61,6 +61,13 @@
|
||||
#define TARGET_SO_TIMESTAMPING 0x0023
|
||||
#define TARGET_SCM_TIMESTAMPING TARGET_SO_TIMESTAMPING
|
||||
|
||||
#define TARGET_SO_TIMESTAMP_NEW 0x0046
|
||||
#define TARGET_SO_TIMESTAMPNS_NEW 0x0042
|
||||
#define TARGET_SO_TIMESTAMPING_NEW 0x0043
|
||||
|
||||
#define TARGET_SO_RCVTIMEO_NEW 0x0044
|
||||
#define TARGET_SO_SNDTIMEO_NEW 0x0045
|
||||
|
||||
#define TARGET_SO_RXQ_OVFL 0x0024
|
||||
|
||||
#define TARGET_SO_WIFI_STATUS 0x0025
|
||||
|
||||
Reference in New Issue
Block a user