diff options
Diffstat (limited to 'libc/kernel/uapi/linux/errqueue.h')
-rw-r--r-- | libc/kernel/uapi/linux/errqueue.h | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/libc/kernel/uapi/linux/errqueue.h b/libc/kernel/uapi/linux/errqueue.h index b8fd3b466..dd57a2944 100644 --- a/libc/kernel/uapi/linux/errqueue.h +++ b/libc/kernel/uapi/linux/errqueue.h @@ -21,14 +21,14 @@ #include <linux/types.h> struct sock_extended_err { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __u32 ee_errno; - __u8 ee_origin; - __u8 ee_type; - __u8 ee_code; + __u32 ee_errno; + __u8 ee_origin; + __u8 ee_type; + __u8 ee_code; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ - __u8 ee_pad; - __u32 ee_info; - __u32 ee_data; + __u8 ee_pad; + __u32 ee_info; + __u32 ee_data; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_EE_ORIGIN_NONE 0 @@ -38,6 +38,16 @@ struct sock_extended_err { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_EE_ORIGIN_TXSTATUS 4 #define SO_EE_ORIGIN_TIMESTAMPING SO_EE_ORIGIN_TXSTATUS -#define SO_EE_OFFENDER(ee) ((struct sockaddr*)((ee)+1)) +#define SO_EE_OFFENDER(ee) ((struct sockaddr *) ((ee) + 1)) +struct scm_timestamping { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct timespec ts[3]; +}; +enum { + SCM_TSTAMP_SND, +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + SCM_TSTAMP_SCHED, + SCM_TSTAMP_ACK, +}; #endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |