github.com/afumu/libc@v0.0.6/netdb/netdb_darwin_arm64.go (about)

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