Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


errqueue.h
01: #ifndef _LINUX_ERRQUEUE_H
02: #define _LINUX_ERRQUEUE_H 1
03: 
04: #include <linux/types.h>
05: 
06: struct sock_extended_err {
07:         __u32   ee_errno;       
08:         __u8    ee_origin;
09:         __u8    ee_type;
10:         __u8    ee_code;
11:         __u8    ee_pad;
12:         __u32   ee_info;
13:         __u32   ee_data;
14: };
15: 
16: #define SO_EE_ORIGIN_NONE       0
17: #define SO_EE_ORIGIN_LOCAL      1
18: #define SO_EE_ORIGIN_ICMP       2
19: #define SO_EE_ORIGIN_ICMP6      3
20: #define SO_EE_ORIGIN_TIMESTAMPING 4
21: 
22: #define SO_EE_OFFENDER(ee)      ((struct sockaddr*)((ee)+1))
23: 
24: 
25: #endif
26: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/