in_darwin_arm64.go 299 KB

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