Debian Codegraph @

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