zerrors_solaris_amd64.go 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533
  1. // mkerrors.sh -m64
  2. // Code generated by the command above; see README.md. DO NOT EDIT.
  3. // +build amd64,solaris
  4. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  5. // cgo -godefs -- -m64 _const.go
  6. package unix
  7. import "syscall"
  8. const (
  9. AF_802 = 0x12
  10. AF_APPLETALK = 0x10
  11. AF_CCITT = 0xa
  12. AF_CHAOS = 0x5
  13. AF_DATAKIT = 0x9
  14. AF_DECnet = 0xc
  15. AF_DLI = 0xd
  16. AF_ECMA = 0x8
  17. AF_FILE = 0x1
  18. AF_GOSIP = 0x16
  19. AF_HYLINK = 0xf
  20. AF_IMPLINK = 0x3
  21. AF_INET = 0x2
  22. AF_INET6 = 0x1a
  23. AF_INET_OFFLOAD = 0x1e
  24. AF_IPX = 0x17
  25. AF_KEY = 0x1b
  26. AF_LAT = 0xe
  27. AF_LINK = 0x19
  28. AF_LOCAL = 0x1
  29. AF_MAX = 0x20
  30. AF_NBS = 0x7
  31. AF_NCA = 0x1c
  32. AF_NIT = 0x11
  33. AF_NS = 0x6
  34. AF_OSI = 0x13
  35. AF_OSINET = 0x15
  36. AF_PACKET = 0x20
  37. AF_POLICY = 0x1d
  38. AF_PUP = 0x4
  39. AF_ROUTE = 0x18
  40. AF_SNA = 0xb
  41. AF_TRILL = 0x1f
  42. AF_UNIX = 0x1
  43. AF_UNSPEC = 0x0
  44. AF_X25 = 0x14
  45. ARPHRD_ARCNET = 0x7
  46. ARPHRD_ATM = 0x10
  47. ARPHRD_AX25 = 0x3
  48. ARPHRD_CHAOS = 0x5
  49. ARPHRD_EETHER = 0x2
  50. ARPHRD_ETHER = 0x1
  51. ARPHRD_FC = 0x12
  52. ARPHRD_FRAME = 0xf
  53. ARPHRD_HDLC = 0x11
  54. ARPHRD_IB = 0x20
  55. ARPHRD_IEEE802 = 0x6
  56. ARPHRD_IPATM = 0x13
  57. ARPHRD_METRICOM = 0x17
  58. ARPHRD_TUNNEL = 0x1f
  59. B0 = 0x0
  60. B110 = 0x3
  61. B115200 = 0x12
  62. B1200 = 0x9
  63. B134 = 0x4
  64. B150 = 0x5
  65. B153600 = 0x13
  66. B1800 = 0xa
  67. B19200 = 0xe
  68. B200 = 0x6
  69. B230400 = 0x14
  70. B2400 = 0xb
  71. B300 = 0x7
  72. B307200 = 0x15
  73. B38400 = 0xf
  74. B460800 = 0x16
  75. B4800 = 0xc
  76. B50 = 0x1
  77. B57600 = 0x10
  78. B600 = 0x8
  79. B75 = 0x2
  80. B76800 = 0x11
  81. B921600 = 0x17
  82. B9600 = 0xd
  83. BIOCFLUSH = 0x20004268
  84. BIOCGBLEN = 0x40044266
  85. BIOCGDLT = 0x4004426a
  86. BIOCGDLTLIST = -0x3fefbd89
  87. BIOCGDLTLIST32 = -0x3ff7bd89
  88. BIOCGETIF = 0x4020426b
  89. BIOCGETLIF = 0x4078426b
  90. BIOCGHDRCMPLT = 0x40044274
  91. BIOCGRTIMEOUT = 0x4010427b
  92. BIOCGRTIMEOUT32 = 0x4008427b
  93. BIOCGSEESENT = 0x40044278
  94. BIOCGSTATS = 0x4080426f
  95. BIOCGSTATSOLD = 0x4008426f
  96. BIOCIMMEDIATE = -0x7ffbbd90
  97. BIOCPROMISC = 0x20004269
  98. BIOCSBLEN = -0x3ffbbd9a
  99. BIOCSDLT = -0x7ffbbd8a
  100. BIOCSETF = -0x7fefbd99
  101. BIOCSETF32 = -0x7ff7bd99
  102. BIOCSETIF = -0x7fdfbd94
  103. BIOCSETLIF = -0x7f87bd94
  104. BIOCSHDRCMPLT = -0x7ffbbd8b
  105. BIOCSRTIMEOUT = -0x7fefbd86
  106. BIOCSRTIMEOUT32 = -0x7ff7bd86
  107. BIOCSSEESENT = -0x7ffbbd87
  108. BIOCSTCPF = -0x7fefbd8e
  109. BIOCSUDPF = -0x7fefbd8d
  110. BIOCVERSION = 0x40044271
  111. BPF_A = 0x10
  112. BPF_ABS = 0x20
  113. BPF_ADD = 0x0
  114. BPF_ALIGNMENT = 0x4
  115. BPF_ALU = 0x4
  116. BPF_AND = 0x50
  117. BPF_B = 0x10
  118. BPF_DFLTBUFSIZE = 0x100000
  119. BPF_DIV = 0x30
  120. BPF_H = 0x8
  121. BPF_IMM = 0x0
  122. BPF_IND = 0x40
  123. BPF_JA = 0x0
  124. BPF_JEQ = 0x10
  125. BPF_JGE = 0x30
  126. BPF_JGT = 0x20
  127. BPF_JMP = 0x5
  128. BPF_JSET = 0x40
  129. BPF_K = 0x0
  130. BPF_LD = 0x0
  131. BPF_LDX = 0x1
  132. BPF_LEN = 0x80
  133. BPF_LSH = 0x60
  134. BPF_MAJOR_VERSION = 0x1
  135. BPF_MAXBUFSIZE = 0x1000000
  136. BPF_MAXINSNS = 0x200
  137. BPF_MEM = 0x60
  138. BPF_MEMWORDS = 0x10
  139. BPF_MINBUFSIZE = 0x20
  140. BPF_MINOR_VERSION = 0x1
  141. BPF_MISC = 0x7
  142. BPF_MSH = 0xa0
  143. BPF_MUL = 0x20
  144. BPF_NEG = 0x80
  145. BPF_OR = 0x40
  146. BPF_RELEASE = 0x30bb6
  147. BPF_RET = 0x6
  148. BPF_RSH = 0x70
  149. BPF_ST = 0x2
  150. BPF_STX = 0x3
  151. BPF_SUB = 0x10
  152. BPF_TAX = 0x0
  153. BPF_TXA = 0x80
  154. BPF_W = 0x0
  155. BPF_X = 0x8
  156. BRKINT = 0x2
  157. BS0 = 0x0
  158. BS1 = 0x2000
  159. BSDLY = 0x2000
  160. CBAUD = 0xf
  161. CFLUSH = 0xf
  162. CIBAUD = 0xf0000
  163. CLOCAL = 0x800
  164. CLOCK_HIGHRES = 0x4
  165. CLOCK_LEVEL = 0xa
  166. CLOCK_MONOTONIC = 0x4
  167. CLOCK_PROCESS_CPUTIME_ID = 0x5
  168. CLOCK_PROF = 0x2
  169. CLOCK_REALTIME = 0x3
  170. CLOCK_THREAD_CPUTIME_ID = 0x2
  171. CLOCK_VIRTUAL = 0x1
  172. CR0 = 0x0
  173. CR1 = 0x200
  174. CR2 = 0x400
  175. CR3 = 0x600
  176. CRDLY = 0x600
  177. CREAD = 0x80
  178. CRTSCTS = 0x80000000
  179. CS5 = 0x0
  180. CS6 = 0x10
  181. CS7 = 0x20
  182. CS8 = 0x30
  183. CSIZE = 0x30
  184. CSTART = 0x11
  185. CSTATUS = 0x14
  186. CSTOP = 0x13
  187. CSTOPB = 0x40
  188. CSUSP = 0x1a
  189. CSWTCH = 0x1a
  190. DLT_AIRONET_HEADER = 0x78
  191. DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
  192. DLT_ARCNET = 0x7
  193. DLT_ARCNET_LINUX = 0x81
  194. DLT_ATM_CLIP = 0x13
  195. DLT_ATM_RFC1483 = 0xb
  196. DLT_AURORA = 0x7e
  197. DLT_AX25 = 0x3
  198. DLT_BACNET_MS_TP = 0xa5
  199. DLT_CHAOS = 0x5
  200. DLT_CISCO_IOS = 0x76
  201. DLT_C_HDLC = 0x68
  202. DLT_DOCSIS = 0x8f
  203. DLT_ECONET = 0x73
  204. DLT_EN10MB = 0x1
  205. DLT_EN3MB = 0x2
  206. DLT_ENC = 0x6d
  207. DLT_ERF_ETH = 0xaf
  208. DLT_ERF_POS = 0xb0
  209. DLT_FDDI = 0xa
  210. DLT_FRELAY = 0x6b
  211. DLT_GCOM_SERIAL = 0xad
  212. DLT_GCOM_T1E1 = 0xac
  213. DLT_GPF_F = 0xab
  214. DLT_GPF_T = 0xaa
  215. DLT_GPRS_LLC = 0xa9
  216. DLT_HDLC = 0x10
  217. DLT_HHDLC = 0x79
  218. DLT_HIPPI = 0xf
  219. DLT_IBM_SN = 0x92
  220. DLT_IBM_SP = 0x91
  221. DLT_IEEE802 = 0x6
  222. DLT_IEEE802_11 = 0x69
  223. DLT_IEEE802_11_RADIO = 0x7f
  224. DLT_IEEE802_11_RADIO_AVS = 0xa3
  225. DLT_IPNET = 0xe2
  226. DLT_IPOIB = 0xa2
  227. DLT_IP_OVER_FC = 0x7a
  228. DLT_JUNIPER_ATM1 = 0x89
  229. DLT_JUNIPER_ATM2 = 0x87
  230. DLT_JUNIPER_CHDLC = 0xb5
  231. DLT_JUNIPER_ES = 0x84
  232. DLT_JUNIPER_ETHER = 0xb2
  233. DLT_JUNIPER_FRELAY = 0xb4
  234. DLT_JUNIPER_GGSN = 0x85
  235. DLT_JUNIPER_MFR = 0x86
  236. DLT_JUNIPER_MLFR = 0x83
  237. DLT_JUNIPER_MLPPP = 0x82
  238. DLT_JUNIPER_MONITOR = 0xa4
  239. DLT_JUNIPER_PIC_PEER = 0xae
  240. DLT_JUNIPER_PPP = 0xb3
  241. DLT_JUNIPER_PPPOE = 0xa7
  242. DLT_JUNIPER_PPPOE_ATM = 0xa8
  243. DLT_JUNIPER_SERVICES = 0x88
  244. DLT_LINUX_IRDA = 0x90
  245. DLT_LINUX_LAPD = 0xb1
  246. DLT_LINUX_SLL = 0x71
  247. DLT_LOOP = 0x6c
  248. DLT_LTALK = 0x72
  249. DLT_MTP2 = 0x8c
  250. DLT_MTP2_WITH_PHDR = 0x8b
  251. DLT_MTP3 = 0x8d
  252. DLT_NULL = 0x0
  253. DLT_PCI_EXP = 0x7d
  254. DLT_PFLOG = 0x75
  255. DLT_PFSYNC = 0x12
  256. DLT_PPP = 0x9
  257. DLT_PPP_BSDOS = 0xe
  258. DLT_PPP_PPPD = 0xa6
  259. DLT_PRISM_HEADER = 0x77
  260. DLT_PRONET = 0x4
  261. DLT_RAW = 0xc
  262. DLT_RAWAF_MASK = 0x2240000
  263. DLT_RIO = 0x7c
  264. DLT_SCCP = 0x8e
  265. DLT_SLIP = 0x8
  266. DLT_SLIP_BSDOS = 0xd
  267. DLT_SUNATM = 0x7b
  268. DLT_SYMANTEC_FIREWALL = 0x63
  269. DLT_TZSP = 0x80
  270. ECHO = 0x8
  271. ECHOCTL = 0x200
  272. ECHOE = 0x10
  273. ECHOK = 0x20
  274. ECHOKE = 0x800
  275. ECHONL = 0x40
  276. ECHOPRT = 0x400
  277. EMPTY_SET = 0x0
  278. EMT_CPCOVF = 0x1
  279. EQUALITY_CHECK = 0x0
  280. EXTA = 0xe
  281. EXTB = 0xf
  282. FD_CLOEXEC = 0x1
  283. FD_NFDBITS = 0x40
  284. FD_SETSIZE = 0x10000
  285. FF0 = 0x0
  286. FF1 = 0x8000
  287. FFDLY = 0x8000
  288. FLUSHALL = 0x1
  289. FLUSHDATA = 0x0
  290. FLUSHO = 0x2000
  291. F_ALLOCSP = 0xa
  292. F_ALLOCSP64 = 0xa
  293. F_BADFD = 0x2e
  294. F_BLKSIZE = 0x13
  295. F_BLOCKS = 0x12
  296. F_CHKFL = 0x8
  297. F_COMPAT = 0x8
  298. F_DUP2FD = 0x9
  299. F_DUP2FD_CLOEXEC = 0x24
  300. F_DUPFD = 0x0
  301. F_DUPFD_CLOEXEC = 0x25
  302. F_FLOCK = 0x35
  303. F_FLOCK64 = 0x35
  304. F_FLOCKW = 0x36
  305. F_FLOCKW64 = 0x36
  306. F_FREESP = 0xb
  307. F_FREESP64 = 0xb
  308. F_GETFD = 0x1
  309. F_GETFL = 0x3
  310. F_GETLK = 0xe
  311. F_GETLK64 = 0xe
  312. F_GETOWN = 0x17
  313. F_GETXFL = 0x2d
  314. F_HASREMOTELOCKS = 0x1a
  315. F_ISSTREAM = 0xd
  316. F_MANDDNY = 0x10
  317. F_MDACC = 0x20
  318. F_NODNY = 0x0
  319. F_NPRIV = 0x10
  320. F_OFD_GETLK = 0x2f
  321. F_OFD_GETLK64 = 0x2f
  322. F_OFD_SETLK = 0x30
  323. F_OFD_SETLK64 = 0x30
  324. F_OFD_SETLKW = 0x31
  325. F_OFD_SETLKW64 = 0x31
  326. F_PRIV = 0xf
  327. F_QUOTACTL = 0x11
  328. F_RDACC = 0x1
  329. F_RDDNY = 0x1
  330. F_RDLCK = 0x1
  331. F_REVOKE = 0x19
  332. F_RMACC = 0x4
  333. F_RMDNY = 0x4
  334. F_RWACC = 0x3
  335. F_RWDNY = 0x3
  336. F_SETFD = 0x2
  337. F_SETFL = 0x4
  338. F_SETLK = 0x6
  339. F_SETLK64 = 0x6
  340. F_SETLK64_NBMAND = 0x2a
  341. F_SETLKW = 0x7
  342. F_SETLKW64 = 0x7
  343. F_SETLK_NBMAND = 0x2a
  344. F_SETOWN = 0x18
  345. F_SHARE = 0x28
  346. F_SHARE_NBMAND = 0x2b
  347. F_UNLCK = 0x3
  348. F_UNLKSYS = 0x4
  349. F_UNSHARE = 0x29
  350. F_WRACC = 0x2
  351. F_WRDNY = 0x2
  352. F_WRLCK = 0x2
  353. HUPCL = 0x400
  354. IBSHIFT = 0x10
  355. ICANON = 0x2
  356. ICRNL = 0x100
  357. IEXTEN = 0x8000
  358. IFF_ADDRCONF = 0x80000
  359. IFF_ALLMULTI = 0x200
  360. IFF_ANYCAST = 0x400000
  361. IFF_BROADCAST = 0x2
  362. IFF_CANTCHANGE = 0x7f203003b5a
  363. IFF_COS_ENABLED = 0x200000000
  364. IFF_DEBUG = 0x4
  365. IFF_DEPRECATED = 0x40000
  366. IFF_DHCPRUNNING = 0x4000
  367. IFF_DUPLICATE = 0x4000000000
  368. IFF_FAILED = 0x10000000
  369. IFF_FIXEDMTU = 0x1000000000
  370. IFF_INACTIVE = 0x40000000
  371. IFF_INTELLIGENT = 0x400
  372. IFF_IPMP = 0x8000000000
  373. IFF_IPMP_CANTCHANGE = 0x10000000
  374. IFF_IPMP_INVALID = 0x1ec200080
  375. IFF_IPV4 = 0x1000000
  376. IFF_IPV6 = 0x2000000
  377. IFF_L3PROTECT = 0x40000000000
  378. IFF_LOOPBACK = 0x8
  379. IFF_MULTICAST = 0x800
  380. IFF_MULTI_BCAST = 0x1000
  381. IFF_NOACCEPT = 0x4000000
  382. IFF_NOARP = 0x80
  383. IFF_NOFAILOVER = 0x8000000
  384. IFF_NOLINKLOCAL = 0x20000000000
  385. IFF_NOLOCAL = 0x20000
  386. IFF_NONUD = 0x200000
  387. IFF_NORTEXCH = 0x800000
  388. IFF_NOTRAILERS = 0x20
  389. IFF_NOXMIT = 0x10000
  390. IFF_OFFLINE = 0x80000000
  391. IFF_POINTOPOINT = 0x10
  392. IFF_PREFERRED = 0x400000000
  393. IFF_PRIVATE = 0x8000
  394. IFF_PROMISC = 0x100
  395. IFF_ROUTER = 0x100000
  396. IFF_RUNNING = 0x40
  397. IFF_STANDBY = 0x20000000
  398. IFF_TEMPORARY = 0x800000000
  399. IFF_UNNUMBERED = 0x2000
  400. IFF_UP = 0x1
  401. IFF_VIRTUAL = 0x2000000000
  402. IFF_VRRP = 0x10000000000
  403. IFF_XRESOLV = 0x100000000
  404. IFNAMSIZ = 0x10
  405. IFT_1822 = 0x2
  406. IFT_6TO4 = 0xca
  407. IFT_AAL5 = 0x31
  408. IFT_ARCNET = 0x23
  409. IFT_ARCNETPLUS = 0x24
  410. IFT_ATM = 0x25
  411. IFT_CEPT = 0x13
  412. IFT_DS3 = 0x1e
  413. IFT_EON = 0x19
  414. IFT_ETHER = 0x6
  415. IFT_FDDI = 0xf
  416. IFT_FRELAY = 0x20
  417. IFT_FRELAYDCE = 0x2c
  418. IFT_HDH1822 = 0x3
  419. IFT_HIPPI = 0x2f
  420. IFT_HSSI = 0x2e
  421. IFT_HY = 0xe
  422. IFT_IB = 0xc7
  423. IFT_IPV4 = 0xc8
  424. IFT_IPV6 = 0xc9
  425. IFT_ISDNBASIC = 0x14
  426. IFT_ISDNPRIMARY = 0x15
  427. IFT_ISO88022LLC = 0x29
  428. IFT_ISO88023 = 0x7
  429. IFT_ISO88024 = 0x8
  430. IFT_ISO88025 = 0x9
  431. IFT_ISO88026 = 0xa
  432. IFT_LAPB = 0x10
  433. IFT_LOCALTALK = 0x2a
  434. IFT_LOOP = 0x18
  435. IFT_MIOX25 = 0x26
  436. IFT_MODEM = 0x30
  437. IFT_NSIP = 0x1b
  438. IFT_OTHER = 0x1
  439. IFT_P10 = 0xc
  440. IFT_P80 = 0xd
  441. IFT_PARA = 0x22
  442. IFT_PPP = 0x17
  443. IFT_PROPMUX = 0x36
  444. IFT_PROPVIRTUAL = 0x35
  445. IFT_PTPSERIAL = 0x16
  446. IFT_RS232 = 0x21
  447. IFT_SDLC = 0x11
  448. IFT_SIP = 0x1f
  449. IFT_SLIP = 0x1c
  450. IFT_SMDSDXI = 0x2b
  451. IFT_SMDSICIP = 0x34
  452. IFT_SONET = 0x27
  453. IFT_SONETPATH = 0x32
  454. IFT_SONETVT = 0x33
  455. IFT_STARLAN = 0xb
  456. IFT_T1 = 0x12
  457. IFT_ULTRA = 0x1d
  458. IFT_V35 = 0x2d
  459. IFT_X25 = 0x5
  460. IFT_X25DDN = 0x4
  461. IFT_X25PLE = 0x28
  462. IFT_XETHER = 0x1a
  463. IGNBRK = 0x1
  464. IGNCR = 0x80
  465. IGNPAR = 0x4
  466. IMAXBEL = 0x2000
  467. INLCR = 0x40
  468. INPCK = 0x10
  469. IN_AUTOCONF_MASK = 0xffff0000
  470. IN_AUTOCONF_NET = 0xa9fe0000
  471. IN_CLASSA_HOST = 0xffffff
  472. IN_CLASSA_MAX = 0x80
  473. IN_CLASSA_NET = 0xff000000
  474. IN_CLASSA_NSHIFT = 0x18
  475. IN_CLASSB_HOST = 0xffff
  476. IN_CLASSB_MAX = 0x10000
  477. IN_CLASSB_NET = 0xffff0000
  478. IN_CLASSB_NSHIFT = 0x10
  479. IN_CLASSC_HOST = 0xff
  480. IN_CLASSC_NET = 0xffffff00
  481. IN_CLASSC_NSHIFT = 0x8
  482. IN_CLASSD_HOST = 0xfffffff
  483. IN_CLASSD_NET = 0xf0000000
  484. IN_CLASSD_NSHIFT = 0x1c
  485. IN_CLASSE_NET = 0xffffffff
  486. IN_LOOPBACKNET = 0x7f
  487. IN_PRIVATE12_MASK = 0xfff00000
  488. IN_PRIVATE12_NET = 0xac100000
  489. IN_PRIVATE16_MASK = 0xffff0000
  490. IN_PRIVATE16_NET = 0xc0a80000
  491. IN_PRIVATE8_MASK = 0xff000000
  492. IN_PRIVATE8_NET = 0xa000000
  493. IPPROTO_AH = 0x33
  494. IPPROTO_DSTOPTS = 0x3c
  495. IPPROTO_EGP = 0x8
  496. IPPROTO_ENCAP = 0x4
  497. IPPROTO_EON = 0x50
  498. IPPROTO_ESP = 0x32
  499. IPPROTO_FRAGMENT = 0x2c
  500. IPPROTO_GGP = 0x3
  501. IPPROTO_HELLO = 0x3f
  502. IPPROTO_HOPOPTS = 0x0
  503. IPPROTO_ICMP = 0x1
  504. IPPROTO_ICMPV6 = 0x3a
  505. IPPROTO_IDP = 0x16
  506. IPPROTO_IGMP = 0x2
  507. IPPROTO_IP = 0x0
  508. IPPROTO_IPV6 = 0x29
  509. IPPROTO_MAX = 0x100
  510. IPPROTO_ND = 0x4d
  511. IPPROTO_NONE = 0x3b
  512. IPPROTO_OSPF = 0x59
  513. IPPROTO_PIM = 0x67
  514. IPPROTO_PUP = 0xc
  515. IPPROTO_RAW = 0xff
  516. IPPROTO_ROUTING = 0x2b
  517. IPPROTO_RSVP = 0x2e
  518. IPPROTO_SCTP = 0x84
  519. IPPROTO_TCP = 0x6
  520. IPPROTO_UDP = 0x11
  521. IPV6_ADD_MEMBERSHIP = 0x9
  522. IPV6_BOUND_IF = 0x41
  523. IPV6_CHECKSUM = 0x18
  524. IPV6_DONTFRAG = 0x21
  525. IPV6_DROP_MEMBERSHIP = 0xa
  526. IPV6_DSTOPTS = 0xf
  527. IPV6_FLOWINFO_FLOWLABEL = 0xffff0f00
  528. IPV6_FLOWINFO_TCLASS = 0xf00f
  529. IPV6_HOPLIMIT = 0xc
  530. IPV6_HOPOPTS = 0xe
  531. IPV6_JOIN_GROUP = 0x9
  532. IPV6_LEAVE_GROUP = 0xa
  533. IPV6_MULTICAST_HOPS = 0x7
  534. IPV6_MULTICAST_IF = 0x6
  535. IPV6_MULTICAST_LOOP = 0x8
  536. IPV6_NEXTHOP = 0xd
  537. IPV6_PAD1_OPT = 0x0
  538. IPV6_PATHMTU = 0x25
  539. IPV6_PKTINFO = 0xb
  540. IPV6_PREFER_SRC_CGA = 0x20
  541. IPV6_PREFER_SRC_CGADEFAULT = 0x10
  542. IPV6_PREFER_SRC_CGAMASK = 0x30
  543. IPV6_PREFER_SRC_COA = 0x2
  544. IPV6_PREFER_SRC_DEFAULT = 0x15
  545. IPV6_PREFER_SRC_HOME = 0x1
  546. IPV6_PREFER_SRC_MASK = 0x3f
  547. IPV6_PREFER_SRC_MIPDEFAULT = 0x1
  548. IPV6_PREFER_SRC_MIPMASK = 0x3
  549. IPV6_PREFER_SRC_NONCGA = 0x10
  550. IPV6_PREFER_SRC_PUBLIC = 0x4
  551. IPV6_PREFER_SRC_TMP = 0x8
  552. IPV6_PREFER_SRC_TMPDEFAULT = 0x4
  553. IPV6_PREFER_SRC_TMPMASK = 0xc
  554. IPV6_RECVDSTOPTS = 0x28
  555. IPV6_RECVHOPLIMIT = 0x13
  556. IPV6_RECVHOPOPTS = 0x14
  557. IPV6_RECVPATHMTU = 0x24
  558. IPV6_RECVPKTINFO = 0x12
  559. IPV6_RECVRTHDR = 0x16
  560. IPV6_RECVRTHDRDSTOPTS = 0x17
  561. IPV6_RECVTCLASS = 0x19
  562. IPV6_RTHDR = 0x10
  563. IPV6_RTHDRDSTOPTS = 0x11
  564. IPV6_RTHDR_TYPE_0 = 0x0
  565. IPV6_SEC_OPT = 0x22
  566. IPV6_SRC_PREFERENCES = 0x23
  567. IPV6_TCLASS = 0x26
  568. IPV6_UNICAST_HOPS = 0x5
  569. IPV6_UNSPEC_SRC = 0x42
  570. IPV6_USE_MIN_MTU = 0x20
  571. IPV6_V6ONLY = 0x27
  572. IP_ADD_MEMBERSHIP = 0x13
  573. IP_ADD_SOURCE_MEMBERSHIP = 0x17
  574. IP_BLOCK_SOURCE = 0x15
  575. IP_BOUND_IF = 0x41
  576. IP_BROADCAST = 0x106
  577. IP_BROADCAST_TTL = 0x43
  578. IP_DEFAULT_MULTICAST_LOOP = 0x1
  579. IP_DEFAULT_MULTICAST_TTL = 0x1
  580. IP_DF = 0x4000
  581. IP_DHCPINIT_IF = 0x45
  582. IP_DONTFRAG = 0x1b
  583. IP_DONTROUTE = 0x105
  584. IP_DROP_MEMBERSHIP = 0x14
  585. IP_DROP_SOURCE_MEMBERSHIP = 0x18
  586. IP_HDRINCL = 0x2
  587. IP_MAXPACKET = 0xffff
  588. IP_MF = 0x2000
  589. IP_MSS = 0x240
  590. IP_MULTICAST_IF = 0x10
  591. IP_MULTICAST_LOOP = 0x12
  592. IP_MULTICAST_TTL = 0x11
  593. IP_NEXTHOP = 0x19
  594. IP_OPTIONS = 0x1
  595. IP_PKTINFO = 0x1a
  596. IP_RECVDSTADDR = 0x7
  597. IP_RECVIF = 0x9
  598. IP_RECVOPTS = 0x5
  599. IP_RECVPKTINFO = 0x1a
  600. IP_RECVRETOPTS = 0x6
  601. IP_RECVSLLA = 0xa
  602. IP_RECVTTL = 0xb
  603. IP_RETOPTS = 0x8
  604. IP_REUSEADDR = 0x104
  605. IP_SEC_OPT = 0x22
  606. IP_TOS = 0x3
  607. IP_TTL = 0x4
  608. IP_UNBLOCK_SOURCE = 0x16
  609. IP_UNSPEC_SRC = 0x42
  610. ISIG = 0x1
  611. ISTRIP = 0x20
  612. IUCLC = 0x200
  613. IXANY = 0x800
  614. IXOFF = 0x1000
  615. IXON = 0x400
  616. LOCK_EX = 0x2
  617. LOCK_NB = 0x4
  618. LOCK_SH = 0x1
  619. LOCK_UN = 0x8
  620. MADV_ACCESS_DEFAULT = 0x6
  621. MADV_ACCESS_LWP = 0x7
  622. MADV_ACCESS_MANY = 0x8
  623. MADV_DONTNEED = 0x4
  624. MADV_FREE = 0x5
  625. MADV_NORMAL = 0x0
  626. MADV_PURGE = 0x9
  627. MADV_RANDOM = 0x1
  628. MADV_SEQUENTIAL = 0x2
  629. MADV_WILLNEED = 0x3
  630. MAP_32BIT = 0x80
  631. MAP_ALIGN = 0x200
  632. MAP_ANON = 0x100
  633. MAP_ANONYMOUS = 0x100
  634. MAP_FILE = 0x0
  635. MAP_FIXED = 0x10
  636. MAP_INITDATA = 0x800
  637. MAP_NORESERVE = 0x40
  638. MAP_PRIVATE = 0x2
  639. MAP_RENAME = 0x20
  640. MAP_SHARED = 0x1
  641. MAP_TEXT = 0x400
  642. MAP_TYPE = 0xf
  643. MCL_CURRENT = 0x1
  644. MCL_FUTURE = 0x2
  645. MSG_CTRUNC = 0x10
  646. MSG_DONTROUTE = 0x4
  647. MSG_DONTWAIT = 0x80
  648. MSG_DUPCTRL = 0x800
  649. MSG_EOR = 0x8
  650. MSG_MAXIOVLEN = 0x10
  651. MSG_NOTIFICATION = 0x100
  652. MSG_OOB = 0x1
  653. MSG_PEEK = 0x2
  654. MSG_TRUNC = 0x20
  655. MSG_WAITALL = 0x40
  656. MSG_XPG4_2 = 0x8000
  657. MS_ASYNC = 0x1
  658. MS_INVALIDATE = 0x2
  659. MS_OLDSYNC = 0x0
  660. MS_SYNC = 0x4
  661. M_FLUSH = 0x86
  662. NAME_MAX = 0xff
  663. NEWDEV = 0x1
  664. NFDBITS = 0x40
  665. NL0 = 0x0
  666. NL1 = 0x100
  667. NLDLY = 0x100
  668. NOFLSH = 0x80
  669. OCRNL = 0x8
  670. OFDEL = 0x80
  671. OFILL = 0x40
  672. OLCUC = 0x2
  673. OLDDEV = 0x0
  674. ONBITSMAJOR = 0x7
  675. ONBITSMINOR = 0x8
  676. ONLCR = 0x4
  677. ONLRET = 0x20
  678. ONOCR = 0x10
  679. OPENFAIL = -0x1
  680. OPOST = 0x1
  681. O_ACCMODE = 0x600003
  682. O_APPEND = 0x8
  683. O_CLOEXEC = 0x800000
  684. O_CREAT = 0x100
  685. O_DSYNC = 0x40
  686. O_EXCL = 0x400
  687. O_EXEC = 0x400000
  688. O_LARGEFILE = 0x2000
  689. O_NDELAY = 0x4
  690. O_NOCTTY = 0x800
  691. O_NOFOLLOW = 0x20000
  692. O_NOLINKS = 0x40000
  693. O_NONBLOCK = 0x80
  694. O_RDONLY = 0x0
  695. O_RDWR = 0x2
  696. O_RSYNC = 0x8000
  697. O_SEARCH = 0x200000
  698. O_SIOCGIFCONF = -0x3ff796ec
  699. O_SIOCGLIFCONF = -0x3fef9688
  700. O_SYNC = 0x10
  701. O_TRUNC = 0x200
  702. O_WRONLY = 0x1
  703. O_XATTR = 0x4000
  704. PARENB = 0x100
  705. PAREXT = 0x100000
  706. PARMRK = 0x8
  707. PARODD = 0x200
  708. PENDIN = 0x4000
  709. PRIO_PGRP = 0x1
  710. PRIO_PROCESS = 0x0
  711. PRIO_USER = 0x2
  712. PROT_EXEC = 0x4
  713. PROT_NONE = 0x0
  714. PROT_READ = 0x1
  715. PROT_WRITE = 0x2
  716. RLIMIT_AS = 0x6
  717. RLIMIT_CORE = 0x4
  718. RLIMIT_CPU = 0x0
  719. RLIMIT_DATA = 0x2
  720. RLIMIT_FSIZE = 0x1
  721. RLIMIT_NOFILE = 0x5
  722. RLIMIT_STACK = 0x3
  723. RLIM_INFINITY = -0x3
  724. RTAX_AUTHOR = 0x6
  725. RTAX_BRD = 0x7
  726. RTAX_DST = 0x0
  727. RTAX_GATEWAY = 0x1
  728. RTAX_GENMASK = 0x3
  729. RTAX_IFA = 0x5
  730. RTAX_IFP = 0x4
  731. RTAX_MAX = 0x9
  732. RTAX_NETMASK = 0x2
  733. RTAX_SRC = 0x8
  734. RTA_AUTHOR = 0x40
  735. RTA_BRD = 0x80
  736. RTA_DST = 0x1
  737. RTA_GATEWAY = 0x2
  738. RTA_GENMASK = 0x8
  739. RTA_IFA = 0x20
  740. RTA_IFP = 0x10
  741. RTA_NETMASK = 0x4
  742. RTA_NUMBITS = 0x9
  743. RTA_SRC = 0x100
  744. RTF_BLACKHOLE = 0x1000
  745. RTF_CLONING = 0x100
  746. RTF_DONE = 0x40
  747. RTF_DYNAMIC = 0x10
  748. RTF_GATEWAY = 0x2
  749. RTF_HOST = 0x4
  750. RTF_INDIRECT = 0x40000
  751. RTF_KERNEL = 0x80000
  752. RTF_LLINFO = 0x400
  753. RTF_MASK = 0x80
  754. RTF_MODIFIED = 0x20
  755. RTF_MULTIRT = 0x10000
  756. RTF_PRIVATE = 0x2000
  757. RTF_PROTO1 = 0x8000
  758. RTF_PROTO2 = 0x4000
  759. RTF_REJECT = 0x8
  760. RTF_SETSRC = 0x20000
  761. RTF_STATIC = 0x800
  762. RTF_UP = 0x1
  763. RTF_XRESOLVE = 0x200
  764. RTF_ZONE = 0x100000
  765. RTM_ADD = 0x1
  766. RTM_CHANGE = 0x3
  767. RTM_CHGADDR = 0xf
  768. RTM_DELADDR = 0xd
  769. RTM_DELETE = 0x2
  770. RTM_FREEADDR = 0x10
  771. RTM_GET = 0x4
  772. RTM_IFINFO = 0xe
  773. RTM_LOCK = 0x8
  774. RTM_LOSING = 0x5
  775. RTM_MISS = 0x7
  776. RTM_NEWADDR = 0xc
  777. RTM_OLDADD = 0x9
  778. RTM_OLDDEL = 0xa
  779. RTM_REDIRECT = 0x6
  780. RTM_RESOLVE = 0xb
  781. RTM_VERSION = 0x3
  782. RTV_EXPIRE = 0x4
  783. RTV_HOPCOUNT = 0x2
  784. RTV_MTU = 0x1
  785. RTV_RPIPE = 0x8
  786. RTV_RTT = 0x40
  787. RTV_RTTVAR = 0x80
  788. RTV_SPIPE = 0x10
  789. RTV_SSTHRESH = 0x20
  790. RT_AWARE = 0x1
  791. RUSAGE_CHILDREN = -0x1
  792. RUSAGE_SELF = 0x0
  793. SCM_RIGHTS = 0x1010
  794. SCM_TIMESTAMP = 0x1013
  795. SCM_UCRED = 0x1012
  796. SHUT_RD = 0x0
  797. SHUT_RDWR = 0x2
  798. SHUT_WR = 0x1
  799. SIG2STR_MAX = 0x20
  800. SIOCADDMULTI = -0x7fdf96cf
  801. SIOCADDRT = -0x7fcf8df6
  802. SIOCATMARK = 0x40047307
  803. SIOCDARP = -0x7fdb96e0
  804. SIOCDELMULTI = -0x7fdf96ce
  805. SIOCDELRT = -0x7fcf8df5
  806. SIOCDXARP = -0x7fff9658
  807. SIOCGARP = -0x3fdb96e1
  808. SIOCGDSTINFO = -0x3fff965c
  809. SIOCGENADDR = -0x3fdf96ab
  810. SIOCGENPSTATS = -0x3fdf96c7
  811. SIOCGETLSGCNT = -0x3fef8deb
  812. SIOCGETNAME = 0x40107334
  813. SIOCGETPEER = 0x40107335
  814. SIOCGETPROP = -0x3fff8f44
  815. SIOCGETSGCNT = -0x3feb8deb
  816. SIOCGETSYNC = -0x3fdf96d3
  817. SIOCGETVIFCNT = -0x3feb8dec
  818. SIOCGHIWAT = 0x40047301
  819. SIOCGIFADDR = -0x3fdf96f3
  820. SIOCGIFBRDADDR = -0x3fdf96e9
  821. SIOCGIFCONF = -0x3ff796a4
  822. SIOCGIFDSTADDR = -0x3fdf96f1
  823. SIOCGIFFLAGS = -0x3fdf96ef
  824. SIOCGIFHWADDR = -0x3fdf9647
  825. SIOCGIFINDEX = -0x3fdf96a6
  826. SIOCGIFMEM = -0x3fdf96ed
  827. SIOCGIFMETRIC = -0x3fdf96e5
  828. SIOCGIFMTU = -0x3fdf96ea
  829. SIOCGIFMUXID = -0x3fdf96a8
  830. SIOCGIFNETMASK = -0x3fdf96e7
  831. SIOCGIFNUM = 0x40046957
  832. SIOCGIP6ADDRPOLICY = -0x3fff965e
  833. SIOCGIPMSFILTER = -0x3ffb964c
  834. SIOCGLIFADDR = -0x3f87968f
  835. SIOCGLIFBINDING = -0x3f879666
  836. SIOCGLIFBRDADDR = -0x3f879685
  837. SIOCGLIFCONF = -0x3fef965b
  838. SIOCGLIFDADSTATE = -0x3f879642
  839. SIOCGLIFDSTADDR = -0x3f87968d
  840. SIOCGLIFFLAGS = -0x3f87968b
  841. SIOCGLIFGROUPINFO = -0x3f4b9663
  842. SIOCGLIFGROUPNAME = -0x3f879664
  843. SIOCGLIFHWADDR = -0x3f879640
  844. SIOCGLIFINDEX = -0x3f87967b
  845. SIOCGLIFLNKINFO = -0x3f879674
  846. SIOCGLIFMETRIC = -0x3f879681
  847. SIOCGLIFMTU = -0x3f879686
  848. SIOCGLIFMUXID = -0x3f87967d
  849. SIOCGLIFNETMASK = -0x3f879683
  850. SIOCGLIFNUM = -0x3ff3967e
  851. SIOCGLIFSRCOF = -0x3fef964f
  852. SIOCGLIFSUBNET = -0x3f879676
  853. SIOCGLIFTOKEN = -0x3f879678
  854. SIOCGLIFUSESRC = -0x3f879651
  855. SIOCGLIFZONE = -0x3f879656
  856. SIOCGLOWAT = 0x40047303
  857. SIOCGMSFILTER = -0x3ffb964e
  858. SIOCGPGRP = 0x40047309
  859. SIOCGSTAMP = -0x3fef9646
  860. SIOCGXARP = -0x3fff9659
  861. SIOCIFDETACH = -0x7fdf96c8
  862. SIOCILB = -0x3ffb9645
  863. SIOCLIFADDIF = -0x3f879691
  864. SIOCLIFDELND = -0x7f879673
  865. SIOCLIFGETND = -0x3f879672
  866. SIOCLIFREMOVEIF = -0x7f879692
  867. SIOCLIFSETND = -0x7f879671
  868. SIOCLOWER = -0x7fdf96d7
  869. SIOCSARP = -0x7fdb96e2
  870. SIOCSCTPGOPT = -0x3fef9653
  871. SIOCSCTPPEELOFF = -0x3ffb9652
  872. SIOCSCTPSOPT = -0x7fef9654
  873. SIOCSENABLESDP = -0x3ffb9649
  874. SIOCSETPROP = -0x7ffb8f43
  875. SIOCSETSYNC = -0x7fdf96d4
  876. SIOCSHIWAT = -0x7ffb8d00
  877. SIOCSIFADDR = -0x7fdf96f4
  878. SIOCSIFBRDADDR = -0x7fdf96e8
  879. SIOCSIFDSTADDR = -0x7fdf96f2
  880. SIOCSIFFLAGS = -0x7fdf96f0
  881. SIOCSIFINDEX = -0x7fdf96a5
  882. SIOCSIFMEM = -0x7fdf96ee
  883. SIOCSIFMETRIC = -0x7fdf96e4
  884. SIOCSIFMTU = -0x7fdf96eb
  885. SIOCSIFMUXID = -0x7fdf96a7
  886. SIOCSIFNAME = -0x7fdf96b7
  887. SIOCSIFNETMASK = -0x7fdf96e6
  888. SIOCSIP6ADDRPOLICY = -0x7fff965d
  889. SIOCSIPMSFILTER = -0x7ffb964b
  890. SIOCSLGETREQ = -0x3fdf96b9
  891. SIOCSLIFADDR = -0x7f879690
  892. SIOCSLIFBRDADDR = -0x7f879684
  893. SIOCSLIFDSTADDR = -0x7f87968e
  894. SIOCSLIFFLAGS = -0x7f87968c
  895. SIOCSLIFGROUPNAME = -0x7f879665
  896. SIOCSLIFINDEX = -0x7f87967a
  897. SIOCSLIFLNKINFO = -0x7f879675
  898. SIOCSLIFMETRIC = -0x7f879680
  899. SIOCSLIFMTU = -0x7f879687
  900. SIOCSLIFMUXID = -0x7f87967c
  901. SIOCSLIFNAME = -0x3f87967f
  902. SIOCSLIFNETMASK = -0x7f879682
  903. SIOCSLIFPREFIX = -0x3f879641
  904. SIOCSLIFSUBNET = -0x7f879677
  905. SIOCSLIFTOKEN = -0x7f879679
  906. SIOCSLIFUSESRC = -0x7f879650
  907. SIOCSLIFZONE = -0x7f879655
  908. SIOCSLOWAT = -0x7ffb8cfe
  909. SIOCSLSTAT = -0x7fdf96b8
  910. SIOCSMSFILTER = -0x7ffb964d
  911. SIOCSPGRP = -0x7ffb8cf8
  912. SIOCSPROMISC = -0x7ffb96d0
  913. SIOCSQPTR = -0x3ffb9648
  914. SIOCSSDSTATS = -0x3fdf96d2
  915. SIOCSSESTATS = -0x3fdf96d1
  916. SIOCSXARP = -0x7fff965a
  917. SIOCTMYADDR = -0x3ff79670
  918. SIOCTMYSITE = -0x3ff7966e
  919. SIOCTONLINK = -0x3ff7966f
  920. SIOCUPPER = -0x7fdf96d8
  921. SIOCX25RCV = -0x3fdf96c4
  922. SIOCX25TBL = -0x3fdf96c3
  923. SIOCX25XMT = -0x3fdf96c5
  924. SIOCXPROTO = 0x20007337
  925. SOCK_CLOEXEC = 0x80000
  926. SOCK_DGRAM = 0x1
  927. SOCK_NDELAY = 0x200000
  928. SOCK_NONBLOCK = 0x100000
  929. SOCK_RAW = 0x4
  930. SOCK_RDM = 0x5
  931. SOCK_SEQPACKET = 0x6
  932. SOCK_STREAM = 0x2
  933. SOCK_TYPE_MASK = 0xffff
  934. SOL_FILTER = 0xfffc
  935. SOL_PACKET = 0xfffd
  936. SOL_ROUTE = 0xfffe
  937. SOL_SOCKET = 0xffff
  938. SOMAXCONN = 0x80
  939. SO_ACCEPTCONN = 0x2
  940. SO_ALL = 0x3f
  941. SO_ALLZONES = 0x1014
  942. SO_ANON_MLP = 0x100a
  943. SO_ATTACH_FILTER = 0x40000001
  944. SO_BAND = 0x4000
  945. SO_BROADCAST = 0x20
  946. SO_COPYOPT = 0x80000
  947. SO_DEBUG = 0x1
  948. SO_DELIM = 0x8000
  949. SO_DETACH_FILTER = 0x40000002
  950. SO_DGRAM_ERRIND = 0x200
  951. SO_DOMAIN = 0x100c
  952. SO_DONTLINGER = -0x81
  953. SO_DONTROUTE = 0x10
  954. SO_ERROPT = 0x40000
  955. SO_ERROR = 0x1007
  956. SO_EXCLBIND = 0x1015
  957. SO_HIWAT = 0x10
  958. SO_ISNTTY = 0x800
  959. SO_ISTTY = 0x400
  960. SO_KEEPALIVE = 0x8
  961. SO_LINGER = 0x80
  962. SO_LOWAT = 0x20
  963. SO_MAC_EXEMPT = 0x100b
  964. SO_MAC_IMPLICIT = 0x1016
  965. SO_MAXBLK = 0x100000
  966. SO_MAXPSZ = 0x8
  967. SO_MINPSZ = 0x4
  968. SO_MREADOFF = 0x80
  969. SO_MREADON = 0x40
  970. SO_NDELOFF = 0x200
  971. SO_NDELON = 0x100
  972. SO_NODELIM = 0x10000
  973. SO_OOBINLINE = 0x100
  974. SO_PROTOTYPE = 0x1009
  975. SO_RCVBUF = 0x1002
  976. SO_RCVLOWAT = 0x1004
  977. SO_RCVPSH = 0x100d
  978. SO_RCVTIMEO = 0x1006
  979. SO_READOPT = 0x1
  980. SO_RECVUCRED = 0x400
  981. SO_REUSEADDR = 0x4
  982. SO_SECATTR = 0x1011
  983. SO_SNDBUF = 0x1001
  984. SO_SNDLOWAT = 0x1003
  985. SO_SNDTIMEO = 0x1005
  986. SO_STRHOLD = 0x20000
  987. SO_TAIL = 0x200000
  988. SO_TIMESTAMP = 0x1013
  989. SO_TONSTOP = 0x2000
  990. SO_TOSTOP = 0x1000
  991. SO_TYPE = 0x1008
  992. SO_USELOOPBACK = 0x40
  993. SO_VRRP = 0x1017
  994. SO_WROFF = 0x2
  995. S_ENFMT = 0x400
  996. S_IAMB = 0x1ff
  997. S_IEXEC = 0x40
  998. S_IFBLK = 0x6000
  999. S_IFCHR = 0x2000
  1000. S_IFDIR = 0x4000
  1001. S_IFDOOR = 0xd000
  1002. S_IFIFO = 0x1000
  1003. S_IFLNK = 0xa000
  1004. S_IFMT = 0xf000
  1005. S_IFNAM = 0x5000
  1006. S_IFPORT = 0xe000
  1007. S_IFREG = 0x8000
  1008. S_IFSOCK = 0xc000
  1009. S_INSEM = 0x1
  1010. S_INSHD = 0x2
  1011. S_IREAD = 0x100
  1012. S_IRGRP = 0x20
  1013. S_IROTH = 0x4
  1014. S_IRUSR = 0x100
  1015. S_IRWXG = 0x38
  1016. S_IRWXO = 0x7
  1017. S_IRWXU = 0x1c0
  1018. S_ISGID = 0x400
  1019. S_ISUID = 0x800
  1020. S_ISVTX = 0x200
  1021. S_IWGRP = 0x10
  1022. S_IWOTH = 0x2
  1023. S_IWRITE = 0x80
  1024. S_IWUSR = 0x80
  1025. S_IXGRP = 0x8
  1026. S_IXOTH = 0x1
  1027. S_IXUSR = 0x40
  1028. TAB0 = 0x0
  1029. TAB1 = 0x800
  1030. TAB2 = 0x1000
  1031. TAB3 = 0x1800
  1032. TABDLY = 0x1800
  1033. TCFLSH = 0x5407
  1034. TCGETA = 0x5401
  1035. TCGETS = 0x540d
  1036. TCIFLUSH = 0x0
  1037. TCIOFF = 0x2
  1038. TCIOFLUSH = 0x2
  1039. TCION = 0x3
  1040. TCOFLUSH = 0x1
  1041. TCOOFF = 0x0
  1042. TCOON = 0x1
  1043. TCP_ABORT_THRESHOLD = 0x11
  1044. TCP_ANONPRIVBIND = 0x20
  1045. TCP_CONN_ABORT_THRESHOLD = 0x13
  1046. TCP_CONN_NOTIFY_THRESHOLD = 0x12
  1047. TCP_CORK = 0x18
  1048. TCP_EXCLBIND = 0x21
  1049. TCP_INIT_CWND = 0x15
  1050. TCP_KEEPALIVE = 0x8
  1051. TCP_KEEPALIVE_ABORT_THRESHOLD = 0x17
  1052. TCP_KEEPALIVE_THRESHOLD = 0x16
  1053. TCP_KEEPCNT = 0x23
  1054. TCP_KEEPIDLE = 0x22
  1055. TCP_KEEPINTVL = 0x24
  1056. TCP_LINGER2 = 0x1c
  1057. TCP_MAXSEG = 0x2
  1058. TCP_MSS = 0x218
  1059. TCP_NODELAY = 0x1
  1060. TCP_NOTIFY_THRESHOLD = 0x10
  1061. TCP_RECVDSTADDR = 0x14
  1062. TCP_RTO_INITIAL = 0x19
  1063. TCP_RTO_MAX = 0x1b
  1064. TCP_RTO_MIN = 0x1a
  1065. TCSAFLUSH = 0x5410
  1066. TCSBRK = 0x5405
  1067. TCSETA = 0x5402
  1068. TCSETAF = 0x5404
  1069. TCSETAW = 0x5403
  1070. TCSETS = 0x540e
  1071. TCSETSF = 0x5410
  1072. TCSETSW = 0x540f
  1073. TCXONC = 0x5406
  1074. TIOC = 0x5400
  1075. TIOCCBRK = 0x747a
  1076. TIOCCDTR = 0x7478
  1077. TIOCCILOOP = 0x746c
  1078. TIOCEXCL = 0x740d
  1079. TIOCFLUSH = 0x7410
  1080. TIOCGETC = 0x7412
  1081. TIOCGETD = 0x7400
  1082. TIOCGETP = 0x7408
  1083. TIOCGLTC = 0x7474
  1084. TIOCGPGRP = 0x7414
  1085. TIOCGPPS = 0x547d
  1086. TIOCGPPSEV = 0x547f
  1087. TIOCGSID = 0x7416
  1088. TIOCGSOFTCAR = 0x5469
  1089. TIOCGWINSZ = 0x5468
  1090. TIOCHPCL = 0x7402
  1091. TIOCKBOF = 0x5409
  1092. TIOCKBON = 0x5408
  1093. TIOCLBIC = 0x747e
  1094. TIOCLBIS = 0x747f
  1095. TIOCLGET = 0x747c
  1096. TIOCLSET = 0x747d
  1097. TIOCMBIC = 0x741c
  1098. TIOCMBIS = 0x741b
  1099. TIOCMGET = 0x741d
  1100. TIOCMSET = 0x741a
  1101. TIOCM_CAR = 0x40
  1102. TIOCM_CD = 0x40
  1103. TIOCM_CTS = 0x20
  1104. TIOCM_DSR = 0x100
  1105. TIOCM_DTR = 0x2
  1106. TIOCM_LE = 0x1
  1107. TIOCM_RI = 0x80
  1108. TIOCM_RNG = 0x80
  1109. TIOCM_RTS = 0x4
  1110. TIOCM_SR = 0x10
  1111. TIOCM_ST = 0x8
  1112. TIOCNOTTY = 0x7471
  1113. TIOCNXCL = 0x740e
  1114. TIOCOUTQ = 0x7473
  1115. TIOCREMOTE = 0x741e
  1116. TIOCSBRK = 0x747b
  1117. TIOCSCTTY = 0x7484
  1118. TIOCSDTR = 0x7479
  1119. TIOCSETC = 0x7411
  1120. TIOCSETD = 0x7401
  1121. TIOCSETN = 0x740a
  1122. TIOCSETP = 0x7409
  1123. TIOCSIGNAL = 0x741f
  1124. TIOCSILOOP = 0x746d
  1125. TIOCSLTC = 0x7475
  1126. TIOCSPGRP = 0x7415
  1127. TIOCSPPS = 0x547e
  1128. TIOCSSOFTCAR = 0x546a
  1129. TIOCSTART = 0x746e
  1130. TIOCSTI = 0x7417
  1131. TIOCSTOP = 0x746f
  1132. TIOCSWINSZ = 0x5467
  1133. TOSTOP = 0x100
  1134. UTIME_NOW = -0x1
  1135. UTIME_OMIT = -0x2
  1136. VCEOF = 0x8
  1137. VCEOL = 0x9
  1138. VDISCARD = 0xd
  1139. VDSUSP = 0xb
  1140. VEOF = 0x4
  1141. VEOL = 0x5
  1142. VEOL2 = 0x6
  1143. VERASE = 0x2
  1144. VERASE2 = 0x11
  1145. VINTR = 0x0
  1146. VKILL = 0x3
  1147. VLNEXT = 0xf
  1148. VMIN = 0x4
  1149. VQUIT = 0x1
  1150. VREPRINT = 0xc
  1151. VSTART = 0x8
  1152. VSTATUS = 0x10
  1153. VSTOP = 0x9
  1154. VSUSP = 0xa
  1155. VSWTCH = 0x7
  1156. VT0 = 0x0
  1157. VT1 = 0x4000
  1158. VTDLY = 0x4000
  1159. VTIME = 0x5
  1160. VWERASE = 0xe
  1161. WCONTFLG = 0xffff
  1162. WCONTINUED = 0x8
  1163. WCOREFLG = 0x80
  1164. WEXITED = 0x1
  1165. WNOHANG = 0x40
  1166. WNOWAIT = 0x80
  1167. WOPTMASK = 0xcf
  1168. WRAP = 0x20000
  1169. WSIGMASK = 0x7f
  1170. WSTOPFLG = 0x7f
  1171. WSTOPPED = 0x4
  1172. WTRAPPED = 0x2
  1173. WUNTRACED = 0x4
  1174. XCASE = 0x4
  1175. XTABS = 0x1800
  1176. )
  1177. // Errors
  1178. const (
  1179. E2BIG = syscall.Errno(0x7)
  1180. EACCES = syscall.Errno(0xd)
  1181. EADDRINUSE = syscall.Errno(0x7d)
  1182. EADDRNOTAVAIL = syscall.Errno(0x7e)
  1183. EADV = syscall.Errno(0x44)
  1184. EAFNOSUPPORT = syscall.Errno(0x7c)
  1185. EAGAIN = syscall.Errno(0xb)
  1186. EALREADY = syscall.Errno(0x95)
  1187. EBADE = syscall.Errno(0x32)
  1188. EBADF = syscall.Errno(0x9)
  1189. EBADFD = syscall.Errno(0x51)
  1190. EBADMSG = syscall.Errno(0x4d)
  1191. EBADR = syscall.Errno(0x33)
  1192. EBADRQC = syscall.Errno(0x36)
  1193. EBADSLT = syscall.Errno(0x37)
  1194. EBFONT = syscall.Errno(0x39)
  1195. EBUSY = syscall.Errno(0x10)
  1196. ECANCELED = syscall.Errno(0x2f)
  1197. ECHILD = syscall.Errno(0xa)
  1198. ECHRNG = syscall.Errno(0x25)
  1199. ECOMM = syscall.Errno(0x46)
  1200. ECONNABORTED = syscall.Errno(0x82)
  1201. ECONNREFUSED = syscall.Errno(0x92)
  1202. ECONNRESET = syscall.Errno(0x83)
  1203. EDEADLK = syscall.Errno(0x2d)
  1204. EDEADLOCK = syscall.Errno(0x38)
  1205. EDESTADDRREQ = syscall.Errno(0x60)
  1206. EDOM = syscall.Errno(0x21)
  1207. EDQUOT = syscall.Errno(0x31)
  1208. EEXIST = syscall.Errno(0x11)
  1209. EFAULT = syscall.Errno(0xe)
  1210. EFBIG = syscall.Errno(0x1b)
  1211. EHOSTDOWN = syscall.Errno(0x93)
  1212. EHOSTUNREACH = syscall.Errno(0x94)
  1213. EIDRM = syscall.Errno(0x24)
  1214. EILSEQ = syscall.Errno(0x58)
  1215. EINPROGRESS = syscall.Errno(0x96)
  1216. EINTR = syscall.Errno(0x4)
  1217. EINVAL = syscall.Errno(0x16)
  1218. EIO = syscall.Errno(0x5)
  1219. EISCONN = syscall.Errno(0x85)
  1220. EISDIR = syscall.Errno(0x15)
  1221. EL2HLT = syscall.Errno(0x2c)
  1222. EL2NSYNC = syscall.Errno(0x26)
  1223. EL3HLT = syscall.Errno(0x27)
  1224. EL3RST = syscall.Errno(0x28)
  1225. ELIBACC = syscall.Errno(0x53)
  1226. ELIBBAD = syscall.Errno(0x54)
  1227. ELIBEXEC = syscall.Errno(0x57)
  1228. ELIBMAX = syscall.Errno(0x56)
  1229. ELIBSCN = syscall.Errno(0x55)
  1230. ELNRNG = syscall.Errno(0x29)
  1231. ELOCKUNMAPPED = syscall.Errno(0x48)
  1232. ELOOP = syscall.Errno(0x5a)
  1233. EMFILE = syscall.Errno(0x18)
  1234. EMLINK = syscall.Errno(0x1f)
  1235. EMSGSIZE = syscall.Errno(0x61)
  1236. EMULTIHOP = syscall.Errno(0x4a)
  1237. ENAMETOOLONG = syscall.Errno(0x4e)
  1238. ENETDOWN = syscall.Errno(0x7f)
  1239. ENETRESET = syscall.Errno(0x81)
  1240. ENETUNREACH = syscall.Errno(0x80)
  1241. ENFILE = syscall.Errno(0x17)
  1242. ENOANO = syscall.Errno(0x35)
  1243. ENOBUFS = syscall.Errno(0x84)
  1244. ENOCSI = syscall.Errno(0x2b)
  1245. ENODATA = syscall.Errno(0x3d)
  1246. ENODEV = syscall.Errno(0x13)
  1247. ENOENT = syscall.Errno(0x2)
  1248. ENOEXEC = syscall.Errno(0x8)
  1249. ENOLCK = syscall.Errno(0x2e)
  1250. ENOLINK = syscall.Errno(0x43)
  1251. ENOMEM = syscall.Errno(0xc)
  1252. ENOMSG = syscall.Errno(0x23)
  1253. ENONET = syscall.Errno(0x40)
  1254. ENOPKG = syscall.Errno(0x41)
  1255. ENOPROTOOPT = syscall.Errno(0x63)
  1256. ENOSPC = syscall.Errno(0x1c)
  1257. ENOSR = syscall.Errno(0x3f)
  1258. ENOSTR = syscall.Errno(0x3c)
  1259. ENOSYS = syscall.Errno(0x59)
  1260. ENOTACTIVE = syscall.Errno(0x49)
  1261. ENOTBLK = syscall.Errno(0xf)
  1262. ENOTCONN = syscall.Errno(0x86)
  1263. ENOTDIR = syscall.Errno(0x14)
  1264. ENOTEMPTY = syscall.Errno(0x5d)
  1265. ENOTRECOVERABLE = syscall.Errno(0x3b)
  1266. ENOTSOCK = syscall.Errno(0x5f)
  1267. ENOTSUP = syscall.Errno(0x30)
  1268. ENOTTY = syscall.Errno(0x19)
  1269. ENOTUNIQ = syscall.Errno(0x50)
  1270. ENXIO = syscall.Errno(0x6)
  1271. EOPNOTSUPP = syscall.Errno(0x7a)
  1272. EOVERFLOW = syscall.Errno(0x4f)
  1273. EOWNERDEAD = syscall.Errno(0x3a)
  1274. EPERM = syscall.Errno(0x1)
  1275. EPFNOSUPPORT = syscall.Errno(0x7b)
  1276. EPIPE = syscall.Errno(0x20)
  1277. EPROTO = syscall.Errno(0x47)
  1278. EPROTONOSUPPORT = syscall.Errno(0x78)
  1279. EPROTOTYPE = syscall.Errno(0x62)
  1280. ERANGE = syscall.Errno(0x22)
  1281. EREMCHG = syscall.Errno(0x52)
  1282. EREMOTE = syscall.Errno(0x42)
  1283. ERESTART = syscall.Errno(0x5b)
  1284. EROFS = syscall.Errno(0x1e)
  1285. ESHUTDOWN = syscall.Errno(0x8f)
  1286. ESOCKTNOSUPPORT = syscall.Errno(0x79)
  1287. ESPIPE = syscall.Errno(0x1d)
  1288. ESRCH = syscall.Errno(0x3)
  1289. ESRMNT = syscall.Errno(0x45)
  1290. ESTALE = syscall.Errno(0x97)
  1291. ESTRPIPE = syscall.Errno(0x5c)
  1292. ETIME = syscall.Errno(0x3e)
  1293. ETIMEDOUT = syscall.Errno(0x91)
  1294. ETOOMANYREFS = syscall.Errno(0x90)
  1295. ETXTBSY = syscall.Errno(0x1a)
  1296. EUNATCH = syscall.Errno(0x2a)
  1297. EUSERS = syscall.Errno(0x5e)
  1298. EWOULDBLOCK = syscall.Errno(0xb)
  1299. EXDEV = syscall.Errno(0x12)
  1300. EXFULL = syscall.Errno(0x34)
  1301. )
  1302. // Signals
  1303. const (
  1304. SIGABRT = syscall.Signal(0x6)
  1305. SIGALRM = syscall.Signal(0xe)
  1306. SIGBUS = syscall.Signal(0xa)
  1307. SIGCANCEL = syscall.Signal(0x24)
  1308. SIGCHLD = syscall.Signal(0x12)
  1309. SIGCLD = syscall.Signal(0x12)
  1310. SIGCONT = syscall.Signal(0x19)
  1311. SIGEMT = syscall.Signal(0x7)
  1312. SIGFPE = syscall.Signal(0x8)
  1313. SIGFREEZE = syscall.Signal(0x22)
  1314. SIGHUP = syscall.Signal(0x1)
  1315. SIGILL = syscall.Signal(0x4)
  1316. SIGINFO = syscall.Signal(0x29)
  1317. SIGINT = syscall.Signal(0x2)
  1318. SIGIO = syscall.Signal(0x16)
  1319. SIGIOT = syscall.Signal(0x6)
  1320. SIGJVM1 = syscall.Signal(0x27)
  1321. SIGJVM2 = syscall.Signal(0x28)
  1322. SIGKILL = syscall.Signal(0x9)
  1323. SIGLOST = syscall.Signal(0x25)
  1324. SIGLWP = syscall.Signal(0x21)
  1325. SIGPIPE = syscall.Signal(0xd)
  1326. SIGPOLL = syscall.Signal(0x16)
  1327. SIGPROF = syscall.Signal(0x1d)
  1328. SIGPWR = syscall.Signal(0x13)
  1329. SIGQUIT = syscall.Signal(0x3)
  1330. SIGSEGV = syscall.Signal(0xb)
  1331. SIGSTOP = syscall.Signal(0x17)
  1332. SIGSYS = syscall.Signal(0xc)
  1333. SIGTERM = syscall.Signal(0xf)
  1334. SIGTHAW = syscall.Signal(0x23)
  1335. SIGTRAP = syscall.Signal(0x5)
  1336. SIGTSTP = syscall.Signal(0x18)
  1337. SIGTTIN = syscall.Signal(0x1a)
  1338. SIGTTOU = syscall.Signal(0x1b)
  1339. SIGURG = syscall.Signal(0x15)
  1340. SIGUSR1 = syscall.Signal(0x10)
  1341. SIGUSR2 = syscall.Signal(0x11)
  1342. SIGVTALRM = syscall.Signal(0x1c)
  1343. SIGWAITING = syscall.Signal(0x20)
  1344. SIGWINCH = syscall.Signal(0x14)
  1345. SIGXCPU = syscall.Signal(0x1e)
  1346. SIGXFSZ = syscall.Signal(0x1f)
  1347. SIGXRES = syscall.Signal(0x26)
  1348. )
  1349. // Error table
  1350. var errorList = [...]struct {
  1351. num syscall.Errno
  1352. name string
  1353. desc string
  1354. }{
  1355. {1, "EPERM", "not owner"},
  1356. {2, "ENOENT", "no such file or directory"},
  1357. {3, "ESRCH", "no such process"},
  1358. {4, "EINTR", "interrupted system call"},
  1359. {5, "EIO", "I/O error"},
  1360. {6, "ENXIO", "no such device or address"},
  1361. {7, "E2BIG", "arg list too long"},
  1362. {8, "ENOEXEC", "exec format error"},
  1363. {9, "EBADF", "bad file number"},
  1364. {10, "ECHILD", "no child processes"},
  1365. {11, "EAGAIN", "resource temporarily unavailable"},
  1366. {12, "ENOMEM", "not enough space"},
  1367. {13, "EACCES", "permission denied"},
  1368. {14, "EFAULT", "bad address"},
  1369. {15, "ENOTBLK", "block device required"},
  1370. {16, "EBUSY", "device busy"},
  1371. {17, "EEXIST", "file exists"},
  1372. {18, "EXDEV", "cross-device link"},
  1373. {19, "ENODEV", "no such device"},
  1374. {20, "ENOTDIR", "not a directory"},
  1375. {21, "EISDIR", "is a directory"},
  1376. {22, "EINVAL", "invalid argument"},
  1377. {23, "ENFILE", "file table overflow"},
  1378. {24, "EMFILE", "too many open files"},
  1379. {25, "ENOTTY", "inappropriate ioctl for device"},
  1380. {26, "ETXTBSY", "text file busy"},
  1381. {27, "EFBIG", "file too large"},
  1382. {28, "ENOSPC", "no space left on device"},
  1383. {29, "ESPIPE", "illegal seek"},
  1384. {30, "EROFS", "read-only file system"},
  1385. {31, "EMLINK", "too many links"},
  1386. {32, "EPIPE", "broken pipe"},
  1387. {33, "EDOM", "argument out of domain"},
  1388. {34, "ERANGE", "result too large"},
  1389. {35, "ENOMSG", "no message of desired type"},
  1390. {36, "EIDRM", "identifier removed"},
  1391. {37, "ECHRNG", "channel number out of range"},
  1392. {38, "EL2NSYNC", "level 2 not synchronized"},
  1393. {39, "EL3HLT", "level 3 halted"},
  1394. {40, "EL3RST", "level 3 reset"},
  1395. {41, "ELNRNG", "link number out of range"},
  1396. {42, "EUNATCH", "protocol driver not attached"},
  1397. {43, "ENOCSI", "no CSI structure available"},
  1398. {44, "EL2HLT", "level 2 halted"},
  1399. {45, "EDEADLK", "deadlock situation detected/avoided"},
  1400. {46, "ENOLCK", "no record locks available"},
  1401. {47, "ECANCELED", "operation canceled"},
  1402. {48, "ENOTSUP", "operation not supported"},
  1403. {49, "EDQUOT", "disc quota exceeded"},
  1404. {50, "EBADE", "bad exchange descriptor"},
  1405. {51, "EBADR", "bad request descriptor"},
  1406. {52, "EXFULL", "message tables full"},
  1407. {53, "ENOANO", "anode table overflow"},
  1408. {54, "EBADRQC", "bad request code"},
  1409. {55, "EBADSLT", "invalid slot"},
  1410. {56, "EDEADLOCK", "file locking deadlock"},
  1411. {57, "EBFONT", "bad font file format"},
  1412. {58, "EOWNERDEAD", "owner of the lock died"},
  1413. {59, "ENOTRECOVERABLE", "lock is not recoverable"},
  1414. {60, "ENOSTR", "not a stream device"},
  1415. {61, "ENODATA", "no data available"},
  1416. {62, "ETIME", "timer expired"},
  1417. {63, "ENOSR", "out of stream resources"},
  1418. {64, "ENONET", "machine is not on the network"},
  1419. {65, "ENOPKG", "package not installed"},
  1420. {66, "EREMOTE", "object is remote"},
  1421. {67, "ENOLINK", "link has been severed"},
  1422. {68, "EADV", "advertise error"},
  1423. {69, "ESRMNT", "srmount error"},
  1424. {70, "ECOMM", "communication error on send"},
  1425. {71, "EPROTO", "protocol error"},
  1426. {72, "ELOCKUNMAPPED", "locked lock was unmapped "},
  1427. {73, "ENOTACTIVE", "facility is not active"},
  1428. {74, "EMULTIHOP", "multihop attempted"},
  1429. {77, "EBADMSG", "not a data message"},
  1430. {78, "ENAMETOOLONG", "file name too long"},
  1431. {79, "EOVERFLOW", "value too large for defined data type"},
  1432. {80, "ENOTUNIQ", "name not unique on network"},
  1433. {81, "EBADFD", "file descriptor in bad state"},
  1434. {82, "EREMCHG", "remote address changed"},
  1435. {83, "ELIBACC", "can not access a needed shared library"},
  1436. {84, "ELIBBAD", "accessing a corrupted shared library"},
  1437. {85, "ELIBSCN", ".lib section in a.out corrupted"},
  1438. {86, "ELIBMAX", "attempting to link in more shared libraries than system limit"},
  1439. {87, "ELIBEXEC", "can not exec a shared library directly"},
  1440. {88, "EILSEQ", "illegal byte sequence"},
  1441. {89, "ENOSYS", "operation not applicable"},
  1442. {90, "ELOOP", "number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS"},
  1443. {91, "ERESTART", "error 91"},
  1444. {92, "ESTRPIPE", "error 92"},
  1445. {93, "ENOTEMPTY", "directory not empty"},
  1446. {94, "EUSERS", "too many users"},
  1447. {95, "ENOTSOCK", "socket operation on non-socket"},
  1448. {96, "EDESTADDRREQ", "destination address required"},
  1449. {97, "EMSGSIZE", "message too long"},
  1450. {98, "EPROTOTYPE", "protocol wrong type for socket"},
  1451. {99, "ENOPROTOOPT", "option not supported by protocol"},
  1452. {120, "EPROTONOSUPPORT", "protocol not supported"},
  1453. {121, "ESOCKTNOSUPPORT", "socket type not supported"},
  1454. {122, "EOPNOTSUPP", "operation not supported on transport endpoint"},
  1455. {123, "EPFNOSUPPORT", "protocol family not supported"},
  1456. {124, "EAFNOSUPPORT", "address family not supported by protocol family"},
  1457. {125, "EADDRINUSE", "address already in use"},
  1458. {126, "EADDRNOTAVAIL", "cannot assign requested address"},
  1459. {127, "ENETDOWN", "network is down"},
  1460. {128, "ENETUNREACH", "network is unreachable"},
  1461. {129, "ENETRESET", "network dropped connection because of reset"},
  1462. {130, "ECONNABORTED", "software caused connection abort"},
  1463. {131, "ECONNRESET", "connection reset by peer"},
  1464. {132, "ENOBUFS", "no buffer space available"},
  1465. {133, "EISCONN", "transport endpoint is already connected"},
  1466. {134, "ENOTCONN", "transport endpoint is not connected"},
  1467. {143, "ESHUTDOWN", "cannot send after socket shutdown"},
  1468. {144, "ETOOMANYREFS", "too many references: cannot splice"},
  1469. {145, "ETIMEDOUT", "connection timed out"},
  1470. {146, "ECONNREFUSED", "connection refused"},
  1471. {147, "EHOSTDOWN", "host is down"},
  1472. {148, "EHOSTUNREACH", "no route to host"},
  1473. {149, "EALREADY", "operation already in progress"},
  1474. {150, "EINPROGRESS", "operation now in progress"},
  1475. {151, "ESTALE", "stale NFS file handle"},
  1476. }
  1477. // Signal table
  1478. var signalList = [...]struct {
  1479. num syscall.Signal
  1480. name string
  1481. desc string
  1482. }{
  1483. {1, "SIGHUP", "hangup"},
  1484. {2, "SIGINT", "interrupt"},
  1485. {3, "SIGQUIT", "quit"},
  1486. {4, "SIGILL", "illegal Instruction"},
  1487. {5, "SIGTRAP", "trace/Breakpoint Trap"},
  1488. {6, "SIGABRT", "abort"},
  1489. {7, "SIGEMT", "emulation Trap"},
  1490. {8, "SIGFPE", "arithmetic Exception"},
  1491. {9, "SIGKILL", "killed"},
  1492. {10, "SIGBUS", "bus Error"},
  1493. {11, "SIGSEGV", "segmentation Fault"},
  1494. {12, "SIGSYS", "bad System Call"},
  1495. {13, "SIGPIPE", "broken Pipe"},
  1496. {14, "SIGALRM", "alarm Clock"},
  1497. {15, "SIGTERM", "terminated"},
  1498. {16, "SIGUSR1", "user Signal 1"},
  1499. {17, "SIGUSR2", "user Signal 2"},
  1500. {18, "SIGCHLD", "child Status Changed"},
  1501. {19, "SIGPWR", "power-Fail/Restart"},
  1502. {20, "SIGWINCH", "window Size Change"},
  1503. {21, "SIGURG", "urgent Socket Condition"},
  1504. {22, "SIGIO", "pollable Event"},
  1505. {23, "SIGSTOP", "stopped (signal)"},
  1506. {24, "SIGTSTP", "stopped (user)"},
  1507. {25, "SIGCONT", "continued"},
  1508. {26, "SIGTTIN", "stopped (tty input)"},
  1509. {27, "SIGTTOU", "stopped (tty output)"},
  1510. {28, "SIGVTALRM", "virtual Timer Expired"},
  1511. {29, "SIGPROF", "profiling Timer Expired"},
  1512. {30, "SIGXCPU", "cpu Limit Exceeded"},
  1513. {31, "SIGXFSZ", "file Size Limit Exceeded"},
  1514. {32, "SIGWAITING", "no runnable lwp"},
  1515. {33, "SIGLWP", "inter-lwp signal"},
  1516. {34, "SIGFREEZE", "checkpoint Freeze"},
  1517. {35, "SIGTHAW", "checkpoint Thaw"},
  1518. {36, "SIGCANCEL", "thread Cancellation"},
  1519. {37, "SIGLOST", "resource Lost"},
  1520. {38, "SIGXRES", "resource Control Exceeded"},
  1521. {39, "SIGJVM1", "reserved for JVM 1"},
  1522. {40, "SIGJVM2", "reserved for JVM 2"},
  1523. {41, "SIGINFO", "information Request"},
  1524. }