Revert "Roll NDK to r11c and extract it into its own repository."
[android_tools.git] / ndk / platforms / android-19 / arch-x86 / usr / include / linux / errqueue.h
blob03b2e428864f9662b4723bf71e5457bd67174123
1 /****************************************************************************
2 ****************************************************************************
3 ***
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.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_ERRQUEUE_H
13 #define _LINUX_ERRQUEUE_H 1
15 struct sock_extended_err
17 __u32 ee_errno;
18 __u8 ee_origin;
19 __u8 ee_type;
20 __u8 ee_code;
21 __u8 ee_pad;
22 __u32 ee_info;
23 __u32 ee_data;
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))
33 #endif