zerrors_openbsd_386.go 68 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657
  1. // mkerrors.sh -m32
  2. // Code generated by the command above; see README.md. DO NOT EDIT.
  3. // +build 386,openbsd
  4. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  5. // cgo -godefs -- -m32 _const.go
  6. package unix
  7. import "syscall"
  8. const (
  9. AF_APPLETALK = 0x10
  10. AF_BLUETOOTH = 0x20
  11. AF_CCITT = 0xa
  12. AF_CHAOS = 0x5
  13. AF_CNT = 0x15
  14. AF_COIP = 0x14
  15. AF_DATAKIT = 0x9
  16. AF_DECnet = 0xc
  17. AF_DLI = 0xd
  18. AF_E164 = 0x1a
  19. AF_ECMA = 0x8
  20. AF_ENCAP = 0x1c
  21. AF_HYLINK = 0xf
  22. AF_IMPLINK = 0x3
  23. AF_INET = 0x2
  24. AF_INET6 = 0x18
  25. AF_IPX = 0x17
  26. AF_ISDN = 0x1a
  27. AF_ISO = 0x7
  28. AF_KEY = 0x1e
  29. AF_LAT = 0xe
  30. AF_LINK = 0x12
  31. AF_LOCAL = 0x1
  32. AF_MAX = 0x24
  33. AF_MPLS = 0x21
  34. AF_NATM = 0x1b
  35. AF_NS = 0x6
  36. AF_OSI = 0x7
  37. AF_PUP = 0x4
  38. AF_ROUTE = 0x11
  39. AF_SIP = 0x1d
  40. AF_SNA = 0xb
  41. AF_UNIX = 0x1
  42. AF_UNSPEC = 0x0
  43. ARPHRD_ETHER = 0x1
  44. ARPHRD_FRELAY = 0xf
  45. ARPHRD_IEEE1394 = 0x18
  46. ARPHRD_IEEE802 = 0x6
  47. B0 = 0x0
  48. B110 = 0x6e
  49. B115200 = 0x1c200
  50. B1200 = 0x4b0
  51. B134 = 0x86
  52. B14400 = 0x3840
  53. B150 = 0x96
  54. B1800 = 0x708
  55. B19200 = 0x4b00
  56. B200 = 0xc8
  57. B230400 = 0x38400
  58. B2400 = 0x960
  59. B28800 = 0x7080
  60. B300 = 0x12c
  61. B38400 = 0x9600
  62. B4800 = 0x12c0
  63. B50 = 0x32
  64. B57600 = 0xe100
  65. B600 = 0x258
  66. B7200 = 0x1c20
  67. B75 = 0x4b
  68. B76800 = 0x12c00
  69. B9600 = 0x2580
  70. BIOCFLUSH = 0x20004268
  71. BIOCGBLEN = 0x40044266
  72. BIOCGDIRFILT = 0x4004427c
  73. BIOCGDLT = 0x4004426a
  74. BIOCGDLTLIST = 0xc008427b
  75. BIOCGETIF = 0x4020426b
  76. BIOCGFILDROP = 0x40044278
  77. BIOCGHDRCMPLT = 0x40044274
  78. BIOCGRSIG = 0x40044273
  79. BIOCGRTIMEOUT = 0x400c426e
  80. BIOCGSTATS = 0x4008426f
  81. BIOCIMMEDIATE = 0x80044270
  82. BIOCLOCK = 0x20004276
  83. BIOCPROMISC = 0x20004269
  84. BIOCSBLEN = 0xc0044266
  85. BIOCSDIRFILT = 0x8004427d
  86. BIOCSDLT = 0x8004427a
  87. BIOCSETF = 0x80084267
  88. BIOCSETIF = 0x8020426c
  89. BIOCSETWF = 0x80084277
  90. BIOCSFILDROP = 0x80044279
  91. BIOCSHDRCMPLT = 0x80044275
  92. BIOCSRSIG = 0x80044272
  93. BIOCSRTIMEOUT = 0x800c426d
  94. BIOCVERSION = 0x40044271
  95. BPF_A = 0x10
  96. BPF_ABS = 0x20
  97. BPF_ADD = 0x0
  98. BPF_ALIGNMENT = 0x4
  99. BPF_ALU = 0x4
  100. BPF_AND = 0x50
  101. BPF_B = 0x10
  102. BPF_DIRECTION_IN = 0x1
  103. BPF_DIRECTION_OUT = 0x2
  104. BPF_DIV = 0x30
  105. BPF_H = 0x8
  106. BPF_IMM = 0x0
  107. BPF_IND = 0x40
  108. BPF_JA = 0x0
  109. BPF_JEQ = 0x10
  110. BPF_JGE = 0x30
  111. BPF_JGT = 0x20
  112. BPF_JMP = 0x5
  113. BPF_JSET = 0x40
  114. BPF_K = 0x0
  115. BPF_LD = 0x0
  116. BPF_LDX = 0x1
  117. BPF_LEN = 0x80
  118. BPF_LSH = 0x60
  119. BPF_MAJOR_VERSION = 0x1
  120. BPF_MAXBUFSIZE = 0x200000
  121. BPF_MAXINSNS = 0x200
  122. BPF_MEM = 0x60
  123. BPF_MEMWORDS = 0x10
  124. BPF_MINBUFSIZE = 0x20
  125. BPF_MINOR_VERSION = 0x1
  126. BPF_MISC = 0x7
  127. BPF_MSH = 0xa0
  128. BPF_MUL = 0x20
  129. BPF_NEG = 0x80
  130. BPF_OR = 0x40
  131. BPF_RELEASE = 0x30bb6
  132. BPF_RET = 0x6
  133. BPF_RSH = 0x70
  134. BPF_ST = 0x2
  135. BPF_STX = 0x3
  136. BPF_SUB = 0x10
  137. BPF_TAX = 0x0
  138. BPF_TXA = 0x80
  139. BPF_W = 0x0
  140. BPF_X = 0x8
  141. BRKINT = 0x2
  142. CFLUSH = 0xf
  143. CLOCAL = 0x8000
  144. CREAD = 0x800
  145. CRTSCTS = 0x10000
  146. CS5 = 0x0
  147. CS6 = 0x100
  148. CS7 = 0x200
  149. CS8 = 0x300
  150. CSIZE = 0x300
  151. CSTART = 0x11
  152. CSTATUS = 0xff
  153. CSTOP = 0x13
  154. CSTOPB = 0x400
  155. CSUSP = 0x1a
  156. CTL_HW = 0x6
  157. CTL_KERN = 0x1
  158. CTL_MAXNAME = 0xc
  159. CTL_NET = 0x4
  160. DIOCOSFPFLUSH = 0x2000444e
  161. DLT_ARCNET = 0x7
  162. DLT_ATM_RFC1483 = 0xb
  163. DLT_AX25 = 0x3
  164. DLT_CHAOS = 0x5
  165. DLT_C_HDLC = 0x68
  166. DLT_EN10MB = 0x1
  167. DLT_EN3MB = 0x2
  168. DLT_ENC = 0xd
  169. DLT_FDDI = 0xa
  170. DLT_IEEE802 = 0x6
  171. DLT_IEEE802_11 = 0x69
  172. DLT_IEEE802_11_RADIO = 0x7f
  173. DLT_LOOP = 0xc
  174. DLT_MPLS = 0xdb
  175. DLT_NULL = 0x0
  176. DLT_PFLOG = 0x75
  177. DLT_PFSYNC = 0x12
  178. DLT_PPP = 0x9
  179. DLT_PPP_BSDOS = 0x10
  180. DLT_PPP_ETHER = 0x33
  181. DLT_PPP_SERIAL = 0x32
  182. DLT_PRONET = 0x4
  183. DLT_RAW = 0xe
  184. DLT_SLIP = 0x8
  185. DLT_SLIP_BSDOS = 0xf
  186. DT_BLK = 0x6
  187. DT_CHR = 0x2
  188. DT_DIR = 0x4
  189. DT_FIFO = 0x1
  190. DT_LNK = 0xa
  191. DT_REG = 0x8
  192. DT_SOCK = 0xc
  193. DT_UNKNOWN = 0x0
  194. ECHO = 0x8
  195. ECHOCTL = 0x40
  196. ECHOE = 0x2
  197. ECHOK = 0x4
  198. ECHOKE = 0x1
  199. ECHONL = 0x10
  200. ECHOPRT = 0x20
  201. EMT_TAGOVF = 0x1
  202. EMUL_ENABLED = 0x1
  203. EMUL_NATIVE = 0x2
  204. ENDRUNDISC = 0x9
  205. ETHERMIN = 0x2e
  206. ETHERMTU = 0x5dc
  207. ETHERTYPE_8023 = 0x4
  208. ETHERTYPE_AARP = 0x80f3
  209. ETHERTYPE_ACCTON = 0x8390
  210. ETHERTYPE_AEONIC = 0x8036
  211. ETHERTYPE_ALPHA = 0x814a
  212. ETHERTYPE_AMBER = 0x6008
  213. ETHERTYPE_AMOEBA = 0x8145
  214. ETHERTYPE_AOE = 0x88a2
  215. ETHERTYPE_APOLLO = 0x80f7
  216. ETHERTYPE_APOLLODOMAIN = 0x8019
  217. ETHERTYPE_APPLETALK = 0x809b
  218. ETHERTYPE_APPLITEK = 0x80c7
  219. ETHERTYPE_ARGONAUT = 0x803a
  220. ETHERTYPE_ARP = 0x806
  221. ETHERTYPE_AT = 0x809b
  222. ETHERTYPE_ATALK = 0x809b
  223. ETHERTYPE_ATOMIC = 0x86df
  224. ETHERTYPE_ATT = 0x8069
  225. ETHERTYPE_ATTSTANFORD = 0x8008
  226. ETHERTYPE_AUTOPHON = 0x806a
  227. ETHERTYPE_AXIS = 0x8856
  228. ETHERTYPE_BCLOOP = 0x9003
  229. ETHERTYPE_BOFL = 0x8102
  230. ETHERTYPE_CABLETRON = 0x7034
  231. ETHERTYPE_CHAOS = 0x804
  232. ETHERTYPE_COMDESIGN = 0x806c
  233. ETHERTYPE_COMPUGRAPHIC = 0x806d
  234. ETHERTYPE_COUNTERPOINT = 0x8062
  235. ETHERTYPE_CRONUS = 0x8004
  236. ETHERTYPE_CRONUSVLN = 0x8003
  237. ETHERTYPE_DCA = 0x1234
  238. ETHERTYPE_DDE = 0x807b
  239. ETHERTYPE_DEBNI = 0xaaaa
  240. ETHERTYPE_DECAM = 0x8048
  241. ETHERTYPE_DECCUST = 0x6006
  242. ETHERTYPE_DECDIAG = 0x6005
  243. ETHERTYPE_DECDNS = 0x803c
  244. ETHERTYPE_DECDTS = 0x803e
  245. ETHERTYPE_DECEXPER = 0x6000
  246. ETHERTYPE_DECLAST = 0x8041
  247. ETHERTYPE_DECLTM = 0x803f
  248. ETHERTYPE_DECMUMPS = 0x6009
  249. ETHERTYPE_DECNETBIOS = 0x8040
  250. ETHERTYPE_DELTACON = 0x86de
  251. ETHERTYPE_DIDDLE = 0x4321
  252. ETHERTYPE_DLOG1 = 0x660
  253. ETHERTYPE_DLOG2 = 0x661
  254. ETHERTYPE_DN = 0x6003
  255. ETHERTYPE_DOGFIGHT = 0x1989
  256. ETHERTYPE_DSMD = 0x8039
  257. ETHERTYPE_ECMA = 0x803
  258. ETHERTYPE_ENCRYPT = 0x803d
  259. ETHERTYPE_ES = 0x805d
  260. ETHERTYPE_EXCELAN = 0x8010
  261. ETHERTYPE_EXPERDATA = 0x8049
  262. ETHERTYPE_FLIP = 0x8146
  263. ETHERTYPE_FLOWCONTROL = 0x8808
  264. ETHERTYPE_FRARP = 0x808
  265. ETHERTYPE_GENDYN = 0x8068
  266. ETHERTYPE_HAYES = 0x8130
  267. ETHERTYPE_HIPPI_FP = 0x8180
  268. ETHERTYPE_HITACHI = 0x8820
  269. ETHERTYPE_HP = 0x8005
  270. ETHERTYPE_IEEEPUP = 0xa00
  271. ETHERTYPE_IEEEPUPAT = 0xa01
  272. ETHERTYPE_IMLBL = 0x4c42
  273. ETHERTYPE_IMLBLDIAG = 0x424c
  274. ETHERTYPE_IP = 0x800
  275. ETHERTYPE_IPAS = 0x876c
  276. ETHERTYPE_IPV6 = 0x86dd
  277. ETHERTYPE_IPX = 0x8137
  278. ETHERTYPE_IPXNEW = 0x8037
  279. ETHERTYPE_KALPANA = 0x8582
  280. ETHERTYPE_LANBRIDGE = 0x8038
  281. ETHERTYPE_LANPROBE = 0x8888
  282. ETHERTYPE_LAT = 0x6004
  283. ETHERTYPE_LBACK = 0x9000
  284. ETHERTYPE_LITTLE = 0x8060
  285. ETHERTYPE_LLDP = 0x88cc
  286. ETHERTYPE_LOGICRAFT = 0x8148
  287. ETHERTYPE_LOOPBACK = 0x9000
  288. ETHERTYPE_MATRA = 0x807a
  289. ETHERTYPE_MAX = 0xffff
  290. ETHERTYPE_MERIT = 0x807c
  291. ETHERTYPE_MICP = 0x873a
  292. ETHERTYPE_MOPDL = 0x6001
  293. ETHERTYPE_MOPRC = 0x6002
  294. ETHERTYPE_MOTOROLA = 0x818d
  295. ETHERTYPE_MPLS = 0x8847
  296. ETHERTYPE_MPLS_MCAST = 0x8848
  297. ETHERTYPE_MUMPS = 0x813f
  298. ETHERTYPE_NBPCC = 0x3c04
  299. ETHERTYPE_NBPCLAIM = 0x3c09
  300. ETHERTYPE_NBPCLREQ = 0x3c05
  301. ETHERTYPE_NBPCLRSP = 0x3c06
  302. ETHERTYPE_NBPCREQ = 0x3c02
  303. ETHERTYPE_NBPCRSP = 0x3c03
  304. ETHERTYPE_NBPDG = 0x3c07
  305. ETHERTYPE_NBPDGB = 0x3c08
  306. ETHERTYPE_NBPDLTE = 0x3c0a
  307. ETHERTYPE_NBPRAR = 0x3c0c
  308. ETHERTYPE_NBPRAS = 0x3c0b
  309. ETHERTYPE_NBPRST = 0x3c0d
  310. ETHERTYPE_NBPSCD = 0x3c01
  311. ETHERTYPE_NBPVCD = 0x3c00
  312. ETHERTYPE_NBS = 0x802
  313. ETHERTYPE_NCD = 0x8149
  314. ETHERTYPE_NESTAR = 0x8006
  315. ETHERTYPE_NETBEUI = 0x8191
  316. ETHERTYPE_NOVELL = 0x8138
  317. ETHERTYPE_NS = 0x600
  318. ETHERTYPE_NSAT = 0x601
  319. ETHERTYPE_NSCOMPAT = 0x807
  320. ETHERTYPE_NTRAILER = 0x10
  321. ETHERTYPE_OS9 = 0x7007
  322. ETHERTYPE_OS9NET = 0x7009
  323. ETHERTYPE_PACER = 0x80c6
  324. ETHERTYPE_PAE = 0x888e
  325. ETHERTYPE_PCS = 0x4242
  326. ETHERTYPE_PLANNING = 0x8044
  327. ETHERTYPE_PPP = 0x880b
  328. ETHERTYPE_PPPOE = 0x8864
  329. ETHERTYPE_PPPOEDISC = 0x8863
  330. ETHERTYPE_PRIMENTS = 0x7031
  331. ETHERTYPE_PUP = 0x200
  332. ETHERTYPE_PUPAT = 0x200
  333. ETHERTYPE_QINQ = 0x88a8
  334. ETHERTYPE_RACAL = 0x7030
  335. ETHERTYPE_RATIONAL = 0x8150
  336. ETHERTYPE_RAWFR = 0x6559
  337. ETHERTYPE_RCL = 0x1995
  338. ETHERTYPE_RDP = 0x8739
  339. ETHERTYPE_RETIX = 0x80f2
  340. ETHERTYPE_REVARP = 0x8035
  341. ETHERTYPE_SCA = 0x6007
  342. ETHERTYPE_SECTRA = 0x86db
  343. ETHERTYPE_SECUREDATA = 0x876d
  344. ETHERTYPE_SGITW = 0x817e
  345. ETHERTYPE_SG_BOUNCE = 0x8016
  346. ETHERTYPE_SG_DIAG = 0x8013
  347. ETHERTYPE_SG_NETGAMES = 0x8014
  348. ETHERTYPE_SG_RESV = 0x8015
  349. ETHERTYPE_SIMNET = 0x5208
  350. ETHERTYPE_SLOW = 0x8809
  351. ETHERTYPE_SNA = 0x80d5
  352. ETHERTYPE_SNMP = 0x814c
  353. ETHERTYPE_SONIX = 0xfaf5
  354. ETHERTYPE_SPIDER = 0x809f
  355. ETHERTYPE_SPRITE = 0x500
  356. ETHERTYPE_STP = 0x8181
  357. ETHERTYPE_TALARIS = 0x812b
  358. ETHERTYPE_TALARISMC = 0x852b
  359. ETHERTYPE_TCPCOMP = 0x876b
  360. ETHERTYPE_TCPSM = 0x9002
  361. ETHERTYPE_TEC = 0x814f
  362. ETHERTYPE_TIGAN = 0x802f
  363. ETHERTYPE_TRAIL = 0x1000
  364. ETHERTYPE_TRANSETHER = 0x6558
  365. ETHERTYPE_TYMSHARE = 0x802e
  366. ETHERTYPE_UBBST = 0x7005
  367. ETHERTYPE_UBDEBUG = 0x900
  368. ETHERTYPE_UBDIAGLOOP = 0x7002
  369. ETHERTYPE_UBDL = 0x7000
  370. ETHERTYPE_UBNIU = 0x7001
  371. ETHERTYPE_UBNMC = 0x7003
  372. ETHERTYPE_VALID = 0x1600
  373. ETHERTYPE_VARIAN = 0x80dd
  374. ETHERTYPE_VAXELN = 0x803b
  375. ETHERTYPE_VEECO = 0x8067
  376. ETHERTYPE_VEXP = 0x805b
  377. ETHERTYPE_VGLAB = 0x8131
  378. ETHERTYPE_VINES = 0xbad
  379. ETHERTYPE_VINESECHO = 0xbaf
  380. ETHERTYPE_VINESLOOP = 0xbae
  381. ETHERTYPE_VITAL = 0xff00
  382. ETHERTYPE_VLAN = 0x8100
  383. ETHERTYPE_VLTLMAN = 0x8080
  384. ETHERTYPE_VPROD = 0x805c
  385. ETHERTYPE_VURESERVED = 0x8147
  386. ETHERTYPE_WATERLOO = 0x8130
  387. ETHERTYPE_WELLFLEET = 0x8103
  388. ETHERTYPE_X25 = 0x805
  389. ETHERTYPE_X75 = 0x801
  390. ETHERTYPE_XNSSM = 0x9001
  391. ETHERTYPE_XTP = 0x817d
  392. ETHER_ADDR_LEN = 0x6
  393. ETHER_ALIGN = 0x2
  394. ETHER_CRC_LEN = 0x4
  395. ETHER_CRC_POLY_BE = 0x4c11db6
  396. ETHER_CRC_POLY_LE = 0xedb88320
  397. ETHER_HDR_LEN = 0xe
  398. ETHER_MAX_DIX_LEN = 0x600
  399. ETHER_MAX_LEN = 0x5ee
  400. ETHER_MIN_LEN = 0x40
  401. ETHER_TYPE_LEN = 0x2
  402. ETHER_VLAN_ENCAP_LEN = 0x4
  403. EVFILT_AIO = -0x3
  404. EVFILT_PROC = -0x5
  405. EVFILT_READ = -0x1
  406. EVFILT_SIGNAL = -0x6
  407. EVFILT_SYSCOUNT = 0x7
  408. EVFILT_TIMER = -0x7
  409. EVFILT_VNODE = -0x4
  410. EVFILT_WRITE = -0x2
  411. EV_ADD = 0x1
  412. EV_CLEAR = 0x20
  413. EV_DELETE = 0x2
  414. EV_DISABLE = 0x8
  415. EV_ENABLE = 0x4
  416. EV_EOF = 0x8000
  417. EV_ERROR = 0x4000
  418. EV_FLAG1 = 0x2000
  419. EV_ONESHOT = 0x10
  420. EV_SYSFLAGS = 0xf000
  421. EXTA = 0x4b00
  422. EXTB = 0x9600
  423. EXTPROC = 0x800
  424. FD_CLOEXEC = 0x1
  425. FD_SETSIZE = 0x400
  426. FLUSHO = 0x800000
  427. F_DUPFD = 0x0
  428. F_DUPFD_CLOEXEC = 0xa
  429. F_GETFD = 0x1
  430. F_GETFL = 0x3
  431. F_GETLK = 0x7
  432. F_GETOWN = 0x5
  433. F_OK = 0x0
  434. F_RDLCK = 0x1
  435. F_SETFD = 0x2
  436. F_SETFL = 0x4
  437. F_SETLK = 0x8
  438. F_SETLKW = 0x9
  439. F_SETOWN = 0x6
  440. F_UNLCK = 0x2
  441. F_WRLCK = 0x3
  442. HUPCL = 0x4000
  443. HW_MACHINE = 0x1
  444. ICANON = 0x100
  445. ICMP6_FILTER = 0x12
  446. ICRNL = 0x100
  447. IEXTEN = 0x400
  448. IFAN_ARRIVAL = 0x0
  449. IFAN_DEPARTURE = 0x1
  450. IFA_ROUTE = 0x1
  451. IFF_ALLMULTI = 0x200
  452. IFF_BROADCAST = 0x2
  453. IFF_CANTCHANGE = 0x8e52
  454. IFF_DEBUG = 0x4
  455. IFF_LINK0 = 0x1000
  456. IFF_LINK1 = 0x2000
  457. IFF_LINK2 = 0x4000
  458. IFF_LOOPBACK = 0x8
  459. IFF_MULTICAST = 0x8000
  460. IFF_NOARP = 0x80
  461. IFF_NOTRAILERS = 0x20
  462. IFF_OACTIVE = 0x400
  463. IFF_POINTOPOINT = 0x10
  464. IFF_PROMISC = 0x100
  465. IFF_RUNNING = 0x40
  466. IFF_SIMPLEX = 0x800
  467. IFF_UP = 0x1
  468. IFNAMSIZ = 0x10
  469. IFT_1822 = 0x2
  470. IFT_A12MPPSWITCH = 0x82
  471. IFT_AAL2 = 0xbb
  472. IFT_AAL5 = 0x31
  473. IFT_ADSL = 0x5e
  474. IFT_AFLANE8023 = 0x3b
  475. IFT_AFLANE8025 = 0x3c
  476. IFT_ARAP = 0x58
  477. IFT_ARCNET = 0x23
  478. IFT_ARCNETPLUS = 0x24
  479. IFT_ASYNC = 0x54
  480. IFT_ATM = 0x25
  481. IFT_ATMDXI = 0x69
  482. IFT_ATMFUNI = 0x6a
  483. IFT_ATMIMA = 0x6b
  484. IFT_ATMLOGICAL = 0x50
  485. IFT_ATMRADIO = 0xbd
  486. IFT_ATMSUBINTERFACE = 0x86
  487. IFT_ATMVCIENDPT = 0xc2
  488. IFT_ATMVIRTUAL = 0x95
  489. IFT_BGPPOLICYACCOUNTING = 0xa2
  490. IFT_BLUETOOTH = 0xf8
  491. IFT_BRIDGE = 0xd1
  492. IFT_BSC = 0x53
  493. IFT_CARP = 0xf7
  494. IFT_CCTEMUL = 0x3d
  495. IFT_CEPT = 0x13
  496. IFT_CES = 0x85
  497. IFT_CHANNEL = 0x46
  498. IFT_CNR = 0x55
  499. IFT_COFFEE = 0x84
  500. IFT_COMPOSITELINK = 0x9b
  501. IFT_DCN = 0x8d
  502. IFT_DIGITALPOWERLINE = 0x8a
  503. IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
  504. IFT_DLSW = 0x4a
  505. IFT_DOCSCABLEDOWNSTREAM = 0x80
  506. IFT_DOCSCABLEMACLAYER = 0x7f
  507. IFT_DOCSCABLEUPSTREAM = 0x81
  508. IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
  509. IFT_DS0 = 0x51
  510. IFT_DS0BUNDLE = 0x52
  511. IFT_DS1FDL = 0xaa
  512. IFT_DS3 = 0x1e
  513. IFT_DTM = 0x8c
  514. IFT_DUMMY = 0xf1
  515. IFT_DVBASILN = 0xac
  516. IFT_DVBASIOUT = 0xad
  517. IFT_DVBRCCDOWNSTREAM = 0x93
  518. IFT_DVBRCCMACLAYER = 0x92
  519. IFT_DVBRCCUPSTREAM = 0x94
  520. IFT_ECONET = 0xce
  521. IFT_ENC = 0xf4
  522. IFT_EON = 0x19
  523. IFT_EPLRS = 0x57
  524. IFT_ESCON = 0x49
  525. IFT_ETHER = 0x6
  526. IFT_FAITH = 0xf3
  527. IFT_FAST = 0x7d
  528. IFT_FASTETHER = 0x3e
  529. IFT_FASTETHERFX = 0x45
  530. IFT_FDDI = 0xf
  531. IFT_FIBRECHANNEL = 0x38
  532. IFT_FRAMERELAYINTERCONNECT = 0x3a
  533. IFT_FRAMERELAYMPI = 0x5c
  534. IFT_FRDLCIENDPT = 0xc1
  535. IFT_FRELAY = 0x20
  536. IFT_FRELAYDCE = 0x2c
  537. IFT_FRF16MFRBUNDLE = 0xa3
  538. IFT_FRFORWARD = 0x9e
  539. IFT_G703AT2MB = 0x43
  540. IFT_G703AT64K = 0x42
  541. IFT_GIF = 0xf0
  542. IFT_GIGABITETHERNET = 0x75
  543. IFT_GR303IDT = 0xb2
  544. IFT_GR303RDT = 0xb1
  545. IFT_H323GATEKEEPER = 0xa4
  546. IFT_H323PROXY = 0xa5
  547. IFT_HDH1822 = 0x3
  548. IFT_HDLC = 0x76
  549. IFT_HDSL2 = 0xa8
  550. IFT_HIPERLAN2 = 0xb7
  551. IFT_HIPPI = 0x2f
  552. IFT_HIPPIINTERFACE = 0x39
  553. IFT_HOSTPAD = 0x5a
  554. IFT_HSSI = 0x2e
  555. IFT_HY = 0xe
  556. IFT_IBM370PARCHAN = 0x48
  557. IFT_IDSL = 0x9a
  558. IFT_IEEE1394 = 0x90
  559. IFT_IEEE80211 = 0x47
  560. IFT_IEEE80212 = 0x37
  561. IFT_IEEE8023ADLAG = 0xa1
  562. IFT_IFGSN = 0x91
  563. IFT_IMT = 0xbe
  564. IFT_INFINIBAND = 0xc7
  565. IFT_INTERLEAVE = 0x7c
  566. IFT_IP = 0x7e
  567. IFT_IPFORWARD = 0x8e
  568. IFT_IPOVERATM = 0x72
  569. IFT_IPOVERCDLC = 0x6d
  570. IFT_IPOVERCLAW = 0x6e
  571. IFT_IPSWITCH = 0x4e
  572. IFT_ISDN = 0x3f
  573. IFT_ISDNBASIC = 0x14
  574. IFT_ISDNPRIMARY = 0x15
  575. IFT_ISDNS = 0x4b
  576. IFT_ISDNU = 0x4c
  577. IFT_ISO88022LLC = 0x29
  578. IFT_ISO88023 = 0x7
  579. IFT_ISO88024 = 0x8
  580. IFT_ISO88025 = 0x9
  581. IFT_ISO88025CRFPINT = 0x62
  582. IFT_ISO88025DTR = 0x56
  583. IFT_ISO88025FIBER = 0x73
  584. IFT_ISO88026 = 0xa
  585. IFT_ISUP = 0xb3
  586. IFT_L2VLAN = 0x87
  587. IFT_L3IPVLAN = 0x88
  588. IFT_L3IPXVLAN = 0x89
  589. IFT_LAPB = 0x10
  590. IFT_LAPD = 0x4d
  591. IFT_LAPF = 0x77
  592. IFT_LINEGROUP = 0xd2
  593. IFT_LOCALTALK = 0x2a
  594. IFT_LOOP = 0x18
  595. IFT_MEDIAMAILOVERIP = 0x8b
  596. IFT_MFSIGLINK = 0xa7
  597. IFT_MIOX25 = 0x26
  598. IFT_MODEM = 0x30
  599. IFT_MPC = 0x71
  600. IFT_MPLS = 0xa6
  601. IFT_MPLSTUNNEL = 0x96
  602. IFT_MSDSL = 0x8f
  603. IFT_MVL = 0xbf
  604. IFT_MYRINET = 0x63
  605. IFT_NFAS = 0xaf
  606. IFT_NSIP = 0x1b
  607. IFT_OPTICALCHANNEL = 0xc3
  608. IFT_OPTICALTRANSPORT = 0xc4
  609. IFT_OTHER = 0x1
  610. IFT_P10 = 0xc
  611. IFT_P80 = 0xd
  612. IFT_PARA = 0x22
  613. IFT_PFLOG = 0xf5
  614. IFT_PFLOW = 0xf9
  615. IFT_PFSYNC = 0xf6
  616. IFT_PLC = 0xae
  617. IFT_PON155 = 0xcf
  618. IFT_PON622 = 0xd0
  619. IFT_POS = 0xab
  620. IFT_PPP = 0x17
  621. IFT_PPPMULTILINKBUNDLE = 0x6c
  622. IFT_PROPATM = 0xc5
  623. IFT_PROPBWAP2MP = 0xb8
  624. IFT_PROPCNLS = 0x59
  625. IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
  626. IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
  627. IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
  628. IFT_PROPMUX = 0x36
  629. IFT_PROPVIRTUAL = 0x35
  630. IFT_PROPWIRELESSP2P = 0x9d
  631. IFT_PTPSERIAL = 0x16
  632. IFT_PVC = 0xf2
  633. IFT_Q2931 = 0xc9
  634. IFT_QLLC = 0x44
  635. IFT_RADIOMAC = 0xbc
  636. IFT_RADSL = 0x5f
  637. IFT_REACHDSL = 0xc0
  638. IFT_RFC1483 = 0x9f
  639. IFT_RS232 = 0x21
  640. IFT_RSRB = 0x4f
  641. IFT_SDLC = 0x11
  642. IFT_SDSL = 0x60
  643. IFT_SHDSL = 0xa9
  644. IFT_SIP = 0x1f
  645. IFT_SIPSIG = 0xcc
  646. IFT_SIPTG = 0xcb
  647. IFT_SLIP = 0x1c
  648. IFT_SMDSDXI = 0x2b
  649. IFT_SMDSICIP = 0x34
  650. IFT_SONET = 0x27
  651. IFT_SONETOVERHEADCHANNEL = 0xb9
  652. IFT_SONETPATH = 0x32
  653. IFT_SONETVT = 0x33
  654. IFT_SRP = 0x97
  655. IFT_SS7SIGLINK = 0x9c
  656. IFT_STACKTOSTACK = 0x6f
  657. IFT_STARLAN = 0xb
  658. IFT_T1 = 0x12
  659. IFT_TDLC = 0x74
  660. IFT_TELINK = 0xc8
  661. IFT_TERMPAD = 0x5b
  662. IFT_TR008 = 0xb0
  663. IFT_TRANSPHDLC = 0x7b
  664. IFT_TUNNEL = 0x83
  665. IFT_ULTRA = 0x1d
  666. IFT_USB = 0xa0
  667. IFT_V11 = 0x40
  668. IFT_V35 = 0x2d
  669. IFT_V36 = 0x41
  670. IFT_V37 = 0x78
  671. IFT_VDSL = 0x61
  672. IFT_VIRTUALIPADDRESS = 0x70
  673. IFT_VIRTUALTG = 0xca
  674. IFT_VOICEDID = 0xd5
  675. IFT_VOICEEM = 0x64
  676. IFT_VOICEEMFGD = 0xd3
  677. IFT_VOICEENCAP = 0x67
  678. IFT_VOICEFGDEANA = 0xd4
  679. IFT_VOICEFXO = 0x65
  680. IFT_VOICEFXS = 0x66
  681. IFT_VOICEOVERATM = 0x98
  682. IFT_VOICEOVERCABLE = 0xc6
  683. IFT_VOICEOVERFRAMERELAY = 0x99
  684. IFT_VOICEOVERIP = 0x68
  685. IFT_X213 = 0x5d
  686. IFT_X25 = 0x5
  687. IFT_X25DDN = 0x4
  688. IFT_X25HUNTGROUP = 0x7a
  689. IFT_X25MLP = 0x79
  690. IFT_X25PLE = 0x28
  691. IFT_XETHER = 0x1a
  692. IGNBRK = 0x1
  693. IGNCR = 0x80
  694. IGNPAR = 0x4
  695. IMAXBEL = 0x2000
  696. INLCR = 0x40
  697. INPCK = 0x10
  698. IN_CLASSA_HOST = 0xffffff
  699. IN_CLASSA_MAX = 0x80
  700. IN_CLASSA_NET = 0xff000000
  701. IN_CLASSA_NSHIFT = 0x18
  702. IN_CLASSB_HOST = 0xffff
  703. IN_CLASSB_MAX = 0x10000
  704. IN_CLASSB_NET = 0xffff0000
  705. IN_CLASSB_NSHIFT = 0x10
  706. IN_CLASSC_HOST = 0xff
  707. IN_CLASSC_NET = 0xffffff00
  708. IN_CLASSC_NSHIFT = 0x8
  709. IN_CLASSD_HOST = 0xfffffff
  710. IN_CLASSD_NET = 0xf0000000
  711. IN_CLASSD_NSHIFT = 0x1c
  712. IN_LOOPBACKNET = 0x7f
  713. IN_RFC3021_HOST = 0x1
  714. IN_RFC3021_NET = 0xfffffffe
  715. IN_RFC3021_NSHIFT = 0x1f
  716. IPPROTO_AH = 0x33
  717. IPPROTO_CARP = 0x70
  718. IPPROTO_DIVERT = 0x102
  719. IPPROTO_DIVERT_INIT = 0x2
  720. IPPROTO_DIVERT_RESP = 0x1
  721. IPPROTO_DONE = 0x101
  722. IPPROTO_DSTOPTS = 0x3c
  723. IPPROTO_EGP = 0x8
  724. IPPROTO_ENCAP = 0x62
  725. IPPROTO_EON = 0x50
  726. IPPROTO_ESP = 0x32
  727. IPPROTO_ETHERIP = 0x61
  728. IPPROTO_FRAGMENT = 0x2c
  729. IPPROTO_GGP = 0x3
  730. IPPROTO_GRE = 0x2f
  731. IPPROTO_HOPOPTS = 0x0
  732. IPPROTO_ICMP = 0x1
  733. IPPROTO_ICMPV6 = 0x3a
  734. IPPROTO_IDP = 0x16
  735. IPPROTO_IGMP = 0x2
  736. IPPROTO_IP = 0x0
  737. IPPROTO_IPCOMP = 0x6c
  738. IPPROTO_IPIP = 0x4
  739. IPPROTO_IPV4 = 0x4
  740. IPPROTO_IPV6 = 0x29
  741. IPPROTO_MAX = 0x100
  742. IPPROTO_MAXID = 0x103
  743. IPPROTO_MOBILE = 0x37
  744. IPPROTO_MPLS = 0x89
  745. IPPROTO_NONE = 0x3b
  746. IPPROTO_PFSYNC = 0xf0
  747. IPPROTO_PIM = 0x67
  748. IPPROTO_PUP = 0xc
  749. IPPROTO_RAW = 0xff
  750. IPPROTO_ROUTING = 0x2b
  751. IPPROTO_RSVP = 0x2e
  752. IPPROTO_TCP = 0x6
  753. IPPROTO_TP = 0x1d
  754. IPPROTO_UDP = 0x11
  755. IPV6_AUTH_LEVEL = 0x35
  756. IPV6_AUTOFLOWLABEL = 0x3b
  757. IPV6_CHECKSUM = 0x1a
  758. IPV6_DEFAULT_MULTICAST_HOPS = 0x1
  759. IPV6_DEFAULT_MULTICAST_LOOP = 0x1
  760. IPV6_DEFHLIM = 0x40
  761. IPV6_DONTFRAG = 0x3e
  762. IPV6_DSTOPTS = 0x32
  763. IPV6_ESP_NETWORK_LEVEL = 0x37
  764. IPV6_ESP_TRANS_LEVEL = 0x36
  765. IPV6_FAITH = 0x1d
  766. IPV6_FLOWINFO_MASK = 0xffffff0f
  767. IPV6_FLOWLABEL_MASK = 0xffff0f00
  768. IPV6_FRAGTTL = 0x78
  769. IPV6_HLIMDEC = 0x1
  770. IPV6_HOPLIMIT = 0x2f
  771. IPV6_HOPOPTS = 0x31
  772. IPV6_IPCOMP_LEVEL = 0x3c
  773. IPV6_JOIN_GROUP = 0xc
  774. IPV6_LEAVE_GROUP = 0xd
  775. IPV6_MAXHLIM = 0xff
  776. IPV6_MAXPACKET = 0xffff
  777. IPV6_MMTU = 0x500
  778. IPV6_MULTICAST_HOPS = 0xa
  779. IPV6_MULTICAST_IF = 0x9
  780. IPV6_MULTICAST_LOOP = 0xb
  781. IPV6_NEXTHOP = 0x30
  782. IPV6_OPTIONS = 0x1
  783. IPV6_PATHMTU = 0x2c
  784. IPV6_PIPEX = 0x3f
  785. IPV6_PKTINFO = 0x2e
  786. IPV6_PORTRANGE = 0xe
  787. IPV6_PORTRANGE_DEFAULT = 0x0
  788. IPV6_PORTRANGE_HIGH = 0x1
  789. IPV6_PORTRANGE_LOW = 0x2
  790. IPV6_RECVDSTOPTS = 0x28
  791. IPV6_RECVDSTPORT = 0x40
  792. IPV6_RECVHOPLIMIT = 0x25
  793. IPV6_RECVHOPOPTS = 0x27
  794. IPV6_RECVPATHMTU = 0x2b
  795. IPV6_RECVPKTINFO = 0x24
  796. IPV6_RECVRTHDR = 0x26
  797. IPV6_RECVTCLASS = 0x39
  798. IPV6_RTABLE = 0x1021
  799. IPV6_RTHDR = 0x33
  800. IPV6_RTHDRDSTOPTS = 0x23
  801. IPV6_RTHDR_LOOSE = 0x0
  802. IPV6_RTHDR_STRICT = 0x1
  803. IPV6_RTHDR_TYPE_0 = 0x0
  804. IPV6_SOCKOPT_RESERVED1 = 0x3
  805. IPV6_TCLASS = 0x3d
  806. IPV6_UNICAST_HOPS = 0x4
  807. IPV6_USE_MIN_MTU = 0x2a
  808. IPV6_V6ONLY = 0x1b
  809. IPV6_VERSION = 0x60
  810. IPV6_VERSION_MASK = 0xf0
  811. IP_ADD_MEMBERSHIP = 0xc
  812. IP_AUTH_LEVEL = 0x14
  813. IP_DEFAULT_MULTICAST_LOOP = 0x1
  814. IP_DEFAULT_MULTICAST_TTL = 0x1
  815. IP_DF = 0x4000
  816. IP_DIVERTFL = 0x1022
  817. IP_DROP_MEMBERSHIP = 0xd
  818. IP_ESP_NETWORK_LEVEL = 0x16
  819. IP_ESP_TRANS_LEVEL = 0x15
  820. IP_HDRINCL = 0x2
  821. IP_IPCOMP_LEVEL = 0x1d
  822. IP_IPSECFLOWINFO = 0x24
  823. IP_IPSEC_LOCAL_AUTH = 0x1b
  824. IP_IPSEC_LOCAL_CRED = 0x19
  825. IP_IPSEC_LOCAL_ID = 0x17
  826. IP_IPSEC_REMOTE_AUTH = 0x1c
  827. IP_IPSEC_REMOTE_CRED = 0x1a
  828. IP_IPSEC_REMOTE_ID = 0x18
  829. IP_MAXPACKET = 0xffff
  830. IP_MAX_MEMBERSHIPS = 0xfff
  831. IP_MF = 0x2000
  832. IP_MINTTL = 0x20
  833. IP_MIN_MEMBERSHIPS = 0xf
  834. IP_MSS = 0x240
  835. IP_MULTICAST_IF = 0x9
  836. IP_MULTICAST_LOOP = 0xb
  837. IP_MULTICAST_TTL = 0xa
  838. IP_OFFMASK = 0x1fff
  839. IP_OPTIONS = 0x1
  840. IP_PIPEX = 0x22
  841. IP_PORTRANGE = 0x13
  842. IP_PORTRANGE_DEFAULT = 0x0
  843. IP_PORTRANGE_HIGH = 0x1
  844. IP_PORTRANGE_LOW = 0x2
  845. IP_RECVDSTADDR = 0x7
  846. IP_RECVDSTPORT = 0x21
  847. IP_RECVIF = 0x1e
  848. IP_RECVOPTS = 0x5
  849. IP_RECVRETOPTS = 0x6
  850. IP_RECVRTABLE = 0x23
  851. IP_RECVTTL = 0x1f
  852. IP_RETOPTS = 0x8
  853. IP_RF = 0x8000
  854. IP_RTABLE = 0x1021
  855. IP_TOS = 0x3
  856. IP_TTL = 0x4
  857. ISIG = 0x80
  858. ISTRIP = 0x20
  859. IXANY = 0x800
  860. IXOFF = 0x400
  861. IXON = 0x200
  862. KERN_HOSTNAME = 0xa
  863. KERN_OSRELEASE = 0x2
  864. KERN_OSTYPE = 0x1
  865. KERN_VERSION = 0x4
  866. LCNT_OVERLOAD_FLUSH = 0x6
  867. LOCK_EX = 0x2
  868. LOCK_NB = 0x4
  869. LOCK_SH = 0x1
  870. LOCK_UN = 0x8
  871. MADV_DONTNEED = 0x4
  872. MADV_FREE = 0x6
  873. MADV_NORMAL = 0x0
  874. MADV_RANDOM = 0x1
  875. MADV_SEQUENTIAL = 0x2
  876. MADV_SPACEAVAIL = 0x5
  877. MADV_WILLNEED = 0x3
  878. MAP_ANON = 0x1000
  879. MAP_ANONYMOUS = 0x1000
  880. MAP_CONCEAL = 0x8000
  881. MAP_COPY = 0x2
  882. MAP_FILE = 0x0
  883. MAP_FIXED = 0x10
  884. MAP_FLAGMASK = 0xfff7
  885. MAP_HASSEMAPHORE = 0x0
  886. MAP_INHERIT = 0x0
  887. MAP_INHERIT_COPY = 0x1
  888. MAP_INHERIT_NONE = 0x2
  889. MAP_INHERIT_SHARE = 0x0
  890. MAP_NOEXTEND = 0x100
  891. MAP_NORESERVE = 0x40
  892. MAP_PRIVATE = 0x2
  893. MAP_RENAME = 0x20
  894. MAP_SHARED = 0x1
  895. MAP_STACK = 0x4000
  896. MAP_TRYFIXED = 0x0
  897. MCL_CURRENT = 0x1
  898. MCL_FUTURE = 0x2
  899. MNT_ASYNC = 0x40
  900. MNT_DEFEXPORTED = 0x200
  901. MNT_DELEXPORT = 0x20000
  902. MNT_DOOMED = 0x8000000
  903. MNT_EXPORTANON = 0x400
  904. MNT_EXPORTED = 0x100
  905. MNT_EXRDONLY = 0x80
  906. MNT_FORCE = 0x80000
  907. MNT_LAZY = 0x3
  908. MNT_LOCAL = 0x1000
  909. MNT_NOATIME = 0x8000
  910. MNT_NODEV = 0x10
  911. MNT_NOEXEC = 0x4
  912. MNT_NOSUID = 0x8
  913. MNT_NOWAIT = 0x2
  914. MNT_QUOTA = 0x2000
  915. MNT_RDONLY = 0x1
  916. MNT_RELOAD = 0x40000
  917. MNT_ROOTFS = 0x4000
  918. MNT_SOFTDEP = 0x4000000
  919. MNT_SYNCHRONOUS = 0x2
  920. MNT_UPDATE = 0x10000
  921. MNT_VISFLAGMASK = 0x400ffff
  922. MNT_WAIT = 0x1
  923. MNT_WANTRDWR = 0x2000000
  924. MNT_WXALLOWED = 0x800
  925. MSG_BCAST = 0x100
  926. MSG_CTRUNC = 0x20
  927. MSG_DONTROUTE = 0x4
  928. MSG_DONTWAIT = 0x80
  929. MSG_EOR = 0x8
  930. MSG_MCAST = 0x200
  931. MSG_NOSIGNAL = 0x400
  932. MSG_OOB = 0x1
  933. MSG_PEEK = 0x2
  934. MSG_TRUNC = 0x10
  935. MSG_WAITALL = 0x40
  936. MS_ASYNC = 0x1
  937. MS_INVALIDATE = 0x4
  938. MS_SYNC = 0x2
  939. NAME_MAX = 0xff
  940. NET_RT_DUMP = 0x1
  941. NET_RT_FLAGS = 0x2
  942. NET_RT_IFLIST = 0x3
  943. NET_RT_MAXID = 0x6
  944. NET_RT_STATS = 0x4
  945. NET_RT_TABLE = 0x5
  946. NFDBITS = 0x20
  947. NOFLSH = 0x80000000
  948. NOTE_ATTRIB = 0x8
  949. NOTE_CHILD = 0x4
  950. NOTE_DELETE = 0x1
  951. NOTE_EOF = 0x2
  952. NOTE_EXEC = 0x20000000
  953. NOTE_EXIT = 0x80000000
  954. NOTE_EXTEND = 0x4
  955. NOTE_FORK = 0x40000000
  956. NOTE_LINK = 0x10
  957. NOTE_LOWAT = 0x1
  958. NOTE_PCTRLMASK = 0xf0000000
  959. NOTE_PDATAMASK = 0xfffff
  960. NOTE_RENAME = 0x20
  961. NOTE_REVOKE = 0x40
  962. NOTE_TRACK = 0x1
  963. NOTE_TRACKERR = 0x2
  964. NOTE_TRUNCATE = 0x80
  965. NOTE_WRITE = 0x2
  966. OCRNL = 0x10
  967. ONLCR = 0x2
  968. ONLRET = 0x80
  969. ONOCR = 0x40
  970. ONOEOT = 0x8
  971. OPOST = 0x1
  972. O_ACCMODE = 0x3
  973. O_APPEND = 0x8
  974. O_ASYNC = 0x40
  975. O_CLOEXEC = 0x10000
  976. O_CREAT = 0x200
  977. O_DIRECTORY = 0x20000
  978. O_DSYNC = 0x80
  979. O_EXCL = 0x800
  980. O_EXLOCK = 0x20
  981. O_FSYNC = 0x80
  982. O_NDELAY = 0x4
  983. O_NOCTTY = 0x8000
  984. O_NOFOLLOW = 0x100
  985. O_NONBLOCK = 0x4
  986. O_RDONLY = 0x0
  987. O_RDWR = 0x2
  988. O_RSYNC = 0x80
  989. O_SHLOCK = 0x10
  990. O_SYNC = 0x80
  991. O_TRUNC = 0x400
  992. O_WRONLY = 0x1
  993. PARENB = 0x1000
  994. PARMRK = 0x8
  995. PARODD = 0x2000
  996. PENDIN = 0x20000000
  997. PF_FLUSH = 0x1
  998. PRIO_PGRP = 0x1
  999. PRIO_PROCESS = 0x0
  1000. PRIO_USER = 0x2
  1001. PROT_EXEC = 0x4
  1002. PROT_NONE = 0x0
  1003. PROT_READ = 0x1
  1004. PROT_WRITE = 0x2
  1005. PT_MASK = 0x3ff000
  1006. RLIMIT_CORE = 0x4
  1007. RLIMIT_CPU = 0x0
  1008. RLIMIT_DATA = 0x2
  1009. RLIMIT_FSIZE = 0x1
  1010. RLIMIT_NOFILE = 0x8
  1011. RLIMIT_STACK = 0x3
  1012. RLIM_INFINITY = 0x7fffffffffffffff
  1013. RTAX_AUTHOR = 0x6
  1014. RTAX_BRD = 0x7
  1015. RTAX_DST = 0x0
  1016. RTAX_GATEWAY = 0x1
  1017. RTAX_GENMASK = 0x3
  1018. RTAX_IFA = 0x5
  1019. RTAX_IFP = 0x4
  1020. RTAX_LABEL = 0xa
  1021. RTAX_MAX = 0xb
  1022. RTAX_NETMASK = 0x2
  1023. RTAX_SRC = 0x8
  1024. RTAX_SRCMASK = 0x9
  1025. RTA_AUTHOR = 0x40
  1026. RTA_BRD = 0x80
  1027. RTA_DST = 0x1
  1028. RTA_GATEWAY = 0x2
  1029. RTA_GENMASK = 0x8
  1030. RTA_IFA = 0x20
  1031. RTA_IFP = 0x10
  1032. RTA_LABEL = 0x400
  1033. RTA_NETMASK = 0x4
  1034. RTA_SRC = 0x100
  1035. RTA_SRCMASK = 0x200
  1036. RTF_ANNOUNCE = 0x4000
  1037. RTF_BLACKHOLE = 0x1000
  1038. RTF_CLONED = 0x10000
  1039. RTF_CLONING = 0x100
  1040. RTF_DONE = 0x40
  1041. RTF_DYNAMIC = 0x10
  1042. RTF_FMASK = 0x10f808
  1043. RTF_GATEWAY = 0x2
  1044. RTF_HOST = 0x4
  1045. RTF_LLINFO = 0x400
  1046. RTF_MASK = 0x80
  1047. RTF_MODIFIED = 0x20
  1048. RTF_MPATH = 0x40000
  1049. RTF_MPLS = 0x100000
  1050. RTF_PERMANENT_ARP = 0x2000
  1051. RTF_PROTO1 = 0x8000
  1052. RTF_PROTO2 = 0x4000
  1053. RTF_PROTO3 = 0x2000
  1054. RTF_REJECT = 0x8
  1055. RTF_SOURCE = 0x20000
  1056. RTF_STATIC = 0x800
  1057. RTF_TUNNEL = 0x100000
  1058. RTF_UP = 0x1
  1059. RTF_USETRAILERS = 0x8000
  1060. RTF_XRESOLVE = 0x200
  1061. RTM_ADD = 0x1
  1062. RTM_CHANGE = 0x3
  1063. RTM_DELADDR = 0xd
  1064. RTM_DELETE = 0x2
  1065. RTM_DESYNC = 0x10
  1066. RTM_GET = 0x4
  1067. RTM_IFANNOUNCE = 0xf
  1068. RTM_IFINFO = 0xe
  1069. RTM_LOCK = 0x8
  1070. RTM_LOSING = 0x5
  1071. RTM_MAXSIZE = 0x800
  1072. RTM_MISS = 0x7
  1073. RTM_NEWADDR = 0xc
  1074. RTM_REDIRECT = 0x6
  1075. RTM_RESOLVE = 0xb
  1076. RTM_RTTUNIT = 0xf4240
  1077. RTM_VERSION = 0x5
  1078. RTV_EXPIRE = 0x4
  1079. RTV_HOPCOUNT = 0x2
  1080. RTV_MTU = 0x1
  1081. RTV_RPIPE = 0x8
  1082. RTV_RTT = 0x40
  1083. RTV_RTTVAR = 0x80
  1084. RTV_SPIPE = 0x10
  1085. RTV_SSTHRESH = 0x20
  1086. RT_TABLEID_MAX = 0xff
  1087. RUSAGE_CHILDREN = -0x1
  1088. RUSAGE_SELF = 0x0
  1089. RUSAGE_THREAD = 0x1
  1090. SCM_RIGHTS = 0x1
  1091. SCM_TIMESTAMP = 0x4
  1092. SHUT_RD = 0x0
  1093. SHUT_RDWR = 0x2
  1094. SHUT_WR = 0x1
  1095. SIOCADDMULTI = 0x80206931
  1096. SIOCAIFADDR = 0x8040691a
  1097. SIOCAIFGROUP = 0x80246987
  1098. SIOCALIFADDR = 0x8218691c
  1099. SIOCATMARK = 0x40047307
  1100. SIOCBRDGADD = 0x8054693c
  1101. SIOCBRDGADDS = 0x80546941
  1102. SIOCBRDGARL = 0x806e694d
  1103. SIOCBRDGDADDR = 0x81286947
  1104. SIOCBRDGDEL = 0x8054693d
  1105. SIOCBRDGDELS = 0x80546942
  1106. SIOCBRDGFLUSH = 0x80546948
  1107. SIOCBRDGFRL = 0x806e694e
  1108. SIOCBRDGGCACHE = 0xc0146941
  1109. SIOCBRDGGFD = 0xc0146952
  1110. SIOCBRDGGHT = 0xc0146951
  1111. SIOCBRDGGIFFLGS = 0xc054693e
  1112. SIOCBRDGGMA = 0xc0146953
  1113. SIOCBRDGGPARAM = 0xc03c6958
  1114. SIOCBRDGGPRI = 0xc0146950
  1115. SIOCBRDGGRL = 0xc028694f
  1116. SIOCBRDGGSIFS = 0xc054693c
  1117. SIOCBRDGGTO = 0xc0146946
  1118. SIOCBRDGIFS = 0xc0546942
  1119. SIOCBRDGRTS = 0xc0186943
  1120. SIOCBRDGSADDR = 0xc1286944
  1121. SIOCBRDGSCACHE = 0x80146940
  1122. SIOCBRDGSFD = 0x80146952
  1123. SIOCBRDGSHT = 0x80146951
  1124. SIOCBRDGSIFCOST = 0x80546955
  1125. SIOCBRDGSIFFLGS = 0x8054693f
  1126. SIOCBRDGSIFPRIO = 0x80546954
  1127. SIOCBRDGSMA = 0x80146953
  1128. SIOCBRDGSPRI = 0x80146950
  1129. SIOCBRDGSPROTO = 0x8014695a
  1130. SIOCBRDGSTO = 0x80146945
  1131. SIOCBRDGSTXHC = 0x80146959
  1132. SIOCDELMULTI = 0x80206932
  1133. SIOCDIFADDR = 0x80206919
  1134. SIOCDIFGROUP = 0x80246989
  1135. SIOCDIFPHYADDR = 0x80206949
  1136. SIOCDLIFADDR = 0x8218691e
  1137. SIOCGETKALIVE = 0xc01869a4
  1138. SIOCGETLABEL = 0x8020699a
  1139. SIOCGETPFLOW = 0xc02069fe
  1140. SIOCGETPFSYNC = 0xc02069f8
  1141. SIOCGETSGCNT = 0xc0147534
  1142. SIOCGETVIFCNT = 0xc0147533
  1143. SIOCGETVLAN = 0xc0206990
  1144. SIOCGHIWAT = 0x40047301
  1145. SIOCGIFADDR = 0xc0206921
  1146. SIOCGIFASYNCMAP = 0xc020697c
  1147. SIOCGIFBRDADDR = 0xc0206923
  1148. SIOCGIFCONF = 0xc0086924
  1149. SIOCGIFDATA = 0xc020691b
  1150. SIOCGIFDESCR = 0xc0206981
  1151. SIOCGIFDSTADDR = 0xc0206922
  1152. SIOCGIFFLAGS = 0xc0206911
  1153. SIOCGIFGATTR = 0xc024698b
  1154. SIOCGIFGENERIC = 0xc020693a
  1155. SIOCGIFGMEMB = 0xc024698a
  1156. SIOCGIFGROUP = 0xc0246988
  1157. SIOCGIFHARDMTU = 0xc02069a5
  1158. SIOCGIFMEDIA = 0xc0286936
  1159. SIOCGIFMETRIC = 0xc0206917
  1160. SIOCGIFMTU = 0xc020697e
  1161. SIOCGIFNETMASK = 0xc0206925
  1162. SIOCGIFPDSTADDR = 0xc0206948
  1163. SIOCGIFPRIORITY = 0xc020699c
  1164. SIOCGIFPSRCADDR = 0xc0206947
  1165. SIOCGIFRDOMAIN = 0xc02069a0
  1166. SIOCGIFRTLABEL = 0xc0206983
  1167. SIOCGIFTIMESLOT = 0xc0206986
  1168. SIOCGIFXFLAGS = 0xc020699e
  1169. SIOCGLIFADDR = 0xc218691d
  1170. SIOCGLIFPHYADDR = 0xc218694b
  1171. SIOCGLIFPHYRTABLE = 0xc02069a2
  1172. SIOCGLIFPHYTTL = 0xc02069a9
  1173. SIOCGLOWAT = 0x40047303
  1174. SIOCGPGRP = 0x40047309
  1175. SIOCGSPPPPARAMS = 0xc0206994
  1176. SIOCGVH = 0xc02069f6
  1177. SIOCGVNETID = 0xc02069a7
  1178. SIOCIFCREATE = 0x8020697a
  1179. SIOCIFDESTROY = 0x80206979
  1180. SIOCIFGCLONERS = 0xc00c6978
  1181. SIOCSETKALIVE = 0x801869a3
  1182. SIOCSETLABEL = 0x80206999
  1183. SIOCSETPFLOW = 0x802069fd
  1184. SIOCSETPFSYNC = 0x802069f7
  1185. SIOCSETVLAN = 0x8020698f
  1186. SIOCSHIWAT = 0x80047300
  1187. SIOCSIFADDR = 0x8020690c
  1188. SIOCSIFASYNCMAP = 0x8020697d
  1189. SIOCSIFBRDADDR = 0x80206913
  1190. SIOCSIFDESCR = 0x80206980
  1191. SIOCSIFDSTADDR = 0x8020690e
  1192. SIOCSIFFLAGS = 0x80206910
  1193. SIOCSIFGATTR = 0x8024698c
  1194. SIOCSIFGENERIC = 0x80206939
  1195. SIOCSIFLLADDR = 0x8020691f
  1196. SIOCSIFMEDIA = 0xc0206935
  1197. SIOCSIFMETRIC = 0x80206918
  1198. SIOCSIFMTU = 0x8020697f
  1199. SIOCSIFNETMASK = 0x80206916
  1200. SIOCSIFPHYADDR = 0x80406946
  1201. SIOCSIFPRIORITY = 0x8020699b
  1202. SIOCSIFRDOMAIN = 0x8020699f
  1203. SIOCSIFRTLABEL = 0x80206982
  1204. SIOCSIFTIMESLOT = 0x80206985
  1205. SIOCSIFXFLAGS = 0x8020699d
  1206. SIOCSLIFPHYADDR = 0x8218694a
  1207. SIOCSLIFPHYRTABLE = 0x802069a1
  1208. SIOCSLIFPHYTTL = 0x802069a8
  1209. SIOCSLOWAT = 0x80047302
  1210. SIOCSPGRP = 0x80047308
  1211. SIOCSSPPPPARAMS = 0x80206993
  1212. SIOCSVH = 0xc02069f5
  1213. SIOCSVNETID = 0x802069a6
  1214. SOCK_DGRAM = 0x2
  1215. SOCK_RAW = 0x3
  1216. SOCK_RDM = 0x4
  1217. SOCK_SEQPACKET = 0x5
  1218. SOCK_STREAM = 0x1
  1219. SOL_SOCKET = 0xffff
  1220. SOMAXCONN = 0x80
  1221. SO_ACCEPTCONN = 0x2
  1222. SO_BINDANY = 0x1000
  1223. SO_BROADCAST = 0x20
  1224. SO_DEBUG = 0x1
  1225. SO_DONTROUTE = 0x10
  1226. SO_ERROR = 0x1007
  1227. SO_KEEPALIVE = 0x8
  1228. SO_LINGER = 0x80
  1229. SO_NETPROC = 0x1020
  1230. SO_OOBINLINE = 0x100
  1231. SO_PEERCRED = 0x1022
  1232. SO_RCVBUF = 0x1002
  1233. SO_RCVLOWAT = 0x1004
  1234. SO_RCVTIMEO = 0x1006
  1235. SO_REUSEADDR = 0x4
  1236. SO_REUSEPORT = 0x200
  1237. SO_RTABLE = 0x1021
  1238. SO_SNDBUF = 0x1001
  1239. SO_SNDLOWAT = 0x1003
  1240. SO_SNDTIMEO = 0x1005
  1241. SO_SPLICE = 0x1023
  1242. SO_TIMESTAMP = 0x800
  1243. SO_TYPE = 0x1008
  1244. SO_USELOOPBACK = 0x40
  1245. S_BLKSIZE = 0x200
  1246. S_IEXEC = 0x40
  1247. S_IFBLK = 0x6000
  1248. S_IFCHR = 0x2000
  1249. S_IFDIR = 0x4000
  1250. S_IFIFO = 0x1000
  1251. S_IFLNK = 0xa000
  1252. S_IFMT = 0xf000
  1253. S_IFREG = 0x8000
  1254. S_IFSOCK = 0xc000
  1255. S_IREAD = 0x100
  1256. S_IRGRP = 0x20
  1257. S_IROTH = 0x4
  1258. S_IRUSR = 0x100
  1259. S_IRWXG = 0x38
  1260. S_IRWXO = 0x7
  1261. S_IRWXU = 0x1c0
  1262. S_ISGID = 0x400
  1263. S_ISTXT = 0x200
  1264. S_ISUID = 0x800
  1265. S_ISVTX = 0x200
  1266. S_IWGRP = 0x10
  1267. S_IWOTH = 0x2
  1268. S_IWRITE = 0x80
  1269. S_IWUSR = 0x80
  1270. S_IXGRP = 0x8
  1271. S_IXOTH = 0x1
  1272. S_IXUSR = 0x40
  1273. TCIFLUSH = 0x1
  1274. TCIOFLUSH = 0x3
  1275. TCOFLUSH = 0x2
  1276. TCP_MAXBURST = 0x4
  1277. TCP_MAXSEG = 0x2
  1278. TCP_MAXWIN = 0xffff
  1279. TCP_MAX_SACK = 0x3
  1280. TCP_MAX_WINSHIFT = 0xe
  1281. TCP_MD5SIG = 0x4
  1282. TCP_MSS = 0x200
  1283. TCP_NODELAY = 0x1
  1284. TCP_NOPUSH = 0x10
  1285. TCP_NSTATES = 0xb
  1286. TCP_SACK_ENABLE = 0x8
  1287. TCSAFLUSH = 0x2
  1288. TIOCCBRK = 0x2000747a
  1289. TIOCCDTR = 0x20007478
  1290. TIOCCONS = 0x80047462
  1291. TIOCDRAIN = 0x2000745e
  1292. TIOCEXCL = 0x2000740d
  1293. TIOCEXT = 0x80047460
  1294. TIOCFLAG_CLOCAL = 0x2
  1295. TIOCFLAG_CRTSCTS = 0x4
  1296. TIOCFLAG_MDMBUF = 0x8
  1297. TIOCFLAG_PPS = 0x10
  1298. TIOCFLAG_SOFTCAR = 0x1
  1299. TIOCFLUSH = 0x80047410
  1300. TIOCGETA = 0x402c7413
  1301. TIOCGETD = 0x4004741a
  1302. TIOCGFLAGS = 0x4004745d
  1303. TIOCGPGRP = 0x40047477
  1304. TIOCGSID = 0x40047463
  1305. TIOCGTSTAMP = 0x400c745b
  1306. TIOCGWINSZ = 0x40087468
  1307. TIOCMBIC = 0x8004746b
  1308. TIOCMBIS = 0x8004746c
  1309. TIOCMGET = 0x4004746a
  1310. TIOCMODG = 0x4004746a
  1311. TIOCMODS = 0x8004746d
  1312. TIOCMSET = 0x8004746d
  1313. TIOCM_CAR = 0x40
  1314. TIOCM_CD = 0x40
  1315. TIOCM_CTS = 0x20
  1316. TIOCM_DSR = 0x100
  1317. TIOCM_DTR = 0x2
  1318. TIOCM_LE = 0x1
  1319. TIOCM_RI = 0x80
  1320. TIOCM_RNG = 0x80
  1321. TIOCM_RTS = 0x4
  1322. TIOCM_SR = 0x10
  1323. TIOCM_ST = 0x8
  1324. TIOCNOTTY = 0x20007471
  1325. TIOCNXCL = 0x2000740e
  1326. TIOCOUTQ = 0x40047473
  1327. TIOCPKT = 0x80047470
  1328. TIOCPKT_DATA = 0x0
  1329. TIOCPKT_DOSTOP = 0x20
  1330. TIOCPKT_FLUSHREAD = 0x1
  1331. TIOCPKT_FLUSHWRITE = 0x2
  1332. TIOCPKT_IOCTL = 0x40
  1333. TIOCPKT_NOSTOP = 0x10
  1334. TIOCPKT_START = 0x8
  1335. TIOCPKT_STOP = 0x4
  1336. TIOCREMOTE = 0x80047469
  1337. TIOCSBRK = 0x2000747b
  1338. TIOCSCTTY = 0x20007461
  1339. TIOCSDTR = 0x20007479
  1340. TIOCSETA = 0x802c7414
  1341. TIOCSETAF = 0x802c7416
  1342. TIOCSETAW = 0x802c7415
  1343. TIOCSETD = 0x8004741b
  1344. TIOCSFLAGS = 0x8004745c
  1345. TIOCSIG = 0x8004745f
  1346. TIOCSPGRP = 0x80047476
  1347. TIOCSTART = 0x2000746e
  1348. TIOCSTAT = 0x80047465
  1349. TIOCSTI = 0x80017472
  1350. TIOCSTOP = 0x2000746f
  1351. TIOCSTSTAMP = 0x8008745a
  1352. TIOCSWINSZ = 0x80087467
  1353. TIOCUCNTL = 0x80047466
  1354. TOSTOP = 0x400000
  1355. VDISCARD = 0xf
  1356. VDSUSP = 0xb
  1357. VEOF = 0x0
  1358. VEOL = 0x1
  1359. VEOL2 = 0x2
  1360. VERASE = 0x3
  1361. VINTR = 0x8
  1362. VKILL = 0x5
  1363. VLNEXT = 0xe
  1364. VMIN = 0x10
  1365. VQUIT = 0x9
  1366. VREPRINT = 0x6
  1367. VSTART = 0xc
  1368. VSTATUS = 0x12
  1369. VSTOP = 0xd
  1370. VSUSP = 0xa
  1371. VTIME = 0x11
  1372. VWERASE = 0x4
  1373. WALTSIG = 0x4
  1374. WCONTINUED = 0x8
  1375. WCOREFLAG = 0x80
  1376. WNOHANG = 0x1
  1377. WSTOPPED = 0x7f
  1378. WUNTRACED = 0x2
  1379. )
  1380. // Errors
  1381. const (
  1382. E2BIG = syscall.Errno(0x7)
  1383. EACCES = syscall.Errno(0xd)
  1384. EADDRINUSE = syscall.Errno(0x30)
  1385. EADDRNOTAVAIL = syscall.Errno(0x31)
  1386. EAFNOSUPPORT = syscall.Errno(0x2f)
  1387. EAGAIN = syscall.Errno(0x23)
  1388. EALREADY = syscall.Errno(0x25)
  1389. EAUTH = syscall.Errno(0x50)
  1390. EBADF = syscall.Errno(0x9)
  1391. EBADRPC = syscall.Errno(0x48)
  1392. EBUSY = syscall.Errno(0x10)
  1393. ECANCELED = syscall.Errno(0x58)
  1394. ECHILD = syscall.Errno(0xa)
  1395. ECONNABORTED = syscall.Errno(0x35)
  1396. ECONNREFUSED = syscall.Errno(0x3d)
  1397. ECONNRESET = syscall.Errno(0x36)
  1398. EDEADLK = syscall.Errno(0xb)
  1399. EDESTADDRREQ = syscall.Errno(0x27)
  1400. EDOM = syscall.Errno(0x21)
  1401. EDQUOT = syscall.Errno(0x45)
  1402. EEXIST = syscall.Errno(0x11)
  1403. EFAULT = syscall.Errno(0xe)
  1404. EFBIG = syscall.Errno(0x1b)
  1405. EFTYPE = syscall.Errno(0x4f)
  1406. EHOSTDOWN = syscall.Errno(0x40)
  1407. EHOSTUNREACH = syscall.Errno(0x41)
  1408. EIDRM = syscall.Errno(0x59)
  1409. EILSEQ = syscall.Errno(0x54)
  1410. EINPROGRESS = syscall.Errno(0x24)
  1411. EINTR = syscall.Errno(0x4)
  1412. EINVAL = syscall.Errno(0x16)
  1413. EIO = syscall.Errno(0x5)
  1414. EIPSEC = syscall.Errno(0x52)
  1415. EISCONN = syscall.Errno(0x38)
  1416. EISDIR = syscall.Errno(0x15)
  1417. ELAST = syscall.Errno(0x5b)
  1418. ELOOP = syscall.Errno(0x3e)
  1419. EMEDIUMTYPE = syscall.Errno(0x56)
  1420. EMFILE = syscall.Errno(0x18)
  1421. EMLINK = syscall.Errno(0x1f)
  1422. EMSGSIZE = syscall.Errno(0x28)
  1423. ENAMETOOLONG = syscall.Errno(0x3f)
  1424. ENEEDAUTH = syscall.Errno(0x51)
  1425. ENETDOWN = syscall.Errno(0x32)
  1426. ENETRESET = syscall.Errno(0x34)
  1427. ENETUNREACH = syscall.Errno(0x33)
  1428. ENFILE = syscall.Errno(0x17)
  1429. ENOATTR = syscall.Errno(0x53)
  1430. ENOBUFS = syscall.Errno(0x37)
  1431. ENODEV = syscall.Errno(0x13)
  1432. ENOENT = syscall.Errno(0x2)
  1433. ENOEXEC = syscall.Errno(0x8)
  1434. ENOLCK = syscall.Errno(0x4d)
  1435. ENOMEDIUM = syscall.Errno(0x55)
  1436. ENOMEM = syscall.Errno(0xc)
  1437. ENOMSG = syscall.Errno(0x5a)
  1438. ENOPROTOOPT = syscall.Errno(0x2a)
  1439. ENOSPC = syscall.Errno(0x1c)
  1440. ENOSYS = syscall.Errno(0x4e)
  1441. ENOTBLK = syscall.Errno(0xf)
  1442. ENOTCONN = syscall.Errno(0x39)
  1443. ENOTDIR = syscall.Errno(0x14)
  1444. ENOTEMPTY = syscall.Errno(0x42)
  1445. ENOTSOCK = syscall.Errno(0x26)
  1446. ENOTSUP = syscall.Errno(0x5b)
  1447. ENOTTY = syscall.Errno(0x19)
  1448. ENXIO = syscall.Errno(0x6)
  1449. EOPNOTSUPP = syscall.Errno(0x2d)
  1450. EOVERFLOW = syscall.Errno(0x57)
  1451. EPERM = syscall.Errno(0x1)
  1452. EPFNOSUPPORT = syscall.Errno(0x2e)
  1453. EPIPE = syscall.Errno(0x20)
  1454. EPROCLIM = syscall.Errno(0x43)
  1455. EPROCUNAVAIL = syscall.Errno(0x4c)
  1456. EPROGMISMATCH = syscall.Errno(0x4b)
  1457. EPROGUNAVAIL = syscall.Errno(0x4a)
  1458. EPROTONOSUPPORT = syscall.Errno(0x2b)
  1459. EPROTOTYPE = syscall.Errno(0x29)
  1460. ERANGE = syscall.Errno(0x22)
  1461. EREMOTE = syscall.Errno(0x47)
  1462. EROFS = syscall.Errno(0x1e)
  1463. ERPCMISMATCH = syscall.Errno(0x49)
  1464. ESHUTDOWN = syscall.Errno(0x3a)
  1465. ESOCKTNOSUPPORT = syscall.Errno(0x2c)
  1466. ESPIPE = syscall.Errno(0x1d)
  1467. ESRCH = syscall.Errno(0x3)
  1468. ESTALE = syscall.Errno(0x46)
  1469. ETIMEDOUT = syscall.Errno(0x3c)
  1470. ETOOMANYREFS = syscall.Errno(0x3b)
  1471. ETXTBSY = syscall.Errno(0x1a)
  1472. EUSERS = syscall.Errno(0x44)
  1473. EWOULDBLOCK = syscall.Errno(0x23)
  1474. EXDEV = syscall.Errno(0x12)
  1475. )
  1476. // Signals
  1477. const (
  1478. SIGABRT = syscall.Signal(0x6)
  1479. SIGALRM = syscall.Signal(0xe)
  1480. SIGBUS = syscall.Signal(0xa)
  1481. SIGCHLD = syscall.Signal(0x14)
  1482. SIGCONT = syscall.Signal(0x13)
  1483. SIGEMT = syscall.Signal(0x7)
  1484. SIGFPE = syscall.Signal(0x8)
  1485. SIGHUP = syscall.Signal(0x1)
  1486. SIGILL = syscall.Signal(0x4)
  1487. SIGINFO = syscall.Signal(0x1d)
  1488. SIGINT = syscall.Signal(0x2)
  1489. SIGIO = syscall.Signal(0x17)
  1490. SIGIOT = syscall.Signal(0x6)
  1491. SIGKILL = syscall.Signal(0x9)
  1492. SIGPIPE = syscall.Signal(0xd)
  1493. SIGPROF = syscall.Signal(0x1b)
  1494. SIGQUIT = syscall.Signal(0x3)
  1495. SIGSEGV = syscall.Signal(0xb)
  1496. SIGSTOP = syscall.Signal(0x11)
  1497. SIGSYS = syscall.Signal(0xc)
  1498. SIGTERM = syscall.Signal(0xf)
  1499. SIGTHR = syscall.Signal(0x20)
  1500. SIGTRAP = syscall.Signal(0x5)
  1501. SIGTSTP = syscall.Signal(0x12)
  1502. SIGTTIN = syscall.Signal(0x15)
  1503. SIGTTOU = syscall.Signal(0x16)
  1504. SIGURG = syscall.Signal(0x10)
  1505. SIGUSR1 = syscall.Signal(0x1e)
  1506. SIGUSR2 = syscall.Signal(0x1f)
  1507. SIGVTALRM = syscall.Signal(0x1a)
  1508. SIGWINCH = syscall.Signal(0x1c)
  1509. SIGXCPU = syscall.Signal(0x18)
  1510. SIGXFSZ = syscall.Signal(0x19)
  1511. )
  1512. // Error table
  1513. var errorList = [...]struct {
  1514. num syscall.Errno
  1515. name string
  1516. desc string
  1517. }{
  1518. {1, "EPERM", "operation not permitted"},
  1519. {2, "ENOENT", "no such file or directory"},
  1520. {3, "ESRCH", "no such process"},
  1521. {4, "EINTR", "interrupted system call"},
  1522. {5, "EIO", "input/output error"},
  1523. {6, "ENXIO", "device not configured"},
  1524. {7, "E2BIG", "argument list too long"},
  1525. {8, "ENOEXEC", "exec format error"},
  1526. {9, "EBADF", "bad file descriptor"},
  1527. {10, "ECHILD", "no child processes"},
  1528. {11, "EDEADLK", "resource deadlock avoided"},
  1529. {12, "ENOMEM", "cannot allocate memory"},
  1530. {13, "EACCES", "permission denied"},
  1531. {14, "EFAULT", "bad address"},
  1532. {15, "ENOTBLK", "block device required"},
  1533. {16, "EBUSY", "device busy"},
  1534. {17, "EEXIST", "file exists"},
  1535. {18, "EXDEV", "cross-device link"},
  1536. {19, "ENODEV", "operation not supported by device"},
  1537. {20, "ENOTDIR", "not a directory"},
  1538. {21, "EISDIR", "is a directory"},
  1539. {22, "EINVAL", "invalid argument"},
  1540. {23, "ENFILE", "too many open files in system"},
  1541. {24, "EMFILE", "too many open files"},
  1542. {25, "ENOTTY", "inappropriate ioctl for device"},
  1543. {26, "ETXTBSY", "text file busy"},
  1544. {27, "EFBIG", "file too large"},
  1545. {28, "ENOSPC", "no space left on device"},
  1546. {29, "ESPIPE", "illegal seek"},
  1547. {30, "EROFS", "read-only file system"},
  1548. {31, "EMLINK", "too many links"},
  1549. {32, "EPIPE", "broken pipe"},
  1550. {33, "EDOM", "numerical argument out of domain"},
  1551. {34, "ERANGE", "result too large"},
  1552. {35, "EWOULDBLOCK", "resource temporarily unavailable"},
  1553. {36, "EINPROGRESS", "operation now in progress"},
  1554. {37, "EALREADY", "operation already in progress"},
  1555. {38, "ENOTSOCK", "socket operation on non-socket"},
  1556. {39, "EDESTADDRREQ", "destination address required"},
  1557. {40, "EMSGSIZE", "message too long"},
  1558. {41, "EPROTOTYPE", "protocol wrong type for socket"},
  1559. {42, "ENOPROTOOPT", "protocol not available"},
  1560. {43, "EPROTONOSUPPORT", "protocol not supported"},
  1561. {44, "ESOCKTNOSUPPORT", "socket type not supported"},
  1562. {45, "EOPNOTSUPP", "operation not supported"},
  1563. {46, "EPFNOSUPPORT", "protocol family not supported"},
  1564. {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
  1565. {48, "EADDRINUSE", "address already in use"},
  1566. {49, "EADDRNOTAVAIL", "can't assign requested address"},
  1567. {50, "ENETDOWN", "network is down"},
  1568. {51, "ENETUNREACH", "network is unreachable"},
  1569. {52, "ENETRESET", "network dropped connection on reset"},
  1570. {53, "ECONNABORTED", "software caused connection abort"},
  1571. {54, "ECONNRESET", "connection reset by peer"},
  1572. {55, "ENOBUFS", "no buffer space available"},
  1573. {56, "EISCONN", "socket is already connected"},
  1574. {57, "ENOTCONN", "socket is not connected"},
  1575. {58, "ESHUTDOWN", "can't send after socket shutdown"},
  1576. {59, "ETOOMANYREFS", "too many references: can't splice"},
  1577. {60, "ETIMEDOUT", "operation timed out"},
  1578. {61, "ECONNREFUSED", "connection refused"},
  1579. {62, "ELOOP", "too many levels of symbolic links"},
  1580. {63, "ENAMETOOLONG", "file name too long"},
  1581. {64, "EHOSTDOWN", "host is down"},
  1582. {65, "EHOSTUNREACH", "no route to host"},
  1583. {66, "ENOTEMPTY", "directory not empty"},
  1584. {67, "EPROCLIM", "too many processes"},
  1585. {68, "EUSERS", "too many users"},
  1586. {69, "EDQUOT", "disk quota exceeded"},
  1587. {70, "ESTALE", "stale NFS file handle"},
  1588. {71, "EREMOTE", "too many levels of remote in path"},
  1589. {72, "EBADRPC", "RPC struct is bad"},
  1590. {73, "ERPCMISMATCH", "RPC version wrong"},
  1591. {74, "EPROGUNAVAIL", "RPC program not available"},
  1592. {75, "EPROGMISMATCH", "program version wrong"},
  1593. {76, "EPROCUNAVAIL", "bad procedure for program"},
  1594. {77, "ENOLCK", "no locks available"},
  1595. {78, "ENOSYS", "function not implemented"},
  1596. {79, "EFTYPE", "inappropriate file type or format"},
  1597. {80, "EAUTH", "authentication error"},
  1598. {81, "ENEEDAUTH", "need authenticator"},
  1599. {82, "EIPSEC", "IPsec processing failure"},
  1600. {83, "ENOATTR", "attribute not found"},
  1601. {84, "EILSEQ", "illegal byte sequence"},
  1602. {85, "ENOMEDIUM", "no medium found"},
  1603. {86, "EMEDIUMTYPE", "wrong medium type"},
  1604. {87, "EOVERFLOW", "value too large to be stored in data type"},
  1605. {88, "ECANCELED", "operation canceled"},
  1606. {89, "EIDRM", "identifier removed"},
  1607. {90, "ENOMSG", "no message of desired type"},
  1608. {91, "ELAST", "not supported"},
  1609. }
  1610. // Signal table
  1611. var signalList = [...]struct {
  1612. num syscall.Signal
  1613. name string
  1614. desc string
  1615. }{
  1616. {1, "SIGHUP", "hangup"},
  1617. {2, "SIGINT", "interrupt"},
  1618. {3, "SIGQUIT", "quit"},
  1619. {4, "SIGILL", "illegal instruction"},
  1620. {5, "SIGTRAP", "trace/BPT trap"},
  1621. {6, "SIGABRT", "abort trap"},
  1622. {7, "SIGEMT", "EMT trap"},
  1623. {8, "SIGFPE", "floating point exception"},
  1624. {9, "SIGKILL", "killed"},
  1625. {10, "SIGBUS", "bus error"},
  1626. {11, "SIGSEGV", "segmentation fault"},
  1627. {12, "SIGSYS", "bad system call"},
  1628. {13, "SIGPIPE", "broken pipe"},
  1629. {14, "SIGALRM", "alarm clock"},
  1630. {15, "SIGTERM", "terminated"},
  1631. {16, "SIGURG", "urgent I/O condition"},
  1632. {17, "SIGSTOP", "suspended (signal)"},
  1633. {18, "SIGTSTP", "suspended"},
  1634. {19, "SIGCONT", "continued"},
  1635. {20, "SIGCHLD", "child exited"},
  1636. {21, "SIGTTIN", "stopped (tty input)"},
  1637. {22, "SIGTTOU", "stopped (tty output)"},
  1638. {23, "SIGIO", "I/O possible"},
  1639. {24, "SIGXCPU", "cputime limit exceeded"},
  1640. {25, "SIGXFSZ", "filesize limit exceeded"},
  1641. {26, "SIGVTALRM", "virtual timer expired"},
  1642. {27, "SIGPROF", "profiling timer expired"},
  1643. {28, "SIGWINCH", "window size changes"},
  1644. {29, "SIGINFO", "information request"},
  1645. {30, "SIGUSR1", "user defined signal 1"},
  1646. {31, "SIGUSR2", "user defined signal 2"},
  1647. {32, "SIGTHR", "thread AST"},
  1648. }