Debian Codegraph @

netinet/in/in_darwin_arm64.go

raw
1 // Code generated by 'ccgo netinet/in/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netinet/in/in_darwin_arm64.go -pkgname in', DO NOT EDIT.
2
3 package in
4
5 import (
6 "math"
7 "reflect"
8 "sync/atomic"
9 "unsafe"
10 )
11
12 var _ = math.Pi
13 var _ reflect.Kind
14 var _ atomic.Value
15 var _ unsafe.Pointer
16
17 const (
18 AF_APPLETALK = 16 // socket.h:379:1:
19 AF_CCITT = 10 // socket.h:373:1:
20 AF_CHAOS = 5 // socket.h:367:1:
21 AF_CNT = 21 // socket.h:384:1:
22 AF_COIP = 20 // socket.h:383:1:
23 AF_DATAKIT = 9 // socket.h:372:1:
24 AF_DECnet = 12 // socket.h:375:1:
25 AF_DLI = 13 // socket.h:376:1:
26 AF_E164 = 28 // socket.h:391:1:
27 AF_ECMA = 8 // socket.h:371:1:
28 AF_HYLINK = 15 // socket.h:378:1:
29 AF_IEEE80211 = 37 // socket.h:403:1:
30 AF_IMPLINK = 3 // socket.h:365:1:
31 AF_INET = 2 // socket.h:363:1:
32 AF_INET6 = 30 // socket.h:394:1:
33 AF_IPX = 23 // socket.h:386:1:
34 AF_ISDN = 28 // socket.h:390:1:
35 AF_ISO = 7 // socket.h:369:1:
36 AF_LAT = 14 // socket.h:377:1:
37 AF_LINK = 18 // socket.h:381:1:
38 AF_LOCAL = 1 // socket.h:361:1:
39 AF_MAX = 41 // socket.h:406:1:
40 AF_NATM = 31 // socket.h:396:1:
41 AF_NDRV = 27 // socket.h:389:1:
42 AF_NETBIOS = 33 // socket.h:398:1:
43 AF_NS = 6 // socket.h:368:1:
44 AF_OSI = 7 // socket.h:370:1:
45 AF_PPP = 34 // socket.h:399:1:
46 AF_PUP = 4 // socket.h:366:1:
47 AF_RESERVED_36 = 36 // socket.h:402:1:
48 AF_ROUTE = 17 // socket.h:380:1:
49 AF_SIP = 24 // socket.h:387:1:
50 AF_SNA = 11 // socket.h:374:1:
51 AF_SYSTEM = 32 // socket.h:397:1:
52 AF_UNIX = 1 // socket.h:359:1:
53 AF_UNSPEC = 0 // socket.h:358:1:
54 AF_UTUN = 38 // socket.h:404:1:
55 AF_VSOCK = 40 // socket.h:405:1:
56 BIG_ENDIAN = 4321 // endian.h:72:1:
57 BYTE_ORDER = 1234 // endian.h:75:1:
58 CONNECT_DATA_AUTHENTICATED = 0x4 // socket.h:304:1:
59 CONNECT_DATA_IDEMPOTENT = 0x2 // socket.h:303:1:
60 CONNECT_RESUME_ON_READ_WRITE = 0x1 // socket.h:302:1:
61 FD_SETSIZE = 1024 // _fd_setsize.h:29:1:
62 ICMP6_FILTER = 18 // in6.h:394:1:
63 ICMPV6CTL_ND6_ONLINKNSRFC4861 = 50 // in6.h:629:1:
64 INADDR_NONE = 0xffffffff // in.h:342:1:
65 INET6_ADDRSTRLEN = 46 // in6.h:162:1:
66 INET_ADDRSTRLEN = 16 // in.h:388:1:
67 INT16_MAX = 32767 // stdint.h:599:1:
68 INT16_MIN = -32768 // stdint.h:600:1:
69 INT32_MAX = 2147483647 // stdint.h:555:1:
70 INT32_MIN = -2147483648 // stdint.h:556:1:
71 INT64_MAX = 9223372036854775807 // stdint.h:461:1:
72 INT64_MIN = -9223372036854775808 // stdint.h:462:1:
73 INT8_MAX = 127 // stdint.h:621:1:
74 INT8_MIN = -128 // stdint.h:622:1:
75 INTMAX_MAX = 9223372036854775807 // stdint.h:663:1:
76 INTMAX_MIN = -9223372036854775808 // stdint.h:662:1:
77 INTPTR_MAX = 9223372036854775807 // stdint.h:649:1:
78 INTPTR_MIN = -9223372036854775808 // stdint.h:648:1:
79 INT_FAST16_MAX = 32767 // stdint.h:615:1:
80 INT_FAST16_MIN = -32768 // stdint.h:614:1:
81 INT_FAST32_MAX = 2147483647 // stdint.h:574:1:
82 INT_FAST32_MIN = -2147483648 // stdint.h:573:1:
83 INT_FAST64_MAX = 9223372036854775807 // stdint.h:483:1:
84 INT_FAST64_MIN = -9223372036854775808 // stdint.h:482:1:
85 INT_FAST8_MAX = 127 // stdint.h:634:1:
86 INT_FAST8_MIN = -128 // stdint.h:633:1:
87 INT_LEAST16_MAX = 32767 // stdint.h:612:1:
88 INT_LEAST16_MIN = -32768 // stdint.h:611:1:
89 INT_LEAST32_MAX = 2147483647 // stdint.h:571:1:
90 INT_LEAST32_MIN = -2147483648 // stdint.h:570:1:
91 INT_LEAST64_MAX = 9223372036854775807 // stdint.h:480:1:
92 INT_LEAST64_MIN = -9223372036854775808 // stdint.h:479:1:
93 INT_LEAST8_MAX = 127 // stdint.h:631:1:
94 INT_LEAST8_MIN = -128 // stdint.h:630:1:
95 IN_CLASSA_HOST = 0x00ffffff // in.h:317:1:
96 IN_CLASSA_MAX = 128 // in.h:318:1:
97 IN_CLASSA_NET = 0xff000000 // in.h:315:1:
98 IN_CLASSA_NSHIFT = 24 // in.h:316:1:
99 IN_CLASSB_HOST = 0x0000ffff // in.h:323:1:
100 IN_CLASSB_MAX = 65536 // in.h:324:1:
101 IN_CLASSB_NET = 0xffff0000 // in.h:321:1:
102 IN_CLASSB_NSHIFT = 16 // in.h:322:1:
103 IN_CLASSC_HOST = 0x000000ff // in.h:329:1:
104 IN_CLASSC_NET = 0xffffff00 // in.h:327:1:
105 IN_CLASSC_NSHIFT = 8 // in.h:328:1:
106 IN_CLASSD_HOST = 0x0fffffff // in.h:334:1:
107 IN_CLASSD_NET = 0xf0000000 // in.h:332:1:
108 IN_CLASSD_NSHIFT = 28 // in.h:333:1:
109 IN_LOOPBACKNET = 127 // in.h:369:1:
110 IPCTL_ACCEPTSOURCEROUTE = 13 // in.h:650:1:
111 IPCTL_DEFTTL = 3 // in.h:638:1:
112 IPCTL_DIRECTEDBROADCAST = 9 // in.h:646:1:
113 IPCTL_FASTFORWARDING = 14 // in.h:651:1:
114 IPCTL_FORWARDING = 1 // in.h:636:1:
115 IPCTL_GIF_TTL = 16 // in.h:653:1:
116 IPCTL_INTRQDROPS = 11 // in.h:648:1:
117 IPCTL_INTRQMAXLEN = 10 // in.h:647:1:
118 IPCTL_KEEPFAITH = 15 // in.h:652:1:
119 IPCTL_MAXID = 17 // in.h:654:1:
120 IPCTL_RTEXPIRE = 5 // in.h:642:1:
121 IPCTL_RTMAXCACHE = 7 // in.h:644:1:
122 IPCTL_RTMINEXPIRE = 6 // in.h:643:1:
123 IPCTL_SENDREDIRECTS = 2 // in.h:637:1:
124 IPCTL_SOURCEROUTE = 8 // in.h:645:1:
125 IPCTL_STATS = 12 // in.h:649:1:
126 IPPORT_HIFIRSTAUTO = 49152 // in.h:286:1:
127 IPPORT_HILASTAUTO = 65535 // in.h:287:1:
128 IPPORT_RESERVED = 1024 // in.h:279:1:
129 IPPORT_RESERVEDSTART = 600 // in.h:295:1:
130 IPPORT_USERRESERVED = 5000 // in.h:281:1:
131 IPPROTO_3PC = 34 // in.h:139:1:
132 IPPROTO_ADFS = 68 // in.h:173:1:
133 IPPROTO_AH = 51 // in.h:158:1:
134 IPPROTO_AHIP = 61 // in.h:166:1:
135 IPPROTO_APES = 99 // in.h:204:1:
136 IPPROTO_ARGUS = 13 // in.h:116:1:
137 IPPROTO_AX25 = 93 // in.h:198:1:
138 IPPROTO_BHA = 49 // in.h:156:1:
139 IPPROTO_BLT = 30 // in.h:135:1:
140 IPPROTO_BRSATMON = 76 // in.h:181:1:
141 IPPROTO_CFTP = 62 // in.h:167:1:
142 IPPROTO_CHAOS = 16 // in.h:119:1:
143 IPPROTO_CMTP = 38 // in.h:143:1:
144 IPPROTO_CPHB = 73 // in.h:178:1:
145 IPPROTO_CPNX = 72 // in.h:177:1:
146 IPPROTO_DDP = 37 // in.h:142:1:
147 IPPROTO_DGP = 86 // in.h:191:1:
148 IPPROTO_DIVERT = 254 // in.h:213:1:
149 IPPROTO_DONE = 257 // in.h:221:1:
150 IPPROTO_DSTOPTS = 60 // in.h:165:1:
151 IPPROTO_EGP = 8 // in.h:111:1:
152 IPPROTO_EMCON = 14 // in.h:117:1:
153 IPPROTO_ENCAP = 98 // in.h:203:1:
154 IPPROTO_EON = 80 // in.h:185:1:
155 IPPROTO_ESP = 50 // in.h:157:1:
156 IPPROTO_ETHERIP = 97 // in.h:202:1:
157 IPPROTO_FRAGMENT = 44 // in.h:151:1:
158 IPPROTO_GGP = 3 // in.h:104:1:
159 IPPROTO_GMTP = 100 // in.h:205:1:
160 IPPROTO_GRE = 47 // in.h:154:1:
161 IPPROTO_HELLO = 63 // in.h:168:1:
162 IPPROTO_HMP = 20 // in.h:125:1:
163 IPPROTO_HOPOPTS = 0 // in.h:99:1:
164 IPPROTO_ICMP = 1 // in.h:101:1:
165 IPPROTO_ICMPV6 = 58 // in.h:163:1:
166 IPPROTO_IDP = 22 // in.h:127:1:
167 IPPROTO_IDPR = 35 // in.h:140:1:
168 IPPROTO_IDRP = 45 // in.h:152:1:
169 IPPROTO_IGMP = 2 // in.h:103:1:
170 IPPROTO_IGP = 85 // in.h:190:1:
171 IPPROTO_IGRP = 88 // in.h:193:1:
172 IPPROTO_IL = 40 // in.h:145:1:
173 IPPROTO_INLSP = 52 // in.h:159:1:
174 IPPROTO_INP = 32 // in.h:137:1:
175 IPPROTO_IP = 0 // in.h:97:1:
176 IPPROTO_IPCOMP = 108 // in.h:208:1:
177 IPPROTO_IPCV = 71 // in.h:176:1:
178 IPPROTO_IPEIP = 94 // in.h:199:1:
179 IPPROTO_IPIP = 4 // in.h:106:1:
180 IPPROTO_IPPC = 67 // in.h:172:1:
181 IPPROTO_IPV4 = 4 // in.h:105:1:
182 IPPROTO_IPV6 = 41 // in.h:147:1:
183 IPPROTO_IRTP = 28 // in.h:133:1:
184 IPPROTO_KRYPTOLAN = 65 // in.h:170:1:
185 IPPROTO_LARP = 91 // in.h:196:1:
186 IPPROTO_LEAF1 = 25 // in.h:130:1:
187 IPPROTO_LEAF2 = 26 // in.h:131:1:
188 IPPROTO_MAX = 256 // in.h:218:1:
189 IPPROTO_MAXID = 52 // in.h:630:1:
190 IPPROTO_MEAS = 19 // in.h:124:1:
191 IPPROTO_MHRP = 48 // in.h:155:1:
192 IPPROTO_MICP = 95 // in.h:200:1:
193 IPPROTO_MTP = 92 // in.h:197:1:
194 IPPROTO_MUX = 18 // in.h:123:1:
195 IPPROTO_ND = 77 // in.h:182:1:
196 IPPROTO_NHRP = 54 // in.h:161:1:
197 IPPROTO_NONE = 59 // in.h:164:1:
198 IPPROTO_NSP = 31 // in.h:136:1:
199 IPPROTO_NVPII = 11 // in.h:114:1:
200 IPPROTO_OSPFIGP = 89 // in.h:194:1:
201 IPPROTO_PGM = 113 // in.h:209:1:
202 IPPROTO_PIGP = 9 // in.h:112:1:
203 IPPROTO_PIM = 103 // in.h:207:1:
204 IPPROTO_PRM = 21 // in.h:126:1:
205 IPPROTO_PUP = 12 // in.h:115:1:
206 IPPROTO_PVP = 75 // in.h:180:1:
207 IPPROTO_RAW = 255 // in.h:215:1:
208 IPPROTO_RCCMON = 10 // in.h:113:1:
209 IPPROTO_RDP = 27 // in.h:132:1:
210 IPPROTO_ROUTING = 43 // in.h:150:1:
211 IPPROTO_RSVP = 46 // in.h:153:1:
212 IPPROTO_RVD = 66 // in.h:171:1:
213 IPPROTO_SATEXPAK = 64 // in.h:169:1:
214 IPPROTO_SATMON = 69 // in.h:174:1:
215 IPPROTO_SCCSP = 96 // in.h:201:1:
216 IPPROTO_SCTP = 132 // in.h:210:1:
217 IPPROTO_SDRP = 42 // in.h:149:1:
218 IPPROTO_SEP = 33 // in.h:138:1:
219 IPPROTO_SRPC = 90 // in.h:195:1:
220 IPPROTO_ST = 7 // in.h:110:1:
221 IPPROTO_SVMTP = 82 // in.h:187:1:
222 IPPROTO_SWIPE = 53 // in.h:160:1:
223 IPPROTO_TCF = 87 // in.h:192:1:
224 IPPROTO_TCP = 6 // in.h:108:1:
225 IPPROTO_TP = 29 // in.h:134:1:
226 IPPROTO_TPXX = 39 // in.h:144:1:
227 IPPROTO_TRUNK1 = 23 // in.h:128:1:
228 IPPROTO_TRUNK2 = 24 // in.h:129:1:
229 IPPROTO_TTP = 84 // in.h:189:1:
230 IPPROTO_UDP = 17 // in.h:121:1:
231 IPPROTO_VINES = 83 // in.h:188:1:
232 IPPROTO_VISA = 70 // in.h:175:1:
233 IPPROTO_VMTP = 81 // in.h:186:1:
234 IPPROTO_WBEXPAK = 79 // in.h:184:1:
235 IPPROTO_WBMON = 78 // in.h:183:1:
236 IPPROTO_WSN = 74 // in.h:179:1:
237 IPPROTO_XNET = 15 // in.h:118:1:
238 IPPROTO_XTP = 36 // in.h:141:1:
239 IPV6CTL_ACCEPT_RTADV = 12 // in6.h:594:1:
240 IPV6CTL_ADDRCTLPOLICY = 38 // in6.h:619:1:
241 IPV6CTL_AUTO_FLOWLABEL = 17 // in6.h:599:1:
242 IPV6CTL_AUTO_LINKLOCAL = 35 // in6.h:616:1:
243 IPV6CTL_DAD_COUNT = 16 // in6.h:598:1:
244 IPV6CTL_DEFHLIM = 3 // in6.h:583:1:
245 IPV6CTL_DEFMCASTHLIM = 18 // in6.h:600:1:
246 IPV6CTL_FORWARDING = 1 // in6.h:581:1:
247 IPV6CTL_FORWSRCRT = 5 // in6.h:587:1:
248 IPV6CTL_GIF_HLIM = 19 // in6.h:601:1:
249 IPV6CTL_HDRNESTLIMIT = 15 // in6.h:597:1:
250 IPV6CTL_KAME_VERSION = 20 // in6.h:602:1:
251 IPV6CTL_KEEPFAITH = 13 // in6.h:595:1:
252 IPV6CTL_LOG_INTERVAL = 14 // in6.h:596:1:
253 IPV6CTL_MAXDYNROUTES = 49 // in6.h:628:1:
254 IPV6CTL_MAXFRAGPACKETS = 9 // in6.h:591:1:
255 IPV6CTL_MAXFRAGS = 41 // in6.h:622:1:
256 IPV6CTL_MAXID = 51 // in6.h:635:1:
257 IPV6CTL_MAXIFDEFROUTERS = 48 // in6.h:627:1:
258 IPV6CTL_MAXIFPREFIXES = 47 // in6.h:626:1:
259 IPV6CTL_MCAST_PMTU = 44 // in6.h:623:1:
260 IPV6CTL_MRTPROTO = 8 // in6.h:590:1:
261 IPV6CTL_MRTSTATS = 7 // in6.h:589:1:
262 IPV6CTL_NEIGHBORGCTHRESH = 46 // in6.h:625:1:
263 IPV6CTL_PREFER_TEMPADDR = 37 // in6.h:618:1:
264 IPV6CTL_RIP6STATS = 36 // in6.h:617:1:
265 IPV6CTL_RR_PRUNE = 22 // in6.h:604:1:
266 IPV6CTL_RTEXPIRE = 25 // in6.h:609:1:
267 IPV6CTL_RTMAXCACHE = 27 // in6.h:611:1:
268 IPV6CTL_RTMINEXPIRE = 26 // in6.h:610:1:
269 IPV6CTL_SENDREDIRECTS = 2 // in6.h:582:1:
270 IPV6CTL_SOURCECHECK = 10 // in6.h:592:1:
271 IPV6CTL_SOURCECHECK_LOGINT = 11 // in6.h:593:1:
272 IPV6CTL_STATS = 6 // in6.h:588:1:
273 IPV6CTL_TEMPPLTIME = 33 // in6.h:614:1:
274 IPV6CTL_TEMPVLTIME = 34 // in6.h:615:1:
275 IPV6CTL_ULA_USETEMPADDR = 51 // in6.h:630:1:
276 IPV6CTL_USETEMPADDR = 32 // in6.h:613:1:
277 IPV6CTL_USE_DEFAULTZONE = 39 // in6.h:620:1:
278 IPV6CTL_USE_DEPRECATED = 21 // in6.h:603:1:
279 IPV6CTL_V6ONLY = 24 // in6.h:608:1:
280 IPV6PORT_ANONMAX = 65535 // in6.h:144:1:
281 IPV6PORT_ANONMIN = 49152 // in6.h:143:1:
282 IPV6PORT_RESERVED = 1024 // in6.h:142:1:
283 IPV6PORT_RESERVEDMAX = 1023 // in6.h:146:1:
284 IPV6PORT_RESERVEDMIN = 600 // in6.h:145:1:
285 IPV6PROTO_MAXID = 104 // in6.h:576:1:
286 IPV6_2292DSTOPTS = 23 // in6.h:399:1:
287 IPV6_2292HOPLIMIT = 20 // in6.h:396:1:
288 IPV6_2292HOPOPTS = 22 // in6.h:398:1:
289 IPV6_2292NEXTHOP = 21 // in6.h:397:1:
290 IPV6_2292PKTINFO = 19 // in6.h:395:1:
291 IPV6_2292PKTOPTIONS = 25 // in6.h:403:1:
292 IPV6_2292RTHDR = 24 // in6.h:400:1:
293 IPV6_ADDR_MC_FLAGS_PREFIX = 0x20 // in6.h:306:1:
294 IPV6_ADDR_MC_FLAGS_TRANSIENT = 0x10 // in6.h:305:1:
295 IPV6_ADDR_MC_FLAGS_UNICAST_BASED = 48 // in6.h:307:1:
296 IPV6_BINDV6ONLY = 27 // in6.h:419:1:
297 IPV6_BOUND_IF = 125 // in6.h:508:1:
298 IPV6_CHECKSUM = 26 // in6.h:415:1:
299 IPV6_DEFAULT_MULTICAST_HOPS = 1 // in6.h:520:1:
300 IPV6_DEFAULT_MULTICAST_LOOP = 1 // in6.h:521:1:
301 IPV6_FAITH = 29 // in6.h:425:1:
302 IPV6_FW_ADD = 30 // in6.h:428:1:
303 IPV6_FW_DEL = 31 // in6.h:429:1:
304 IPV6_FW_FLUSH = 32 // in6.h:430:1:
305 IPV6_FW_GET = 34 // in6.h:432:1:
306 IPV6_FW_ZERO = 33 // in6.h:431:1:
307 IPV6_IPSEC_POLICY = 28 // in6.h:423:1:
308 IPV6_JOIN_GROUP = 12 // in6.h:389:1:
309 IPV6_LEAVE_GROUP = 13 // in6.h:390:1:
310 IPV6_MAX_GROUP_SRC_FILTER = 512 // in6.h:535:1:
311 IPV6_MAX_MEMBERSHIPS = 4095 // in6.h:529:1:
312 IPV6_MAX_SOCK_SRC_FILTER = 128 // in6.h:536:1:
313 IPV6_MIN_MEMBERSHIPS = 31 // in6.h:528:1:
314 IPV6_MULTICAST_HOPS = 10 // in6.h:387:1:
315 IPV6_MULTICAST_IF = 9 // in6.h:386:1:
316 IPV6_MULTICAST_LOOP = 11 // in6.h:388:1:
317 IPV6_PORTRANGE = 14 // in6.h:393:1:
318 IPV6_PORTRANGE_DEFAULT = 0 // in6.h:566:1:
319 IPV6_PORTRANGE_HIGH = 1 // in6.h:567:1:
320 IPV6_PORTRANGE_LOW = 2 // in6.h:568:1:
321 IPV6_RECVTCLASS = 35 // in6.h:440:1:
322 IPV6_RTHDR_LOOSE = 0 // in6.h:513:1:
323 IPV6_RTHDR_STRICT = 1 // in6.h:514:1:
324 IPV6_RTHDR_TYPE_0 = 0 // in6.h:515:1:
325 IPV6_SOCKOPT_RESERVED1 = 3 // in6.h:383:1:
326 IPV6_TCLASS = 36 // in6.h:441:1:
327 IPV6_UNICAST_HOPS = 4 // in6.h:385:1:
328 IPV6_V6ONLY = 27 // in6.h:417:1:
329 IP_ADD_MEMBERSHIP = 12 // in.h:418:1:
330 IP_ADD_SOURCE_MEMBERSHIP = 70 // in.h:465:1:
331 IP_BLOCK_SOURCE = 72 // in.h:467:1:
332 IP_BOUND_IF = 25 // in.h:434:1:
333 IP_DEFAULT_MULTICAST_LOOP = 1 // in.h:486:1:
334 IP_DEFAULT_MULTICAST_TTL = 1 // in.h:485:1:
335 IP_DONTFRAG = 28 // in.h:438:1:
336 IP_DROP_MEMBERSHIP = 13 // in.h:419:1:
337 IP_DROP_SOURCE_MEMBERSHIP = 71 // in.h:466:1:
338 IP_DUMMYNET_CONFIGURE = 60 // in.h:456:1:
339 IP_DUMMYNET_DEL = 61 // in.h:457:1:
340 IP_DUMMYNET_FLUSH = 62 // in.h:458:1:
341 IP_DUMMYNET_GET = 64 // in.h:459:1:
342 IP_FAITH = 22 // in.h:429:1:
343 IP_FW_ADD = 40 // in.h:440:1:
344 IP_FW_DEL = 41 // in.h:441:1:
345 IP_FW_FLUSH = 42 // in.h:442:1:
346 IP_FW_GET = 44 // in.h:444:1:
347 IP_FW_RESETLOG = 45 // in.h:445:1:
348 IP_FW_ZERO = 43 // in.h:443:1:
349 IP_HDRINCL = 2 // in.h:408:1:
350 IP_IPSEC_POLICY = 21 // in.h:428:1:
351 IP_MAX_GROUP_SRC_FILTER = 512 // in.h:500:1:
352 IP_MAX_MEMBERSHIPS = 4095 // in.h:494:1:
353 IP_MAX_SOCK_MUTE_FILTER = 128 // in.h:502:1:
354 IP_MAX_SOCK_SRC_FILTER = 128 // in.h:501:1:
355 IP_MIN_MEMBERSHIPS = 31 // in.h:493:1:
356 IP_MSFILTER = 74 // in.h:471:1:
357 IP_MULTICAST_IF = 9 // in.h:415:1:
358 IP_MULTICAST_IFINDEX = 66 // in.h:462:1:
359 IP_MULTICAST_LOOP = 11 // in.h:417:1:
360 IP_MULTICAST_TTL = 10 // in.h:416:1:
361 IP_MULTICAST_VIF = 14 // in.h:420:1:
362 IP_NAT__XXX = 55 // in.h:453:1:
363 IP_OLD_FW_ADD = 50 // in.h:448:1:
364 IP_OLD_FW_DEL = 51 // in.h:449:1:
365 IP_OLD_FW_FLUSH = 52 // in.h:450:1:
366 IP_OLD_FW_GET = 54 // in.h:452:1:
367 IP_OLD_FW_RESETLOG = 56 // in.h:454:1:
368 IP_OLD_FW_ZERO = 53 // in.h:451:1:
369 IP_OPTIONS = 1 // in.h:407:1:
370 IP_PKTINFO = 26 // in.h:435:1:
371 IP_PORTRANGE = 19 // in.h:425:1:
372 IP_PORTRANGE_DEFAULT = 0 // in.h:594:1:
373 IP_PORTRANGE_HIGH = 1 // in.h:595:1:
374 IP_PORTRANGE_LOW = 2 // in.h:596:1:
375 IP_RECVDSTADDR = 7 // in.h:413:1:
376 IP_RECVIF = 20 // in.h:426:1:
377 IP_RECVOPTS = 5 // in.h:411:1:
378 IP_RECVPKTINFO = 26 // in.h:436:1:
379 IP_RECVRETOPTS = 6 // in.h:412:1:
380 IP_RECVTOS = 27 // in.h:437:1:
381 IP_RECVTTL = 24 // in.h:433:1:
382 IP_RETOPTS = 8 // in.h:414:1:
383 IP_RSVP_OFF = 16 // in.h:422:1:
384 IP_RSVP_ON = 15 // in.h:421:1:
385 IP_RSVP_VIF_OFF = 18 // in.h:424:1:
386 IP_RSVP_VIF_ON = 17 // in.h:423:1:
387 IP_STRIPHDR = 23 // in.h:431:1:
388 IP_TOS = 3 // in.h:409:1:
389 IP_TRAFFIC_MGT_BACKGROUND = 65 // in.h:461:1:
390 IP_TTL = 4 // in.h:410:1:
391 IP_UNBLOCK_SOURCE = 73 // in.h:468:1:
392 KEV_DL_ADDMULTI = 7 // net_kev.h:61:1:
393 KEV_DL_AWDL_RESTRICTED = 26 // net_kev.h:80:1:
394 KEV_DL_AWDL_UNRESTRICTED = 27 // net_kev.h:81:1:
395 KEV_DL_DELMULTI = 8 // net_kev.h:62:1:
396 KEV_DL_IFCAP_CHANGED = 19 // net_kev.h:73:1:
397 KEV_DL_IFDELEGATE_CHANGED = 25 // net_kev.h:79:1:
398 KEV_DL_IF_ATTACHED = 9 // net_kev.h:63:1:
399 KEV_DL_IF_DETACHED = 11 // net_kev.h:65:1:
400 KEV_DL_IF_DETACHING = 10 // net_kev.h:64:1:
401 KEV_DL_IF_IDLE_ROUTE_REFCNT = 18 // net_kev.h:72:1:
402 KEV_DL_ISSUES = 24 // net_kev.h:78:1:
403 KEV_DL_LINK_ADDRESS_CHANGED = 16 // net_kev.h:70:1:
404 KEV_DL_LINK_OFF = 12 // net_kev.h:66:1:
405 KEV_DL_LINK_ON = 13 // net_kev.h:67:1:
406 KEV_DL_LINK_QUALITY_METRIC_CHANGED = 20 // net_kev.h:74:1:
407 KEV_DL_LOW_POWER_MODE_CHANGED = 30 // net_kev.h:84:1:
408 KEV_DL_NODE_ABSENCE = 22 // net_kev.h:76:1:
409 KEV_DL_NODE_PRESENCE = 21 // net_kev.h:75:1:
410 KEV_DL_PRIMARY_ELECTED = 23 // net_kev.h:77:1:
411 KEV_DL_PROTO_ATTACHED = 14 // net_kev.h:68:1:
412 KEV_DL_PROTO_DETACHED = 15 // net_kev.h:69:1:
413 KEV_DL_QOS_MODE_CHANGED = 29 // net_kev.h:83:1:
414 KEV_DL_RRC_STATE_CHANGED = 28 // net_kev.h:82:1:
415 KEV_DL_SIFFLAGS = 1 // net_kev.h:55:1:
416 KEV_DL_SIFGENERIC = 6 // net_kev.h:60:1:
417 KEV_DL_SIFMEDIA = 5 // net_kev.h:59:1:
418 KEV_DL_SIFMETRICS = 2 // net_kev.h:56:1:
419 KEV_DL_SIFMTU = 3 // net_kev.h:57:1:
420 KEV_DL_SIFPHYS = 4 // net_kev.h:58:1:
421 KEV_DL_SUBCLASS = 2 // net_kev.h:50:1:
422 KEV_DL_WAKEFLAGS_CHANGED = 17 // net_kev.h:71:1:
423 KEV_INET6_ADDR_DELETED = 3 // net_kev.h:93:1:
424 KEV_INET6_CHANGED_ADDR = 2 // net_kev.h:92:1:
425 KEV_INET6_DEFROUTER = 6 // net_kev.h:96:1:
426 KEV_INET6_NEW_LL_ADDR = 4 // net_kev.h:94:1:
427 KEV_INET6_NEW_RTADV_ADDR = 5 // net_kev.h:95:1:
428 KEV_INET6_NEW_USER_ADDR = 1 // net_kev.h:91:1:
429 KEV_INET6_REQUEST_NAT64_PREFIX = 7 // net_kev.h:97:1:
430 KEV_INET6_SUBCLASS = 6 // net_kev.h:89:1:
431 KEV_INET_ADDR_DELETED = 3 // net_kev.h:39:1:
432 KEV_INET_ARPCOLLISION = 7 // net_kev.h:43:1:
433 KEV_INET_ARPRTRALIVE = 10 // net_kev.h:48:1:
434 KEV_INET_ARPRTRFAILURE = 9 // net_kev.h:47:1:
435 KEV_INET_CHANGED_ADDR = 2 // net_kev.h:38:1:
436 KEV_INET_NEW_ADDR = 1 // net_kev.h:37:1:
437 KEV_INET_PORTINUSE = 8 // net_kev.h:45:1:
438 KEV_INET_SIFBRDADDR = 5 // net_kev.h:41:1:
439 KEV_INET_SIFDSTADDR = 4 // net_kev.h:40:1:
440 KEV_INET_SIFNETMASK = 6 // net_kev.h:42:1:
441 KEV_INET_SUBCLASS = 1 // net_kev.h:35:1:
442 LITTLE_ENDIAN = 1234 // endian.h:71:1:
443 MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1:
444 MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1:
445 MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1:
446 MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1:
447 MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1:
448 MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1:
449 MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1:
450 MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1:
451 MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1:
452 MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1:
453 MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1:
454 MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1:
455 MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1:
456 MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1:
457 MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1:
458 MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1:
459 MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1:
460 MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1:
461 MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1:
462 MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1:
463 MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1:
464 MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1:
465 MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1:
466 MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1:
467 MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1:
468 MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1:
469 MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1:
470 MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1:
471 MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1:
472 MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1:
473 MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1:
474 MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1:
475 MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1:
476 MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1:
477 MCAST_BLOCK_SOURCE = 84 // in.h:478:1:
478 MCAST_EXCLUDE = 2 // in.h:588:1:
479 MCAST_INCLUDE = 1 // in.h:587:1:
480 MCAST_JOIN_GROUP = 80 // in.h:474:1:
481 MCAST_JOIN_SOURCE_GROUP = 82 // in.h:476:1:
482 MCAST_LEAVE_GROUP = 81 // in.h:475:1:
483 MCAST_LEAVE_SOURCE_GROUP = 83 // in.h:477:1:
484 MCAST_UNBLOCK_SOURCE = 85 // in.h:479:1:
485 MCAST_UNDEFINED = 0 // in.h:586:1:
486 MSG_CTRUNC = 0x20 // socket.h:569:1:
487 MSG_DONTROUTE = 0x4 // socket.h:566:1:
488 MSG_DONTWAIT = 0x80 // socket.h:572:1:
489 MSG_EOF = 0x100 // socket.h:573:1:
490 MSG_EOR = 0x8 // socket.h:567:1:
491 MSG_FLUSH = 0x400 // socket.h:578:1:
492 MSG_HAVEMORE = 0x2000 // socket.h:581:1:
493 MSG_HOLD = 0x800 // socket.h:579:1:
494 MSG_NEEDSA = 0x10000 // socket.h:584:1:
495 MSG_NOSIGNAL = 0x80000 // socket.h:588:1:
496 MSG_OOB = 0x1 // socket.h:564:1:
497 MSG_PEEK = 0x2 // socket.h:565:1:
498 MSG_RCVMORE = 0x4000 // socket.h:582:1:
499 MSG_SEND = 0x1000 // socket.h:580:1:
500 MSG_TRUNC = 0x10 // socket.h:568:1:
501 MSG_WAITALL = 0x40 // socket.h:570:1:
502 MSG_WAITSTREAM = 0x200 // socket.h:576:1:
503 NBBY = 8 // types.h:186:1:
504 NETSVC_MRKNG_LVL_L2 = 1 // socket.h:287:1:
505 NETSVC_MRKNG_LVL_L3L2_ALL = 2 // socket.h:288:1:
506 NETSVC_MRKNG_LVL_L3L2_BK = 3 // socket.h:289:1:
507 NETSVC_MRKNG_UNKNOWN = 0 // socket.h:286:1:
508 NET_MAXID = 41 // socket.h:512:1:
509 NET_RT_DUMP = 1 // socket.h:525:1:
510 NET_RT_DUMP2 = 7 // socket.h:531:1:
511 NET_RT_FLAGS = 2 // socket.h:526:1:
512 NET_RT_FLAGS_PRIV = 10 // socket.h:536:1:
513 NET_RT_IFLIST = 3 // socket.h:527:1:
514 NET_RT_IFLIST2 = 6 // socket.h:530:1:
515 NET_RT_MAXID = 11 // socket.h:537:1:
516 NET_RT_STAT = 4 // socket.h:528:1:
517 NET_RT_TRASH = 5 // socket.h:529:1:
518 NET_SERVICE_TYPE_AV = 6 // socket.h:280:1:
519 NET_SERVICE_TYPE_BE = 0 // socket.h:274:1:
520 NET_SERVICE_TYPE_BK = 1 // socket.h:275:1:
521 NET_SERVICE_TYPE_OAM = 7 // socket.h:281:1:
522 NET_SERVICE_TYPE_RD = 8 // socket.h:282:1:
523 NET_SERVICE_TYPE_RV = 5 // socket.h:279:1:
524 NET_SERVICE_TYPE_SIG = 2 // socket.h:276:1:
525 NET_SERVICE_TYPE_VI = 3 // socket.h:277:1:
526 NET_SERVICE_TYPE_VO = 4 // socket.h:278:1:
527 PDP_ENDIAN = 3412 // endian.h:73:1:
528 PF_APPLETALK = 16 // socket.h:474:1:
529 PF_CCITT = 10 // socket.h:468:1:
530 PF_CHAOS = 5 // socket.h:462:1:
531 PF_CNT = 21 // socket.h:479:1:
532 PF_COIP = 20 // socket.h:478:1:
533 PF_DATAKIT = 9 // socket.h:467:1:
534 PF_DECnet = 12 // socket.h:470:1:
535 PF_DLI = 13 // socket.h:471:1:
536 PF_ECMA = 8 // socket.h:466:1:
537 PF_HYLINK = 15 // socket.h:473:1:
538 PF_IMPLINK = 3 // socket.h:460:1:
539 PF_INET = 2 // socket.h:459:1:
540 PF_INET6 = 30 // socket.h:487:1:
541 PF_IPX = 23 // socket.h:481:1:
542 PF_ISDN = 28 // socket.h:485:1:
543 PF_ISO = 7 // socket.h:464:1:
544 PF_KEY = 29 // socket.h:486:1:
545 PF_LAT = 14 // socket.h:472:1:
546 PF_LINK = 18 // socket.h:476:1:
547 PF_LOCAL = 1 // socket.h:457:1:
548 PF_MAX = 41 // socket.h:495:1:
549 PF_NATM = 31 // socket.h:488:1:
550 PF_NDRV = 27 // socket.h:484:1:
551 PF_NETBIOS = 33 // socket.h:490:1:
552 PF_NS = 6 // socket.h:463:1:
553 PF_OSI = 7 // socket.h:465:1:
554 PF_PIP = 25 // socket.h:483:1:
555 PF_PPP = 34 // socket.h:491:1:
556 PF_PUP = 4 // socket.h:461:1:
557 PF_RESERVED_36 = 36 // socket.h:492:1:
558 PF_ROUTE = 17 // socket.h:475:1:
559 PF_RTIP = 22 // socket.h:482:1:
560 PF_SIP = 24 // socket.h:480:1:
561 PF_SNA = 11 // socket.h:469:1:
562 PF_SYSTEM = 32 // socket.h:489:1:
563 PF_UNIX = 1 // socket.h:458:1:
564 PF_UNSPEC = 0 // socket.h:456:1:
565 PF_UTUN = 38 // socket.h:493:1:
566 PF_VSOCK = 40 // socket.h:494:1:
567 PF_XTP = 19 // socket.h:477:1:
568 PTRDIFF_MAX = 9223372036854775807 // stdint.h:652:1:
569 PTRDIFF_MIN = -9223372036854775808 // stdint.h:651:1:
570 SAE_ASSOCID_ANY = 0 // socket.h:294:1:
571 SAE_CONNID_ANY = 0 // socket.h:298:1:
572 SCM_CREDS = 0x03 // socket.h:674:1:
573 SCM_RIGHTS = 0x01 // socket.h:671:1:
574 SCM_TIMESTAMP = 0x02 // socket.h:673:1:
575 SCM_TIMESTAMP_MONOTONIC = 0x04 // socket.h:675:1:
576 SHUT_RD = 0 // socket.h:683:1:
577 SHUT_RDWR = 2 // socket.h:685:1:
578 SHUT_WR = 1 // socket.h:684:1:
579 SIG_ATOMIC_MAX = 2147483647 // stdint.h:668:1:
580 SIG_ATOMIC_MIN = -2147483648 // stdint.h:667:1:
581 SIN6_LEN = 0 // in6.h:168:1:
582 SIZE_MAX = 18446744073709551615 // stdint.h:653:1:
583 SOCK_DGRAM = 2 // socket.h:113:1:
584 SOCK_MAXADDRLEN = 255 // socket.h:419:1:
585 SOCK_RAW = 3 // socket.h:114:1:
586 SOCK_RDM = 4 // socket.h:116:1:
587 SOCK_SEQPACKET = 5 // socket.h:118:1:
588 SOCK_STREAM = 1 // socket.h:112:1:
589 SOL_SOCKET = 0xffff // socket.h:352:1:
590 SOMAXCONN = 128 // socket.h:546:1:
591 SONPX_SETOPTSHUT = 0x000000001 // socket.h:342:1:
592 SO_ACCEPTCONN = 0x0002 // socket.h:124:1:
593 SO_BROADCAST = 0x0020 // socket.h:128:1:
594 SO_DEBUG = 0x0001 // socket.h:123:1:
595 SO_DONTROUTE = 0x0010 // socket.h:127:1:
596 SO_DONTTRUNC = 0x2000 // socket.h:143:1:
597 SO_ERROR = 0x1007 // socket.h:161:1:
598 SO_KEEPALIVE = 0x0008 // socket.h:126:1:
599 SO_LABEL = 0x1010 // socket.h:164:1:
600 SO_LINGER = 0x0080 // socket.h:131:1:
601 SO_LINGER_SEC = 0x1080 // socket.h:177:1:
602 SO_NETSVC_MARKING_LEVEL = 0x1119 // socket.h:186:1:
603 SO_NET_SERVICE_TYPE = 0x1116 // socket.h:183:1:
604 SO_NKE = 0x1021 // socket.h:168:1:
605 SO_NOADDRERR = 0x1023 // socket.h:170:1:
606 SO_NOSIGPIPE = 0x1022 // socket.h:169:1:
607 SO_NOTIFYCONFLICT = 0x1026 // socket.h:174:1:
608 SO_NP_EXTENSIONS = 0x1083 // socket.h:179:1:
609 SO_NREAD = 0x1020 // socket.h:167:1:
610 SO_NUMRCVPKT = 0x1112 // socket.h:182:1:
611 SO_NWRITE = 0x1024 // socket.h:171:1:
612 SO_OOBINLINE = 0x0100 // socket.h:135:1:
613 SO_PEERLABEL = 0x1011 // socket.h:165:1:
614 SO_RANDOMPORT = 0x1082 // socket.h:178:1:
615 SO_RCVBUF = 0x1002 // socket.h:156:1:
616 SO_RCVLOWAT = 0x1004 // socket.h:158:1:
617 SO_RCVTIMEO = 0x1006 // socket.h:160:1:
618 SO_REUSEADDR = 0x0004 // socket.h:125:1:
619 SO_REUSEPORT = 0x0200 // socket.h:137:1:
620 SO_REUSESHAREUID = 0x1025 // socket.h:172:1:
621 SO_SNDBUF = 0x1001 // socket.h:155:1:
622 SO_SNDLOWAT = 0x1003 // socket.h:157:1:
623 SO_SNDTIMEO = 0x1005 // socket.h:159:1:
624 SO_TIMESTAMP = 0x0400 // socket.h:138:1:
625 SO_TIMESTAMP_MONOTONIC = 0x0800 // socket.h:139:1:
626 SO_TYPE = 0x1008 // socket.h:162:1:
627 SO_UPCALLCLOSEWAIT = 0x1027 // socket.h:175:1:
628 SO_USELOOPBACK = 0x0040 // socket.h:130:1:
629 SO_WANTMORE = 0x4000 // socket.h:145:1:
630 SO_WANTOOBFLAG = 0x8000 // socket.h:146:1:
631 UINT16_MAX = 65535 // stdint.h:601:1:
632 UINT32_MAX = 4294967295 // stdint.h:557:1:
633 UINT64_MAX = 18446744073709551615 // stdint.h:463:1:
634 UINT8_MAX = 255 // stdint.h:623:1:
635 UINTMAX_MAX = 18446744073709551615 // stdint.h:664:1:
636 UINTPTR_MAX = 18446744073709551615 // stdint.h:650:1:
637 UINT_FAST16_MAX = 65535 // stdint.h:616:1:
638 UINT_FAST32_MAX = 4294967295 // stdint.h:575:1:
639 UINT_FAST64_MAX = 18446744073709551615 // stdint.h:484:1:
640 UINT_FAST8_MAX = 255 // stdint.h:635:1:
641 UINT_LEAST16_MAX = 65535 // stdint.h:613:1:
642 UINT_LEAST32_MAX = 4294967295 // stdint.h:572:1:
643 UINT_LEAST64_MAX = 18446744073709551615 // stdint.h:481:1:
644 UINT_LEAST8_MAX = 255 // stdint.h:632:1:
645 WCHAR_MAX = 2147483647 // stdint.h:678:1:
646 WCHAR_MIN = -2147483648 // stdint.h:682:1:
647 WINT_MAX = 2147483647 // stdint.h:674:1:
648 WINT_MIN = -2147483648 // stdint.h:673:1:
649 X_ARM_ARCH_H = 0 // arch.h:29:1:
650 X_ARM_MACHTYPES_H_ = 0 // types.h:43:1:
651 X_ARM__ENDIAN_H_ = 0 // endian.h:43:1:
652 X_ARM__PARAM_H_ = 0 // _param.h:6:1:
653 X_BLKCNT_T = 0 // _blkcnt_t.h:29:1:
654 X_BLKSIZE_T = 0 // _blksize_t.h:29:1:
655 X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1:
656 X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1:
657 X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
658 X_BSD_MACHINE__PARAM_H_ = 0 // _param.h:29:1:
659 X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
660 X_CADDR_T = 0 // _caddr_t.h:29:1:
661 X_CDEFS_H_ = 0 // cdefs.h:68:1:
662 X_CLOCK_T = 0 // _clock_t.h:29:1:
663 X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1:
664 X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1:
665 X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1:
666 X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1:
667 X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1:
668 X_DEV_T = 0 // _dev_t.h:29:1:
669 X_ERRNO_T = 0 // _errno_t.h:29:1:
670 X_FD_SET = 0 // _fd_def.h:29:1:
671 X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
672 X_FSBLKCNT_T = 0 // _fsblkcnt_t.h:29:1:
673 X_FSFILCNT_T = 0 // _fsfilcnt_t.h:29:1:
674 X_GID_T = 0 // _gid_t.h:29:1:
675 X_ID_T = 0 // _id_t.h:29:1:
676 X_INO64_T = 0 // _ino64_t.h:29:1:
677 X_INO_T = 0 // _ino_t.h:29:1:
678 X_INT16_T = 0 // _int16_t.h:29:1:
679 X_INT32_T = 0 // _int32_t.h:29:1:
680 X_INT64_T = 0 // _int64_t.h:29:1:
681 X_INT8_T = 0 // _int8_t.h:29:1:
682 X_INTPTR_T = 0 // stdint.h:251:1:
683 X_IN_ADDR_T = 0 // _in_addr_t.h:29:1:
684 X_IN_PORT_T = 0 // _in_port_t.h:29:1:
685 X_KEY_T = 0 // _key_t.h:29:1:
686 X_LP64 = 1 // <predefined>:1:1:
687 X_MACHTYPES_H_ = 0 // types.h:44:1:
688 X_MODE_T = 0 // _mode_t.h:29:1:
689 X_NETINET6_IN6_H_ = 0 // in6.h:99:1:
690 X_NETINET_IN_H_ = 0 // in.h:65:1:
691 X_NET_NETKEV_H_ = 0 // net_kev.h:30:1:
692 X_NLINK_T = 0 // _nlink_t.h:29:1:
693 X_Nonnull = 0 // cdefs.h:268:1:
694 X_Null_unspecified = 0 // cdefs.h:271:1:
695 X_Nullable = 0 // cdefs.h:265:1:
696 X_OFF_T = 0 // _off_t.h:29:1:
697 X_OS_OSBYTEORDERARM_H = 0 // OSByteOrder.h:6:1:
698 X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1:
699 X_PID_T = 0 // _pid_t.h:29:1:
700 X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1:
701 X_PTHREAD_CONDATTR_T = 0 // _pthread_condattr_t.h:29:1:
702 X_PTHREAD_COND_T = 0 // _pthread_cond_t.h:29:1:
703 X_PTHREAD_KEY_T = 0 // _pthread_key_t.h:29:1:
704 X_PTHREAD_MUTEXATTR_T = 0 // _pthread_mutexattr_t.h:29:1:
705 X_PTHREAD_MUTEX_T = 0 // _pthread_mutex_t.h:29:1:
706 X_PTHREAD_ONCE_T = 0 // _pthread_once_t.h:29:1:
707 X_PTHREAD_RWLOCKATTR_T = 0 // _pthread_rwlockattr_t.h:29:1:
708 X_PTHREAD_RWLOCK_T = 0 // _pthread_rwlock_t.h:29:1:
709 X_PTHREAD_T = 0 // _pthread_t.h:29:1:
710 X_QUAD_HIGHWORD = 1 // endian.h:56:1:
711 X_QUAD_LOWWORD = 0 // endian.h:57:1:
712 X_RSIZE_T = 0 // _rsize_t.h:29:1:
713 X_SA_FAMILY_T = 0 // _sa_family_t.h:29:1:
714 X_SIZE_T = 0 // _size_t.h:29:1:
715 X_SOCKLEN_T = 0 // _socklen_t.h:29:1:
716 X_SSIZE_T = 0 // _ssize_t.h:29:1:
717 X_SS_MAXSIZE = 128 // socket.h:434:1:
718 X_STRUCT_IOVEC = 0 // _iovec_t.h:29:1:
719 X_SUSECONDS_T = 0 // _suseconds_t.h:29:1:
720 X_SYS_SOCKET_H_ = 0 // socket.h:73:1:
721 X_SYS_TYPES_H_ = 0 // types.h:70:1:
722 X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1:
723 X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
724 X_SYS__TYPES_H_ = 0 // _types.h:30:1:
725 X_TIME_T = 0 // _time_t.h:29:1:
726 X_UID_T = 0 // _uid_t.h:29:1:
727 X_UINTPTR_T = 0 // stdint.h:257:1:
728 X_USECONDS_T = 0 // _useconds_t.h:29:1:
729 X_U_CHAR = 0 // _u_char.h:29:1:
730 X_U_INT = 0 // _u_int.h:29:1:
731 X_U_INT16_T = 0 // _u_int16_t.h:29:1:
732 X_U_INT32_T = 0 // _u_int32_t.h:29:1:
733 X_U_INT64_T = 0 // _u_int64_t.h:29:1:
734 X_U_INT8_T = 0 // _u_int8_t.h:29:1:
735 X_U_LONG = 0 // types.h:89:1:
736 X_U_SHORT = 0 // _u_short.h:29:1:
737 Pseudo_AF_HDRCMPLT = 35 // socket.h:400:1:
738 Pseudo_AF_KEY = 29 // socket.h:392:1:
739 Pseudo_AF_PIP = 25 // socket.h:388:1:
740 Pseudo_AF_RTIP = 22 // socket.h:385:1:
741 Pseudo_AF_XTP = 19 // socket.h:382:1:
742 )
743
744 type Ptrdiff_t = int64 /* <builtin>:3:26 */
745
746 type Size_t = uint64 /* <builtin>:9:23 */
747
748 type Wchar_t = int32 /* <builtin>:15:24 */
749
750 type X__int128_t = struct {
751 Flo int64
752 Fhi int64
753 } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
754 type X__uint128_t = struct {
755 Flo uint64
756 Fhi uint64
757 } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
758
759 type X__builtin_va_list = uintptr /* <builtin>:46:14 */
760 type X__float128 = float64 /* <builtin>:47:21 */
761
762 var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
763
764 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
765 //
766 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
767 //
768 // This file contains Original Code and/or Modifications of Original Code
769 // as defined in and that are subject to the Apple Public Source License
770 // Version 2.0 (the 'License'). You may not use this file except in
771 // compliance with the License. The rights granted to you under the License
772 // may not be used to create, or enable the creation or redistribution of,
773 // unlawful or unlicensed copies of an Apple operating system, or to
774 // circumvent, violate, or enable the circumvention or violation of, any
775 // terms of an Apple operating system software license agreement.
776 //
777 // Please obtain a copy of the License at
778 // http://www.opensource.apple.com/apsl/ and read it before using this file.
779 //
780 // The Original Code and all software distributed under the License are
781 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
782 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
783 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
784 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
785 // Please see the License for the specific language governing rights and
786 // limitations under the License.
787 //
788 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
789 // Copyright (c) 1982, 1986, 1990, 1993
790 // The Regents of the University of California. All rights reserved.
791 //
792 // Redistribution and use in source and binary forms, with or without
793 // modification, are permitted provided that the following conditions
794 // are met:
795 // 1. Redistributions of source code must retain the above copyright
796 // notice, this list of conditions and the following disclaimer.
797 // 2. Redistributions in binary form must reproduce the above copyright
798 // notice, this list of conditions and the following disclaimer in the
799 // documentation and/or other materials provided with the distribution.
800 // 3. All advertising materials mentioning features or use of this software
801 // must display the following acknowledgement:
802 // This product includes software developed by the University of
803 // California, Berkeley and its contributors.
804 // 4. Neither the name of the University nor the names of its contributors
805 // may be used to endorse or promote products derived from this software
806 // without specific prior written permission.
807 //
808 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
809 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
810 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
811 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
812 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
813 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
814 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
815 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
816 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
817 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
818 // SUCH DAMAGE.
819 //
820 // @(#)in.h 8.3 (Berkeley) 1/3/94
821 // $FreeBSD: src/sys/netinet/in.h,v 1.48.2.2 2001/04/21 14:53:06 ume Exp $
822
823 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
824 //
825 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
826 //
827 // This file contains Original Code and/or Modifications of Original Code
828 // as defined in and that are subject to the Apple Public Source License
829 // Version 2.0 (the 'License'). You may not use this file except in
830 // compliance with the License. The rights granted to you under the License
831 // may not be used to create, or enable the creation or redistribution of,
832 // unlawful or unlicensed copies of an Apple operating system, or to
833 // circumvent, violate, or enable the circumvention or violation of, any
834 // terms of an Apple operating system software license agreement.
835 //
836 // Please obtain a copy of the License at
837 // http://www.opensource.apple.com/apsl/ and read it before using this file.
838 //
839 // The Original Code and all software distributed under the License are
840 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
841 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
842 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
843 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
844 // Please see the License for the specific language governing rights and
845 // limitations under the License.
846 //
847 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
848
849 //===---- stdint.h - Standard header for sized integer types --------------===* *
850 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
851 // See https://llvm.org/LICENSE.txt for license information.
852 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
853 //
854 // \*===----------------------------------------------------------------------===
855
856 // AIX system headers need stdint.h to be re-enterable while _STD_TYPES_T
857 // is defined until an inclusion of it without _STD_TYPES_T occurs, in which
858 // case the header guard macro is defined.
859
860 // If we're hosted, fall back to the system's stdint.h, which might have
861 // additional definitions.
862
863 // C99 7.18.1.1 Exact-width integer types.
864 // C99 7.18.1.2 Minimum-width integer types.
865 // C99 7.18.1.3 Fastest minimum-width integer types.
866 //
867 // The standard requires that exact-width type be defined for 8-, 16-, 32-, and
868 // 64-bit types if they are implemented. Other exact width types are optional.
869 // This implementation defines an exact-width types for every integer width
870 // that is represented in the standard integer types.
871 //
872 // The standard also requires minimum-width types be defined for 8-, 16-, 32-,
873 // and 64-bit widths regardless of whether there are corresponding exact-width
874 // types.
875 //
876 // To accommodate targets that are missing types that are exactly 8, 16, 32, or
877 // 64 bits wide, this implementation takes an approach of cascading
878 // redefinitions, redefining __int_leastN_t to successively smaller exact-width
879 // types. It is therefore important that the types are defined in order of
880 // descending widths.
881 //
882 // We currently assume that the minimum-width types and the fastest
883 // minimum-width types are the same. This is allowed by the standard, but is
884 // suboptimal.
885 //
886 // In violation of the standard, some targets do not implement a type that is
887 // wide enough to represent all of the required widths (8-, 16-, 32-, 64-bit).
888 // To accommodate these targets, a required minimum-width type is only
889 // defined if there exists an exact-width type of equal or greater width.
890
891 type Int64_t = int64 /* stdint.h:96:24 */
892 type Uint64_t = uint64 /* stdint.h:98:25 */
893
894 type Int_least64_t = Int64_t /* stdint.h:110:25 */
895 type Uint_least64_t = Uint64_t /* stdint.h:111:26 */
896 type Int_fast64_t = Int64_t /* stdint.h:112:25 */
897 type Uint_fast64_t = Uint64_t /* stdint.h:113:26 */
898
899 type Int32_t = int32 /* stdint.h:167:24 */
900
901 type Uint32_t = uint32 /* stdint.h:172:25 */
902
903 type Int_least32_t = Int32_t /* stdint.h:184:25 */
904 type Uint_least32_t = Uint32_t /* stdint.h:185:26 */
905 type Int_fast32_t = Int32_t /* stdint.h:186:25 */
906 type Uint_fast32_t = Uint32_t /* stdint.h:187:26 */
907
908 type Int16_t = int16 /* stdint.h:205:24 */
909 type Uint16_t = uint16 /* stdint.h:207:25 */
910
911 type Int_least16_t = Int16_t /* stdint.h:215:25 */
912 type Uint_least16_t = Uint16_t /* stdint.h:216:26 */
913 type Int_fast16_t = Int16_t /* stdint.h:217:25 */
914 type Uint_fast16_t = Uint16_t /* stdint.h:218:26 */
915
916 type Int8_t = int8 /* stdint.h:224:23 */
917 type Uint8_t = uint8 /* stdint.h:226:24 */
918
919 type Int_least8_t = Int8_t /* stdint.h:232:24 */
920 type Uint_least8_t = Uint8_t /* stdint.h:233:25 */
921 type Int_fast8_t = Int8_t /* stdint.h:234:24 */
922 type Uint_fast8_t = Uint8_t /* stdint.h:235:25 */
923
924 // prevent glibc sys/types.h from defining conflicting types
925
926 // C99 7.18.1.4 Integer types capable of holding object pointers.
927
928 type Intptr_t = int64 /* stdint.h:249:25 */
929
930 type Uintptr_t = uint64 /* stdint.h:256:26 */
931
932 // C99 7.18.1.5 Greatest-width integer types.
933 type Intmax_t = int64 /* stdint.h:262:26 */
934 type Uintmax_t = uint64 /* stdint.h:263:26 */
935
936 // C99 7.18.4 Macros for minimum-width integer constants.
937 //
938 // The standard requires that integer constant macros be defined for all the
939 // minimum-width types defined above. As 8-, 16-, 32-, and 64-bit minimum-width
940 // types are required, the corresponding integer constant macros are defined
941 // here. This implementation also defines minimum-width types for every other
942 // integer width that the target implements, so corresponding macros are
943 // defined below, too.
944 //
945 // These macros are defined using the same successive-shrinking approach as
946 // the type definitions above. It is likewise important that macros are defined
947 // in order of decending width.
948 //
949 // Note that C++ should not check __STDC_CONSTANT_MACROS here, contrary to the
950 // claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
951
952 // C99 7.18.2.1 Limits of exact-width integer types.
953 // C99 7.18.2.2 Limits of minimum-width integer types.
954 // C99 7.18.2.3 Limits of fastest minimum-width integer types.
955 //
956 // The presence of limit macros are completely optional in C99. This
957 // implementation defines limits for all of the types (exact- and
958 // minimum-width) that it defines above, using the limits of the minimum-width
959 // type for any types that do not have exact-width representations.
960 //
961 // As in the type definitions, this section takes an approach of
962 // successive-shrinking to determine which limits to use for the standard (8,
963 // 16, 32, 64) bit widths when they don't have exact representations. It is
964 // therefore important that the definitions be kept in order of decending
965 // widths.
966 //
967 // Note that C++ should not check __STDC_LIMIT_MACROS here, contrary to the
968 // claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
969
970 // Some utility macros
971
972 // C99 7.18.2.4 Limits of integer types capable of holding object pointers.
973 // C99 7.18.3 Limits of other integer types.
974
975 // ISO9899:2011 7.20 (C11 Annex K): Define RSIZE_MAX if __STDC_WANT_LIB_EXT1__
976 // is enabled.
977
978 // C99 7.18.2.5 Limits of greatest-width integer types.
979
980 // C99 7.18.3 Limits of other integer types.
981
982 // 7.18.4.2 Macros for greatest-width integer constants.
983
984 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
985 //
986 // @APPLE_LICENSE_HEADER_START@
987 //
988 // This file contains Original Code and/or Modifications of Original Code
989 // as defined in and that are subject to the Apple Public Source License
990 // Version 2.0 (the 'License'). You may not use this file except in
991 // compliance with the License. Please obtain a copy of the License at
992 // http://www.opensource.apple.com/apsl/ and read it before using this
993 // file.
994 //
995 // The Original Code and all software distributed under the License are
996 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
997 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
998 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
999 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1000 // Please see the License for the specific language governing rights and
1001 // limitations under the License.
1002 //
1003 // @APPLE_LICENSE_HEADER_END@
1004
1005 //
1006 // These macros are for use in OS header files. They enable function prototypes
1007 // and Objective-C methods to be tagged with the OS version in which they
1008 // were first available; and, if applicable, the OS version in which they
1009 // became deprecated.
1010 //
1011 // The desktop Mac OS X and iOS each have different version numbers.
1012 // The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
1013 // and iOS version numbers. For instance:
1014 // __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
1015 // means the function/method was first available on Mac OS X 10.2 on the desktop
1016 // and first available in iOS 2.0 on the iPhone.
1017 //
1018 // If a function is available on one platform, but not the other a _NA (not
1019 // applicable) parameter is used. For instance:
1020 // __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
1021 // means that the function/method was first available on Mac OS X 10.3, and it
1022 // currently not implemented on the iPhone.
1023 //
1024 // At some point, a function/method may be deprecated. That means Apple
1025 // recommends applications stop using the function, either because there is a
1026 // better replacement or the functionality is being phased out. Deprecated
1027 // functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
1028 // macro which specifies the OS version where the function became available
1029 // as well as the OS version in which it became deprecated. For instance:
1030 // __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
1031 // means that the function/method was introduced in Mac OS X 10.0, then
1032 // became deprecated beginning in Mac OS X 10.5. On iOS the function
1033 // has never been available.
1034 //
1035 // For these macros to function properly, a program must specify the OS version range
1036 // it is targeting. The min OS version is specified as an option to the compiler:
1037 // -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
1038 // when building for the iPhone. The upper bound for the OS version is rarely needed,
1039 // but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
1040 // Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
1041 //
1042 // Examples:
1043 //
1044 // A function available in Mac OS X 10.5 and later, but not on the phone:
1045 //
1046 // extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
1047 //
1048 //
1049 // An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
1050 //
1051 // @interface MyClass : NSObject
1052 // -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
1053 // @end
1054 //
1055 //
1056 // An enum available on the phone, but not available on Mac OS X:
1057 //
1058 // #if __IPHONE_OS_VERSION_MIN_REQUIRED
1059 // enum { myEnum = 1 };
1060 // #endif
1061 // Note: this works when targeting the Mac OS X platform because
1062 // __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
1063 //
1064 //
1065 // An enum with values added in different iPhoneOS versions:
1066 //
1067 // enum {
1068 // myX = 1, // Usable on iPhoneOS 2.1 and later
1069 // myY = 2, // Usable on iPhoneOS 3.0 and later
1070 // myZ = 3, // Usable on iPhoneOS 3.0 and later
1071 // ...
1072 // Note: you do not want to use #if with enumeration values
1073 // when a client needs to see all values at compile time
1074 // and use runtime logic to only use the viable values.
1075 //
1076 //
1077 // It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
1078 // source base that can be compiled to target a range of OS versions. It is best
1079 // to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
1080 // That is because you might get compiled on an old OS that does not define a later
1081 // OS version macro, and in the C preprocessor undefined values evaluate to zero
1082 // in expresssions, which could cause the #if expression to evaluate in an unexpected
1083 // way.
1084 //
1085 // #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
1086 // // code only compiled when targeting Mac OS X and not iPhone
1087 // // note use of 1050 instead of __MAC_10_5
1088 // #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
1089 // // code in here might run on pre-Leopard OS
1090 // #else
1091 // // code here can assume Leopard or later
1092 // #endif
1093 // #endif
1094 //
1095 //
1096
1097 // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
1098 // in an upcoming release. This soft deprecation is an intermediate step before formal
1099 // deprecation to notify developers about the API before compiler warnings are generated.
1100 // You can find all places in your code that use soft deprecated API by redefining the
1101 // value of this macro to your current minimum deployment target, for example:
1102 // (macOS)
1103 // clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
1104 // (iOS)
1105 // clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
1106
1107 // Copyright (c) 2019 by Apple Inc.. All rights reserved.
1108 //
1109 // @APPLE_LICENSE_HEADER_START@
1110 //
1111 // This file contains Original Code and/or Modifications of Original Code
1112 // as defined in and that are subject to the Apple Public Source License
1113 // Version 2.0 (the 'License'). You may not use this file except in
1114 // compliance with the License. Please obtain a copy of the License at
1115 // http://www.opensource.apple.com/apsl/ and read it before using this
1116 // file.
1117 //
1118 // The Original Code and all software distributed under the License are
1119 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1120 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1121 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1122 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1123 // Please see the License for the specific language governing rights and
1124 // limitations under the License.
1125 //
1126 // @APPLE_LICENSE_HEADER_END@
1127
1128 // __MAC_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
1129
1130 // __IPHONE_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
1131
1132 // Set up standard Mac OS X versions
1133
1134 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
1135 //
1136 // @APPLE_LICENSE_HEADER_START@
1137 //
1138 // This file contains Original Code and/or Modifications of Original Code
1139 // as defined in and that are subject to the Apple Public Source License
1140 // Version 2.0 (the 'License'). You may not use this file except in
1141 // compliance with the License. Please obtain a copy of the License at
1142 // http://www.opensource.apple.com/apsl/ and read it before using this
1143 // file.
1144 //
1145 // The Original Code and all software distributed under the License are
1146 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1147 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1148 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1149 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1150 // Please see the License for the specific language governing rights and
1151 // limitations under the License.
1152 //
1153 // @APPLE_LICENSE_HEADER_END@
1154
1155 //
1156 // File: AvailabilityInternal.h
1157 //
1158 // Contains: implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
1159 //
1160
1161 // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
1162
1163 // make sure a default max version is set
1164
1165 //
1166 // Macros for defining which versions/platform a given symbol can be used.
1167 //
1168 // @see http://clang.llvm.org/docs/AttributeReference.html#availability
1169 //
1170
1171 // Evaluate to nothing for compilers that don't support clang language extensions.
1172
1173 // Swift compiler version
1174 // Allows for project-agnostic "epochs" for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
1175 // Example:
1176 //
1177 // #if __swift_compiler_version_at_least(800, 2, 20)
1178 // - (nonnull NSString *)description;
1179 // #else
1180 // - (NSString *)description;
1181 // #endif
1182
1183 // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
1184
1185 // for use to document app extension usage
1186
1187 // for use marking APIs available info for Mac OSX
1188
1189 // for use marking APIs available info for iOS
1190
1191 // for use marking APIs available info for tvOS
1192
1193 // for use marking APIs available info for Watch OS
1194
1195 // for use marking APIs unavailable for swift
1196
1197 //
1198 // Macros for defining which versions/platform a given symbol can be used.
1199 //
1200 // @see http://clang.llvm.org/docs/AttributeReference.html#availability
1201 //
1202 // * Note that these macros are only compatible with clang compilers that
1203 // * support the following target selection options:
1204 // *
1205 // * -mmacosx-version-min
1206 // * -miphoneos-version-min
1207 // * -mwatchos-version-min
1208 // * -mtvos-version-min
1209 //
1210
1211 // Evaluate to nothing for compilers that don't support clang language extensions.
1212
1213 // If SPI decorations have not been defined elsewhere, disable them.
1214
1215 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
1216 //
1217 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1218 //
1219 // This file contains Original Code and/or Modifications of Original Code
1220 // as defined in and that are subject to the Apple Public Source License
1221 // Version 2.0 (the 'License'). You may not use this file except in
1222 // compliance with the License. The rights granted to you under the License
1223 // may not be used to create, or enable the creation or redistribution of,
1224 // unlawful or unlicensed copies of an Apple operating system, or to
1225 // circumvent, violate, or enable the circumvention or violation of, any
1226 // terms of an Apple operating system software license agreement.
1227 //
1228 // Please obtain a copy of the License at
1229 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1230 //
1231 // The Original Code and all software distributed under the License are
1232 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1233 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1234 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1235 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1236 // Please see the License for the specific language governing rights and
1237 // limitations under the License.
1238 //
1239 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1240 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
1241 //
1242 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1243 //
1244 // This file contains Original Code and/or Modifications of Original Code
1245 // as defined in and that are subject to the Apple Public Source License
1246 // Version 2.0 (the 'License'). You may not use this file except in
1247 // compliance with the License. The rights granted to you under the License
1248 // may not be used to create, or enable the creation or redistribution of,
1249 // unlawful or unlicensed copies of an Apple operating system, or to
1250 // circumvent, violate, or enable the circumvention or violation of, any
1251 // terms of an Apple operating system software license agreement.
1252 //
1253 // Please obtain a copy of the License at
1254 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1255 //
1256 // The Original Code and all software distributed under the License are
1257 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1258 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1259 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1260 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1261 // Please see the License for the specific language governing rights and
1262 // limitations under the License.
1263 //
1264 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1265 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
1266
1267 // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
1268 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
1269 // Copyright (c) 1990, 1993
1270 // The Regents of the University of California. All rights reserved.
1271 //
1272 // Redistribution and use in source and binary forms, with or without
1273 // modification, are permitted provided that the following conditions
1274 // are met:
1275 // 1. Redistributions of source code must retain the above copyright
1276 // notice, this list of conditions and the following disclaimer.
1277 // 2. Redistributions in binary form must reproduce the above copyright
1278 // notice, this list of conditions and the following disclaimer in the
1279 // documentation and/or other materials provided with the distribution.
1280 // 3. All advertising materials mentioning features or use of this software
1281 // must display the following acknowledgement:
1282 // This product includes software developed by the University of
1283 // California, Berkeley and its contributors.
1284 // 4. Neither the name of the University nor the names of its contributors
1285 // may be used to endorse or promote products derived from this software
1286 // without specific prior written permission.
1287 //
1288 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1289 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1290 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1291 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1292 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1293 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1294 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1295 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1296 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1297 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1298 // SUCH DAMAGE.
1299 //
1300 // @(#)types.h 8.3 (Berkeley) 1/5/94
1301
1302 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
1303
1304 // This header file contains integer types. It's intended to also contain
1305 // flotaing point and other arithmetic types, as needed, later.
1306
1307 type X__int8_t = int8 /* _types.h:15:33 */
1308 type X__uint8_t = uint8 /* _types.h:19:33 */
1309 type X__int16_t = int16 /* _types.h:20:33 */
1310 type X__uint16_t = uint16 /* _types.h:21:33 */
1311 type X__int32_t = int32 /* _types.h:22:33 */
1312 type X__uint32_t = uint32 /* _types.h:23:33 */
1313 type X__int64_t = int64 /* _types.h:24:33 */
1314 type X__uint64_t = uint64 /* _types.h:25:33 */
1315
1316 type X__darwin_intptr_t = int64 /* _types.h:27:33 */
1317 type X__darwin_natural_t = uint32 /* _types.h:28:33 */
1318
1319 // The rune type below is declared to be an ``int'' instead of the more natural
1320 // ``unsigned long'' or ``long''. Two things are happening here. It is not
1321 // unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
1322 // it looks like 10646 will be a 31 bit standard. This means that if your
1323 // ints cannot hold 32 bits, you will be in trouble. The reason an int was
1324 // chosen over a long is that the is*() and to*() routines take ints (says
1325 // ANSI C), but they use __darwin_ct_rune_t instead of int. By changing it
1326 // here, you lose a bit of ANSI conformance, but your programs will still
1327 // work.
1328 //
1329 // NOTE: rune_t is not covered by ANSI nor other standards, and should not
1330 // be instantiated outside of lib/libc/locale. Use wchar_t. wchar_t and
1331 // rune_t must be the same type. Also wint_t must be no narrower than
1332 // wchar_t, and should also be able to hold all members of the largest
1333 // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
1334
1335 type X__darwin_ct_rune_t = int32 /* _types.h:48:33 */ // ct_rune_t
1336
1337 // mbstate_t is an opaque object to keep conversion state, during multibyte
1338 // stream conversions. The content must not be referenced by user programs.
1339 type X__mbstate_t = struct {
1340 F__ccgo_pad1 [0]uint64
1341 F__mbstate8 [128]int8
1342 } /* _types.h:57:3 */
1343
1344 type X__darwin_mbstate_t = X__mbstate_t /* _types.h:59:33 */ // mbstate_t
1345
1346 type X__darwin_ptrdiff_t = int64 /* _types.h:62:33 */ // ptr1 - ptr2
1347
1348 type X__darwin_size_t = uint64 /* _types.h:70:33 */ // sizeof()
1349
1350 type X__darwin_va_list = X__builtin_va_list /* _types.h:76:33 */ // va_list
1351
1352 type X__darwin_wchar_t = int32 /* _types.h:82:33 */ // wchar_t
1353
1354 type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:87:33 */ // rune_t
1355
1356 type X__darwin_wint_t = int32 /* _types.h:90:33 */ // wint_t
1357
1358 type X__darwin_clock_t = uint64 /* _types.h:95:33 */ // clock()
1359 type X__darwin_socklen_t = X__uint32_t /* _types.h:96:33 */ // socklen_t (duh)
1360 type X__darwin_ssize_t = int64 /* _types.h:97:33 */ // byte count or error
1361 type X__darwin_time_t = int64 /* _types.h:98:33 */
1362
1363 // Copyright (c) 2016 Apple Inc. All rights reserved.
1364 //
1365 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1366 //
1367 // This file contains Original Code and/or Modifications of Original Code
1368 // as defined in and that are subject to the Apple Public Source License
1369 // Version 2.0 (the 'License'). You may not use this file except in
1370 // compliance with the License. The rights granted to you under the License
1371 // may not be used to create, or enable the creation or redistribution of,
1372 // unlawful or unlicensed copies of an Apple operating system, or to
1373 // circumvent, violate, or enable the circumvention or violation of, any
1374 // terms of an Apple operating system software license agreement.
1375 //
1376 // Please obtain a copy of the License at
1377 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1378 //
1379 // The Original Code and all software distributed under the License are
1380 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1381 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1382 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1383 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1384 // Please see the License for the specific language governing rights and
1385 // limitations under the License.
1386 //
1387 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1388 type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
1389 // Copyright (c) 2012 Apple Inc. All rights reserved.
1390 //
1391 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1392 //
1393 // This file contains Original Code and/or Modifications of Original Code
1394 // as defined in and that are subject to the Apple Public Source License
1395 // Version 2.0 (the 'License'). You may not use this file except in
1396 // compliance with the License. The rights granted to you under the License
1397 // may not be used to create, or enable the creation or redistribution of,
1398 // unlawful or unlicensed copies of an Apple operating system, or to
1399 // circumvent, violate, or enable the circumvention or violation of, any
1400 // terms of an Apple operating system software license agreement.
1401 //
1402 // Please obtain a copy of the License at
1403 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1404 //
1405 // The Original Code and all software distributed under the License are
1406 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1407 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1408 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1409 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1410 // Please see the License for the specific language governing rights and
1411 // limitations under the License.
1412 //
1413 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1414 type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
1415 // Copyright (c) 2012 Apple Inc. All rights reserved.
1416 //
1417 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1418 //
1419 // This file contains Original Code and/or Modifications of Original Code
1420 // as defined in and that are subject to the Apple Public Source License
1421 // Version 2.0 (the 'License'). You may not use this file except in
1422 // compliance with the License. The rights granted to you under the License
1423 // may not be used to create, or enable the creation or redistribution of,
1424 // unlawful or unlicensed copies of an Apple operating system, or to
1425 // circumvent, violate, or enable the circumvention or violation of, any
1426 // terms of an Apple operating system software license agreement.
1427 //
1428 // Please obtain a copy of the License at
1429 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1430 //
1431 // The Original Code and all software distributed under the License are
1432 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1433 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1434 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1435 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1436 // Please see the License for the specific language governing rights and
1437 // limitations under the License.
1438 //
1439 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1440 type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
1441 // Copyright (c) 2012 Apple Inc. All rights reserved.
1442 //
1443 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1444 //
1445 // This file contains Original Code and/or Modifications of Original Code
1446 // as defined in and that are subject to the Apple Public Source License
1447 // Version 2.0 (the 'License'). You may not use this file except in
1448 // compliance with the License. The rights granted to you under the License
1449 // may not be used to create, or enable the creation or redistribution of,
1450 // unlawful or unlicensed copies of an Apple operating system, or to
1451 // circumvent, violate, or enable the circumvention or violation of, any
1452 // terms of an Apple operating system software license agreement.
1453 //
1454 // Please obtain a copy of the License at
1455 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1456 //
1457 // The Original Code and all software distributed under the License are
1458 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1459 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1460 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1461 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1462 // Please see the License for the specific language governing rights and
1463 // limitations under the License.
1464 //
1465 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1466 type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
1467
1468 type Register_t = Int64_t /* types.h:66:33 */
1469
1470 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
1471 //
1472 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1473 //
1474 // This file contains Original Code and/or Modifications of Original Code
1475 // as defined in and that are subject to the Apple Public Source License
1476 // Version 2.0 (the 'License'). You may not use this file except in
1477 // compliance with the License. The rights granted to you under the License
1478 // may not be used to create, or enable the creation or redistribution of,
1479 // unlawful or unlicensed copies of an Apple operating system, or to
1480 // circumvent, violate, or enable the circumvention or violation of, any
1481 // terms of an Apple operating system software license agreement.
1482 //
1483 // Please obtain a copy of the License at
1484 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1485 //
1486 // The Original Code and all software distributed under the License are
1487 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1488 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1489 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1490 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1491 // Please see the License for the specific language governing rights and
1492 // limitations under the License.
1493 //
1494 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1495 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
1496 //
1497 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1498 //
1499 // This file contains Original Code and/or Modifications of Original Code
1500 // as defined in and that are subject to the Apple Public Source License
1501 // Version 2.0 (the 'License'). You may not use this file except in
1502 // compliance with the License. The rights granted to you under the License
1503 // may not be used to create, or enable the creation or redistribution of,
1504 // unlawful or unlicensed copies of an Apple operating system, or to
1505 // circumvent, violate, or enable the circumvention or violation of, any
1506 // terms of an Apple operating system software license agreement.
1507 //
1508 // Please obtain a copy of the License at
1509 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1510 //
1511 // The Original Code and all software distributed under the License are
1512 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1513 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1514 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1515 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1516 // Please see the License for the specific language governing rights and
1517 // limitations under the License.
1518 //
1519 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1520
1521 // These types are used for reserving the largest possible size.
1522 type User_addr_t = U_int64_t /* types.h:77:33 */
1523 type User_size_t = U_int64_t /* types.h:78:33 */
1524 type User_ssize_t = Int64_t /* types.h:79:33 */
1525 type User_long_t = Int64_t /* types.h:80:33 */
1526 type User_ulong_t = U_int64_t /* types.h:81:33 */
1527 type User_time_t = Int64_t /* types.h:82:33 */
1528 type User_off_t = Int64_t /* types.h:83:33 */
1529
1530 // This defines the size of syscall arguments after copying into the kernel:
1531 type Syscall_arg_t = U_int64_t /* types.h:104:33 */
1532
1533 type In_addr_t = X__uint32_t /* _in_addr_t.h:31:25 */ // base type for internet address
1534 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
1535 //
1536 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1537 //
1538 // This file contains Original Code and/or Modifications of Original Code
1539 // as defined in and that are subject to the Apple Public Source License
1540 // Version 2.0 (the 'License'). You may not use this file except in
1541 // compliance with the License. The rights granted to you under the License
1542 // may not be used to create, or enable the creation or redistribution of,
1543 // unlawful or unlicensed copies of an Apple operating system, or to
1544 // circumvent, violate, or enable the circumvention or violation of, any
1545 // terms of an Apple operating system software license agreement.
1546 //
1547 // Please obtain a copy of the License at
1548 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1549 //
1550 // The Original Code and all software distributed under the License are
1551 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1552 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1553 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1554 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1555 // Please see the License for the specific language governing rights and
1556 // limitations under the License.
1557 //
1558 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1559 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
1560 //
1561 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1562 //
1563 // This file contains Original Code and/or Modifications of Original Code
1564 // as defined in and that are subject to the Apple Public Source License
1565 // Version 2.0 (the 'License'). You may not use this file except in
1566 // compliance with the License. The rights granted to you under the License
1567 // may not be used to create, or enable the creation or redistribution of,
1568 // unlawful or unlicensed copies of an Apple operating system, or to
1569 // circumvent, violate, or enable the circumvention or violation of, any
1570 // terms of an Apple operating system software license agreement.
1571 //
1572 // Please obtain a copy of the License at
1573 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1574 //
1575 // The Original Code and all software distributed under the License are
1576 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1577 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1578 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1579 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1580 // Please see the License for the specific language governing rights and
1581 // limitations under the License.
1582 //
1583 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1584 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
1585 type In_port_t = X__uint16_t /* _in_port_t.h:31:33 */
1586
1587 // POSIX 1003.1-2003
1588 // "Inclusion of the <netinet/in.h> header may also make visible all
1589 // symbols from <inttypes.h> and <sys/socket.h>".
1590 // Copyright (c) 2000-2019 Apple Inc. All rights reserved.
1591 //
1592 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1593 //
1594 // This file contains Original Code and/or Modifications of Original Code
1595 // as defined in and that are subject to the Apple Public Source License
1596 // Version 2.0 (the 'License'). You may not use this file except in
1597 // compliance with the License. The rights granted to you under the License
1598 // may not be used to create, or enable the creation or redistribution of,
1599 // unlawful or unlicensed copies of an Apple operating system, or to
1600 // circumvent, violate, or enable the circumvention or violation of, any
1601 // terms of an Apple operating system software license agreement.
1602 //
1603 // Please obtain a copy of the License at
1604 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1605 //
1606 // The Original Code and all software distributed under the License are
1607 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1608 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1609 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1610 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1611 // Please see the License for the specific language governing rights and
1612 // limitations under the License.
1613 //
1614 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1615 // Copyright (c) 1998, 1999 Apple Computer, Inc. All Rights Reserved
1616 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
1617 // Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994
1618 // The Regents of the University of California. All rights reserved.
1619 //
1620 // Redistribution and use in source and binary forms, with or without
1621 // modification, are permitted provided that the following conditions
1622 // are met:
1623 // 1. Redistributions of source code must retain the above copyright
1624 // notice, this list of conditions and the following disclaimer.
1625 // 2. Redistributions in binary form must reproduce the above copyright
1626 // notice, this list of conditions and the following disclaimer in the
1627 // documentation and/or other materials provided with the distribution.
1628 // 3. All advertising materials mentioning features or use of this software
1629 // must display the following acknowledgement:
1630 // This product includes software developed by the University of
1631 // California, Berkeley and its contributors.
1632 // 4. Neither the name of the University nor the names of its contributors
1633 // may be used to endorse or promote products derived from this software
1634 // without specific prior written permission.
1635 //
1636 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1637 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1638 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1639 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1640 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1641 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1642 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1643 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1644 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1645 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1646 // SUCH DAMAGE.
1647 //
1648 // @(#)socket.h 8.4 (Berkeley) 2/21/94
1649 // $FreeBSD: src/sys/sys/socket.h,v 1.39.2.7 2001/07/03 11:02:01 ume Exp $
1650 // NOTICE: This file was modified by SPARTA, Inc. in 2005 to introduce
1651 // support for mandatory and extensible security protections. This notice
1652 // is included in support of clause 2.2 (b) of the Apple Public License,
1653 // Version 2.0.
1654
1655 // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
1656 //
1657 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1658 //
1659 // This file contains Original Code and/or Modifications of Original Code
1660 // as defined in and that are subject to the Apple Public Source License
1661 // Version 2.0 (the 'License'). You may not use this file except in
1662 // compliance with the License. The rights granted to you under the License
1663 // may not be used to create, or enable the creation or redistribution of,
1664 // unlawful or unlicensed copies of an Apple operating system, or to
1665 // circumvent, violate, or enable the circumvention or violation of, any
1666 // terms of an Apple operating system software license agreement.
1667 //
1668 // Please obtain a copy of the License at
1669 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1670 //
1671 // The Original Code and all software distributed under the License are
1672 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1673 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1674 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1675 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1676 // Please see the License for the specific language governing rights and
1677 // limitations under the License.
1678 //
1679 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1680 // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
1681 // Copyright (c) 1982, 1986, 1991, 1993, 1994
1682 // The Regents of the University of California. All rights reserved.
1683 // (c) UNIX System Laboratories, Inc.
1684 // All or some portions of this file are derived from material licensed
1685 // to the University of California by American Telephone and Telegraph
1686 // Co. or Unix System Laboratories, Inc. and are reproduced herein with
1687 // the permission of UNIX System Laboratories, Inc.
1688 //
1689 // Redistribution and use in source and binary forms, with or without
1690 // modification, are permitted provided that the following conditions
1691 // are met:
1692 // 1. Redistributions of source code must retain the above copyright
1693 // notice, this list of conditions and the following disclaimer.
1694 // 2. Redistributions in binary form must reproduce the above copyright
1695 // notice, this list of conditions and the following disclaimer in the
1696 // documentation and/or other materials provided with the distribution.
1697 // 3. All advertising materials mentioning features or use of this software
1698 // must display the following acknowledgement:
1699 // This product includes software developed by the University of
1700 // California, Berkeley and its contributors.
1701 // 4. Neither the name of the University nor the names of its contributors
1702 // may be used to endorse or promote products derived from this software
1703 // without specific prior written permission.
1704 //
1705 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1706 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1707 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1708 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1709 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1710 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1711 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1712 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1713 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1714 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1715 // SUCH DAMAGE.
1716 //
1717 // @(#)types.h 8.4 (Berkeley) 1/21/94
1718
1719 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
1720 //
1721 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1722 //
1723 // This file contains Original Code and/or Modifications of Original Code
1724 // as defined in and that are subject to the Apple Public Source License
1725 // Version 2.0 (the 'License'). You may not use this file except in
1726 // compliance with the License. The rights granted to you under the License
1727 // may not be used to create, or enable the creation or redistribution of,
1728 // unlawful or unlicensed copies of an Apple operating system, or to
1729 // circumvent, violate, or enable the circumvention or violation of, any
1730 // terms of an Apple operating system software license agreement.
1731 //
1732 // Please obtain a copy of the License at
1733 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1734 //
1735 // The Original Code and all software distributed under the License are
1736 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1737 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1738 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1739 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1740 // Please see the License for the specific language governing rights and
1741 // limitations under the License.
1742 //
1743 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1744
1745 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
1746 //
1747 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1748 //
1749 // This file contains Original Code and/or Modifications of Original Code
1750 // as defined in and that are subject to the Apple Public Source License
1751 // Version 2.0 (the 'License'). You may not use this file except in
1752 // compliance with the License. The rights granted to you under the License
1753 // may not be used to create, or enable the creation or redistribution of,
1754 // unlawful or unlicensed copies of an Apple operating system, or to
1755 // circumvent, violate, or enable the circumvention or violation of, any
1756 // terms of an Apple operating system software license agreement.
1757 //
1758 // Please obtain a copy of the License at
1759 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1760 //
1761 // The Original Code and all software distributed under the License are
1762 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1763 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1764 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1765 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1766 // Please see the License for the specific language governing rights and
1767 // limitations under the License.
1768 //
1769 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1770 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
1771 // Copyright (c) 1991, 1993
1772 // The Regents of the University of California. All rights reserved.
1773 //
1774 // This code is derived from software contributed to Berkeley by
1775 // Berkeley Software Design, Inc.
1776 //
1777 // Redistribution and use in source and binary forms, with or without
1778 // modification, are permitted provided that the following conditions
1779 // are met:
1780 // 1. Redistributions of source code must retain the above copyright
1781 // notice, this list of conditions and the following disclaimer.
1782 // 2. Redistributions in binary form must reproduce the above copyright
1783 // notice, this list of conditions and the following disclaimer in the
1784 // documentation and/or other materials provided with the distribution.
1785 // 3. All advertising materials mentioning features or use of this software
1786 // must display the following acknowledgement:
1787 // This product includes software developed by the University of
1788 // California, Berkeley and its contributors.
1789 // 4. Neither the name of the University nor the names of its contributors
1790 // may be used to endorse or promote products derived from this software
1791 // without specific prior written permission.
1792 //
1793 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1794 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1795 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1796 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1797 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1798 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1799 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1800 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1801 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1802 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1803 // SUCH DAMAGE.
1804 //
1805 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
1806
1807 // Machine type dependent parameters.
1808 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
1809 //
1810 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1811 //
1812 // This file contains Original Code and/or Modifications of Original Code
1813 // as defined in and that are subject to the Apple Public Source License
1814 // Version 2.0 (the 'License'). You may not use this file except in
1815 // compliance with the License. The rights granted to you under the License
1816 // may not be used to create, or enable the creation or redistribution of,
1817 // unlawful or unlicensed copies of an Apple operating system, or to
1818 // circumvent, violate, or enable the circumvention or violation of, any
1819 // terms of an Apple operating system software license agreement.
1820 //
1821 // Please obtain a copy of the License at
1822 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1823 //
1824 // The Original Code and all software distributed under the License are
1825 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1826 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1827 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1828 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1829 // Please see the License for the specific language governing rights and
1830 // limitations under the License.
1831 //
1832 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1833 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
1834 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
1835 //
1836 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1837 //
1838 // This file contains Original Code and/or Modifications of Original Code
1839 // as defined in and that are subject to the Apple Public Source License
1840 // Version 2.0 (the 'License'). You may not use this file except in
1841 // compliance with the License. The rights granted to you under the License
1842 // may not be used to create, or enable the creation or redistribution of,
1843 // unlawful or unlicensed copies of an Apple operating system, or to
1844 // circumvent, violate, or enable the circumvention or violation of, any
1845 // terms of an Apple operating system software license agreement.
1846 //
1847 // Please obtain a copy of the License at
1848 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1849 //
1850 // The Original Code and all software distributed under the License are
1851 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1852 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1853 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1854 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1855 // Please see the License for the specific language governing rights and
1856 // limitations under the License.
1857 //
1858 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1859
1860 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
1861 //
1862 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1863 //
1864 // This file contains Original Code and/or Modifications of Original Code
1865 // as defined in and that are subject to the Apple Public Source License
1866 // Version 2.0 (the 'License'). You may not use this file except in
1867 // compliance with the License. The rights granted to you under the License
1868 // may not be used to create, or enable the creation or redistribution of,
1869 // unlawful or unlicensed copies of an Apple operating system, or to
1870 // circumvent, violate, or enable the circumvention or violation of, any
1871 // terms of an Apple operating system software license agreement.
1872 //
1873 // Please obtain a copy of the License at
1874 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1875 //
1876 // The Original Code and all software distributed under the License are
1877 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1878 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1879 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1880 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1881 // Please see the License for the specific language governing rights and
1882 // limitations under the License.
1883 //
1884 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1885 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
1886 // Copyright (c) 1991, 1993
1887 // The Regents of the University of California. All rights reserved.
1888 //
1889 // This code is derived from software contributed to Berkeley by
1890 // Berkeley Software Design, Inc.
1891 //
1892 // Redistribution and use in source and binary forms, with or without
1893 // modification, are permitted provided that the following conditions
1894 // are met:
1895 // 1. Redistributions of source code must retain the above copyright
1896 // notice, this list of conditions and the following disclaimer.
1897 // 2. Redistributions in binary form must reproduce the above copyright
1898 // notice, this list of conditions and the following disclaimer in the
1899 // documentation and/or other materials provided with the distribution.
1900 // 3. All advertising materials mentioning features or use of this software
1901 // must display the following acknowledgement:
1902 // This product includes software developed by the University of
1903 // California, Berkeley and its contributors.
1904 // 4. Neither the name of the University nor the names of its contributors
1905 // may be used to endorse or promote products derived from this software
1906 // without specific prior written permission.
1907 //
1908 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1909 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1910 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1911 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1912 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1913 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1914 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1915 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1916 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1917 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1918 // SUCH DAMAGE.
1919 //
1920 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
1921
1922 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
1923 //
1924 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1925 //
1926 // This file contains Original Code and/or Modifications of Original Code
1927 // as defined in and that are subject to the Apple Public Source License
1928 // Version 2.0 (the 'License'). You may not use this file except in
1929 // compliance with the License. The rights granted to you under the License
1930 // may not be used to create, or enable the creation or redistribution of,
1931 // unlawful or unlicensed copies of an Apple operating system, or to
1932 // circumvent, violate, or enable the circumvention or violation of, any
1933 // terms of an Apple operating system software license agreement.
1934 //
1935 // Please obtain a copy of the License at
1936 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1937 //
1938 // The Original Code and all software distributed under the License are
1939 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1940 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1941 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1942 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1943 // Please see the License for the specific language governing rights and
1944 // limitations under the License.
1945 //
1946 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1947
1948 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
1949
1950 // Type definitions; takes common type definitions that must be used
1951 // in multiple header files due to [XSI], removes them from the system
1952 // space, and puts them in the implementation space.
1953
1954 type X__darwin_blkcnt_t = X__int64_t /* _types.h:55:25 */ // total blocks
1955 type X__darwin_blksize_t = X__int32_t /* _types.h:56:25 */ // preferred block size
1956 type X__darwin_dev_t = X__int32_t /* _types.h:57:25 */ // dev_t
1957 type X__darwin_fsblkcnt_t = uint32 /* _types.h:58:25 */ // Used by statvfs and fstatvfs
1958 type X__darwin_fsfilcnt_t = uint32 /* _types.h:59:25 */ // Used by statvfs and fstatvfs
1959 type X__darwin_gid_t = X__uint32_t /* _types.h:60:25 */ // [???] process and group IDs
1960 type X__darwin_id_t = X__uint32_t /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
1961 type X__darwin_ino64_t = X__uint64_t /* _types.h:62:25 */ // [???] Used for 64 bit inodes
1962 type X__darwin_ino_t = X__darwin_ino64_t /* _types.h:64:26 */ // [???] Used for inodes
1963 type X__darwin_mach_port_name_t = X__darwin_natural_t /* _types.h:68:28 */ // Used by mach
1964 type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
1965 type X__darwin_mode_t = X__uint16_t /* _types.h:70:25 */ // [???] Some file attributes
1966 type X__darwin_off_t = X__int64_t /* _types.h:71:25 */ // [???] Used for file sizes
1967 type X__darwin_pid_t = X__int32_t /* _types.h:72:25 */ // [???] process and group IDs
1968 type X__darwin_sigset_t = X__uint32_t /* _types.h:73:25 */ // [???] signal set
1969 type X__darwin_suseconds_t = X__int32_t /* _types.h:74:25 */ // [???] microseconds
1970 type X__darwin_uid_t = X__uint32_t /* _types.h:75:25 */ // [???] user IDs
1971 type X__darwin_useconds_t = X__uint32_t /* _types.h:76:25 */ // [???] microseconds
1972 type X__darwin_uuid_t = [16]uint8 /* _types.h:77:25 */
1973 type X__darwin_uuid_string_t = [37]int8 /* _types.h:78:17 */
1974
1975 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
1976 //
1977 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
1978 //
1979 // This file contains Original Code and/or Modifications of Original Code
1980 // as defined in and that are subject to the Apple Public Source License
1981 // Version 2.0 (the 'License'). You may not use this file except in
1982 // compliance with the License. The rights granted to you under the License
1983 // may not be used to create, or enable the creation or redistribution of,
1984 // unlawful or unlicensed copies of an Apple operating system, or to
1985 // circumvent, violate, or enable the circumvention or violation of, any
1986 // terms of an Apple operating system software license agreement.
1987 //
1988 // Please obtain a copy of the License at
1989 // http://www.opensource.apple.com/apsl/ and read it before using this file.
1990 //
1991 // The Original Code and all software distributed under the License are
1992 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1993 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
1994 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
1995 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
1996 // Please see the License for the specific language governing rights and
1997 // limitations under the License.
1998 //
1999 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2000
2001 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
2002 //
2003 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2004 //
2005 // This file contains Original Code and/or Modifications of Original Code
2006 // as defined in and that are subject to the Apple Public Source License
2007 // Version 2.0 (the 'License'). You may not use this file except in
2008 // compliance with the License. The rights granted to you under the License
2009 // may not be used to create, or enable the creation or redistribution of,
2010 // unlawful or unlicensed copies of an Apple operating system, or to
2011 // circumvent, violate, or enable the circumvention or violation of, any
2012 // terms of an Apple operating system software license agreement.
2013 //
2014 // Please obtain a copy of the License at
2015 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2016 //
2017 // The Original Code and all software distributed under the License are
2018 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2019 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2020 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2021 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2022 // Please see the License for the specific language governing rights and
2023 // limitations under the License.
2024 //
2025 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2026 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
2027 // Copyright (c) 1991, 1993
2028 // The Regents of the University of California. All rights reserved.
2029 //
2030 // This code is derived from software contributed to Berkeley by
2031 // Berkeley Software Design, Inc.
2032 //
2033 // Redistribution and use in source and binary forms, with or without
2034 // modification, are permitted provided that the following conditions
2035 // are met:
2036 // 1. Redistributions of source code must retain the above copyright
2037 // notice, this list of conditions and the following disclaimer.
2038 // 2. Redistributions in binary form must reproduce the above copyright
2039 // notice, this list of conditions and the following disclaimer in the
2040 // documentation and/or other materials provided with the distribution.
2041 // 3. All advertising materials mentioning features or use of this software
2042 // must display the following acknowledgement:
2043 // This product includes software developed by the University of
2044 // California, Berkeley and its contributors.
2045 // 4. Neither the name of the University nor the names of its contributors
2046 // may be used to endorse or promote products derived from this software
2047 // without specific prior written permission.
2048 //
2049 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2050 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2051 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2052 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2053 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2054 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2055 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2056 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2057 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2058 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2059 // SUCH DAMAGE.
2060 //
2061 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
2062
2063 // pthread opaque structures
2064
2065 type X__darwin_pthread_handler_rec = struct {
2066 F__routine uintptr
2067 F__arg uintptr
2068 F__next uintptr
2069 } /* _pthread_types.h:57:1 */
2070
2071 type X_opaque_pthread_attr_t = struct {
2072 F__sig int64
2073 F__opaque [56]int8
2074 } /* _pthread_types.h:63:1 */
2075
2076 type X_opaque_pthread_cond_t = struct {
2077 F__sig int64
2078 F__opaque [40]int8
2079 } /* _pthread_types.h:68:1 */
2080
2081 type X_opaque_pthread_condattr_t = struct {
2082 F__sig int64
2083 F__opaque [8]int8
2084 } /* _pthread_types.h:73:1 */
2085
2086 type X_opaque_pthread_mutex_t = struct {
2087 F__sig int64
2088 F__opaque [56]int8
2089 } /* _pthread_types.h:78:1 */
2090
2091 type X_opaque_pthread_mutexattr_t = struct {
2092 F__sig int64
2093 F__opaque [8]int8
2094 } /* _pthread_types.h:83:1 */
2095
2096 type X_opaque_pthread_once_t = struct {
2097 F__sig int64
2098 F__opaque [8]int8
2099 } /* _pthread_types.h:88:1 */
2100
2101 type X_opaque_pthread_rwlock_t = struct {
2102 F__sig int64
2103 F__opaque [192]int8
2104 } /* _pthread_types.h:93:1 */
2105
2106 type X_opaque_pthread_rwlockattr_t = struct {
2107 F__sig int64
2108 F__opaque [16]int8
2109 } /* _pthread_types.h:98:1 */
2110
2111 type X_opaque_pthread_t = struct {
2112 F__sig int64
2113 F__cleanup_stack uintptr
2114 F__opaque [8176]int8
2115 } /* _pthread_types.h:103:1 */
2116
2117 type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t /* _pthread_types.h:109:39 */
2118 type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t /* _pthread_types.h:110:39 */
2119 type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t /* _pthread_types.h:111:43 */
2120 type X__darwin_pthread_key_t = uint64 /* _pthread_types.h:112:23 */
2121 type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t /* _pthread_types.h:113:40 */
2122 type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t /* _pthread_types.h:114:44 */
2123 type X__darwin_pthread_once_t = X_opaque_pthread_once_t /* _pthread_types.h:115:39 */
2124 type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t /* _pthread_types.h:116:41 */
2125 type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
2126 type X__darwin_pthread_t = uintptr /* _pthread_types.h:118:34 */
2127
2128 // Functions for byte reversed loads.
2129
2130 type X_OSUnalignedU16 = struct{ F__val Uint16_t } /* OSByteOrder.h:64:1 */
2131
2132 type X_OSUnalignedU32 = struct{ F__val Uint32_t } /* OSByteOrder.h:68:1 */
2133
2134 type X_OSUnalignedU64 = struct{ F__val Uint64_t } /* OSByteOrder.h:72:1 */
2135
2136 // Copyright (c) 2017 Apple Inc. All rights reserved.
2137 //
2138 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2139 //
2140 // This file contains Original Code and/or Modifications of Original Code
2141 // as defined in and that are subject to the Apple Public Source License
2142 // Version 2.0 (the 'License'). You may not use this file except in
2143 // compliance with the License. The rights granted to you under the License
2144 // may not be used to create, or enable the creation or redistribution of,
2145 // unlawful or unlicensed copies of an Apple operating system, or to
2146 // circumvent, violate, or enable the circumvention or violation of, any
2147 // terms of an Apple operating system software license agreement.
2148 //
2149 // Please obtain a copy of the License at
2150 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2151 //
2152 // The Original Code and all software distributed under the License are
2153 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2154 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2155 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2156 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2157 // Please see the License for the specific language governing rights and
2158 // limitations under the License.
2159 //
2160 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2161 type U_char = uint8 /* _u_char.h:30:25 */
2162 // Copyright (c) 2017 Apple Inc. All rights reserved.
2163 //
2164 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2165 //
2166 // This file contains Original Code and/or Modifications of Original Code
2167 // as defined in and that are subject to the Apple Public Source License
2168 // Version 2.0 (the 'License'). You may not use this file except in
2169 // compliance with the License. The rights granted to you under the License
2170 // may not be used to create, or enable the creation or redistribution of,
2171 // unlawful or unlicensed copies of an Apple operating system, or to
2172 // circumvent, violate, or enable the circumvention or violation of, any
2173 // terms of an Apple operating system software license agreement.
2174 //
2175 // Please obtain a copy of the License at
2176 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2177 //
2178 // The Original Code and all software distributed under the License are
2179 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2180 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2181 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2182 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2183 // Please see the License for the specific language governing rights and
2184 // limitations under the License.
2185 //
2186 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2187 type U_short = uint16 /* _u_short.h:30:25 */
2188 // Copyright (c) 2017 Apple Inc. All rights reserved.
2189 //
2190 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2191 //
2192 // This file contains Original Code and/or Modifications of Original Code
2193 // as defined in and that are subject to the Apple Public Source License
2194 // Version 2.0 (the 'License'). You may not use this file except in
2195 // compliance with the License. The rights granted to you under the License
2196 // may not be used to create, or enable the creation or redistribution of,
2197 // unlawful or unlicensed copies of an Apple operating system, or to
2198 // circumvent, violate, or enable the circumvention or violation of, any
2199 // terms of an Apple operating system software license agreement.
2200 //
2201 // Please obtain a copy of the License at
2202 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2203 //
2204 // The Original Code and all software distributed under the License are
2205 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2206 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2207 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2208 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2209 // Please see the License for the specific language governing rights and
2210 // limitations under the License.
2211 //
2212 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2213 type U_int = uint32 /* _u_int.h:30:25 */
2214 type U_long = uint64 /* types.h:88:33 */
2215 type Ushort = uint16 /* types.h:91:33 */ // Sys V compatibility
2216 type Uint = uint32 /* types.h:92:33 */ // Sys V compatibility
2217
2218 type U_quad_t = U_int64_t /* types.h:95:33 */ // quads
2219 type Quad_t = Int64_t /* types.h:96:33 */
2220 type Qaddr_t = uintptr /* types.h:97:16 */
2221
2222 // Copyright (c) 2017 Apple Inc. All rights reserved.
2223 //
2224 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2225 //
2226 // This file contains Original Code and/or Modifications of Original Code
2227 // as defined in and that are subject to the Apple Public Source License
2228 // Version 2.0 (the 'License'). You may not use this file except in
2229 // compliance with the License. The rights granted to you under the License
2230 // may not be used to create, or enable the creation or redistribution of,
2231 // unlawful or unlicensed copies of an Apple operating system, or to
2232 // circumvent, violate, or enable the circumvention or violation of, any
2233 // terms of an Apple operating system software license agreement.
2234 //
2235 // Please obtain a copy of the License at
2236 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2237 //
2238 // The Original Code and all software distributed under the License are
2239 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2240 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2241 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2242 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2243 // Please see the License for the specific language governing rights and
2244 // limitations under the License.
2245 //
2246 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2247 type Caddr_t = uintptr /* _caddr_t.h:30:14 */
2248
2249 type Daddr_t = Int32_t /* types.h:101:33 */ // disk address
2250
2251 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2252 //
2253 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2254 //
2255 // This file contains Original Code and/or Modifications of Original Code
2256 // as defined in and that are subject to the Apple Public Source License
2257 // Version 2.0 (the 'License'). You may not use this file except in
2258 // compliance with the License. The rights granted to you under the License
2259 // may not be used to create, or enable the creation or redistribution of,
2260 // unlawful or unlicensed copies of an Apple operating system, or to
2261 // circumvent, violate, or enable the circumvention or violation of, any
2262 // terms of an Apple operating system software license agreement.
2263 //
2264 // Please obtain a copy of the License at
2265 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2266 //
2267 // The Original Code and all software distributed under the License are
2268 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2269 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2270 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2271 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2272 // Please see the License for the specific language governing rights and
2273 // limitations under the License.
2274 //
2275 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2276 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
2277 //
2278 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2279 //
2280 // This file contains Original Code and/or Modifications of Original Code
2281 // as defined in and that are subject to the Apple Public Source License
2282 // Version 2.0 (the 'License'). You may not use this file except in
2283 // compliance with the License. The rights granted to you under the License
2284 // may not be used to create, or enable the creation or redistribution of,
2285 // unlawful or unlicensed copies of an Apple operating system, or to
2286 // circumvent, violate, or enable the circumvention or violation of, any
2287 // terms of an Apple operating system software license agreement.
2288 //
2289 // Please obtain a copy of the License at
2290 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2291 //
2292 // The Original Code and all software distributed under the License are
2293 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2294 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2295 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2296 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2297 // Please see the License for the specific language governing rights and
2298 // limitations under the License.
2299 //
2300 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2301
2302 type Dev_t = X__darwin_dev_t /* _dev_t.h:31:31 */ // device number
2303
2304 type Fixpt_t = U_int32_t /* types.h:105:33 */ // fixed point number
2305
2306 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2307 //
2308 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2309 //
2310 // This file contains Original Code and/or Modifications of Original Code
2311 // as defined in and that are subject to the Apple Public Source License
2312 // Version 2.0 (the 'License'). You may not use this file except in
2313 // compliance with the License. The rights granted to you under the License
2314 // may not be used to create, or enable the creation or redistribution of,
2315 // unlawful or unlicensed copies of an Apple operating system, or to
2316 // circumvent, violate, or enable the circumvention or violation of, any
2317 // terms of an Apple operating system software license agreement.
2318 //
2319 // Please obtain a copy of the License at
2320 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2321 //
2322 // The Original Code and all software distributed under the License are
2323 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2324 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2325 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2326 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2327 // Please see the License for the specific language governing rights and
2328 // limitations under the License.
2329 //
2330 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2331 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
2332 //
2333 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2334 //
2335 // This file contains Original Code and/or Modifications of Original Code
2336 // as defined in and that are subject to the Apple Public Source License
2337 // Version 2.0 (the 'License'). You may not use this file except in
2338 // compliance with the License. The rights granted to you under the License
2339 // may not be used to create, or enable the creation or redistribution of,
2340 // unlawful or unlicensed copies of an Apple operating system, or to
2341 // circumvent, violate, or enable the circumvention or violation of, any
2342 // terms of an Apple operating system software license agreement.
2343 //
2344 // Please obtain a copy of the License at
2345 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2346 //
2347 // The Original Code and all software distributed under the License are
2348 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2349 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2350 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2351 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2352 // Please see the License for the specific language governing rights and
2353 // limitations under the License.
2354 //
2355 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2356
2357 type Blkcnt_t = X__darwin_blkcnt_t /* _blkcnt_t.h:31:34 */
2358 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2359 //
2360 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2361 //
2362 // This file contains Original Code and/or Modifications of Original Code
2363 // as defined in and that are subject to the Apple Public Source License
2364 // Version 2.0 (the 'License'). You may not use this file except in
2365 // compliance with the License. The rights granted to you under the License
2366 // may not be used to create, or enable the creation or redistribution of,
2367 // unlawful or unlicensed copies of an Apple operating system, or to
2368 // circumvent, violate, or enable the circumvention or violation of, any
2369 // terms of an Apple operating system software license agreement.
2370 //
2371 // Please obtain a copy of the License at
2372 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2373 //
2374 // The Original Code and all software distributed under the License are
2375 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2376 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2377 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2378 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2379 // Please see the License for the specific language governing rights and
2380 // limitations under the License.
2381 //
2382 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2383 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
2384 //
2385 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2386 //
2387 // This file contains Original Code and/or Modifications of Original Code
2388 // as defined in and that are subject to the Apple Public Source License
2389 // Version 2.0 (the 'License'). You may not use this file except in
2390 // compliance with the License. The rights granted to you under the License
2391 // may not be used to create, or enable the creation or redistribution of,
2392 // unlawful or unlicensed copies of an Apple operating system, or to
2393 // circumvent, violate, or enable the circumvention or violation of, any
2394 // terms of an Apple operating system software license agreement.
2395 //
2396 // Please obtain a copy of the License at
2397 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2398 //
2399 // The Original Code and all software distributed under the License are
2400 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2401 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2402 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2403 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2404 // Please see the License for the specific language governing rights and
2405 // limitations under the License.
2406 //
2407 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2408
2409 type Blksize_t = X__darwin_blksize_t /* _blksize_t.h:31:35 */
2410 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2411 //
2412 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2413 //
2414 // This file contains Original Code and/or Modifications of Original Code
2415 // as defined in and that are subject to the Apple Public Source License
2416 // Version 2.0 (the 'License'). You may not use this file except in
2417 // compliance with the License. The rights granted to you under the License
2418 // may not be used to create, or enable the creation or redistribution of,
2419 // unlawful or unlicensed copies of an Apple operating system, or to
2420 // circumvent, violate, or enable the circumvention or violation of, any
2421 // terms of an Apple operating system software license agreement.
2422 //
2423 // Please obtain a copy of the License at
2424 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2425 //
2426 // The Original Code and all software distributed under the License are
2427 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2428 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2429 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2430 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2431 // Please see the License for the specific language governing rights and
2432 // limitations under the License.
2433 //
2434 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2435 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
2436 //
2437 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2438 //
2439 // This file contains Original Code and/or Modifications of Original Code
2440 // as defined in and that are subject to the Apple Public Source License
2441 // Version 2.0 (the 'License'). You may not use this file except in
2442 // compliance with the License. The rights granted to you under the License
2443 // may not be used to create, or enable the creation or redistribution of,
2444 // unlawful or unlicensed copies of an Apple operating system, or to
2445 // circumvent, violate, or enable the circumvention or violation of, any
2446 // terms of an Apple operating system software license agreement.
2447 //
2448 // Please obtain a copy of the License at
2449 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2450 //
2451 // The Original Code and all software distributed under the License are
2452 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2453 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2454 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2455 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2456 // Please see the License for the specific language governing rights and
2457 // limitations under the License.
2458 //
2459 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2460
2461 type Gid_t = X__darwin_gid_t /* _gid_t.h:31:25 */
2462 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2463 //
2464 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2465 //
2466 // This file contains Original Code and/or Modifications of Original Code
2467 // as defined in and that are subject to the Apple Public Source License
2468 // Version 2.0 (the 'License'). You may not use this file except in
2469 // compliance with the License. The rights granted to you under the License
2470 // may not be used to create, or enable the creation or redistribution of,
2471 // unlawful or unlicensed copies of an Apple operating system, or to
2472 // circumvent, violate, or enable the circumvention or violation of, any
2473 // terms of an Apple operating system software license agreement.
2474 //
2475 // Please obtain a copy of the License at
2476 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2477 //
2478 // The Original Code and all software distributed under the License are
2479 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2480 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2481 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2482 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2483 // Please see the License for the specific language governing rights and
2484 // limitations under the License.
2485 //
2486 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2487 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2488 //
2489 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2490 //
2491 // This file contains Original Code and/or Modifications of Original Code
2492 // as defined in and that are subject to the Apple Public Source License
2493 // Version 2.0 (the 'License'). You may not use this file except in
2494 // compliance with the License. The rights granted to you under the License
2495 // may not be used to create, or enable the creation or redistribution of,
2496 // unlawful or unlicensed copies of an Apple operating system, or to
2497 // circumvent, violate, or enable the circumvention or violation of, any
2498 // terms of an Apple operating system software license agreement.
2499 //
2500 // Please obtain a copy of the License at
2501 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2502 //
2503 // The Original Code and all software distributed under the License are
2504 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2505 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2506 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2507 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2508 // Please see the License for the specific language governing rights and
2509 // limitations under the License.
2510 //
2511 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2512 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2513 //
2514 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2515 //
2516 // This file contains Original Code and/or Modifications of Original Code
2517 // as defined in and that are subject to the Apple Public Source License
2518 // Version 2.0 (the 'License'). You may not use this file except in
2519 // compliance with the License. The rights granted to you under the License
2520 // may not be used to create, or enable the creation or redistribution of,
2521 // unlawful or unlicensed copies of an Apple operating system, or to
2522 // circumvent, violate, or enable the circumvention or violation of, any
2523 // terms of an Apple operating system software license agreement.
2524 //
2525 // Please obtain a copy of the License at
2526 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2527 //
2528 // The Original Code and all software distributed under the License are
2529 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2530 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2531 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2532 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2533 // Please see the License for the specific language governing rights and
2534 // limitations under the License.
2535 //
2536 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2537 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
2538 //
2539 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2540 //
2541 // This file contains Original Code and/or Modifications of Original Code
2542 // as defined in and that are subject to the Apple Public Source License
2543 // Version 2.0 (the 'License'). You may not use this file except in
2544 // compliance with the License. The rights granted to you under the License
2545 // may not be used to create, or enable the creation or redistribution of,
2546 // unlawful or unlicensed copies of an Apple operating system, or to
2547 // circumvent, violate, or enable the circumvention or violation of, any
2548 // terms of an Apple operating system software license agreement.
2549 //
2550 // Please obtain a copy of the License at
2551 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2552 //
2553 // The Original Code and all software distributed under the License are
2554 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2555 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2556 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2557 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2558 // Please see the License for the specific language governing rights and
2559 // limitations under the License.
2560 //
2561 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2562
2563 type Ino_t = X__darwin_ino_t /* _ino_t.h:31:33 */ // inode number
2564
2565 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2566 //
2567 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2568 //
2569 // This file contains Original Code and/or Modifications of Original Code
2570 // as defined in and that are subject to the Apple Public Source License
2571 // Version 2.0 (the 'License'). You may not use this file except in
2572 // compliance with the License. The rights granted to you under the License
2573 // may not be used to create, or enable the creation or redistribution of,
2574 // unlawful or unlicensed copies of an Apple operating system, or to
2575 // circumvent, violate, or enable the circumvention or violation of, any
2576 // terms of an Apple operating system software license agreement.
2577 //
2578 // Please obtain a copy of the License at
2579 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2580 //
2581 // The Original Code and all software distributed under the License are
2582 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2583 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2584 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2585 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2586 // Please see the License for the specific language governing rights and
2587 // limitations under the License.
2588 //
2589 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2590 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
2591 //
2592 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2593 //
2594 // This file contains Original Code and/or Modifications of Original Code
2595 // as defined in and that are subject to the Apple Public Source License
2596 // Version 2.0 (the 'License'). You may not use this file except in
2597 // compliance with the License. The rights granted to you under the License
2598 // may not be used to create, or enable the creation or redistribution of,
2599 // unlawful or unlicensed copies of an Apple operating system, or to
2600 // circumvent, violate, or enable the circumvention or violation of, any
2601 // terms of an Apple operating system software license agreement.
2602 //
2603 // Please obtain a copy of the License at
2604 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2605 //
2606 // The Original Code and all software distributed under the License are
2607 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2608 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2609 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2610 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2611 // Please see the License for the specific language governing rights and
2612 // limitations under the License.
2613 //
2614 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2615
2616 type Ino64_t = X__darwin_ino64_t /* _ino64_t.h:31:33 */ // 64bit inode number
2617
2618 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2619 //
2620 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2621 //
2622 // This file contains Original Code and/or Modifications of Original Code
2623 // as defined in and that are subject to the Apple Public Source License
2624 // Version 2.0 (the 'License'). You may not use this file except in
2625 // compliance with the License. The rights granted to you under the License
2626 // may not be used to create, or enable the creation or redistribution of,
2627 // unlawful or unlicensed copies of an Apple operating system, or to
2628 // circumvent, violate, or enable the circumvention or violation of, any
2629 // terms of an Apple operating system software license agreement.
2630 //
2631 // Please obtain a copy of the License at
2632 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2633 //
2634 // The Original Code and all software distributed under the License are
2635 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2636 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2637 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2638 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2639 // Please see the License for the specific language governing rights and
2640 // limitations under the License.
2641 //
2642 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2643 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
2644 //
2645 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2646 //
2647 // This file contains Original Code and/or Modifications of Original Code
2648 // as defined in and that are subject to the Apple Public Source License
2649 // Version 2.0 (the 'License'). You may not use this file except in
2650 // compliance with the License. The rights granted to you under the License
2651 // may not be used to create, or enable the creation or redistribution of,
2652 // unlawful or unlicensed copies of an Apple operating system, or to
2653 // circumvent, violate, or enable the circumvention or violation of, any
2654 // terms of an Apple operating system software license agreement.
2655 //
2656 // Please obtain a copy of the License at
2657 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2658 //
2659 // The Original Code and all software distributed under the License are
2660 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2661 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2662 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2663 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2664 // Please see the License for the specific language governing rights and
2665 // limitations under the License.
2666 //
2667 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2668 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
2669 type Key_t = X__int32_t /* _key_t.h:31:26 */ // IPC key (for Sys V IPC)
2670 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2671 //
2672 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2673 //
2674 // This file contains Original Code and/or Modifications of Original Code
2675 // as defined in and that are subject to the Apple Public Source License
2676 // Version 2.0 (the 'License'). You may not use this file except in
2677 // compliance with the License. The rights granted to you under the License
2678 // may not be used to create, or enable the creation or redistribution of,
2679 // unlawful or unlicensed copies of an Apple operating system, or to
2680 // circumvent, violate, or enable the circumvention or violation of, any
2681 // terms of an Apple operating system software license agreement.
2682 //
2683 // Please obtain a copy of the License at
2684 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2685 //
2686 // The Original Code and all software distributed under the License are
2687 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2688 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2689 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2690 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2691 // Please see the License for the specific language governing rights and
2692 // limitations under the License.
2693 //
2694 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2695 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
2696 //
2697 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2698 //
2699 // This file contains Original Code and/or Modifications of Original Code
2700 // as defined in and that are subject to the Apple Public Source License
2701 // Version 2.0 (the 'License'). You may not use this file except in
2702 // compliance with the License. The rights granted to you under the License
2703 // may not be used to create, or enable the creation or redistribution of,
2704 // unlawful or unlicensed copies of an Apple operating system, or to
2705 // circumvent, violate, or enable the circumvention or violation of, any
2706 // terms of an Apple operating system software license agreement.
2707 //
2708 // Please obtain a copy of the License at
2709 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2710 //
2711 // The Original Code and all software distributed under the License are
2712 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2713 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2714 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2715 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2716 // Please see the License for the specific language governing rights and
2717 // limitations under the License.
2718 //
2719 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2720
2721 type Mode_t = X__darwin_mode_t /* _mode_t.h:31:33 */
2722 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2723 //
2724 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2725 //
2726 // This file contains Original Code and/or Modifications of Original Code
2727 // as defined in and that are subject to the Apple Public Source License
2728 // Version 2.0 (the 'License'). You may not use this file except in
2729 // compliance with the License. The rights granted to you under the License
2730 // may not be used to create, or enable the creation or redistribution of,
2731 // unlawful or unlicensed copies of an Apple operating system, or to
2732 // circumvent, violate, or enable the circumvention or violation of, any
2733 // terms of an Apple operating system software license agreement.
2734 //
2735 // Please obtain a copy of the License at
2736 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2737 //
2738 // The Original Code and all software distributed under the License are
2739 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2740 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2741 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2742 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2743 // Please see the License for the specific language governing rights and
2744 // limitations under the License.
2745 //
2746 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2747 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
2748 //
2749 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2750 //
2751 // This file contains Original Code and/or Modifications of Original Code
2752 // as defined in and that are subject to the Apple Public Source License
2753 // Version 2.0 (the 'License'). You may not use this file except in
2754 // compliance with the License. The rights granted to you under the License
2755 // may not be used to create, or enable the creation or redistribution of,
2756 // unlawful or unlicensed copies of an Apple operating system, or to
2757 // circumvent, violate, or enable the circumvention or violation of, any
2758 // terms of an Apple operating system software license agreement.
2759 //
2760 // Please obtain a copy of the License at
2761 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2762 //
2763 // The Original Code and all software distributed under the License are
2764 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2765 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2766 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2767 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2768 // Please see the License for the specific language governing rights and
2769 // limitations under the License.
2770 //
2771 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2772 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
2773 type Nlink_t = X__uint16_t /* _nlink_t.h:31:27 */ // link count
2774 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2775 //
2776 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2777 //
2778 // This file contains Original Code and/or Modifications of Original Code
2779 // as defined in and that are subject to the Apple Public Source License
2780 // Version 2.0 (the 'License'). You may not use this file except in
2781 // compliance with the License. The rights granted to you under the License
2782 // may not be used to create, or enable the creation or redistribution of,
2783 // unlawful or unlicensed copies of an Apple operating system, or to
2784 // circumvent, violate, or enable the circumvention or violation of, any
2785 // terms of an Apple operating system software license agreement.
2786 //
2787 // Please obtain a copy of the License at
2788 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2789 //
2790 // The Original Code and all software distributed under the License are
2791 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2792 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2793 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2794 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2795 // Please see the License for the specific language governing rights and
2796 // limitations under the License.
2797 //
2798 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2799 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
2800 //
2801 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2802 //
2803 // This file contains Original Code and/or Modifications of Original Code
2804 // as defined in and that are subject to the Apple Public Source License
2805 // Version 2.0 (the 'License'). You may not use this file except in
2806 // compliance with the License. The rights granted to you under the License
2807 // may not be used to create, or enable the creation or redistribution of,
2808 // unlawful or unlicensed copies of an Apple operating system, or to
2809 // circumvent, violate, or enable the circumvention or violation of, any
2810 // terms of an Apple operating system software license agreement.
2811 //
2812 // Please obtain a copy of the License at
2813 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2814 //
2815 // The Original Code and all software distributed under the License are
2816 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2817 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2818 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2819 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2820 // Please see the License for the specific language governing rights and
2821 // limitations under the License.
2822 //
2823 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2824
2825 type Id_t = X__darwin_id_t /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t
2826 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2827 //
2828 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2829 //
2830 // This file contains Original Code and/or Modifications of Original Code
2831 // as defined in and that are subject to the Apple Public Source License
2832 // Version 2.0 (the 'License'). You may not use this file except in
2833 // compliance with the License. The rights granted to you under the License
2834 // may not be used to create, or enable the creation or redistribution of,
2835 // unlawful or unlicensed copies of an Apple operating system, or to
2836 // circumvent, violate, or enable the circumvention or violation of, any
2837 // terms of an Apple operating system software license agreement.
2838 //
2839 // Please obtain a copy of the License at
2840 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2841 //
2842 // The Original Code and all software distributed under the License are
2843 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2844 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2845 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2846 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2847 // Please see the License for the specific language governing rights and
2848 // limitations under the License.
2849 //
2850 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2851 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
2852 //
2853 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2854 //
2855 // This file contains Original Code and/or Modifications of Original Code
2856 // as defined in and that are subject to the Apple Public Source License
2857 // Version 2.0 (the 'License'). You may not use this file except in
2858 // compliance with the License. The rights granted to you under the License
2859 // may not be used to create, or enable the creation or redistribution of,
2860 // unlawful or unlicensed copies of an Apple operating system, or to
2861 // circumvent, violate, or enable the circumvention or violation of, any
2862 // terms of an Apple operating system software license agreement.
2863 //
2864 // Please obtain a copy of the License at
2865 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2866 //
2867 // The Original Code and all software distributed under the License are
2868 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2869 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2870 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2871 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2872 // Please see the License for the specific language governing rights and
2873 // limitations under the License.
2874 //
2875 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2876
2877 type Pid_t = X__darwin_pid_t /* _pid_t.h:31:31 */
2878 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2879 //
2880 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2881 //
2882 // This file contains Original Code and/or Modifications of Original Code
2883 // as defined in and that are subject to the Apple Public Source License
2884 // Version 2.0 (the 'License'). You may not use this file except in
2885 // compliance with the License. The rights granted to you under the License
2886 // may not be used to create, or enable the creation or redistribution of,
2887 // unlawful or unlicensed copies of an Apple operating system, or to
2888 // circumvent, violate, or enable the circumvention or violation of, any
2889 // terms of an Apple operating system software license agreement.
2890 //
2891 // Please obtain a copy of the License at
2892 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2893 //
2894 // The Original Code and all software distributed under the License are
2895 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2896 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2897 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2898 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2899 // Please see the License for the specific language governing rights and
2900 // limitations under the License.
2901 //
2902 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2903 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
2904 //
2905 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2906 //
2907 // This file contains Original Code and/or Modifications of Original Code
2908 // as defined in and that are subject to the Apple Public Source License
2909 // Version 2.0 (the 'License'). You may not use this file except in
2910 // compliance with the License. The rights granted to you under the License
2911 // may not be used to create, or enable the creation or redistribution of,
2912 // unlawful or unlicensed copies of an Apple operating system, or to
2913 // circumvent, violate, or enable the circumvention or violation of, any
2914 // terms of an Apple operating system software license agreement.
2915 //
2916 // Please obtain a copy of the License at
2917 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2918 //
2919 // The Original Code and all software distributed under the License are
2920 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2921 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2922 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2923 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2924 // Please see the License for the specific language governing rights and
2925 // limitations under the License.
2926 //
2927 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2928
2929 type Off_t = X__darwin_off_t /* _off_t.h:31:33 */
2930
2931 type Segsz_t = Int32_t /* types.h:125:33 */ // segment size
2932 type Swblk_t = Int32_t /* types.h:126:33 */ // swap offset
2933
2934 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2935 //
2936 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2937 //
2938 // This file contains Original Code and/or Modifications of Original Code
2939 // as defined in and that are subject to the Apple Public Source License
2940 // Version 2.0 (the 'License'). You may not use this file except in
2941 // compliance with the License. The rights granted to you under the License
2942 // may not be used to create, or enable the creation or redistribution of,
2943 // unlawful or unlicensed copies of an Apple operating system, or to
2944 // circumvent, violate, or enable the circumvention or violation of, any
2945 // terms of an Apple operating system software license agreement.
2946 //
2947 // Please obtain a copy of the License at
2948 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2949 //
2950 // The Original Code and all software distributed under the License are
2951 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2952 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2953 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2954 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2955 // Please see the License for the specific language governing rights and
2956 // limitations under the License.
2957 //
2958 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2959 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
2960 //
2961 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2962 //
2963 // This file contains Original Code and/or Modifications of Original Code
2964 // as defined in and that are subject to the Apple Public Source License
2965 // Version 2.0 (the 'License'). You may not use this file except in
2966 // compliance with the License. The rights granted to you under the License
2967 // may not be used to create, or enable the creation or redistribution of,
2968 // unlawful or unlicensed copies of an Apple operating system, or to
2969 // circumvent, violate, or enable the circumvention or violation of, any
2970 // terms of an Apple operating system software license agreement.
2971 //
2972 // Please obtain a copy of the License at
2973 // http://www.opensource.apple.com/apsl/ and read it before using this file.
2974 //
2975 // The Original Code and all software distributed under the License are
2976 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2977 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2978 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2979 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2980 // Please see the License for the specific language governing rights and
2981 // limitations under the License.
2982 //
2983 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2984
2985 type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
2986
2987 // Major, minor numbers, dev_t's.
2988
2989 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
2990 //
2991 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
2992 //
2993 // This file contains Original Code and/or Modifications of Original Code
2994 // as defined in and that are subject to the Apple Public Source License
2995 // Version 2.0 (the 'License'). You may not use this file except in
2996 // compliance with the License. The rights granted to you under the License
2997 // may not be used to create, or enable the creation or redistribution of,
2998 // unlawful or unlicensed copies of an Apple operating system, or to
2999 // circumvent, violate, or enable the circumvention or violation of, any
3000 // terms of an Apple operating system software license agreement.
3001 //
3002 // Please obtain a copy of the License at
3003 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3004 //
3005 // The Original Code and all software distributed under the License are
3006 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3007 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3008 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3009 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3010 // Please see the License for the specific language governing rights and
3011 // limitations under the License.
3012 //
3013 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3014 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
3015 //
3016 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3017 //
3018 // This file contains Original Code and/or Modifications of Original Code
3019 // as defined in and that are subject to the Apple Public Source License
3020 // Version 2.0 (the 'License'). You may not use this file except in
3021 // compliance with the License. The rights granted to you under the License
3022 // may not be used to create, or enable the creation or redistribution of,
3023 // unlawful or unlicensed copies of an Apple operating system, or to
3024 // circumvent, violate, or enable the circumvention or violation of, any
3025 // terms of an Apple operating system software license agreement.
3026 //
3027 // Please obtain a copy of the License at
3028 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3029 //
3030 // The Original Code and all software distributed under the License are
3031 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3032 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3033 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3034 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3035 // Please see the License for the specific language governing rights and
3036 // limitations under the License.
3037 //
3038 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3039 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
3040 type Clock_t = X__darwin_clock_t /* _clock_t.h:31:33 */
3041 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3042 //
3043 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3044 //
3045 // This file contains Original Code and/or Modifications of Original Code
3046 // as defined in and that are subject to the Apple Public Source License
3047 // Version 2.0 (the 'License'). You may not use this file except in
3048 // compliance with the License. The rights granted to you under the License
3049 // may not be used to create, or enable the creation or redistribution of,
3050 // unlawful or unlicensed copies of an Apple operating system, or to
3051 // circumvent, violate, or enable the circumvention or violation of, any
3052 // terms of an Apple operating system software license agreement.
3053 //
3054 // Please obtain a copy of the License at
3055 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3056 //
3057 // The Original Code and all software distributed under the License are
3058 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3059 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3060 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3061 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3062 // Please see the License for the specific language governing rights and
3063 // limitations under the License.
3064 //
3065 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3066 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
3067 //
3068 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3069 //
3070 // This file contains Original Code and/or Modifications of Original Code
3071 // as defined in and that are subject to the Apple Public Source License
3072 // Version 2.0 (the 'License'). You may not use this file except in
3073 // compliance with the License. The rights granted to you under the License
3074 // may not be used to create, or enable the creation or redistribution of,
3075 // unlawful or unlicensed copies of an Apple operating system, or to
3076 // circumvent, violate, or enable the circumvention or violation of, any
3077 // terms of an Apple operating system software license agreement.
3078 //
3079 // Please obtain a copy of the License at
3080 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3081 //
3082 // The Original Code and all software distributed under the License are
3083 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3084 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3085 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3086 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3087 // Please see the License for the specific language governing rights and
3088 // limitations under the License.
3089 //
3090 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3091 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
3092 type Ssize_t = X__darwin_ssize_t /* _ssize_t.h:31:33 */
3093 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3094 //
3095 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3096 //
3097 // This file contains Original Code and/or Modifications of Original Code
3098 // as defined in and that are subject to the Apple Public Source License
3099 // Version 2.0 (the 'License'). You may not use this file except in
3100 // compliance with the License. The rights granted to you under the License
3101 // may not be used to create, or enable the creation or redistribution of,
3102 // unlawful or unlicensed copies of an Apple operating system, or to
3103 // circumvent, violate, or enable the circumvention or violation of, any
3104 // terms of an Apple operating system software license agreement.
3105 //
3106 // Please obtain a copy of the License at
3107 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3108 //
3109 // The Original Code and all software distributed under the License are
3110 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3111 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3112 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3113 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3114 // Please see the License for the specific language governing rights and
3115 // limitations under the License.
3116 //
3117 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3118 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
3119 //
3120 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3121 //
3122 // This file contains Original Code and/or Modifications of Original Code
3123 // as defined in and that are subject to the Apple Public Source License
3124 // Version 2.0 (the 'License'). You may not use this file except in
3125 // compliance with the License. The rights granted to you under the License
3126 // may not be used to create, or enable the creation or redistribution of,
3127 // unlawful or unlicensed copies of an Apple operating system, or to
3128 // circumvent, violate, or enable the circumvention or violation of, any
3129 // terms of an Apple operating system software license agreement.
3130 //
3131 // Please obtain a copy of the License at
3132 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3133 //
3134 // The Original Code and all software distributed under the License are
3135 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3136 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3137 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3138 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3139 // Please see the License for the specific language governing rights and
3140 // limitations under the License.
3141 //
3142 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3143 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
3144 type Time_t = X__darwin_time_t /* _time_t.h:31:33 */
3145
3146 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3147 //
3148 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3149 //
3150 // This file contains Original Code and/or Modifications of Original Code
3151 // as defined in and that are subject to the Apple Public Source License
3152 // Version 2.0 (the 'License'). You may not use this file except in
3153 // compliance with the License. The rights granted to you under the License
3154 // may not be used to create, or enable the creation or redistribution of,
3155 // unlawful or unlicensed copies of an Apple operating system, or to
3156 // circumvent, violate, or enable the circumvention or violation of, any
3157 // terms of an Apple operating system software license agreement.
3158 //
3159 // Please obtain a copy of the License at
3160 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3161 //
3162 // The Original Code and all software distributed under the License are
3163 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3164 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3165 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3166 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3167 // Please see the License for the specific language governing rights and
3168 // limitations under the License.
3169 //
3170 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3171 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
3172 //
3173 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3174 //
3175 // This file contains Original Code and/or Modifications of Original Code
3176 // as defined in and that are subject to the Apple Public Source License
3177 // Version 2.0 (the 'License'). You may not use this file except in
3178 // compliance with the License. The rights granted to you under the License
3179 // may not be used to create, or enable the creation or redistribution of,
3180 // unlawful or unlicensed copies of an Apple operating system, or to
3181 // circumvent, violate, or enable the circumvention or violation of, any
3182 // terms of an Apple operating system software license agreement.
3183 //
3184 // Please obtain a copy of the License at
3185 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3186 //
3187 // The Original Code and all software distributed under the License are
3188 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3189 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3190 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3191 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3192 // Please see the License for the specific language governing rights and
3193 // limitations under the License.
3194 //
3195 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3196
3197 type Useconds_t = X__darwin_useconds_t /* _useconds_t.h:31:33 */
3198 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3199 //
3200 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3201 //
3202 // This file contains Original Code and/or Modifications of Original Code
3203 // as defined in and that are subject to the Apple Public Source License
3204 // Version 2.0 (the 'License'). You may not use this file except in
3205 // compliance with the License. The rights granted to you under the License
3206 // may not be used to create, or enable the creation or redistribution of,
3207 // unlawful or unlicensed copies of an Apple operating system, or to
3208 // circumvent, violate, or enable the circumvention or violation of, any
3209 // terms of an Apple operating system software license agreement.
3210 //
3211 // Please obtain a copy of the License at
3212 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3213 //
3214 // The Original Code and all software distributed under the License are
3215 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3216 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3217 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3218 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3219 // Please see the License for the specific language governing rights and
3220 // limitations under the License.
3221 //
3222 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3223 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
3224 //
3225 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3226 //
3227 // This file contains Original Code and/or Modifications of Original Code
3228 // as defined in and that are subject to the Apple Public Source License
3229 // Version 2.0 (the 'License'). You may not use this file except in
3230 // compliance with the License. The rights granted to you under the License
3231 // may not be used to create, or enable the creation or redistribution of,
3232 // unlawful or unlicensed copies of an Apple operating system, or to
3233 // circumvent, violate, or enable the circumvention or violation of, any
3234 // terms of an Apple operating system software license agreement.
3235 //
3236 // Please obtain a copy of the License at
3237 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3238 //
3239 // The Original Code and all software distributed under the License are
3240 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3241 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3242 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3243 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3244 // Please see the License for the specific language governing rights and
3245 // limitations under the License.
3246 //
3247 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3248
3249 type Suseconds_t = X__darwin_suseconds_t /* _suseconds_t.h:31:33 */
3250
3251 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3252 //
3253 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3254 //
3255 // This file contains Original Code and/or Modifications of Original Code
3256 // as defined in and that are subject to the Apple Public Source License
3257 // Version 2.0 (the 'License'). You may not use this file except in
3258 // compliance with the License. The rights granted to you under the License
3259 // may not be used to create, or enable the creation or redistribution of,
3260 // unlawful or unlicensed copies of an Apple operating system, or to
3261 // circumvent, violate, or enable the circumvention or violation of, any
3262 // terms of an Apple operating system software license agreement.
3263 //
3264 // Please obtain a copy of the License at
3265 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3266 //
3267 // The Original Code and all software distributed under the License are
3268 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3269 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3270 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3271 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3272 // Please see the License for the specific language governing rights and
3273 // limitations under the License.
3274 //
3275 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3276 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
3277 //
3278 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3279 //
3280 // This file contains Original Code and/or Modifications of Original Code
3281 // as defined in and that are subject to the Apple Public Source License
3282 // Version 2.0 (the 'License'). You may not use this file except in
3283 // compliance with the License. The rights granted to you under the License
3284 // may not be used to create, or enable the creation or redistribution of,
3285 // unlawful or unlicensed copies of an Apple operating system, or to
3286 // circumvent, violate, or enable the circumvention or violation of, any
3287 // terms of an Apple operating system software license agreement.
3288 //
3289 // Please obtain a copy of the License at
3290 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3291 //
3292 // The Original Code and all software distributed under the License are
3293 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3294 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3295 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3296 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3297 // Please see the License for the specific language governing rights and
3298 // limitations under the License.
3299 //
3300 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3301 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
3302 type Rsize_t = X__darwin_size_t /* _rsize_t.h:31:32 */
3303 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3304 //
3305 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3306 //
3307 // This file contains Original Code and/or Modifications of Original Code
3308 // as defined in and that are subject to the Apple Public Source License
3309 // Version 2.0 (the 'License'). You may not use this file except in
3310 // compliance with the License. The rights granted to you under the License
3311 // may not be used to create, or enable the creation or redistribution of,
3312 // unlawful or unlicensed copies of an Apple operating system, or to
3313 // circumvent, violate, or enable the circumvention or violation of, any
3314 // terms of an Apple operating system software license agreement.
3315 //
3316 // Please obtain a copy of the License at
3317 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3318 //
3319 // The Original Code and all software distributed under the License are
3320 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3321 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3322 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3323 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3324 // Please see the License for the specific language governing rights and
3325 // limitations under the License.
3326 //
3327 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3328 type Errno_t = int32 /* _errno_t.h:30:32 */
3329
3330 // This code is present here in order to maintain historical backward
3331 // compatability, and is intended to be removed at some point in the
3332 // future; please include <sys/select.h> instead.
3333 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3334 //
3335 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3336 //
3337 // This file contains Original Code and/or Modifications of Original Code
3338 // as defined in and that are subject to the Apple Public Source License
3339 // Version 2.0 (the 'License'). You may not use this file except in
3340 // compliance with the License. The rights granted to you under the License
3341 // may not be used to create, or enable the creation or redistribution of,
3342 // unlawful or unlicensed copies of an Apple operating system, or to
3343 // circumvent, violate, or enable the circumvention or violation of, any
3344 // terms of an Apple operating system software license agreement.
3345 //
3346 // Please obtain a copy of the License at
3347 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3348 //
3349 // The Original Code and all software distributed under the License are
3350 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3351 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3352 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3353 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3354 // Please see the License for the specific language governing rights and
3355 // limitations under the License.
3356 //
3357 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3358
3359 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
3360 //
3361 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3362 //
3363 // This file contains Original Code and/or Modifications of Original Code
3364 // as defined in and that are subject to the Apple Public Source License
3365 // Version 2.0 (the 'License'). You may not use this file except in
3366 // compliance with the License. The rights granted to you under the License
3367 // may not be used to create, or enable the creation or redistribution of,
3368 // unlawful or unlicensed copies of an Apple operating system, or to
3369 // circumvent, violate, or enable the circumvention or violation of, any
3370 // terms of an Apple operating system software license agreement.
3371 //
3372 // Please obtain a copy of the License at
3373 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3374 //
3375 // The Original Code and all software distributed under the License are
3376 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3377 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3378 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3379 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3380 // Please see the License for the specific language governing rights and
3381 // limitations under the License.
3382 //
3383 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3384 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
3385 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
3386 //
3387 // @APPLE_LICENSE_HEADER_START@
3388 //
3389 // This file contains Original Code and/or Modifications of Original Code
3390 // as defined in and that are subject to the Apple Public Source License
3391 // Version 2.0 (the 'License'). You may not use this file except in
3392 // compliance with the License. Please obtain a copy of the License at
3393 // http://www.opensource.apple.com/apsl/ and read it before using this
3394 // file.
3395 //
3396 // The Original Code and all software distributed under the License are
3397 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3398 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3399 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3400 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3401 // Please see the License for the specific language governing rights and
3402 // limitations under the License.
3403 //
3404 // @APPLE_LICENSE_HEADER_END@
3405
3406 // Select uses bit masks of file descriptors in longs. These macros
3407 // manipulate such bit fields (the filesystem macros use chars). The
3408 // extra protection here is to permit application redefinition above
3409 // the default size.
3410
3411 type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
3412
3413 // This code is present here in order to maintain historical backward
3414 // compatability, and is intended to be removed at some point in the
3415 // future; please include <sys/select.h> instead.
3416 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3417 //
3418 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3419 //
3420 // This file contains Original Code and/or Modifications of Original Code
3421 // as defined in and that are subject to the Apple Public Source License
3422 // Version 2.0 (the 'License'). You may not use this file except in
3423 // compliance with the License. The rights granted to you under the License
3424 // may not be used to create, or enable the creation or redistribution of,
3425 // unlawful or unlicensed copies of an Apple operating system, or to
3426 // circumvent, violate, or enable the circumvention or violation of, any
3427 // terms of an Apple operating system software license agreement.
3428 //
3429 // Please obtain a copy of the License at
3430 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3431 //
3432 // The Original Code and all software distributed under the License are
3433 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3434 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3435 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3436 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3437 // Please see the License for the specific language governing rights and
3438 // limitations under the License.
3439 //
3440 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3441
3442 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
3443 //
3444 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3445 //
3446 // This file contains Original Code and/or Modifications of Original Code
3447 // as defined in and that are subject to the Apple Public Source License
3448 // Version 2.0 (the 'License'). You may not use this file except in
3449 // compliance with the License. The rights granted to you under the License
3450 // may not be used to create, or enable the creation or redistribution of,
3451 // unlawful or unlicensed copies of an Apple operating system, or to
3452 // circumvent, violate, or enable the circumvention or violation of, any
3453 // terms of an Apple operating system software license agreement.
3454 //
3455 // Please obtain a copy of the License at
3456 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3457 //
3458 // The Original Code and all software distributed under the License are
3459 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3460 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3461 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3462 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3463 // Please see the License for the specific language governing rights and
3464 // limitations under the License.
3465 //
3466 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3467 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
3468 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
3469 //
3470 // @APPLE_LICENSE_HEADER_START@
3471 //
3472 // This file contains Original Code and/or Modifications of Original Code
3473 // as defined in and that are subject to the Apple Public Source License
3474 // Version 2.0 (the 'License'). You may not use this file except in
3475 // compliance with the License. Please obtain a copy of the License at
3476 // http://www.opensource.apple.com/apsl/ and read it before using this
3477 // file.
3478 //
3479 // The Original Code and all software distributed under the License are
3480 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3481 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3482 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3483 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3484 // Please see the License for the specific language governing rights and
3485 // limitations under the License.
3486 //
3487 // @APPLE_LICENSE_HEADER_END@
3488
3489 // Select uses bit masks of file descriptors in longs. These macros
3490 // manipulate such bit fields (the filesystem macros use chars). The
3491 // extra protection here is to permit application redefinition above
3492 // the default size.
3493
3494 type Fd_set = Fd_set1 /* _fd_def.h:52:3 */
3495
3496 // Use the built-in bzero function instead of the library version so that
3497 // we do not pollute the namespace or introduce prototype warnings.
3498
3499 type Fd_mask = X__int32_t /* types.h:189:25 */
3500
3501 // Select uses bit masks of file descriptors in longs. These macros
3502 // manipulate such bit fields (the filesystem macros use chars). The
3503 // extra protection here is to permit application redefinition above
3504 // the default size.
3505 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3506 //
3507 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3508 //
3509 // This file contains Original Code and/or Modifications of Original Code
3510 // as defined in and that are subject to the Apple Public Source License
3511 // Version 2.0 (the 'License'). You may not use this file except in
3512 // compliance with the License. The rights granted to you under the License
3513 // may not be used to create, or enable the creation or redistribution of,
3514 // unlawful or unlicensed copies of an Apple operating system, or to
3515 // circumvent, violate, or enable the circumvention or violation of, any
3516 // terms of an Apple operating system software license agreement.
3517 //
3518 // Please obtain a copy of the License at
3519 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3520 //
3521 // The Original Code and all software distributed under the License are
3522 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3523 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3524 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3525 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3526 // Please see the License for the specific language governing rights and
3527 // limitations under the License.
3528 //
3529 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3530 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3531 //
3532 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3533 //
3534 // This file contains Original Code and/or Modifications of Original Code
3535 // as defined in and that are subject to the Apple Public Source License
3536 // Version 2.0 (the 'License'). You may not use this file except in
3537 // compliance with the License. The rights granted to you under the License
3538 // may not be used to create, or enable the creation or redistribution of,
3539 // unlawful or unlicensed copies of an Apple operating system, or to
3540 // circumvent, violate, or enable the circumvention or violation of, any
3541 // terms of an Apple operating system software license agreement.
3542 //
3543 // Please obtain a copy of the License at
3544 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3545 //
3546 // The Original Code and all software distributed under the License are
3547 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3548 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3549 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3550 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3551 // Please see the License for the specific language governing rights and
3552 // limitations under the License.
3553 //
3554 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3555 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3556 //
3557 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3558 //
3559 // This file contains Original Code and/or Modifications of Original Code
3560 // as defined in and that are subject to the Apple Public Source License
3561 // Version 2.0 (the 'License'). You may not use this file except in
3562 // compliance with the License. The rights granted to you under the License
3563 // may not be used to create, or enable the creation or redistribution of,
3564 // unlawful or unlicensed copies of an Apple operating system, or to
3565 // circumvent, violate, or enable the circumvention or violation of, any
3566 // terms of an Apple operating system software license agreement.
3567 //
3568 // Please obtain a copy of the License at
3569 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3570 //
3571 // The Original Code and all software distributed under the License are
3572 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3573 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3574 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3575 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3576 // Please see the License for the specific language governing rights and
3577 // limitations under the License.
3578 //
3579 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3580 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3581 //
3582 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3583 //
3584 // This file contains Original Code and/or Modifications of Original Code
3585 // as defined in and that are subject to the Apple Public Source License
3586 // Version 2.0 (the 'License'). You may not use this file except in
3587 // compliance with the License. The rights granted to you under the License
3588 // may not be used to create, or enable the creation or redistribution of,
3589 // unlawful or unlicensed copies of an Apple operating system, or to
3590 // circumvent, violate, or enable the circumvention or violation of, any
3591 // terms of an Apple operating system software license agreement.
3592 //
3593 // Please obtain a copy of the License at
3594 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3595 //
3596 // The Original Code and all software distributed under the License are
3597 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3598 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3599 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3600 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3601 // Please see the License for the specific language governing rights and
3602 // limitations under the License.
3603 //
3604 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3605 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3606 //
3607 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3608 //
3609 // This file contains Original Code and/or Modifications of Original Code
3610 // as defined in and that are subject to the Apple Public Source License
3611 // Version 2.0 (the 'License'). You may not use this file except in
3612 // compliance with the License. The rights granted to you under the License
3613 // may not be used to create, or enable the creation or redistribution of,
3614 // unlawful or unlicensed copies of an Apple operating system, or to
3615 // circumvent, violate, or enable the circumvention or violation of, any
3616 // terms of an Apple operating system software license agreement.
3617 //
3618 // Please obtain a copy of the License at
3619 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3620 //
3621 // The Original Code and all software distributed under the License are
3622 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3623 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3624 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3625 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3626 // Please see the License for the specific language governing rights and
3627 // limitations under the License.
3628 //
3629 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3630
3631 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3632 //
3633 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3634 //
3635 // This file contains Original Code and/or Modifications of Original Code
3636 // as defined in and that are subject to the Apple Public Source License
3637 // Version 2.0 (the 'License'). You may not use this file except in
3638 // compliance with the License. The rights granted to you under the License
3639 // may not be used to create, or enable the creation or redistribution of,
3640 // unlawful or unlicensed copies of an Apple operating system, or to
3641 // circumvent, violate, or enable the circumvention or violation of, any
3642 // terms of an Apple operating system software license agreement.
3643 //
3644 // Please obtain a copy of the License at
3645 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3646 //
3647 // The Original Code and all software distributed under the License are
3648 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3649 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3650 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3651 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3652 // Please see the License for the specific language governing rights and
3653 // limitations under the License.
3654 //
3655 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3656
3657 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3658 //
3659 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3660 //
3661 // This file contains Original Code and/or Modifications of Original Code
3662 // as defined in and that are subject to the Apple Public Source License
3663 // Version 2.0 (the 'License'). You may not use this file except in
3664 // compliance with the License. The rights granted to you under the License
3665 // may not be used to create, or enable the creation or redistribution of,
3666 // unlawful or unlicensed copies of an Apple operating system, or to
3667 // circumvent, violate, or enable the circumvention or violation of, any
3668 // terms of an Apple operating system software license agreement.
3669 //
3670 // Please obtain a copy of the License at
3671 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3672 //
3673 // The Original Code and all software distributed under the License are
3674 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3675 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3676 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3677 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3678 // Please see the License for the specific language governing rights and
3679 // limitations under the License.
3680 //
3681 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3682 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
3683 //
3684 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3685 //
3686 // This file contains Original Code and/or Modifications of Original Code
3687 // as defined in and that are subject to the Apple Public Source License
3688 // Version 2.0 (the 'License'). You may not use this file except in
3689 // compliance with the License. The rights granted to you under the License
3690 // may not be used to create, or enable the creation or redistribution of,
3691 // unlawful or unlicensed copies of an Apple operating system, or to
3692 // circumvent, violate, or enable the circumvention or violation of, any
3693 // terms of an Apple operating system software license agreement.
3694 //
3695 // Please obtain a copy of the License at
3696 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3697 //
3698 // The Original Code and all software distributed under the License are
3699 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3700 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3701 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3702 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3703 // Please see the License for the specific language governing rights and
3704 // limitations under the License.
3705 //
3706 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3707
3708 type Pthread_attr_t = X__darwin_pthread_attr_t /* _pthread_attr_t.h:31:33 */
3709 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3710 //
3711 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3712 //
3713 // This file contains Original Code and/or Modifications of Original Code
3714 // as defined in and that are subject to the Apple Public Source License
3715 // Version 2.0 (the 'License'). You may not use this file except in
3716 // compliance with the License. The rights granted to you under the License
3717 // may not be used to create, or enable the creation or redistribution of,
3718 // unlawful or unlicensed copies of an Apple operating system, or to
3719 // circumvent, violate, or enable the circumvention or violation of, any
3720 // terms of an Apple operating system software license agreement.
3721 //
3722 // Please obtain a copy of the License at
3723 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3724 //
3725 // The Original Code and all software distributed under the License are
3726 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3727 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3728 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3729 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3730 // Please see the License for the specific language governing rights and
3731 // limitations under the License.
3732 //
3733 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3734 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
3735 //
3736 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3737 //
3738 // This file contains Original Code and/or Modifications of Original Code
3739 // as defined in and that are subject to the Apple Public Source License
3740 // Version 2.0 (the 'License'). You may not use this file except in
3741 // compliance with the License. The rights granted to you under the License
3742 // may not be used to create, or enable the creation or redistribution of,
3743 // unlawful or unlicensed copies of an Apple operating system, or to
3744 // circumvent, violate, or enable the circumvention or violation of, any
3745 // terms of an Apple operating system software license agreement.
3746 //
3747 // Please obtain a copy of the License at
3748 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3749 //
3750 // The Original Code and all software distributed under the License are
3751 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3752 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3753 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3754 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3755 // Please see the License for the specific language governing rights and
3756 // limitations under the License.
3757 //
3758 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3759
3760 type Pthread_cond_t = X__darwin_pthread_cond_t /* _pthread_cond_t.h:31:33 */
3761 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3762 //
3763 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3764 //
3765 // This file contains Original Code and/or Modifications of Original Code
3766 // as defined in and that are subject to the Apple Public Source License
3767 // Version 2.0 (the 'License'). You may not use this file except in
3768 // compliance with the License. The rights granted to you under the License
3769 // may not be used to create, or enable the creation or redistribution of,
3770 // unlawful or unlicensed copies of an Apple operating system, or to
3771 // circumvent, violate, or enable the circumvention or violation of, any
3772 // terms of an Apple operating system software license agreement.
3773 //
3774 // Please obtain a copy of the License at
3775 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3776 //
3777 // The Original Code and all software distributed under the License are
3778 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3779 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3780 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3781 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3782 // Please see the License for the specific language governing rights and
3783 // limitations under the License.
3784 //
3785 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3786 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
3787 //
3788 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3789 //
3790 // This file contains Original Code and/or Modifications of Original Code
3791 // as defined in and that are subject to the Apple Public Source License
3792 // Version 2.0 (the 'License'). You may not use this file except in
3793 // compliance with the License. The rights granted to you under the License
3794 // may not be used to create, or enable the creation or redistribution of,
3795 // unlawful or unlicensed copies of an Apple operating system, or to
3796 // circumvent, violate, or enable the circumvention or violation of, any
3797 // terms of an Apple operating system software license agreement.
3798 //
3799 // Please obtain a copy of the License at
3800 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3801 //
3802 // The Original Code and all software distributed under the License are
3803 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3804 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3805 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3806 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3807 // Please see the License for the specific language governing rights and
3808 // limitations under the License.
3809 //
3810 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3811
3812 type Pthread_condattr_t = X__darwin_pthread_condattr_t /* _pthread_condattr_t.h:31:37 */
3813 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3814 //
3815 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3816 //
3817 // This file contains Original Code and/or Modifications of Original Code
3818 // as defined in and that are subject to the Apple Public Source License
3819 // Version 2.0 (the 'License'). You may not use this file except in
3820 // compliance with the License. The rights granted to you under the License
3821 // may not be used to create, or enable the creation or redistribution of,
3822 // unlawful or unlicensed copies of an Apple operating system, or to
3823 // circumvent, violate, or enable the circumvention or violation of, any
3824 // terms of an Apple operating system software license agreement.
3825 //
3826 // Please obtain a copy of the License at
3827 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3828 //
3829 // The Original Code and all software distributed under the License are
3830 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3831 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3832 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3833 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3834 // Please see the License for the specific language governing rights and
3835 // limitations under the License.
3836 //
3837 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3838 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
3839 //
3840 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3841 //
3842 // This file contains Original Code and/or Modifications of Original Code
3843 // as defined in and that are subject to the Apple Public Source License
3844 // Version 2.0 (the 'License'). You may not use this file except in
3845 // compliance with the License. The rights granted to you under the License
3846 // may not be used to create, or enable the creation or redistribution of,
3847 // unlawful or unlicensed copies of an Apple operating system, or to
3848 // circumvent, violate, or enable the circumvention or violation of, any
3849 // terms of an Apple operating system software license agreement.
3850 //
3851 // Please obtain a copy of the License at
3852 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3853 //
3854 // The Original Code and all software distributed under the License are
3855 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3856 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3857 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3858 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3859 // Please see the License for the specific language governing rights and
3860 // limitations under the License.
3861 //
3862 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3863
3864 type Pthread_mutex_t = X__darwin_pthread_mutex_t /* _pthread_mutex_t.h:31:34 */
3865 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3866 //
3867 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3868 //
3869 // This file contains Original Code and/or Modifications of Original Code
3870 // as defined in and that are subject to the Apple Public Source License
3871 // Version 2.0 (the 'License'). You may not use this file except in
3872 // compliance with the License. The rights granted to you under the License
3873 // may not be used to create, or enable the creation or redistribution of,
3874 // unlawful or unlicensed copies of an Apple operating system, or to
3875 // circumvent, violate, or enable the circumvention or violation of, any
3876 // terms of an Apple operating system software license agreement.
3877 //
3878 // Please obtain a copy of the License at
3879 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3880 //
3881 // The Original Code and all software distributed under the License are
3882 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3883 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3884 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3885 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3886 // Please see the License for the specific language governing rights and
3887 // limitations under the License.
3888 //
3889 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3890 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
3891 //
3892 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3893 //
3894 // This file contains Original Code and/or Modifications of Original Code
3895 // as defined in and that are subject to the Apple Public Source License
3896 // Version 2.0 (the 'License'). You may not use this file except in
3897 // compliance with the License. The rights granted to you under the License
3898 // may not be used to create, or enable the creation or redistribution of,
3899 // unlawful or unlicensed copies of an Apple operating system, or to
3900 // circumvent, violate, or enable the circumvention or violation of, any
3901 // terms of an Apple operating system software license agreement.
3902 //
3903 // Please obtain a copy of the License at
3904 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3905 //
3906 // The Original Code and all software distributed under the License are
3907 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3908 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3909 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3910 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3911 // Please see the License for the specific language governing rights and
3912 // limitations under the License.
3913 //
3914 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3915
3916 type Pthread_mutexattr_t = X__darwin_pthread_mutexattr_t /* _pthread_mutexattr_t.h:31:38 */
3917 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3918 //
3919 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3920 //
3921 // This file contains Original Code and/or Modifications of Original Code
3922 // as defined in and that are subject to the Apple Public Source License
3923 // Version 2.0 (the 'License'). You may not use this file except in
3924 // compliance with the License. The rights granted to you under the License
3925 // may not be used to create, or enable the creation or redistribution of,
3926 // unlawful or unlicensed copies of an Apple operating system, or to
3927 // circumvent, violate, or enable the circumvention or violation of, any
3928 // terms of an Apple operating system software license agreement.
3929 //
3930 // Please obtain a copy of the License at
3931 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3932 //
3933 // The Original Code and all software distributed under the License are
3934 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3935 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3936 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3937 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3938 // Please see the License for the specific language governing rights and
3939 // limitations under the License.
3940 //
3941 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3942 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
3943 //
3944 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3945 //
3946 // This file contains Original Code and/or Modifications of Original Code
3947 // as defined in and that are subject to the Apple Public Source License
3948 // Version 2.0 (the 'License'). You may not use this file except in
3949 // compliance with the License. The rights granted to you under the License
3950 // may not be used to create, or enable the creation or redistribution of,
3951 // unlawful or unlicensed copies of an Apple operating system, or to
3952 // circumvent, violate, or enable the circumvention or violation of, any
3953 // terms of an Apple operating system software license agreement.
3954 //
3955 // Please obtain a copy of the License at
3956 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3957 //
3958 // The Original Code and all software distributed under the License are
3959 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3960 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3961 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3962 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3963 // Please see the License for the specific language governing rights and
3964 // limitations under the License.
3965 //
3966 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3967
3968 type Pthread_once_t = X__darwin_pthread_once_t /* _pthread_once_t.h:31:33 */
3969 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
3970 //
3971 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3972 //
3973 // This file contains Original Code and/or Modifications of Original Code
3974 // as defined in and that are subject to the Apple Public Source License
3975 // Version 2.0 (the 'License'). You may not use this file except in
3976 // compliance with the License. The rights granted to you under the License
3977 // may not be used to create, or enable the creation or redistribution of,
3978 // unlawful or unlicensed copies of an Apple operating system, or to
3979 // circumvent, violate, or enable the circumvention or violation of, any
3980 // terms of an Apple operating system software license agreement.
3981 //
3982 // Please obtain a copy of the License at
3983 // http://www.opensource.apple.com/apsl/ and read it before using this file.
3984 //
3985 // The Original Code and all software distributed under the License are
3986 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
3987 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
3988 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
3989 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
3990 // Please see the License for the specific language governing rights and
3991 // limitations under the License.
3992 //
3993 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
3994 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
3995 //
3996 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
3997 //
3998 // This file contains Original Code and/or Modifications of Original Code
3999 // as defined in and that are subject to the Apple Public Source License
4000 // Version 2.0 (the 'License'). You may not use this file except in
4001 // compliance with the License. The rights granted to you under the License
4002 // may not be used to create, or enable the creation or redistribution of,
4003 // unlawful or unlicensed copies of an Apple operating system, or to
4004 // circumvent, violate, or enable the circumvention or violation of, any
4005 // terms of an Apple operating system software license agreement.
4006 //
4007 // Please obtain a copy of the License at
4008 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4009 //
4010 // The Original Code and all software distributed under the License are
4011 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4012 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4013 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4014 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4015 // Please see the License for the specific language governing rights and
4016 // limitations under the License.
4017 //
4018 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4019
4020 type Pthread_rwlock_t = X__darwin_pthread_rwlock_t /* _pthread_rwlock_t.h:31:35 */
4021 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4022 //
4023 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4024 //
4025 // This file contains Original Code and/or Modifications of Original Code
4026 // as defined in and that are subject to the Apple Public Source License
4027 // Version 2.0 (the 'License'). You may not use this file except in
4028 // compliance with the License. The rights granted to you under the License
4029 // may not be used to create, or enable the creation or redistribution of,
4030 // unlawful or unlicensed copies of an Apple operating system, or to
4031 // circumvent, violate, or enable the circumvention or violation of, any
4032 // terms of an Apple operating system software license agreement.
4033 //
4034 // Please obtain a copy of the License at
4035 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4036 //
4037 // The Original Code and all software distributed under the License are
4038 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4039 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4040 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4041 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4042 // Please see the License for the specific language governing rights and
4043 // limitations under the License.
4044 //
4045 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4046 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
4047 //
4048 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4049 //
4050 // This file contains Original Code and/or Modifications of Original Code
4051 // as defined in and that are subject to the Apple Public Source License
4052 // Version 2.0 (the 'License'). You may not use this file except in
4053 // compliance with the License. The rights granted to you under the License
4054 // may not be used to create, or enable the creation or redistribution of,
4055 // unlawful or unlicensed copies of an Apple operating system, or to
4056 // circumvent, violate, or enable the circumvention or violation of, any
4057 // terms of an Apple operating system software license agreement.
4058 //
4059 // Please obtain a copy of the License at
4060 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4061 //
4062 // The Original Code and all software distributed under the License are
4063 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4064 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4065 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4066 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4067 // Please see the License for the specific language governing rights and
4068 // limitations under the License.
4069 //
4070 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4071
4072 type Pthread_rwlockattr_t = X__darwin_pthread_rwlockattr_t /* _pthread_rwlockattr_t.h:31:39 */
4073 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4074 //
4075 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4076 //
4077 // This file contains Original Code and/or Modifications of Original Code
4078 // as defined in and that are subject to the Apple Public Source License
4079 // Version 2.0 (the 'License'). You may not use this file except in
4080 // compliance with the License. The rights granted to you under the License
4081 // may not be used to create, or enable the creation or redistribution of,
4082 // unlawful or unlicensed copies of an Apple operating system, or to
4083 // circumvent, violate, or enable the circumvention or violation of, any
4084 // terms of an Apple operating system software license agreement.
4085 //
4086 // Please obtain a copy of the License at
4087 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4088 //
4089 // The Original Code and all software distributed under the License are
4090 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4091 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4092 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4093 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4094 // Please see the License for the specific language governing rights and
4095 // limitations under the License.
4096 //
4097 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4098 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
4099 //
4100 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4101 //
4102 // This file contains Original Code and/or Modifications of Original Code
4103 // as defined in and that are subject to the Apple Public Source License
4104 // Version 2.0 (the 'License'). You may not use this file except in
4105 // compliance with the License. The rights granted to you under the License
4106 // may not be used to create, or enable the creation or redistribution of,
4107 // unlawful or unlicensed copies of an Apple operating system, or to
4108 // circumvent, violate, or enable the circumvention or violation of, any
4109 // terms of an Apple operating system software license agreement.
4110 //
4111 // Please obtain a copy of the License at
4112 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4113 //
4114 // The Original Code and all software distributed under the License are
4115 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4116 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4117 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4118 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4119 // Please see the License for the specific language governing rights and
4120 // limitations under the License.
4121 //
4122 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4123
4124 type Pthread_t = X__darwin_pthread_t /* _pthread_t.h:31:28 */
4125
4126 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4127 //
4128 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4129 //
4130 // This file contains Original Code and/or Modifications of Original Code
4131 // as defined in and that are subject to the Apple Public Source License
4132 // Version 2.0 (the 'License'). You may not use this file except in
4133 // compliance with the License. The rights granted to you under the License
4134 // may not be used to create, or enable the creation or redistribution of,
4135 // unlawful or unlicensed copies of an Apple operating system, or to
4136 // circumvent, violate, or enable the circumvention or violation of, any
4137 // terms of an Apple operating system software license agreement.
4138 //
4139 // Please obtain a copy of the License at
4140 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4141 //
4142 // The Original Code and all software distributed under the License are
4143 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4144 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4145 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4146 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4147 // Please see the License for the specific language governing rights and
4148 // limitations under the License.
4149 //
4150 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4151 // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
4152 //
4153 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4154 //
4155 // This file contains Original Code and/or Modifications of Original Code
4156 // as defined in and that are subject to the Apple Public Source License
4157 // Version 2.0 (the 'License'). You may not use this file except in
4158 // compliance with the License. The rights granted to you under the License
4159 // may not be used to create, or enable the creation or redistribution of,
4160 // unlawful or unlicensed copies of an Apple operating system, or to
4161 // circumvent, violate, or enable the circumvention or violation of, any
4162 // terms of an Apple operating system software license agreement.
4163 //
4164 // Please obtain a copy of the License at
4165 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4166 //
4167 // The Original Code and all software distributed under the License are
4168 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4169 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4170 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4171 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4172 // Please see the License for the specific language governing rights and
4173 // limitations under the License.
4174 //
4175 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4176
4177 type Pthread_key_t = X__darwin_pthread_key_t /* _pthread_key_t.h:31:32 */
4178
4179 // statvfs and fstatvfs
4180
4181 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4182 //
4183 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4184 //
4185 // This file contains Original Code and/or Modifications of Original Code
4186 // as defined in and that are subject to the Apple Public Source License
4187 // Version 2.0 (the 'License'). You may not use this file except in
4188 // compliance with the License. The rights granted to you under the License
4189 // may not be used to create, or enable the creation or redistribution of,
4190 // unlawful or unlicensed copies of an Apple operating system, or to
4191 // circumvent, violate, or enable the circumvention or violation of, any
4192 // terms of an Apple operating system software license agreement.
4193 //
4194 // Please obtain a copy of the License at
4195 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4196 //
4197 // The Original Code and all software distributed under the License are
4198 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4199 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4200 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4201 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4202 // Please see the License for the specific language governing rights and
4203 // limitations under the License.
4204 //
4205 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4206 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
4207 //
4208 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4209 //
4210 // This file contains Original Code and/or Modifications of Original Code
4211 // as defined in and that are subject to the Apple Public Source License
4212 // Version 2.0 (the 'License'). You may not use this file except in
4213 // compliance with the License. The rights granted to you under the License
4214 // may not be used to create, or enable the creation or redistribution of,
4215 // unlawful or unlicensed copies of an Apple operating system, or to
4216 // circumvent, violate, or enable the circumvention or violation of, any
4217 // terms of an Apple operating system software license agreement.
4218 //
4219 // Please obtain a copy of the License at
4220 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4221 //
4222 // The Original Code and all software distributed under the License are
4223 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4224 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4225 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4226 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4227 // Please see the License for the specific language governing rights and
4228 // limitations under the License.
4229 //
4230 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4231
4232 type Fsblkcnt_t = X__darwin_fsblkcnt_t /* _fsblkcnt_t.h:31:41 */
4233 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4234 //
4235 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4236 //
4237 // This file contains Original Code and/or Modifications of Original Code
4238 // as defined in and that are subject to the Apple Public Source License
4239 // Version 2.0 (the 'License'). You may not use this file except in
4240 // compliance with the License. The rights granted to you under the License
4241 // may not be used to create, or enable the creation or redistribution of,
4242 // unlawful or unlicensed copies of an Apple operating system, or to
4243 // circumvent, violate, or enable the circumvention or violation of, any
4244 // terms of an Apple operating system software license agreement.
4245 //
4246 // Please obtain a copy of the License at
4247 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4248 //
4249 // The Original Code and all software distributed under the License are
4250 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4251 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4252 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4253 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4254 // Please see the License for the specific language governing rights and
4255 // limitations under the License.
4256 //
4257 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4258 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
4259 //
4260 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4261 //
4262 // This file contains Original Code and/or Modifications of Original Code
4263 // as defined in and that are subject to the Apple Public Source License
4264 // Version 2.0 (the 'License'). You may not use this file except in
4265 // compliance with the License. The rights granted to you under the License
4266 // may not be used to create, or enable the creation or redistribution of,
4267 // unlawful or unlicensed copies of an Apple operating system, or to
4268 // circumvent, violate, or enable the circumvention or violation of, any
4269 // terms of an Apple operating system software license agreement.
4270 //
4271 // Please obtain a copy of the License at
4272 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4273 //
4274 // The Original Code and all software distributed under the License are
4275 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4276 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4277 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4278 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4279 // Please see the License for the specific language governing rights and
4280 // limitations under the License.
4281 //
4282 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4283
4284 type Fsfilcnt_t = X__darwin_fsfilcnt_t /* _fsfilcnt_t.h:31:41 */
4285
4286 // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
4287 //
4288 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4289 //
4290 // This file contains Original Code and/or Modifications of Original Code
4291 // as defined in and that are subject to the Apple Public Source License
4292 // Version 2.0 (the 'License'). You may not use this file except in
4293 // compliance with the License. The rights granted to you under the License
4294 // may not be used to create, or enable the creation or redistribution of,
4295 // unlawful or unlicensed copies of an Apple operating system, or to
4296 // circumvent, violate, or enable the circumvention or violation of, any
4297 // terms of an Apple operating system software license agreement.
4298 //
4299 // Please obtain a copy of the License at
4300 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4301 //
4302 // The Original Code and all software distributed under the License are
4303 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4304 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4305 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4306 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4307 // Please see the License for the specific language governing rights and
4308 // limitations under the License.
4309 //
4310 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4311 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
4312 // Copyright (c) 1991, 1993
4313 // The Regents of the University of California. All rights reserved.
4314 //
4315 // This code is derived from software contributed to Berkeley by
4316 // Berkeley Software Design, Inc.
4317 //
4318 // Redistribution and use in source and binary forms, with or without
4319 // modification, are permitted provided that the following conditions
4320 // are met:
4321 // 1. Redistributions of source code must retain the above copyright
4322 // notice, this list of conditions and the following disclaimer.
4323 // 2. Redistributions in binary form must reproduce the above copyright
4324 // notice, this list of conditions and the following disclaimer in the
4325 // documentation and/or other materials provided with the distribution.
4326 // 3. All advertising materials mentioning features or use of this software
4327 // must display the following acknowledgement:
4328 // This product includes software developed by the University of
4329 // California, Berkeley and its contributors.
4330 // 4. Neither the name of the University nor the names of its contributors
4331 // may be used to endorse or promote products derived from this software
4332 // without specific prior written permission.
4333 //
4334 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
4335 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4336 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
4337 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
4338 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
4339 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
4340 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4341 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
4342 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
4343 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
4344 // SUCH DAMAGE.
4345 //
4346 // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
4347
4348 // Copyright (c) 2004-2007 Apple Inc. All rights reserved.
4349 //
4350 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4351 //
4352 // This file contains Original Code and/or Modifications of Original Code
4353 // as defined in and that are subject to the Apple Public Source License
4354 // Version 2.0 (the 'License'). You may not use this file except in
4355 // compliance with the License. The rights granted to you under the License
4356 // may not be used to create, or enable the creation or redistribution of,
4357 // unlawful or unlicensed copies of an Apple operating system, or to
4358 // circumvent, violate, or enable the circumvention or violation of, any
4359 // terms of an Apple operating system software license agreement.
4360 //
4361 // Please obtain a copy of the License at
4362 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4363 //
4364 // The Original Code and all software distributed under the License are
4365 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4366 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4367 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4368 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4369 // Please see the License for the specific language governing rights and
4370 // limitations under the License.
4371 //
4372 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4373
4374 // Copyright (c) 2006-2007 Apple Inc. All rights reserved.
4375
4376 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
4377
4378 // Round p (pointer or byte index) up to a correctly-aligned value for all
4379 // data types (int, long, ...). The result is unsigned int and must be
4380 // cast to any desired pointer type.
4381
4382 // Copyright (c) 2016-2018 Apple Inc. All rights reserved.
4383 //
4384 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4385 //
4386 // This file contains Original Code and/or Modifications of Original Code
4387 // as defined in and that are subject to the Apple Public Source License
4388 // Version 2.0 (the 'License'). You may not use this file except in
4389 // compliance with the License. The rights granted to you under the License
4390 // may not be used to create, or enable the creation or redistribution of,
4391 // unlawful or unlicensed copies of an Apple operating system, or to
4392 // circumvent, violate, or enable the circumvention or violation of, any
4393 // terms of an Apple operating system software license agreement.
4394 //
4395 // Please obtain a copy of the License at
4396 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4397 //
4398 // The Original Code and all software distributed under the License are
4399 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4400 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4401 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4402 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4403 // Please see the License for the specific language governing rights and
4404 // limitations under the License.
4405 //
4406 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4407
4408 // Kernel event subclass identifiers for KEV_NETWORK_CLASS
4409 // KEV_INET_SUBCLASS event codes
4410
4411 // Define Data-Link event subclass, and associated
4412 // events.
4413
4414 // KEV_INET6_SUBCLASS event codes
4415
4416 // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
4417 //
4418 // @APPLE_LICENSE_HEADER_START@
4419 //
4420 // This file contains Original Code and/or Modifications of Original Code
4421 // as defined in and that are subject to the Apple Public Source License
4422 // Version 2.0 (the 'License'). You may not use this file except in
4423 // compliance with the License. Please obtain a copy of the License at
4424 // http://www.opensource.apple.com/apsl/ and read it before using this
4425 // file.
4426 //
4427 // The Original Code and all software distributed under the License are
4428 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4429 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4430 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4431 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4432 // Please see the License for the specific language governing rights and
4433 // limitations under the License.
4434 //
4435 // @APPLE_LICENSE_HEADER_END@
4436
4437 // Definitions related to sockets: types, address families, options.
4438
4439 // Data types.
4440
4441 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4442 //
4443 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4444 //
4445 // This file contains Original Code and/or Modifications of Original Code
4446 // as defined in and that are subject to the Apple Public Source License
4447 // Version 2.0 (the 'License'). You may not use this file except in
4448 // compliance with the License. The rights granted to you under the License
4449 // may not be used to create, or enable the creation or redistribution of,
4450 // unlawful or unlicensed copies of an Apple operating system, or to
4451 // circumvent, violate, or enable the circumvention or violation of, any
4452 // terms of an Apple operating system software license agreement.
4453 //
4454 // Please obtain a copy of the License at
4455 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4456 //
4457 // The Original Code and all software distributed under the License are
4458 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4459 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4460 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4461 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4462 // Please see the License for the specific language governing rights and
4463 // limitations under the License.
4464 //
4465 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4466 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4467 //
4468 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4469 //
4470 // This file contains Original Code and/or Modifications of Original Code
4471 // as defined in and that are subject to the Apple Public Source License
4472 // Version 2.0 (the 'License'). You may not use this file except in
4473 // compliance with the License. The rights granted to you under the License
4474 // may not be used to create, or enable the creation or redistribution of,
4475 // unlawful or unlicensed copies of an Apple operating system, or to
4476 // circumvent, violate, or enable the circumvention or violation of, any
4477 // terms of an Apple operating system software license agreement.
4478 //
4479 // Please obtain a copy of the License at
4480 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4481 //
4482 // The Original Code and all software distributed under the License are
4483 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4484 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4485 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4486 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4487 // Please see the License for the specific language governing rights and
4488 // limitations under the License.
4489 //
4490 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4491 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4492 //
4493 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4494 //
4495 // This file contains Original Code and/or Modifications of Original Code
4496 // as defined in and that are subject to the Apple Public Source License
4497 // Version 2.0 (the 'License'). You may not use this file except in
4498 // compliance with the License. The rights granted to you under the License
4499 // may not be used to create, or enable the creation or redistribution of,
4500 // unlawful or unlicensed copies of an Apple operating system, or to
4501 // circumvent, violate, or enable the circumvention or violation of, any
4502 // terms of an Apple operating system software license agreement.
4503 //
4504 // Please obtain a copy of the License at
4505 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4506 //
4507 // The Original Code and all software distributed under the License are
4508 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4509 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4510 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4511 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4512 // Please see the License for the specific language governing rights and
4513 // limitations under the License.
4514 //
4515 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4516 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4517 //
4518 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4519 //
4520 // This file contains Original Code and/or Modifications of Original Code
4521 // as defined in and that are subject to the Apple Public Source License
4522 // Version 2.0 (the 'License'). You may not use this file except in
4523 // compliance with the License. The rights granted to you under the License
4524 // may not be used to create, or enable the creation or redistribution of,
4525 // unlawful or unlicensed copies of an Apple operating system, or to
4526 // circumvent, violate, or enable the circumvention or violation of, any
4527 // terms of an Apple operating system software license agreement.
4528 //
4529 // Please obtain a copy of the License at
4530 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4531 //
4532 // The Original Code and all software distributed under the License are
4533 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4534 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4535 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4536 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4537 // Please see the License for the specific language governing rights and
4538 // limitations under the License.
4539 //
4540 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4541 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
4542 //
4543 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4544 //
4545 // This file contains Original Code and/or Modifications of Original Code
4546 // as defined in and that are subject to the Apple Public Source License
4547 // Version 2.0 (the 'License'). You may not use this file except in
4548 // compliance with the License. The rights granted to you under the License
4549 // may not be used to create, or enable the creation or redistribution of,
4550 // unlawful or unlicensed copies of an Apple operating system, or to
4551 // circumvent, violate, or enable the circumvention or violation of, any
4552 // terms of an Apple operating system software license agreement.
4553 //
4554 // Please obtain a copy of the License at
4555 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4556 //
4557 // The Original Code and all software distributed under the License are
4558 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4559 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4560 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4561 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4562 // Please see the License for the specific language governing rights and
4563 // limitations under the License.
4564 //
4565 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4566 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
4567 type Sa_family_t = X__uint8_t /* _sa_family_t.h:31:33 */
4568 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4569 //
4570 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4571 //
4572 // This file contains Original Code and/or Modifications of Original Code
4573 // as defined in and that are subject to the Apple Public Source License
4574 // Version 2.0 (the 'License'). You may not use this file except in
4575 // compliance with the License. The rights granted to you under the License
4576 // may not be used to create, or enable the creation or redistribution of,
4577 // unlawful or unlicensed copies of an Apple operating system, or to
4578 // circumvent, violate, or enable the circumvention or violation of, any
4579 // terms of an Apple operating system software license agreement.
4580 //
4581 // Please obtain a copy of the License at
4582 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4583 //
4584 // The Original Code and all software distributed under the License are
4585 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4586 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4587 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4588 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4589 // Please see the License for the specific language governing rights and
4590 // limitations under the License.
4591 //
4592 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4593 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
4594 //
4595 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4596 //
4597 // This file contains Original Code and/or Modifications of Original Code
4598 // as defined in and that are subject to the Apple Public Source License
4599 // Version 2.0 (the 'License'). You may not use this file except in
4600 // compliance with the License. The rights granted to you under the License
4601 // may not be used to create, or enable the creation or redistribution of,
4602 // unlawful or unlicensed copies of an Apple operating system, or to
4603 // circumvent, violate, or enable the circumvention or violation of, any
4604 // terms of an Apple operating system software license agreement.
4605 //
4606 // Please obtain a copy of the License at
4607 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4608 //
4609 // The Original Code and all software distributed under the License are
4610 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4611 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4612 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4613 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4614 // Please see the License for the specific language governing rights and
4615 // limitations under the License.
4616 //
4617 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4618 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
4619 type Socklen_t = X__darwin_socklen_t /* _socklen_t.h:31:33 */
4620
4621 // XXX Not explicitly defined by POSIX, but function return types are
4622 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4623 //
4624 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4625 //
4626 // This file contains Original Code and/or Modifications of Original Code
4627 // as defined in and that are subject to the Apple Public Source License
4628 // Version 2.0 (the 'License'). You may not use this file except in
4629 // compliance with the License. The rights granted to you under the License
4630 // may not be used to create, or enable the creation or redistribution of,
4631 // unlawful or unlicensed copies of an Apple operating system, or to
4632 // circumvent, violate, or enable the circumvention or violation of, any
4633 // terms of an Apple operating system software license agreement.
4634 //
4635 // Please obtain a copy of the License at
4636 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4637 //
4638 // The Original Code and all software distributed under the License are
4639 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4640 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4641 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4642 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4643 // Please see the License for the specific language governing rights and
4644 // limitations under the License.
4645 //
4646 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4647
4648 // XXX Not explicitly defined by POSIX, but function return types are
4649 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4650 //
4651 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4652 //
4653 // This file contains Original Code and/or Modifications of Original Code
4654 // as defined in and that are subject to the Apple Public Source License
4655 // Version 2.0 (the 'License'). You may not use this file except in
4656 // compliance with the License. The rights granted to you under the License
4657 // may not be used to create, or enable the creation or redistribution of,
4658 // unlawful or unlicensed copies of an Apple operating system, or to
4659 // circumvent, violate, or enable the circumvention or violation of, any
4660 // terms of an Apple operating system software license agreement.
4661 //
4662 // Please obtain a copy of the License at
4663 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4664 //
4665 // The Original Code and all software distributed under the License are
4666 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4667 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4668 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4669 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4670 // Please see the License for the specific language governing rights and
4671 // limitations under the License.
4672 //
4673 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4674
4675 // [XSI] The iovec structure shall be defined as described in <sys/uio.h>.
4676 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4677 //
4678 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4679 //
4680 // This file contains Original Code and/or Modifications of Original Code
4681 // as defined in and that are subject to the Apple Public Source License
4682 // Version 2.0 (the 'License'). You may not use this file except in
4683 // compliance with the License. The rights granted to you under the License
4684 // may not be used to create, or enable the creation or redistribution of,
4685 // unlawful or unlicensed copies of an Apple operating system, or to
4686 // circumvent, violate, or enable the circumvention or violation of, any
4687 // terms of an Apple operating system software license agreement.
4688 //
4689 // Please obtain a copy of the License at
4690 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4691 //
4692 // The Original Code and all software distributed under the License are
4693 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4694 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4695 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4696 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4697 // Please see the License for the specific language governing rights and
4698 // limitations under the License.
4699 //
4700 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4701 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
4702 //
4703 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4704 //
4705 // This file contains Original Code and/or Modifications of Original Code
4706 // as defined in and that are subject to the Apple Public Source License
4707 // Version 2.0 (the 'License'). You may not use this file except in
4708 // compliance with the License. The rights granted to you under the License
4709 // may not be used to create, or enable the creation or redistribution of,
4710 // unlawful or unlicensed copies of an Apple operating system, or to
4711 // circumvent, violate, or enable the circumvention or violation of, any
4712 // terms of an Apple operating system software license agreement.
4713 //
4714 // Please obtain a copy of the License at
4715 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4716 //
4717 // The Original Code and all software distributed under the License are
4718 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4719 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4720 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4721 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4722 // Please see the License for the specific language governing rights and
4723 // limitations under the License.
4724 //
4725 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4726 type Iovec = struct {
4727 Fiov_base uintptr
4728 Fiov_len Size_t
4729 } /* _iovec_t.h:31:1 */
4730
4731 // Types
4732
4733 // Option flags per-socket.
4734 // (ATOMIC proto)
4735
4736 // Additional options, not kept in so_options.
4737
4738 // When adding new socket-options, you need to make sure MPTCP supports these as well!
4739
4740 // Network Service Type for option SO_NET_SERVICE_TYPE
4741 //
4742 // The vast majority of sockets should use Best Effort that is the default
4743 // Network Service Type. Other Network Service Types have to be used only if
4744 // the traffic actually matches the description of the Network Service Type.
4745 //
4746 // Network Service Types do not represent priorities but rather describe
4747 // different categories of delay, jitter and loss parameters.
4748 // Those parameters may influence protocols from layer 4 protocols like TCP
4749 // to layer 2 protocols like Wi-Fi. The Network Service Type can determine
4750 // how the traffic is queued and scheduled by the host networking stack and
4751 // by other entities on the network like switches and routers. For example
4752 // for Wi-Fi, the Network Service Type can select the marking of the
4753 // layer 2 packet with the appropriate WMM Access Category.
4754 //
4755 // There is no point in attempting to game the system and use
4756 // a Network Service Type that does not correspond to the actual
4757 // traffic characteristic but one that seems to have a higher precedence.
4758 // The reason is that for service classes that have lower tolerance
4759 // for delay and jitter, the queues size is lower than for service
4760 // classes that are more tolerant to delay and jitter.
4761 //
4762 // For example using a voice service type for bulk data transfer will lead
4763 // to disastrous results as soon as congestion happens because the voice
4764 // queue overflows and packets get dropped. This is not only bad for the bulk
4765 // data transfer but it is also bad for VoIP apps that legitimately are using
4766 // the voice service type.
4767 //
4768 // The characteristics of the Network Service Types are based on the service
4769 // classes defined in RFC 4594 "Configuration Guidelines for DiffServ Service
4770 // Classes"
4771 //
4772 // When system detects the outgoing interface belongs to a DiffServ domain
4773 // that follows the recommendation of the IETF draft "Guidelines for DiffServ to
4774 // IEEE 802.11 Mapping", the packet will marked at layer 3 with a DSCP value
4775 // that corresponds to Network Service Type.
4776 //
4777 // NET_SERVICE_TYPE_BE
4778 // "Best Effort", unclassified/standard. This is the default service
4779 // class and cover the majority of the traffic.
4780 //
4781 // NET_SERVICE_TYPE_BK
4782 // "Background", high delay tolerant, loss tolerant. elastic flow,
4783 // variable size & long-lived. E.g: non-interactive network bulk transfer
4784 // like synching or backup.
4785 //
4786 // NET_SERVICE_TYPE_RD
4787 // "Responsive Data", a notch higher than "Best Effort", medium delay
4788 // tolerant, elastic & inelastic flow, bursty, long-lived. E.g. email,
4789 // instant messaging, for which there is a sense of interactivity and
4790 // urgency (user waiting for output).
4791 //
4792 // NET_SERVICE_TYPE_OAM
4793 // "Operations, Administration, and Management", medium delay tolerant,
4794 // low-medium loss tolerant, elastic & inelastic flows, variable size.
4795 // E.g. VPN tunnels.
4796 //
4797 // NET_SERVICE_TYPE_AV
4798 // "Multimedia Audio/Video Streaming", medium delay tolerant, low-medium
4799 // loss tolerant, elastic flow, constant packet interval, variable rate
4800 // and size. E.g. video and audio playback with buffering.
4801 //
4802 // NET_SERVICE_TYPE_RV
4803 // "Responsive Multimedia Audio/Video", low delay tolerant, low-medium
4804 // loss tolerant, elastic flow, variable packet interval, rate and size.
4805 // E.g. screen sharing.
4806 //
4807 // NET_SERVICE_TYPE_VI
4808 // "Interactive Video", low delay tolerant, low-medium loss tolerant,
4809 // elastic flow, constant packet interval, variable rate & size. E.g.
4810 // video telephony.
4811 //
4812 // NET_SERVICE_TYPE_SIG
4813 // "Signaling", low delay tolerant, low loss tolerant, inelastic flow,
4814 // jitter tolerant, rate is bursty but short, variable size. E.g. SIP.
4815 //
4816 // NET_SERVICE_TYPE_VO
4817 // "Interactive Voice", very low delay tolerant, very low loss tolerant,
4818 // inelastic flow, constant packet rate, somewhat fixed size.
4819 // E.g. VoIP.
4820
4821 // These are supported values for SO_NETSVC_MARKING_LEVEL
4822
4823 type Sae_associd_t = X__uint32_t /* socket.h:293:20 */
4824
4825 type Sae_connid_t = X__uint32_t /* socket.h:297:20 */
4826
4827 // connectx() flag parameters
4828
4829 // sockaddr endpoints
4830 type Sa_endpoints = struct {
4831 Fsae_srcif uint32
4832 F__ccgo_pad1 [4]byte
4833 Fsae_srcaddr uintptr
4834 Fsae_srcaddrlen Socklen_t
4835 F__ccgo_pad2 [4]byte
4836 Fsae_dstaddr uintptr
4837 Fsae_dstaddrlen Socklen_t
4838 F__ccgo_pad3 [4]byte
4839 } /* socket.h:307:9 */
4840
4841 // connectx() flag parameters
4842
4843 // sockaddr endpoints
4844 type Sockaddr = struct {
4845 Fsa_len X__uint8_t
4846 Fsa_family Sa_family_t
4847 Fsa_data [14]int8
4848 } /* socket.h:307:9 */
4849
4850 // connectx() flag parameters
4851
4852 // sockaddr endpoints
4853 type Sa_endpoints_t = Sa_endpoints /* socket.h:313:3 */
4854
4855 // Structure used for manipulating linger option.
4856 type Linger = struct {
4857 Fl_onoff int32
4858 Fl_linger int32
4859 } /* socket.h:319:1 */
4860
4861 // Structure to control non-portable Sockets extension to POSIX
4862 type So_np_extensions = struct {
4863 Fnpx_flags U_int32_t
4864 Fnpx_mask U_int32_t
4865 } /* socket.h:337:1 */
4866
4867 // Structure used by kernel to pass protocol
4868 // information in raw sockets.
4869 type Sockproto = struct {
4870 Fsp_family X__uint16_t
4871 Fsp_protocol X__uint16_t
4872 } /* socket.h:425:1 */
4873
4874 // RFC 2553: protocol-independent placeholder for socket addresses
4875
4876 // [XSI] sockaddr_storage
4877 type Sockaddr_storage = struct {
4878 Fss_len X__uint8_t
4879 Fss_family Sa_family_t
4880 F__ss_pad1 [6]int8
4881 F__ss_align X__int64_t
4882 F__ss_pad2 [112]int8
4883 } /* socket.h:445:1 */
4884
4885 // Protocol families, same as address families for now.
4886
4887 // These do not have socket-layer support:
4888
4889 // Definitions for network related sysctl, CTL_NET.
4890 //
4891 // Second level is protocol family.
4892 // Third level is protocol number.
4893 //
4894 // Further levels are defined by the individual families below.
4895
4896 // PF_ROUTE - Routing table
4897 //
4898 // Three additional levels are defined:
4899 // Fourth: address family, 0 is wildcard
4900 // Fifth: type of info, defined below
4901 // Sixth: flag(s) to mask with for NET_RT_FLAGS
4902 // Allows read access non-local host's MAC address
4903 // if the process has neighbor cache entitlement.
4904
4905 // Maximum queue length specifiable by listen.
4906
4907 // [XSI] Message header for recvmsg and sendmsg calls.
4908 // Used value-result for recvmsg, value only for sendmsg.
4909 type Msghdr = struct {
4910 Fmsg_name uintptr
4911 Fmsg_namelen Socklen_t
4912 F__ccgo_pad1 [4]byte
4913 Fmsg_iov uintptr
4914 Fmsg_iovlen int32
4915 F__ccgo_pad2 [4]byte
4916 Fmsg_control uintptr
4917 Fmsg_controllen Socklen_t
4918 Fmsg_flags int32
4919 } /* socket.h:552:1 */
4920
4921 // Header for ancillary data objects in msg_control buffer.
4922 // Used for additional information with/about a datagram
4923 // not expressible by flags. The format is a sequence
4924 // of message elements headed by cmsghdr structures.
4925 type Cmsghdr = struct {
4926 Fcmsg_len Socklen_t
4927 Fcmsg_level int32
4928 Fcmsg_type int32
4929 } /* socket.h:600:1 */
4930
4931 // given pointer to struct cmsghdr, return pointer to data
4932
4933 // RFC 2292 requires to check msg_controllen, in case that the kernel returns
4934 // an empty list for some reasons.
4935
4936 // Given pointer to struct cmsghdr, return pointer to next cmsghdr
4937 // RFC 2292 says that CMSG_NXTHDR(mhdr, NULL) is equivalent to CMSG_FIRSTHDR(mhdr)
4938
4939 // RFC 2292 additions
4940
4941 // "Socket"-level control message types:
4942
4943 // howto arguments for shutdown(2), specified by Posix.1g.
4944
4945 // sendfile(2) header/trailer struct
4946 type Sf_hdtr = struct {
4947 Fheaders uintptr
4948 Fhdr_cnt int32
4949 F__ccgo_pad1 [4]byte
4950 Ftrailers uintptr
4951 Ftrl_cnt int32
4952 F__ccgo_pad2 [4]byte
4953 } /* socket.h:691:1 */
4954
4955 // The following two #includes insure htonl and family are defined
4956 // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
4957 //
4958 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4959 //
4960 // This file contains Original Code and/or Modifications of Original Code
4961 // as defined in and that are subject to the Apple Public Source License
4962 // Version 2.0 (the 'License'). You may not use this file except in
4963 // compliance with the License. The rights granted to you under the License
4964 // may not be used to create, or enable the creation or redistribution of,
4965 // unlawful or unlicensed copies of an Apple operating system, or to
4966 // circumvent, violate, or enable the circumvention or violation of, any
4967 // terms of an Apple operating system software license agreement.
4968 //
4969 // Please obtain a copy of the License at
4970 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4971 //
4972 // The Original Code and all software distributed under the License are
4973 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
4974 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
4975 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
4976 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
4977 // Please see the License for the specific language governing rights and
4978 // limitations under the License.
4979 //
4980 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
4981 // Copyright 1995 NeXT Computer, Inc. All rights reserved.
4982 // Copyright (c) 2004, 2006 Apple Computer, Inc. All rights reserved.
4983 //
4984 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
4985 //
4986 // This file contains Original Code and/or Modifications of Original Code
4987 // as defined in and that are subject to the Apple Public Source License
4988 // Version 2.0 (the 'License'). You may not use this file except in
4989 // compliance with the License. The rights granted to you under the License
4990 // may not be used to create, or enable the creation or redistribution of,
4991 // unlawful or unlicensed copies of an Apple operating system, or to
4992 // circumvent, violate, or enable the circumvention or violation of, any
4993 // terms of an Apple operating system software license agreement.
4994 //
4995 // Please obtain a copy of the License at
4996 // http://www.opensource.apple.com/apsl/ and read it before using this file.
4997 //
4998 // The Original Code and all software distributed under the License are
4999 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
5000 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
5001 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
5002 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
5003 // Please see the License for the specific language governing rights and
5004 // limitations under the License.
5005 //
5006 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
5007
5008 // Copyright (c) 1995 NeXT Computer, Inc. All rights reserved.
5009 // Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
5010 //
5011 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5012 //
5013 // This file contains Original Code and/or Modifications of Original Code
5014 // as defined in and that are subject to the Apple Public Source License
5015 // Version 2.0 (the 'License'). You may not use this file except in
5016 // compliance with the License. The rights granted to you under the License
5017 // may not be used to create, or enable the creation or redistribution of,
5018 // unlawful or unlicensed copies of an Apple operating system, or to
5019 // circumvent, violate, or enable the circumvention or violation of, any
5020 // terms of an Apple operating system software license agreement.
5021 //
5022 // Please obtain a copy of the License at
5023 // http://www.opensource.apple.com/apsl/ and read it before using this file.
5024 //
5025 // The Original Code and all software distributed under the License are
5026 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
5027 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
5028 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
5029 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
5030 // Please see the License for the specific language governing rights and
5031 // limitations under the License.
5032 //
5033 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
5034 // Copyright (c) 1987, 1991, 1993
5035 // The Regents of the University of California. All rights reserved.
5036 //
5037 // Redistribution and use in source and binary forms, with or without
5038 // modification, are permitted provided that the following conditions
5039 // are met:
5040 // 1. Redistributions of source code must retain the above copyright
5041 // notice, this list of conditions and the following disclaimer.
5042 // 2. Redistributions in binary form must reproduce the above copyright
5043 // notice, this list of conditions and the following disclaimer in the
5044 // documentation and/or other materials provided with the distribution.
5045 // 3. All advertising materials mentioning features or use of this software
5046 // must display the following acknowledgement:
5047 // This product includes software developed by the University of
5048 // California, Berkeley and its contributors.
5049 // 4. Neither the name of the University nor the names of its contributors
5050 // may be used to endorse or promote products derived from this software
5051 // without specific prior written permission.
5052 //
5053 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
5054 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5055 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
5056 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
5057 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
5058 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
5059 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5060 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
5061 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
5062 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
5063 // SUCH DAMAGE.
5064
5065 // Constants and structures defined by the internet system,
5066 // Per RFC 790, September 1981, and numerous additions.
5067
5068 // Protocols (RFC 1700)
5069 // 55-57: Unassigned
5070 // 101-252: Partly Unassigned
5071 // 253-254: Experimentation and testing; 255: Reserved (RFC3692)
5072 // BSD Private, local use, namespace incursion
5073
5074 // last return value of *_input(), meaning "all job for this pkt is done".
5075
5076 // Local port number conventions:
5077 //
5078 // When a user does a bind(2) or connect(2) with a port number of zero,
5079 // a non-conflicting local port address is chosen.
5080 // The default range is IPPORT_RESERVED through
5081 // IPPORT_USERRESERVED, although that is settable by sysctl.
5082 //
5083 // A user may set the IPPROTO_IP option IP_PORTRANGE to change this
5084 // default assignment range.
5085 //
5086 // The value IP_PORTRANGE_DEFAULT causes the default behavior.
5087 //
5088 // The value IP_PORTRANGE_HIGH changes the range of candidate port numbers
5089 // into the "high" range. These are reserved for client outbound connections
5090 // which do not want to be filtered by any firewalls.
5091 //
5092 // The value IP_PORTRANGE_LOW changes the range to the "low" are
5093 // that is (by convention) restricted to privileged processes. This
5094 // convention is based on "vouchsafe" principles only. It is only secure
5095 // if you trust the remote host to restrict these ports.
5096 //
5097 // The default range of ports and the high range can be changed by
5098 // sysctl(3). (net.inet.ip.port{hi,low}{first,last}_auto)
5099 //
5100 // Changing those values has bad security implications if you are
5101 // using a a stateless firewall that is allowing packets outside of that
5102 // range in order to allow transparent outgoing connections.
5103 //
5104 // Such a firewall configuration will generally depend on the use of these
5105 // default values. If you change them, you may find your Security
5106 // Administrator looking for you with a heavy object.
5107 //
5108 // For a slightly more orthodox text view on this:
5109 //
5110 // ftp://ftp.isi.edu/in-notes/iana/assignments/port-numbers
5111 //
5112 // port numbers are divided into three ranges:
5113 //
5114 // 0 - 1023 Well Known Ports
5115 // 1024 - 49151 Registered Ports
5116 // 49152 - 65535 Dynamic and/or Private Ports
5117 //
5118
5119 // Ports < IPPORT_RESERVED are reserved for
5120 // privileged processes (e.g. root). (IP_PORTRANGE_LOW)
5121 // Ports > IPPORT_USERRESERVED are reserved
5122 // for servers, not necessarily privileged. (IP_PORTRANGE_DEFAULT)
5123
5124 // Default local port range to use by setting IP_PORTRANGE_HIGH
5125
5126 // Scanning for a free reserved port return a value below IPPORT_RESERVED,
5127 // but higher than IPPORT_RESERVEDSTART. Traditionally the start value was
5128 // 512, but that conflicts with some well-known-services that firewalls may
5129 // have a fit if we use.
5130
5131 // Internet address (a structure for historical reasons)
5132 type In_addr = struct{ Fs_addr In_addr_t } /* in.h:301:1 */
5133
5134 // Definitions of bits in internet address integers.
5135 // On subnets, the decomposition of addresses to host and net parts
5136 // is done according to subnet mask, not the masks here.
5137
5138 // Socket address, internet style.
5139 type Sockaddr_in = struct {
5140 Fsin_len X__uint8_t
5141 Fsin_family Sa_family_t
5142 Fsin_port In_port_t
5143 Fsin_addr struct{ Fs_addr In_addr_t }
5144 Fsin_zero [8]int8
5145 } /* in.h:375:1 */
5146
5147 // Structure used to describe IP options.
5148 // Used to store options internally, to pass them to a process,
5149 // or to restore options retrieved earlier.
5150 // The ip_dst is used for the first-hop gateway when using a source route
5151 // (this gets put into the header proper).
5152 type Ip_opts = struct {
5153 Fip_dst struct{ Fs_addr In_addr_t }
5154 Fip_opts [40]int8
5155 } /* in.h:398:1 */
5156
5157 // Options for use with [gs]etsockopt at the IP level.
5158 // First word of comment is data type; bool is stored in int.
5159 // for IPSEC
5160
5161 // These older firewall socket option codes are maintained for backward compatibility.
5162
5163 // IPv4 Source Filter Multicast API [RFC3678]
5164
5165 // The following option is private; do not use it from user applications.
5166
5167 // Protocol Independent Multicast API [RFC3678]
5168
5169 // Defaults and limits for options
5170
5171 // The imo_membership vector for each socket is now dynamically allocated at
5172 // run-time, bounded by USHRT_MAX, and is reallocated when needed, sized
5173 // according to a power-of-two increment.
5174
5175 // Default resource limits for IPv4 multicast source filtering.
5176 // These may be modified by sysctl.
5177
5178 // Argument structure for IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.
5179 type Ip_mreq = struct {
5180 Fimr_multiaddr struct{ Fs_addr In_addr_t }
5181 Fimr_interface struct{ Fs_addr In_addr_t }
5182 } /* in.h:507:1 */
5183
5184 // Modified argument structure for IP_MULTICAST_IF, obtained from Linux.
5185 // This is used to specify an interface index for multicast sends, as
5186 // the IPv4 legacy APIs do not support this (unless IP_SENDIF is available).
5187 type Ip_mreqn = struct {
5188 Fimr_multiaddr struct{ Fs_addr In_addr_t }
5189 Fimr_address struct{ Fs_addr In_addr_t }
5190 Fimr_ifindex int32
5191 } /* in.h:517:1 */
5192
5193 // Argument structure for IPv4 Multicast Source Filter APIs. [RFC3678]
5194 type Ip_mreq_source = struct {
5195 Fimr_multiaddr struct{ Fs_addr In_addr_t }
5196 Fimr_sourceaddr struct{ Fs_addr In_addr_t }
5197 Fimr_interface struct{ Fs_addr In_addr_t }
5198 } /* in.h:527:1 */
5199
5200 // Argument structures for Protocol-Independent Multicast Source
5201 // Filter APIs. [RFC3678]
5202 type Group_req = struct {
5203 Fgr_interface Uint32_t
5204 F__ccgo_pad1 [4]byte
5205 Fgr_group struct {
5206 Fss_len X__uint8_t
5207 Fss_family Sa_family_t
5208 F__ss_pad1 [6]int8
5209 F__ss_align X__int64_t
5210 F__ss_pad2 [112]int8
5211 }
5212 } /* in.h:537:1 */
5213
5214 type Group_source_req = struct {
5215 Fgsr_interface Uint32_t
5216 F__ccgo_pad1 [4]byte
5217 Fgsr_group struct {
5218 Fss_len X__uint8_t
5219 Fss_family Sa_family_t
5220 F__ss_pad1 [6]int8
5221 F__ss_align X__int64_t
5222 F__ss_pad2 [112]int8
5223 }
5224 Fgsr_source struct {
5225 Fss_len X__uint8_t
5226 Fss_family Sa_family_t
5227 F__ss_pad1 [6]int8
5228 F__ss_align X__int64_t
5229 F__ss_pad2 [112]int8
5230 }
5231 } /* in.h:542:1 */
5232
5233 // The following structure is private; do not use it from user applications.
5234 // It is used to communicate IP_MSFILTER/IPV6_MSFILTER information between
5235 // the RFC 3678 libc functions and the kernel.
5236 type X__msfilterreq = struct {
5237 Fmsfr_ifindex Uint32_t
5238 Fmsfr_fmode Uint32_t
5239 Fmsfr_nsrcs Uint32_t
5240 F__msfr_align Uint32_t
5241 Fmsfr_group struct {
5242 Fss_len X__uint8_t
5243 Fss_family Sa_family_t
5244 F__ss_pad1 [6]int8
5245 F__ss_align X__int64_t
5246 F__ss_pad2 [112]int8
5247 }
5248 Fmsfr_srcs uintptr
5249 } /* in.h:555:1 */
5250
5251 // Filter modes; also used to represent per-socket filter mode internally.
5252
5253 // Argument for IP_PORTRANGE:
5254 // - which range to search when port is unspecified at bind() or connect()
5255
5256 // IP_PKTINFO: Packet information (equivalent to RFC2292 sec 5 for IPv4)
5257 // This structure is used for
5258 //
5259 // 1. Receiving ancilliary data about the datagram if IP_PKTINFO sockopt is
5260 // set on the socket. In this case ipi_ifindex will contain the interface
5261 // index the datagram was received on, ipi_addr is the IP address the
5262 // datagram was received to.
5263 //
5264 // 2. Sending a datagram using a specific interface or IP source address.
5265 // if ipi_ifindex is set to non-zero when in_pktinfo is passed as
5266 // ancilliary data of type IP_PKTINFO, this will be used as the source
5267 // interface to send the datagram from. If ipi_ifindex is null, ip_spec_dst
5268 // will be used for the source address.
5269 //
5270 // Note: if IP_BOUND_IF is set on the socket, ipi_ifindex in the ancillary
5271 // IP_PKTINFO option silently overrides the bound interface when it is
5272 // specified during send time.
5273 type In_pktinfo = struct {
5274 Fipi_ifindex uint32
5275 Fipi_spec_dst struct{ Fs_addr In_addr_t }
5276 Fipi_addr struct{ Fs_addr In_addr_t }
5277 } /* in.h:618:1 */
5278
5279 // Definitions for inet sysctl operations.
5280 //
5281 // Third level is protocol number.
5282 // Fourth level is desired variable within that protocol.
5283
5284 // Names for IP sysctl objects
5285
5286 // INET6 stuff
5287 // Copyright (c) 2008-2020 Apple Inc. All rights reserved.
5288 //
5289 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5290 //
5291 // This file contains Original Code and/or Modifications of Original Code
5292 // as defined in and that are subject to the Apple Public Source License
5293 // Version 2.0 (the 'License'). You may not use this file except in
5294 // compliance with the License. The rights granted to you under the License
5295 // may not be used to create, or enable the creation or redistribution of,
5296 // unlawful or unlicensed copies of an Apple operating system, or to
5297 // circumvent, violate, or enable the circumvention or violation of, any
5298 // terms of an Apple operating system software license agreement.
5299 //
5300 // Please obtain a copy of the License at
5301 // http://www.opensource.apple.com/apsl/ and read it before using this file.
5302 //
5303 // The Original Code and all software distributed under the License are
5304 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
5305 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
5306 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
5307 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
5308 // Please see the License for the specific language governing rights and
5309 // limitations under the License.
5310 //
5311 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
5312
5313 // Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
5314 // All rights reserved.
5315 //
5316 // Redistribution and use in source and binary forms, with or without
5317 // modification, are permitted provided that the following conditions
5318 // are met:
5319 // 1. Redistributions of source code must retain the above copyright
5320 // notice, this list of conditions and the following disclaimer.
5321 // 2. Redistributions in binary form must reproduce the above copyright
5322 // notice, this list of conditions and the following disclaimer in the
5323 // documentation and/or other materials provided with the distribution.
5324 // 3. Neither the name of the project nor the names of its contributors
5325 // may be used to endorse or promote products derived from this software
5326 // without specific prior written permission.
5327 //
5328 // THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
5329 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5330 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
5331 // ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
5332 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
5333 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
5334 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5335 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
5336 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
5337 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
5338 // SUCH DAMAGE.
5339
5340 // Copyright (c) 1982, 1986, 1990, 1993
5341 // The Regents of the University of California. All rights reserved.
5342 //
5343 // Redistribution and use in source and binary forms, with or without
5344 // modification, are permitted provided that the following conditions
5345 // are met:
5346 // 1. Redistributions of source code must retain the above copyright
5347 // notice, this list of conditions and the following disclaimer.
5348 // 2. Redistributions in binary form must reproduce the above copyright
5349 // notice, this list of conditions and the following disclaimer in the
5350 // documentation and/or other materials provided with the distribution.
5351 // 3. All advertising materials mentioning features or use of this software
5352 // must display the following acknowledgement:
5353 // This product includes software developed by the University of
5354 // California, Berkeley and its contributors.
5355 // 4. Neither the name of the University nor the names of its contributors
5356 // may be used to endorse or promote products derived from this software
5357 // without specific prior written permission.
5358 //
5359 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
5360 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5361 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
5362 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
5363 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
5364 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
5365 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5366 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
5367 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
5368 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
5369 // SUCH DAMAGE.
5370 //
5371 // @(#)in.h 8.3 (Berkeley) 1/3/94
5372
5373 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
5374 //
5375 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5376 //
5377 // This file contains Original Code and/or Modifications of Original Code
5378 // as defined in and that are subject to the Apple Public Source License
5379 // Version 2.0 (the 'License'). You may not use this file except in
5380 // compliance with the License. The rights granted to you under the License
5381 // may not be used to create, or enable the creation or redistribution of,
5382 // unlawful or unlicensed copies of an Apple operating system, or to
5383 // circumvent, violate, or enable the circumvention or violation of, any
5384 // terms of an Apple operating system software license agreement.
5385 //
5386 // Please obtain a copy of the License at
5387 // http://www.opensource.apple.com/apsl/ and read it before using this file.
5388 //
5389 // The Original Code and all software distributed under the License are
5390 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
5391 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
5392 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
5393 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
5394 // Please see the License for the specific language governing rights and
5395 // limitations under the License.
5396 //
5397 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
5398
5399 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
5400 //
5401 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5402 //
5403 // This file contains Original Code and/or Modifications of Original Code
5404 // as defined in and that are subject to the Apple Public Source License
5405 // Version 2.0 (the 'License'). You may not use this file except in
5406 // compliance with the License. The rights granted to you under the License
5407 // may not be used to create, or enable the creation or redistribution of,
5408 // unlawful or unlicensed copies of an Apple operating system, or to
5409 // circumvent, violate, or enable the circumvention or violation of, any
5410 // terms of an Apple operating system software license agreement.
5411 //
5412 // Please obtain a copy of the License at
5413 // http://www.opensource.apple.com/apsl/ and read it before using this file.
5414 //
5415 // The Original Code and all software distributed under the License are
5416 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
5417 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
5418 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
5419 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
5420 // Please see the License for the specific language governing rights and
5421 // limitations under the License.
5422 //
5423 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
5424
5425 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
5426 //
5427 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5428 //
5429 // This file contains Original Code and/or Modifications of Original Code
5430 // as defined in and that are subject to the Apple Public Source License
5431 // Version 2.0 (the 'License'). You may not use this file except in
5432 // compliance with the License. The rights granted to you under the License
5433 // may not be used to create, or enable the creation or redistribution of,
5434 // unlawful or unlicensed copies of an Apple operating system, or to
5435 // circumvent, violate, or enable the circumvention or violation of, any
5436 // terms of an Apple operating system software license agreement.
5437 //
5438 // Please obtain a copy of the License at
5439 // http://www.opensource.apple.com/apsl/ and read it before using this file.
5440 //
5441 // The Original Code and all software distributed under the License are
5442 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
5443 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
5444 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
5445 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
5446 // Please see the License for the specific language governing rights and
5447 // limitations under the License.
5448 //
5449 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
5450
5451 // Identification of the network protocol stack
5452 // for *BSD-current/release: http://www.kame.net/dev/cvsweb.cgi/kame/COVERAGE
5453 // has the table of implementation/integration differences.
5454
5455 // Local port number conventions:
5456 //
5457 // Ports < IPPORT_RESERVED are reserved for privileged processes (e.g. root),
5458 // unless a kernel is compiled with IPNOPRIVPORTS defined.
5459 //
5460 // When a user does a bind(2) or connect(2) with a port number of zero,
5461 // a non-conflicting local port address is chosen.
5462 //
5463 // The default range is IPPORT_ANONMIN to IPPORT_ANONMAX, although
5464 // that is settable by sysctl(3); net.inet.ip.anonportmin and
5465 // net.inet.ip.anonportmax respectively.
5466 //
5467 // A user may set the IPPROTO_IP option IP_PORTRANGE to change this
5468 // default assignment range.
5469 //
5470 // The value IP_PORTRANGE_DEFAULT causes the default behavior.
5471 //
5472 // The value IP_PORTRANGE_HIGH is the same as IP_PORTRANGE_DEFAULT,
5473 // and exists only for FreeBSD compatibility purposes.
5474 //
5475 // The value IP_PORTRANGE_LOW changes the range to the "low" are
5476 // that is (by convention) restricted to privileged processes.
5477 // This convention is based on "vouchsafe" principles only.
5478 // It is only secure if you trust the remote host to restrict these ports.
5479 // The range is IPPORT_RESERVEDMIN to IPPORT_RESERVEDMAX.
5480
5481 // IPv6 address
5482 type In6_addr = struct {
5483 F__u6_addr struct {
5484 F__ccgo_pad1 [0]uint32
5485 F__u6_addr8 [16]X__uint8_t
5486 }
5487 } /* in6.h:152:9 */
5488
5489 // Definitions for inet sysctl operations.
5490 //
5491 // Third level is protocol number.
5492 // Fourth level is desired variable within that protocol.
5493
5494 // Names for IP sysctl objects
5495
5496 // INET6 stuff
5497 // Copyright (c) 2008-2020 Apple Inc. All rights reserved.
5498 //
5499 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5500 //
5501 // This file contains Original Code and/or Modifications of Original Code
5502 // as defined in and that are subject to the Apple Public Source License
5503 // Version 2.0 (the 'License'). You may not use this file except in
5504 // compliance with the License. The rights granted to you under the License
5505 // may not be used to create, or enable the creation or redistribution of,
5506 // unlawful or unlicensed copies of an Apple operating system, or to
5507 // circumvent, violate, or enable the circumvention or violation of, any
5508 // terms of an Apple operating system software license agreement.
5509 //
5510 // Please obtain a copy of the License at
5511 // http://www.opensource.apple.com/apsl/ and read it before using this file.
5512 //
5513 // The Original Code and all software distributed under the License are
5514 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
5515 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
5516 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
5517 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
5518 // Please see the License for the specific language governing rights and
5519 // limitations under the License.
5520 //
5521 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
5522
5523 // Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
5524 // All rights reserved.
5525 //
5526 // Redistribution and use in source and binary forms, with or without
5527 // modification, are permitted provided that the following conditions
5528 // are met:
5529 // 1. Redistributions of source code must retain the above copyright
5530 // notice, this list of conditions and the following disclaimer.
5531 // 2. Redistributions in binary form must reproduce the above copyright
5532 // notice, this list of conditions and the following disclaimer in the
5533 // documentation and/or other materials provided with the distribution.
5534 // 3. Neither the name of the project nor the names of its contributors
5535 // may be used to endorse or promote products derived from this software
5536 // without specific prior written permission.
5537 //
5538 // THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
5539 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5540 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
5541 // ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
5542 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
5543 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
5544 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5545 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
5546 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
5547 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
5548 // SUCH DAMAGE.
5549
5550 // Copyright (c) 1982, 1986, 1990, 1993
5551 // The Regents of the University of California. All rights reserved.
5552 //
5553 // Redistribution and use in source and binary forms, with or without
5554 // modification, are permitted provided that the following conditions
5555 // are met:
5556 // 1. Redistributions of source code must retain the above copyright
5557 // notice, this list of conditions and the following disclaimer.
5558 // 2. Redistributions in binary form must reproduce the above copyright
5559 // notice, this list of conditions and the following disclaimer in the
5560 // documentation and/or other materials provided with the distribution.
5561 // 3. All advertising materials mentioning features or use of this software
5562 // must display the following acknowledgement:
5563 // This product includes software developed by the University of
5564 // California, Berkeley and its contributors.
5565 // 4. Neither the name of the University nor the names of its contributors
5566 // may be used to endorse or promote products derived from this software
5567 // without specific prior written permission.
5568 //
5569 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
5570 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
5571 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
5572 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
5573 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
5574 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
5575 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
5576 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
5577 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
5578 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
5579 // SUCH DAMAGE.
5580 //
5581 // @(#)in.h 8.3 (Berkeley) 1/3/94
5582
5583 // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
5584 //
5585 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5586 //
5587 // This file contains Original Code and/or Modifications of Original Code
5588 // as defined in and that are subject to the Apple Public Source License
5589 // Version 2.0 (the 'License'). You may not use this file except in
5590 // compliance with the License. The rights granted to you under the License
5591 // may not be used to create, or enable the creation or redistribution of,
5592 // unlawful or unlicensed copies of an Apple operating system, or to
5593 // circumvent, violate, or enable the circumvention or violation of, any
5594 // terms of an Apple operating system software license agreement.
5595 //
5596 // Please obtain a copy of the License at
5597 // http://www.opensource.apple.com/apsl/ and read it before using this file.
5598 //
5599 // The Original Code and all software distributed under the License are
5600 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
5601 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
5602 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
5603 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
5604 // Please see the License for the specific language governing rights and
5605 // limitations under the License.
5606 //
5607 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
5608
5609 // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
5610 //
5611 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5612 //
5613 // This file contains Original Code and/or Modifications of Original Code
5614 // as defined in and that are subject to the Apple Public Source License
5615 // Version 2.0 (the 'License'). You may not use this file except in
5616 // compliance with the License. The rights granted to you under the License
5617 // may not be used to create, or enable the creation or redistribution of,
5618 // unlawful or unlicensed copies of an Apple operating system, or to
5619 // circumvent, violate, or enable the circumvention or violation of, any
5620 // terms of an Apple operating system software license agreement.
5621 //
5622 // Please obtain a copy of the License at
5623 // http://www.opensource.apple.com/apsl/ and read it before using this file.
5624 //
5625 // The Original Code and all software distributed under the License are
5626 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
5627 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
5628 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
5629 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
5630 // Please see the License for the specific language governing rights and
5631 // limitations under the License.
5632 //
5633 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
5634
5635 // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
5636 //
5637 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5638 //
5639 // This file contains Original Code and/or Modifications of Original Code
5640 // as defined in and that are subject to the Apple Public Source License
5641 // Version 2.0 (the 'License'). You may not use this file except in
5642 // compliance with the License. The rights granted to you under the License
5643 // may not be used to create, or enable the creation or redistribution of,
5644 // unlawful or unlicensed copies of an Apple operating system, or to
5645 // circumvent, violate, or enable the circumvention or violation of, any
5646 // terms of an Apple operating system software license agreement.
5647 //
5648 // Please obtain a copy of the License at
5649 // http://www.opensource.apple.com/apsl/ and read it before using this file.
5650 //
5651 // The Original Code and all software distributed under the License are
5652 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
5653 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
5654 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
5655 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
5656 // Please see the License for the specific language governing rights and
5657 // limitations under the License.
5658 //
5659 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
5660
5661 // Identification of the network protocol stack
5662 // for *BSD-current/release: http://www.kame.net/dev/cvsweb.cgi/kame/COVERAGE
5663 // has the table of implementation/integration differences.
5664
5665 // Local port number conventions:
5666 //
5667 // Ports < IPPORT_RESERVED are reserved for privileged processes (e.g. root),
5668 // unless a kernel is compiled with IPNOPRIVPORTS defined.
5669 //
5670 // When a user does a bind(2) or connect(2) with a port number of zero,
5671 // a non-conflicting local port address is chosen.
5672 //
5673 // The default range is IPPORT_ANONMIN to IPPORT_ANONMAX, although
5674 // that is settable by sysctl(3); net.inet.ip.anonportmin and
5675 // net.inet.ip.anonportmax respectively.
5676 //
5677 // A user may set the IPPROTO_IP option IP_PORTRANGE to change this
5678 // default assignment range.
5679 //
5680 // The value IP_PORTRANGE_DEFAULT causes the default behavior.
5681 //
5682 // The value IP_PORTRANGE_HIGH is the same as IP_PORTRANGE_DEFAULT,
5683 // and exists only for FreeBSD compatibility purposes.
5684 //
5685 // The value IP_PORTRANGE_LOW changes the range to the "low" are
5686 // that is (by convention) restricted to privileged processes.
5687 // This convention is based on "vouchsafe" principles only.
5688 // It is only secure if you trust the remote host to restrict these ports.
5689 // The range is IPPORT_RESERVEDMIN to IPPORT_RESERVEDMAX.
5690
5691 // IPv6 address
5692 type In6_addr_t = In6_addr /* in6.h:158:3 */
5693
5694 // Socket address for IPv6
5695 type Sockaddr_in6 = struct {
5696 Fsin6_len X__uint8_t
5697 Fsin6_family Sa_family_t
5698 Fsin6_port In_port_t
5699 Fsin6_flowinfo X__uint32_t
5700 Fsin6_addr struct {
5701 F__u6_addr struct {
5702 F__ccgo_pad1 [0]uint32
5703 F__u6_addr8 [16]X__uint8_t
5704 }
5705 }
5706 Fsin6_scope_id X__uint32_t
5707 } /* in6.h:170:1 */
5708
5709 // Equality
5710 // NOTE: Some of kernel programming environment (for example, openbsd/sparc)
5711 // does not supply memcmp(). For userland memcmp() is preferred as it is
5712 // in ANSI standard.
5713
5714 // Unspecified
5715
5716 // Loopback
5717
5718 // IPv4 compatible
5719
5720 // Mapped
5721
5722 // 6to4
5723
5724 // KAME Scope Values
5725
5726 // Unicast Scope
5727 // Note that we must check topmost 10 bits only, not 16 bits (see RFC2373).
5728
5729 // Multicast
5730
5731 // Unique Local IPv6 Unicast Addresses (per RFC 4193)
5732
5733 // Multicast Scope
5734
5735 // Options for use with [gs]etsockopt at the IPV6 level.
5736 // First word of comment is data type; bool is stored in int.
5737 // no hdrincl
5738 // RFC 3542 define the following socket options in a manner incompatible
5739 // with RFC 2292:
5740 // IPV6_PKTINFO
5741 // IPV6_HOPLIMIT
5742 // IPV6_NEXTHOP
5743 // IPV6_HOPOPTS
5744 // IPV6_DSTOPTS
5745 // IPV6_RTHDR
5746 //
5747 // To use the new IPv6 Sockets options introduced by RFC 3542
5748 // the constant __APPLE_USE_RFC_3542 must be defined before
5749 // including <netinet/in.h>
5750 //
5751 // To use the old IPv6 Sockets options from RFC 2292
5752 // the constant __APPLE_USE_RFC_2292 must be defined before
5753 // including <netinet/in.h>
5754 //
5755 // Note that eventually RFC 3542 is going to be the
5756 // default and RFC 2292 will be obsolete.
5757
5758 // buf/cmsghdr; set/get IPv6 options [obsoleted by RFC3542]
5759
5760 // APPLE: NOTE the value of those 2 options is kept unchanged from
5761 // previous version of darwin/OS X for binary compatibility reasons
5762 // and differ from FreeBSD (values 57 and 61). See below.
5763
5764 // to define items, should talk with KAME guys first, for *BSD compatibility
5765
5766 // Defaults and limits for options
5767
5768 // The im6o_membership vector for each socket is now dynamically allocated at
5769 // run-time, bounded by USHRT_MAX, and is reallocated when needed, sized
5770 // according to a power-of-two increment.
5771
5772 // Default resource limits for IPv6 multicast source filtering.
5773 // These may be modified by sysctl.
5774
5775 // Argument structure for IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP.
5776 type Ipv6_mreq = struct {
5777 Fipv6mr_multiaddr struct {
5778 F__u6_addr struct {
5779 F__ccgo_pad1 [0]uint32
5780 F__u6_addr8 [16]X__uint8_t
5781 }
5782 }
5783 Fipv6mr_interface uint32
5784 } /* in6.h:541:1 */
5785
5786 // IPV6_2292PKTINFO: Packet information(RFC2292 sec 5)
5787 type In6_pktinfo = struct {
5788 Fipi6_addr struct {
5789 F__u6_addr struct {
5790 F__ccgo_pad1 [0]uint32
5791 F__u6_addr8 [16]X__uint8_t
5792 }
5793 }
5794 Fipi6_ifindex uint32
5795 } /* in6.h:549:1 */
5796
5797 // Control structure for IPV6_RECVPATHMTU socket option.
5798 type Ip6_mtuinfo = struct {
5799 Fip6m_addr struct {
5800 Fsin6_len X__uint8_t
5801 Fsin6_family Sa_family_t
5802 Fsin6_port In_port_t
5803 Fsin6_flowinfo X__uint32_t
5804 Fsin6_addr struct {
5805 F__u6_addr struct {
5806 F__ccgo_pad1 [0]uint32
5807 F__u6_addr8 [16]X__uint8_t
5808 }
5809 }
5810 Fsin6_scope_id X__uint32_t
5811 }
5812 Fip6m_mtu Uint32_t
5813 } /* in6.h:557:1 */
5814
5815 var _ int8 /* gen.c:2:13: */