1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef _UAPI_LIBC_COMPAT_H
8 #define _UAPI_LIBC_COMPAT_H
9 #ifdef __GLIBC__
10 #if defined(_NET_IF_H) && defined(__USE_MISC)
11 #define __UAPI_DEF_IF_IFCONF 0
12 #define __UAPI_DEF_IF_IFMAP 0
13 #define __UAPI_DEF_IF_IFNAMSIZ 0
14 #define __UAPI_DEF_IF_IFREQ 0
15 #define __UAPI_DEF_IF_NET_DEVICE_FLAGS 0
16 #ifndef __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO
17 #define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 1
18 #endif
19 #else
20 #define __UAPI_DEF_IF_IFCONF 1
21 #define __UAPI_DEF_IF_IFMAP 1
22 #define __UAPI_DEF_IF_IFNAMSIZ 1
23 #define __UAPI_DEF_IF_IFREQ 1
24 #define __UAPI_DEF_IF_NET_DEVICE_FLAGS 1
25 #define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 1
26 #endif
27 #ifdef _NETINET_IN_H
28 #define __UAPI_DEF_IN_ADDR 0
29 #define __UAPI_DEF_IN_IPPROTO 0
30 #define __UAPI_DEF_IN_PKTINFO 0
31 #define __UAPI_DEF_IP_MREQ 0
32 #define __UAPI_DEF_SOCKADDR_IN 0
33 #define __UAPI_DEF_IN_CLASS 0
34 #define __UAPI_DEF_IN6_ADDR 0
35 #if defined(__USE_MISC) || defined(__USE_GNU)
36 #define __UAPI_DEF_IN6_ADDR_ALT 0
37 #else
38 #define __UAPI_DEF_IN6_ADDR_ALT 1
39 #endif
40 #define __UAPI_DEF_SOCKADDR_IN6 0
41 #define __UAPI_DEF_IPV6_MREQ 0
42 #define __UAPI_DEF_IPPROTO_V6 0
43 #define __UAPI_DEF_IPV6_OPTIONS 0
44 #define __UAPI_DEF_IN6_PKTINFO 0
45 #define __UAPI_DEF_IP6_MTUINFO 0
46 #else
47 #define __UAPI_DEF_IN_ADDR 1
48 #define __UAPI_DEF_IN_IPPROTO 1
49 #define __UAPI_DEF_IN_PKTINFO 1
50 #define __UAPI_DEF_IP_MREQ 1
51 #define __UAPI_DEF_SOCKADDR_IN 1
52 #define __UAPI_DEF_IN_CLASS 1
53 #define __UAPI_DEF_IN6_ADDR 1
54 #define __UAPI_DEF_IN6_ADDR_ALT 1
55 #define __UAPI_DEF_SOCKADDR_IN6 1
56 #define __UAPI_DEF_IPV6_MREQ 1
57 #define __UAPI_DEF_IPPROTO_V6 1
58 #define __UAPI_DEF_IPV6_OPTIONS 1
59 #define __UAPI_DEF_IN6_PKTINFO 1
60 #define __UAPI_DEF_IP6_MTUINFO 1
61 #endif
62 #ifdef __NETIPX_IPX_H
63 #define __UAPI_DEF_SOCKADDR_IPX 0
64 #define __UAPI_DEF_IPX_ROUTE_DEFINITION 0
65 #define __UAPI_DEF_IPX_INTERFACE_DEFINITION 0
66 #define __UAPI_DEF_IPX_CONFIG_DATA 0
67 #define __UAPI_DEF_IPX_ROUTE_DEF 0
68 #else
69 #define __UAPI_DEF_SOCKADDR_IPX 1
70 #define __UAPI_DEF_IPX_ROUTE_DEFINITION 1
71 #define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1
72 #define __UAPI_DEF_IPX_CONFIG_DATA 1
73 #define __UAPI_DEF_IPX_ROUTE_DEF 1
74 #endif
75 #ifdef _SYS_XATTR_H
76 #define __UAPI_DEF_XATTR 0
77 #else
78 #define __UAPI_DEF_XATTR 1
79 #endif
80 #else
81 #ifndef __UAPI_DEF_IF_IFCONF
82 #define __UAPI_DEF_IF_IFCONF 1
83 #endif
84 #ifndef __UAPI_DEF_IF_IFMAP
85 #define __UAPI_DEF_IF_IFMAP 1
86 #endif
87 #ifndef __UAPI_DEF_IF_IFNAMSIZ
88 #define __UAPI_DEF_IF_IFNAMSIZ 1
89 #endif
90 #ifndef __UAPI_DEF_IF_IFREQ
91 #define __UAPI_DEF_IF_IFREQ 1
92 #endif
93 #ifndef __UAPI_DEF_IF_NET_DEVICE_FLAGS
94 #define __UAPI_DEF_IF_NET_DEVICE_FLAGS 1
95 #endif
96 #ifndef __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO
97 #define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 1
98 #endif
99 #ifndef __UAPI_DEF_IN_ADDR
100 #define __UAPI_DEF_IN_ADDR 1
101 #endif
102 #ifndef __UAPI_DEF_IN_IPPROTO
103 #define __UAPI_DEF_IN_IPPROTO 1
104 #endif
105 #ifndef __UAPI_DEF_IN_PKTINFO
106 #define __UAPI_DEF_IN_PKTINFO 1
107 #endif
108 #ifndef __UAPI_DEF_IP_MREQ
109 #define __UAPI_DEF_IP_MREQ 1
110 #endif
111 #ifndef __UAPI_DEF_SOCKADDR_IN
112 #define __UAPI_DEF_SOCKADDR_IN 1
113 #endif
114 #ifndef __UAPI_DEF_IN_CLASS
115 #define __UAPI_DEF_IN_CLASS 1
116 #endif
117 #ifndef __UAPI_DEF_IN6_ADDR
118 #define __UAPI_DEF_IN6_ADDR 1
119 #endif
120 #ifndef __UAPI_DEF_IN6_ADDR_ALT
121 #define __UAPI_DEF_IN6_ADDR_ALT 1
122 #endif
123 #ifndef __UAPI_DEF_SOCKADDR_IN6
124 #define __UAPI_DEF_SOCKADDR_IN6 1
125 #endif
126 #ifndef __UAPI_DEF_IPV6_MREQ
127 #define __UAPI_DEF_IPV6_MREQ 1
128 #endif
129 #ifndef __UAPI_DEF_IPPROTO_V6
130 #define __UAPI_DEF_IPPROTO_V6 1
131 #endif
132 #ifndef __UAPI_DEF_IPV6_OPTIONS
133 #define __UAPI_DEF_IPV6_OPTIONS 1
134 #endif
135 #ifndef __UAPI_DEF_IN6_PKTINFO
136 #define __UAPI_DEF_IN6_PKTINFO 1
137 #endif
138 #ifndef __UAPI_DEF_IP6_MTUINFO
139 #define __UAPI_DEF_IP6_MTUINFO 1
140 #endif
141 #ifndef __UAPI_DEF_SOCKADDR_IPX
142 #define __UAPI_DEF_SOCKADDR_IPX 1
143 #endif
144 #ifndef __UAPI_DEF_IPX_ROUTE_DEFINITION
145 #define __UAPI_DEF_IPX_ROUTE_DEFINITION 1
146 #endif
147 #ifndef __UAPI_DEF_IPX_INTERFACE_DEFINITION
148 #define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1
149 #endif
150 #ifndef __UAPI_DEF_IPX_CONFIG_DATA
151 #define __UAPI_DEF_IPX_CONFIG_DATA 1
152 #endif
153 #ifndef __UAPI_DEF_IPX_ROUTE_DEF
154 #define __UAPI_DEF_IPX_ROUTE_DEF 1
155 #endif
156 #ifndef __UAPI_DEF_XATTR
157 #define __UAPI_DEF_XATTR 1
158 #endif
159 #endif
160 #endif
161