1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_ERRQUEUE_H
13 #define _LINUX_ERRQUEUE_H 1
15 struct sock_extended_err
26 #define SO_EE_ORIGIN_NONE 0
27 #define SO_EE_ORIGIN_LOCAL 1
28 #define SO_EE_ORIGIN_ICMP 2
29 #define SO_EE_ORIGIN_ICMP6 3
31 #define SO_EE_OFFENDER(ee) ((struct sockaddr*)((ee)+1))