zerrors_openbsd_arm.go 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659
  1. // mkerrors.sh
  2. // Code generated by the command above; see README.md. DO NOT EDIT.
  3. // +build arm,openbsd
  4. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  5. // cgo -godefs -- _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_RDLCK = 0x1
  434. F_SETFD = 0x2
  435. F_SETFL = 0x4
  436. F_SETLK = 0x8
  437. F_SETLKW = 0x9
  438. F_SETOWN = 0x6
  439. F_UNLCK = 0x2
  440. F_WRLCK = 0x3
  441. HUPCL = 0x4000
  442. HW_MACHINE = 0x1
  443. ICANON = 0x100
  444. ICMP6_FILTER = 0x12
  445. ICRNL = 0x100
  446. IEXTEN = 0x400
  447. IFAN_ARRIVAL = 0x0
  448. IFAN_DEPARTURE = 0x1
  449. IFA_ROUTE = 0x1
  450. IFF_ALLMULTI = 0x200
  451. IFF_BROADCAST = 0x2
  452. IFF_CANTCHANGE = 0x8e52
  453. IFF_DEBUG = 0x4
  454. IFF_LINK0 = 0x1000
  455. IFF_LINK1 = 0x2000
  456. IFF_LINK2 = 0x4000
  457. IFF_LOOPBACK = 0x8
  458. IFF_MULTICAST = 0x8000
  459. IFF_NOARP = 0x80
  460. IFF_NOTRAILERS = 0x20
  461. IFF_OACTIVE = 0x400
  462. IFF_POINTOPOINT = 0x10
  463. IFF_PROMISC = 0x100
  464. IFF_RUNNING = 0x40
  465. IFF_SIMPLEX = 0x800
  466. IFF_UP = 0x1
  467. IFNAMSIZ = 0x10
  468. IFT_1822 = 0x2
  469. IFT_A12MPPSWITCH = 0x82
  470. IFT_AAL2 = 0xbb
  471. IFT_AAL5 = 0x31
  472. IFT_ADSL = 0x5e
  473. IFT_AFLANE8023 = 0x3b
  474. IFT_AFLANE8025 = 0x3c
  475. IFT_ARAP = 0x58
  476. IFT_ARCNET = 0x23
  477. IFT_ARCNETPLUS = 0x24
  478. IFT_ASYNC = 0x54
  479. IFT_ATM = 0x25
  480. IFT_ATMDXI = 0x69
  481. IFT_ATMFUNI = 0x6a
  482. IFT_ATMIMA = 0x6b
  483. IFT_ATMLOGICAL = 0x50
  484. IFT_ATMRADIO = 0xbd
  485. IFT_ATMSUBINTERFACE = 0x86
  486. IFT_ATMVCIENDPT = 0xc2
  487. IFT_ATMVIRTUAL = 0x95
  488. IFT_BGPPOLICYACCOUNTING = 0xa2
  489. IFT_BLUETOOTH = 0xf8
  490. IFT_BRIDGE = 0xd1
  491. IFT_BSC = 0x53
  492. IFT_CARP = 0xf7
  493. IFT_CCTEMUL = 0x3d
  494. IFT_CEPT = 0x13
  495. IFT_CES = 0x85
  496. IFT_CHANNEL = 0x46
  497. IFT_CNR = 0x55
  498. IFT_COFFEE = 0x84
  499. IFT_COMPOSITELINK = 0x9b
  500. IFT_DCN = 0x8d
  501. IFT_DIGITALPOWERLINE = 0x8a
  502. IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
  503. IFT_DLSW = 0x4a
  504. IFT_DOCSCABLEDOWNSTREAM = 0x80
  505. IFT_DOCSCABLEMACLAYER = 0x7f
  506. IFT_DOCSCABLEUPSTREAM = 0x81
  507. IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
  508. IFT_DS0 = 0x51
  509. IFT_DS0BUNDLE = 0x52
  510. IFT_DS1FDL = 0xaa
  511. IFT_DS3 = 0x1e
  512. IFT_DTM = 0x8c
  513. IFT_DUMMY = 0xf1
  514. IFT_DVBASILN = 0xac
  515. IFT_DVBASIOUT = 0xad
  516. IFT_DVBRCCDOWNSTREAM = 0x93
  517. IFT_DVBRCCMACLAYER = 0x92
  518. IFT_DVBRCCUPSTREAM = 0x94
  519. IFT_ECONET = 0xce
  520. IFT_ENC = 0xf4
  521. IFT_EON = 0x19
  522. IFT_EPLRS = 0x57
  523. IFT_ESCON = 0x49
  524. IFT_ETHER = 0x6
  525. IFT_FAITH = 0xf3
  526. IFT_FAST = 0x7d
  527. IFT_FASTETHER = 0x3e
  528. IFT_FASTETHERFX = 0x45
  529. IFT_FDDI = 0xf
  530. IFT_FIBRECHANNEL = 0x38
  531. IFT_FRAMERELAYINTERCONNECT = 0x3a
  532. IFT_FRAMERELAYMPI = 0x5c
  533. IFT_FRDLCIENDPT = 0xc1
  534. IFT_FRELAY = 0x20
  535. IFT_FRELAYDCE = 0x2c
  536. IFT_FRF16MFRBUNDLE = 0xa3
  537. IFT_FRFORWARD = 0x9e
  538. IFT_G703AT2MB = 0x43
  539. IFT_G703AT64K = 0x42
  540. IFT_GIF = 0xf0
  541. IFT_GIGABITETHERNET = 0x75
  542. IFT_GR303IDT = 0xb2
  543. IFT_GR303RDT = 0xb1
  544. IFT_H323GATEKEEPER = 0xa4
  545. IFT_H323PROXY = 0xa5
  546. IFT_HDH1822 = 0x3
  547. IFT_HDLC = 0x76
  548. IFT_HDSL2 = 0xa8
  549. IFT_HIPERLAN2 = 0xb7
  550. IFT_HIPPI = 0x2f
  551. IFT_HIPPIINTERFACE = 0x39
  552. IFT_HOSTPAD = 0x5a
  553. IFT_HSSI = 0x2e
  554. IFT_HY = 0xe
  555. IFT_IBM370PARCHAN = 0x48
  556. IFT_IDSL = 0x9a
  557. IFT_IEEE1394 = 0x90
  558. IFT_IEEE80211 = 0x47
  559. IFT_IEEE80212 = 0x37
  560. IFT_IEEE8023ADLAG = 0xa1
  561. IFT_IFGSN = 0x91
  562. IFT_IMT = 0xbe
  563. IFT_INFINIBAND = 0xc7
  564. IFT_INTERLEAVE = 0x7c
  565. IFT_IP = 0x7e
  566. IFT_IPFORWARD = 0x8e
  567. IFT_IPOVERATM = 0x72
  568. IFT_IPOVERCDLC = 0x6d
  569. IFT_IPOVERCLAW = 0x6e
  570. IFT_IPSWITCH = 0x4e
  571. IFT_ISDN = 0x3f
  572. IFT_ISDNBASIC = 0x14
  573. IFT_ISDNPRIMARY = 0x15
  574. IFT_ISDNS = 0x4b
  575. IFT_ISDNU = 0x4c
  576. IFT_ISO88022LLC = 0x29
  577. IFT_ISO88023 = 0x7
  578. IFT_ISO88024 = 0x8
  579. IFT_ISO88025 = 0x9
  580. IFT_ISO88025CRFPINT = 0x62
  581. IFT_ISO88025DTR = 0x56
  582. IFT_ISO88025FIBER = 0x73
  583. IFT_ISO88026 = 0xa
  584. IFT_ISUP = 0xb3
  585. IFT_L2VLAN = 0x87
  586. IFT_L3IPVLAN = 0x88
  587. IFT_L3IPXVLAN = 0x89
  588. IFT_LAPB = 0x10
  589. IFT_LAPD = 0x4d
  590. IFT_LAPF = 0x77
  591. IFT_LINEGROUP = 0xd2
  592. IFT_LOCALTALK = 0x2a
  593. IFT_LOOP = 0x18
  594. IFT_MEDIAMAILOVERIP = 0x8b
  595. IFT_MFSIGLINK = 0xa7
  596. IFT_MIOX25 = 0x26
  597. IFT_MODEM = 0x30
  598. IFT_MPC = 0x71
  599. IFT_MPLS = 0xa6
  600. IFT_MPLSTUNNEL = 0x96
  601. IFT_MSDSL = 0x8f
  602. IFT_MVL = 0xbf
  603. IFT_MYRINET = 0x63
  604. IFT_NFAS = 0xaf
  605. IFT_NSIP = 0x1b
  606. IFT_OPTICALCHANNEL = 0xc3
  607. IFT_OPTICALTRANSPORT = 0xc4
  608. IFT_OTHER = 0x1
  609. IFT_P10 = 0xc
  610. IFT_P80 = 0xd
  611. IFT_PARA = 0x22
  612. IFT_PFLOG = 0xf5
  613. IFT_PFLOW = 0xf9
  614. IFT_PFSYNC = 0xf6
  615. IFT_PLC = 0xae
  616. IFT_PON155 = 0xcf
  617. IFT_PON622 = 0xd0
  618. IFT_POS = 0xab
  619. IFT_PPP = 0x17
  620. IFT_PPPMULTILINKBUNDLE = 0x6c
  621. IFT_PROPATM = 0xc5
  622. IFT_PROPBWAP2MP = 0xb8
  623. IFT_PROPCNLS = 0x59
  624. IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
  625. IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
  626. IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
  627. IFT_PROPMUX = 0x36
  628. IFT_PROPVIRTUAL = 0x35
  629. IFT_PROPWIRELESSP2P = 0x9d
  630. IFT_PTPSERIAL = 0x16
  631. IFT_PVC = 0xf2
  632. IFT_Q2931 = 0xc9
  633. IFT_QLLC = 0x44
  634. IFT_RADIOMAC = 0xbc
  635. IFT_RADSL = 0x5f
  636. IFT_REACHDSL = 0xc0
  637. IFT_RFC1483 = 0x9f
  638. IFT_RS232 = 0x21
  639. IFT_RSRB = 0x4f
  640. IFT_SDLC = 0x11
  641. IFT_SDSL = 0x60
  642. IFT_SHDSL = 0xa9
  643. IFT_SIP = 0x1f
  644. IFT_SIPSIG = 0xcc
  645. IFT_SIPTG = 0xcb
  646. IFT_SLIP = 0x1c
  647. IFT_SMDSDXI = 0x2b
  648. IFT_SMDSICIP = 0x34
  649. IFT_SONET = 0x27
  650. IFT_SONETOVERHEADCHANNEL = 0xb9
  651. IFT_SONETPATH = 0x32
  652. IFT_SONETVT = 0x33
  653. IFT_SRP = 0x97
  654. IFT_SS7SIGLINK = 0x9c
  655. IFT_STACKTOSTACK = 0x6f
  656. IFT_STARLAN = 0xb
  657. IFT_T1 = 0x12
  658. IFT_TDLC = 0x74
  659. IFT_TELINK = 0xc8
  660. IFT_TERMPAD = 0x5b
  661. IFT_TR008 = 0xb0
  662. IFT_TRANSPHDLC = 0x7b
  663. IFT_TUNNEL = 0x83
  664. IFT_ULTRA = 0x1d
  665. IFT_USB = 0xa0
  666. IFT_V11 = 0x40
  667. IFT_V35 = 0x2d
  668. IFT_V36 = 0x41
  669. IFT_V37 = 0x78
  670. IFT_VDSL = 0x61
  671. IFT_VIRTUALIPADDRESS = 0x70
  672. IFT_VIRTUALTG = 0xca
  673. IFT_VOICEDID = 0xd5
  674. IFT_VOICEEM = 0x64
  675. IFT_VOICEEMFGD = 0xd3
  676. IFT_VOICEENCAP = 0x67
  677. IFT_VOICEFGDEANA = 0xd4
  678. IFT_VOICEFXO = 0x65
  679. IFT_VOICEFXS = 0x66
  680. IFT_VOICEOVERATM = 0x98
  681. IFT_VOICEOVERCABLE = 0xc6
  682. IFT_VOICEOVERFRAMERELAY = 0x99
  683. IFT_VOICEOVERIP = 0x68
  684. IFT_X213 = 0x5d
  685. IFT_X25 = 0x5
  686. IFT_X25DDN = 0x4
  687. IFT_X25HUNTGROUP = 0x7a
  688. IFT_X25MLP = 0x79
  689. IFT_X25PLE = 0x28
  690. IFT_XETHER = 0x1a
  691. IGNBRK = 0x1
  692. IGNCR = 0x80
  693. IGNPAR = 0x4
  694. IMAXBEL = 0x2000
  695. INLCR = 0x40
  696. INPCK = 0x10
  697. IN_CLASSA_HOST = 0xffffff
  698. IN_CLASSA_MAX = 0x80
  699. IN_CLASSA_NET = 0xff000000
  700. IN_CLASSA_NSHIFT = 0x18
  701. IN_CLASSB_HOST = 0xffff
  702. IN_CLASSB_MAX = 0x10000
  703. IN_CLASSB_NET = 0xffff0000
  704. IN_CLASSB_NSHIFT = 0x10
  705. IN_CLASSC_HOST = 0xff
  706. IN_CLASSC_NET = 0xffffff00
  707. IN_CLASSC_NSHIFT = 0x8
  708. IN_CLASSD_HOST = 0xfffffff
  709. IN_CLASSD_NET = 0xf0000000
  710. IN_CLASSD_NSHIFT = 0x1c
  711. IN_LOOPBACKNET = 0x7f
  712. IN_RFC3021_HOST = 0x1
  713. IN_RFC3021_NET = 0xfffffffe
  714. IN_RFC3021_NSHIFT = 0x1f
  715. IPPROTO_AH = 0x33
  716. IPPROTO_CARP = 0x70
  717. IPPROTO_DIVERT = 0x102
  718. IPPROTO_DIVERT_INIT = 0x2
  719. IPPROTO_DIVERT_RESP = 0x1
  720. IPPROTO_DONE = 0x101
  721. IPPROTO_DSTOPTS = 0x3c
  722. IPPROTO_EGP = 0x8
  723. IPPROTO_ENCAP = 0x62
  724. IPPROTO_EON = 0x50
  725. IPPROTO_ESP = 0x32
  726. IPPROTO_ETHERIP = 0x61
  727. IPPROTO_FRAGMENT = 0x2c
  728. IPPROTO_GGP = 0x3
  729. IPPROTO_GRE = 0x2f
  730. IPPROTO_HOPOPTS = 0x0
  731. IPPROTO_ICMP = 0x1
  732. IPPROTO_ICMPV6 = 0x3a
  733. IPPROTO_IDP = 0x16
  734. IPPROTO_IGMP = 0x2
  735. IPPROTO_IP = 0x0
  736. IPPROTO_IPCOMP = 0x6c
  737. IPPROTO_IPIP = 0x4
  738. IPPROTO_IPV4 = 0x4
  739. IPPROTO_IPV6 = 0x29
  740. IPPROTO_MAX = 0x100
  741. IPPROTO_MAXID = 0x103
  742. IPPROTO_MOBILE = 0x37
  743. IPPROTO_MPLS = 0x89
  744. IPPROTO_NONE = 0x3b
  745. IPPROTO_PFSYNC = 0xf0
  746. IPPROTO_PIM = 0x67
  747. IPPROTO_PUP = 0xc
  748. IPPROTO_RAW = 0xff
  749. IPPROTO_ROUTING = 0x2b
  750. IPPROTO_RSVP = 0x2e
  751. IPPROTO_TCP = 0x6
  752. IPPROTO_TP = 0x1d
  753. IPPROTO_UDP = 0x11
  754. IPV6_AUTH_LEVEL = 0x35
  755. IPV6_AUTOFLOWLABEL = 0x3b
  756. IPV6_CHECKSUM = 0x1a
  757. IPV6_DEFAULT_MULTICAST_HOPS = 0x1
  758. IPV6_DEFAULT_MULTICAST_LOOP = 0x1
  759. IPV6_DEFHLIM = 0x40
  760. IPV6_DONTFRAG = 0x3e
  761. IPV6_DSTOPTS = 0x32
  762. IPV6_ESP_NETWORK_LEVEL = 0x37
  763. IPV6_ESP_TRANS_LEVEL = 0x36
  764. IPV6_FAITH = 0x1d
  765. IPV6_FLOWINFO_MASK = 0xffffff0f
  766. IPV6_FLOWLABEL_MASK = 0xffff0f00
  767. IPV6_FRAGTTL = 0x78
  768. IPV6_HLIMDEC = 0x1
  769. IPV6_HOPLIMIT = 0x2f
  770. IPV6_HOPOPTS = 0x31
  771. IPV6_IPCOMP_LEVEL = 0x3c
  772. IPV6_JOIN_GROUP = 0xc
  773. IPV6_LEAVE_GROUP = 0xd
  774. IPV6_MAXHLIM = 0xff
  775. IPV6_MAXPACKET = 0xffff
  776. IPV6_MMTU = 0x500
  777. IPV6_MULTICAST_HOPS = 0xa
  778. IPV6_MULTICAST_IF = 0x9
  779. IPV6_MULTICAST_LOOP = 0xb
  780. IPV6_NEXTHOP = 0x30
  781. IPV6_OPTIONS = 0x1
  782. IPV6_PATHMTU = 0x2c
  783. IPV6_PIPEX = 0x3f
  784. IPV6_PKTINFO = 0x2e
  785. IPV6_PORTRANGE = 0xe
  786. IPV6_PORTRANGE_DEFAULT = 0x0
  787. IPV6_PORTRANGE_HIGH = 0x1
  788. IPV6_PORTRANGE_LOW = 0x2
  789. IPV6_RECVDSTOPTS = 0x28
  790. IPV6_RECVDSTPORT = 0x40
  791. IPV6_RECVHOPLIMIT = 0x25
  792. IPV6_RECVHOPOPTS = 0x27
  793. IPV6_RECVPATHMTU = 0x2b
  794. IPV6_RECVPKTINFO = 0x24
  795. IPV6_RECVRTHDR = 0x26
  796. IPV6_RECVTCLASS = 0x39
  797. IPV6_RTABLE = 0x1021
  798. IPV6_RTHDR = 0x33
  799. IPV6_RTHDRDSTOPTS = 0x23
  800. IPV6_RTHDR_LOOSE = 0x0
  801. IPV6_RTHDR_STRICT = 0x1
  802. IPV6_RTHDR_TYPE_0 = 0x0
  803. IPV6_SOCKOPT_RESERVED1 = 0x3
  804. IPV6_TCLASS = 0x3d
  805. IPV6_UNICAST_HOPS = 0x4
  806. IPV6_USE_MIN_MTU = 0x2a
  807. IPV6_V6ONLY = 0x1b
  808. IPV6_VERSION = 0x60
  809. IPV6_VERSION_MASK = 0xf0
  810. IP_ADD_MEMBERSHIP = 0xc
  811. IP_AUTH_LEVEL = 0x14
  812. IP_DEFAULT_MULTICAST_LOOP = 0x1
  813. IP_DEFAULT_MULTICAST_TTL = 0x1
  814. IP_DF = 0x4000
  815. IP_DIVERTFL = 0x1022
  816. IP_DROP_MEMBERSHIP = 0xd
  817. IP_ESP_NETWORK_LEVEL = 0x16
  818. IP_ESP_TRANS_LEVEL = 0x15
  819. IP_HDRINCL = 0x2
  820. IP_IPCOMP_LEVEL = 0x1d
  821. IP_IPSECFLOWINFO = 0x24
  822. IP_IPSEC_LOCAL_AUTH = 0x1b
  823. IP_IPSEC_LOCAL_CRED = 0x19
  824. IP_IPSEC_LOCAL_ID = 0x17
  825. IP_IPSEC_REMOTE_AUTH = 0x1c
  826. IP_IPSEC_REMOTE_CRED = 0x1a
  827. IP_IPSEC_REMOTE_ID = 0x18
  828. IP_MAXPACKET = 0xffff
  829. IP_MAX_MEMBERSHIPS = 0xfff
  830. IP_MF = 0x2000
  831. IP_MINTTL = 0x20
  832. IP_MIN_MEMBERSHIPS = 0xf
  833. IP_MSS = 0x240
  834. IP_MULTICAST_IF = 0x9
  835. IP_MULTICAST_LOOP = 0xb
  836. IP_MULTICAST_TTL = 0xa
  837. IP_OFFMASK = 0x1fff
  838. IP_OPTIONS = 0x1
  839. IP_PIPEX = 0x22
  840. IP_PORTRANGE = 0x13
  841. IP_PORTRANGE_DEFAULT = 0x0
  842. IP_PORTRANGE_HIGH = 0x1
  843. IP_PORTRANGE_LOW = 0x2
  844. IP_RECVDSTADDR = 0x7
  845. IP_RECVDSTPORT = 0x21
  846. IP_RECVIF = 0x1e
  847. IP_RECVOPTS = 0x5
  848. IP_RECVRETOPTS = 0x6
  849. IP_RECVRTABLE = 0x23
  850. IP_RECVTTL = 0x1f
  851. IP_RETOPTS = 0x8
  852. IP_RF = 0x8000
  853. IP_RTABLE = 0x1021
  854. IP_TOS = 0x3
  855. IP_TTL = 0x4
  856. ISIG = 0x80
  857. ISTRIP = 0x20
  858. IXANY = 0x800
  859. IXOFF = 0x400
  860. IXON = 0x200
  861. KERN_HOSTNAME = 0xa
  862. KERN_OSRELEASE = 0x2
  863. KERN_OSTYPE = 0x1
  864. KERN_VERSION = 0x4
  865. LCNT_OVERLOAD_FLUSH = 0x6
  866. LOCK_EX = 0x2
  867. LOCK_NB = 0x4
  868. LOCK_SH = 0x1
  869. LOCK_UN = 0x8
  870. MADV_DONTNEED = 0x4
  871. MADV_FREE = 0x6
  872. MADV_NORMAL = 0x0
  873. MADV_RANDOM = 0x1
  874. MADV_SEQUENTIAL = 0x2
  875. MADV_SPACEAVAIL = 0x5
  876. MADV_WILLNEED = 0x3
  877. MAP_ANON = 0x1000
  878. MAP_ANONYMOUS = 0x1000
  879. MAP_CONCEAL = 0x8000
  880. MAP_COPY = 0x2
  881. MAP_FILE = 0x0
  882. MAP_FIXED = 0x10
  883. MAP_FLAGMASK = 0xfff7
  884. MAP_HASSEMAPHORE = 0x0
  885. MAP_INHERIT = 0x0
  886. MAP_INHERIT_COPY = 0x1
  887. MAP_INHERIT_NONE = 0x2
  888. MAP_INHERIT_SHARE = 0x0
  889. MAP_INHERIT_ZERO = 0x3
  890. MAP_NOEXTEND = 0x0
  891. MAP_NORESERVE = 0x0
  892. MAP_PRIVATE = 0x2
  893. MAP_RENAME = 0x0
  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_CMSG_CLOEXEC = 0x800
  927. MSG_CTRUNC = 0x20
  928. MSG_DONTROUTE = 0x4
  929. MSG_DONTWAIT = 0x80
  930. MSG_EOR = 0x8
  931. MSG_MCAST = 0x200
  932. MSG_NOSIGNAL = 0x400
  933. MSG_OOB = 0x1
  934. MSG_PEEK = 0x2
  935. MSG_TRUNC = 0x10
  936. MSG_WAITALL = 0x40
  937. MS_ASYNC = 0x1
  938. MS_INVALIDATE = 0x4
  939. MS_SYNC = 0x2
  940. NAME_MAX = 0xff
  941. NET_RT_DUMP = 0x1
  942. NET_RT_FLAGS = 0x2
  943. NET_RT_IFLIST = 0x3
  944. NET_RT_MAXID = 0x6
  945. NET_RT_STATS = 0x4
  946. NET_RT_TABLE = 0x5
  947. NFDBITS = 0x20
  948. NOFLSH = 0x80000000
  949. NOTE_ATTRIB = 0x8
  950. NOTE_CHILD = 0x4
  951. NOTE_DELETE = 0x1
  952. NOTE_EOF = 0x2
  953. NOTE_EXEC = 0x20000000
  954. NOTE_EXIT = 0x80000000
  955. NOTE_EXTEND = 0x4
  956. NOTE_FORK = 0x40000000
  957. NOTE_LINK = 0x10
  958. NOTE_LOWAT = 0x1
  959. NOTE_PCTRLMASK = 0xf0000000
  960. NOTE_PDATAMASK = 0xfffff
  961. NOTE_RENAME = 0x20
  962. NOTE_REVOKE = 0x40
  963. NOTE_TRACK = 0x1
  964. NOTE_TRACKERR = 0x2
  965. NOTE_TRUNCATE = 0x80
  966. NOTE_WRITE = 0x2
  967. OCRNL = 0x10
  968. ONLCR = 0x2
  969. ONLRET = 0x80
  970. ONOCR = 0x40
  971. ONOEOT = 0x8
  972. OPOST = 0x1
  973. O_ACCMODE = 0x3
  974. O_APPEND = 0x8
  975. O_ASYNC = 0x40
  976. O_CLOEXEC = 0x10000
  977. O_CREAT = 0x200
  978. O_DIRECTORY = 0x20000
  979. O_DSYNC = 0x80
  980. O_EXCL = 0x800
  981. O_EXLOCK = 0x20
  982. O_FSYNC = 0x80
  983. O_NDELAY = 0x4
  984. O_NOCTTY = 0x8000
  985. O_NOFOLLOW = 0x100
  986. O_NONBLOCK = 0x4
  987. O_RDONLY = 0x0
  988. O_RDWR = 0x2
  989. O_RSYNC = 0x80
  990. O_SHLOCK = 0x10
  991. O_SYNC = 0x80
  992. O_TRUNC = 0x400
  993. O_WRONLY = 0x1
  994. PARENB = 0x1000
  995. PARMRK = 0x8
  996. PARODD = 0x2000
  997. PENDIN = 0x20000000
  998. PF_FLUSH = 0x1
  999. PRIO_PGRP = 0x1
  1000. PRIO_PROCESS = 0x0
  1001. PRIO_USER = 0x2
  1002. PROT_EXEC = 0x4
  1003. PROT_NONE = 0x0
  1004. PROT_READ = 0x1
  1005. PROT_WRITE = 0x2
  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_BROADCAST = 0x400000
  1039. RTF_CLONED = 0x10000
  1040. RTF_CLONING = 0x100
  1041. RTF_DONE = 0x40
  1042. RTF_DYNAMIC = 0x10
  1043. RTF_FMASK = 0x70f808
  1044. RTF_GATEWAY = 0x2
  1045. RTF_HOST = 0x4
  1046. RTF_LLINFO = 0x400
  1047. RTF_LOCAL = 0x200000
  1048. RTF_MASK = 0x80
  1049. RTF_MODIFIED = 0x20
  1050. RTF_MPATH = 0x40000
  1051. RTF_MPLS = 0x100000
  1052. RTF_PERMANENT_ARP = 0x2000
  1053. RTF_PROTO1 = 0x8000
  1054. RTF_PROTO2 = 0x4000
  1055. RTF_PROTO3 = 0x2000
  1056. RTF_REJECT = 0x8
  1057. RTF_STATIC = 0x800
  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. SIOCGIFRXR = 0x802069aa
  1168. SIOCGIFTIMESLOT = 0xc0206986
  1169. SIOCGIFXFLAGS = 0xc020699e
  1170. SIOCGLIFADDR = 0xc218691d
  1171. SIOCGLIFPHYADDR = 0xc218694b
  1172. SIOCGLIFPHYRTABLE = 0xc02069a2
  1173. SIOCGLIFPHYTTL = 0xc02069a9
  1174. SIOCGLOWAT = 0x40047303
  1175. SIOCGPGRP = 0x40047309
  1176. SIOCGSPPPPARAMS = 0xc0206994
  1177. SIOCGVH = 0xc02069f6
  1178. SIOCGVNETID = 0xc02069a7
  1179. SIOCIFCREATE = 0x8020697a
  1180. SIOCIFDESTROY = 0x80206979
  1181. SIOCIFGCLONERS = 0xc00c6978
  1182. SIOCSETKALIVE = 0x801869a3
  1183. SIOCSETLABEL = 0x80206999
  1184. SIOCSETPFLOW = 0x802069fd
  1185. SIOCSETPFSYNC = 0x802069f7
  1186. SIOCSETVLAN = 0x8020698f
  1187. SIOCSHIWAT = 0x80047300
  1188. SIOCSIFADDR = 0x8020690c
  1189. SIOCSIFASYNCMAP = 0x8020697d
  1190. SIOCSIFBRDADDR = 0x80206913
  1191. SIOCSIFDESCR = 0x80206980
  1192. SIOCSIFDSTADDR = 0x8020690e
  1193. SIOCSIFFLAGS = 0x80206910
  1194. SIOCSIFGATTR = 0x8024698c
  1195. SIOCSIFGENERIC = 0x80206939
  1196. SIOCSIFLLADDR = 0x8020691f
  1197. SIOCSIFMEDIA = 0xc0206935
  1198. SIOCSIFMETRIC = 0x80206918
  1199. SIOCSIFMTU = 0x8020697f
  1200. SIOCSIFNETMASK = 0x80206916
  1201. SIOCSIFPHYADDR = 0x80406946
  1202. SIOCSIFPRIORITY = 0x8020699b
  1203. SIOCSIFRDOMAIN = 0x8020699f
  1204. SIOCSIFRTLABEL = 0x80206982
  1205. SIOCSIFTIMESLOT = 0x80206985
  1206. SIOCSIFXFLAGS = 0x8020699d
  1207. SIOCSLIFPHYADDR = 0x8218694a
  1208. SIOCSLIFPHYRTABLE = 0x802069a1
  1209. SIOCSLIFPHYTTL = 0x802069a8
  1210. SIOCSLOWAT = 0x80047302
  1211. SIOCSPGRP = 0x80047308
  1212. SIOCSSPPPPARAMS = 0x80206993
  1213. SIOCSVH = 0xc02069f5
  1214. SIOCSVNETID = 0x802069a6
  1215. SOCK_CLOEXEC = 0x8000
  1216. SOCK_DGRAM = 0x2
  1217. SOCK_NONBLOCK = 0x4000
  1218. SOCK_RAW = 0x3
  1219. SOCK_RDM = 0x4
  1220. SOCK_SEQPACKET = 0x5
  1221. SOCK_STREAM = 0x1
  1222. SOL_SOCKET = 0xffff
  1223. SOMAXCONN = 0x80
  1224. SO_ACCEPTCONN = 0x2
  1225. SO_BINDANY = 0x1000
  1226. SO_BROADCAST = 0x20
  1227. SO_DEBUG = 0x1
  1228. SO_DONTROUTE = 0x10
  1229. SO_ERROR = 0x1007
  1230. SO_KEEPALIVE = 0x8
  1231. SO_LINGER = 0x80
  1232. SO_NETPROC = 0x1020
  1233. SO_OOBINLINE = 0x100
  1234. SO_PEERCRED = 0x1022
  1235. SO_RCVBUF = 0x1002
  1236. SO_RCVLOWAT = 0x1004
  1237. SO_RCVTIMEO = 0x1006
  1238. SO_REUSEADDR = 0x4
  1239. SO_REUSEPORT = 0x200
  1240. SO_RTABLE = 0x1021
  1241. SO_SNDBUF = 0x1001
  1242. SO_SNDLOWAT = 0x1003
  1243. SO_SNDTIMEO = 0x1005
  1244. SO_SPLICE = 0x1023
  1245. SO_TIMESTAMP = 0x800
  1246. SO_TYPE = 0x1008
  1247. SO_USELOOPBACK = 0x40
  1248. S_BLKSIZE = 0x200
  1249. S_IEXEC = 0x40
  1250. S_IFBLK = 0x6000
  1251. S_IFCHR = 0x2000
  1252. S_IFDIR = 0x4000
  1253. S_IFIFO = 0x1000
  1254. S_IFLNK = 0xa000
  1255. S_IFMT = 0xf000
  1256. S_IFREG = 0x8000
  1257. S_IFSOCK = 0xc000
  1258. S_IREAD = 0x100
  1259. S_IRGRP = 0x20
  1260. S_IROTH = 0x4
  1261. S_IRUSR = 0x100
  1262. S_IRWXG = 0x38
  1263. S_IRWXO = 0x7
  1264. S_IRWXU = 0x1c0
  1265. S_ISGID = 0x400
  1266. S_ISTXT = 0x200
  1267. S_ISUID = 0x800
  1268. S_ISVTX = 0x200
  1269. S_IWGRP = 0x10
  1270. S_IWOTH = 0x2
  1271. S_IWRITE = 0x80
  1272. S_IWUSR = 0x80
  1273. S_IXGRP = 0x8
  1274. S_IXOTH = 0x1
  1275. S_IXUSR = 0x40
  1276. TCIFLUSH = 0x1
  1277. TCIOFLUSH = 0x3
  1278. TCOFLUSH = 0x2
  1279. TCP_MAXBURST = 0x4
  1280. TCP_MAXSEG = 0x2
  1281. TCP_MAXWIN = 0xffff
  1282. TCP_MAX_SACK = 0x3
  1283. TCP_MAX_WINSHIFT = 0xe
  1284. TCP_MD5SIG = 0x4
  1285. TCP_MSS = 0x200
  1286. TCP_NODELAY = 0x1
  1287. TCP_NOPUSH = 0x10
  1288. TCP_NSTATES = 0xb
  1289. TCP_SACK_ENABLE = 0x8
  1290. TCSAFLUSH = 0x2
  1291. TIOCCBRK = 0x2000747a
  1292. TIOCCDTR = 0x20007478
  1293. TIOCCONS = 0x80047462
  1294. TIOCDRAIN = 0x2000745e
  1295. TIOCEXCL = 0x2000740d
  1296. TIOCEXT = 0x80047460
  1297. TIOCFLAG_CLOCAL = 0x2
  1298. TIOCFLAG_CRTSCTS = 0x4
  1299. TIOCFLAG_MDMBUF = 0x8
  1300. TIOCFLAG_PPS = 0x10
  1301. TIOCFLAG_SOFTCAR = 0x1
  1302. TIOCFLUSH = 0x80047410
  1303. TIOCGETA = 0x402c7413
  1304. TIOCGETD = 0x4004741a
  1305. TIOCGFLAGS = 0x4004745d
  1306. TIOCGPGRP = 0x40047477
  1307. TIOCGSID = 0x40047463
  1308. TIOCGTSTAMP = 0x400c745b
  1309. TIOCGWINSZ = 0x40087468
  1310. TIOCMBIC = 0x8004746b
  1311. TIOCMBIS = 0x8004746c
  1312. TIOCMGET = 0x4004746a
  1313. TIOCMODG = 0x4004746a
  1314. TIOCMODS = 0x8004746d
  1315. TIOCMSET = 0x8004746d
  1316. TIOCM_CAR = 0x40
  1317. TIOCM_CD = 0x40
  1318. TIOCM_CTS = 0x20
  1319. TIOCM_DSR = 0x100
  1320. TIOCM_DTR = 0x2
  1321. TIOCM_LE = 0x1
  1322. TIOCM_RI = 0x80
  1323. TIOCM_RNG = 0x80
  1324. TIOCM_RTS = 0x4
  1325. TIOCM_SR = 0x10
  1326. TIOCM_ST = 0x8
  1327. TIOCNOTTY = 0x20007471
  1328. TIOCNXCL = 0x2000740e
  1329. TIOCOUTQ = 0x40047473
  1330. TIOCPKT = 0x80047470
  1331. TIOCPKT_DATA = 0x0
  1332. TIOCPKT_DOSTOP = 0x20
  1333. TIOCPKT_FLUSHREAD = 0x1
  1334. TIOCPKT_FLUSHWRITE = 0x2
  1335. TIOCPKT_IOCTL = 0x40
  1336. TIOCPKT_NOSTOP = 0x10
  1337. TIOCPKT_START = 0x8
  1338. TIOCPKT_STOP = 0x4
  1339. TIOCREMOTE = 0x80047469
  1340. TIOCSBRK = 0x2000747b
  1341. TIOCSCTTY = 0x20007461
  1342. TIOCSDTR = 0x20007479
  1343. TIOCSETA = 0x802c7414
  1344. TIOCSETAF = 0x802c7416
  1345. TIOCSETAW = 0x802c7415
  1346. TIOCSETD = 0x8004741b
  1347. TIOCSFLAGS = 0x8004745c
  1348. TIOCSIG = 0x8004745f
  1349. TIOCSPGRP = 0x80047476
  1350. TIOCSTART = 0x2000746e
  1351. TIOCSTAT = 0x80047465
  1352. TIOCSTI = 0x80017472
  1353. TIOCSTOP = 0x2000746f
  1354. TIOCSTSTAMP = 0x8008745a
  1355. TIOCSWINSZ = 0x80087467
  1356. TIOCUCNTL = 0x80047466
  1357. TOSTOP = 0x400000
  1358. VDISCARD = 0xf
  1359. VDSUSP = 0xb
  1360. VEOF = 0x0
  1361. VEOL = 0x1
  1362. VEOL2 = 0x2
  1363. VERASE = 0x3
  1364. VINTR = 0x8
  1365. VKILL = 0x5
  1366. VLNEXT = 0xe
  1367. VMIN = 0x10
  1368. VQUIT = 0x9
  1369. VREPRINT = 0x6
  1370. VSTART = 0xc
  1371. VSTATUS = 0x12
  1372. VSTOP = 0xd
  1373. VSUSP = 0xa
  1374. VTIME = 0x11
  1375. VWERASE = 0x4
  1376. WALTSIG = 0x4
  1377. WCONTINUED = 0x8
  1378. WCOREFLAG = 0x80
  1379. WNOHANG = 0x1
  1380. WUNTRACED = 0x2
  1381. )
  1382. // Errors
  1383. const (
  1384. E2BIG = syscall.Errno(0x7)
  1385. EACCES = syscall.Errno(0xd)
  1386. EADDRINUSE = syscall.Errno(0x30)
  1387. EADDRNOTAVAIL = syscall.Errno(0x31)
  1388. EAFNOSUPPORT = syscall.Errno(0x2f)
  1389. EAGAIN = syscall.Errno(0x23)
  1390. EALREADY = syscall.Errno(0x25)
  1391. EAUTH = syscall.Errno(0x50)
  1392. EBADF = syscall.Errno(0x9)
  1393. EBADRPC = syscall.Errno(0x48)
  1394. EBUSY = syscall.Errno(0x10)
  1395. ECANCELED = syscall.Errno(0x58)
  1396. ECHILD = syscall.Errno(0xa)
  1397. ECONNABORTED = syscall.Errno(0x35)
  1398. ECONNREFUSED = syscall.Errno(0x3d)
  1399. ECONNRESET = syscall.Errno(0x36)
  1400. EDEADLK = syscall.Errno(0xb)
  1401. EDESTADDRREQ = syscall.Errno(0x27)
  1402. EDOM = syscall.Errno(0x21)
  1403. EDQUOT = syscall.Errno(0x45)
  1404. EEXIST = syscall.Errno(0x11)
  1405. EFAULT = syscall.Errno(0xe)
  1406. EFBIG = syscall.Errno(0x1b)
  1407. EFTYPE = syscall.Errno(0x4f)
  1408. EHOSTDOWN = syscall.Errno(0x40)
  1409. EHOSTUNREACH = syscall.Errno(0x41)
  1410. EIDRM = syscall.Errno(0x59)
  1411. EILSEQ = syscall.Errno(0x54)
  1412. EINPROGRESS = syscall.Errno(0x24)
  1413. EINTR = syscall.Errno(0x4)
  1414. EINVAL = syscall.Errno(0x16)
  1415. EIO = syscall.Errno(0x5)
  1416. EIPSEC = syscall.Errno(0x52)
  1417. EISCONN = syscall.Errno(0x38)
  1418. EISDIR = syscall.Errno(0x15)
  1419. ELAST = syscall.Errno(0x5b)
  1420. ELOOP = syscall.Errno(0x3e)
  1421. EMEDIUMTYPE = syscall.Errno(0x56)
  1422. EMFILE = syscall.Errno(0x18)
  1423. EMLINK = syscall.Errno(0x1f)
  1424. EMSGSIZE = syscall.Errno(0x28)
  1425. ENAMETOOLONG = syscall.Errno(0x3f)
  1426. ENEEDAUTH = syscall.Errno(0x51)
  1427. ENETDOWN = syscall.Errno(0x32)
  1428. ENETRESET = syscall.Errno(0x34)
  1429. ENETUNREACH = syscall.Errno(0x33)
  1430. ENFILE = syscall.Errno(0x17)
  1431. ENOATTR = syscall.Errno(0x53)
  1432. ENOBUFS = syscall.Errno(0x37)
  1433. ENODEV = syscall.Errno(0x13)
  1434. ENOENT = syscall.Errno(0x2)
  1435. ENOEXEC = syscall.Errno(0x8)
  1436. ENOLCK = syscall.Errno(0x4d)
  1437. ENOMEDIUM = syscall.Errno(0x55)
  1438. ENOMEM = syscall.Errno(0xc)
  1439. ENOMSG = syscall.Errno(0x5a)
  1440. ENOPROTOOPT = syscall.Errno(0x2a)
  1441. ENOSPC = syscall.Errno(0x1c)
  1442. ENOSYS = syscall.Errno(0x4e)
  1443. ENOTBLK = syscall.Errno(0xf)
  1444. ENOTCONN = syscall.Errno(0x39)
  1445. ENOTDIR = syscall.Errno(0x14)
  1446. ENOTEMPTY = syscall.Errno(0x42)
  1447. ENOTSOCK = syscall.Errno(0x26)
  1448. ENOTSUP = syscall.Errno(0x5b)
  1449. ENOTTY = syscall.Errno(0x19)
  1450. ENXIO = syscall.Errno(0x6)
  1451. EOPNOTSUPP = syscall.Errno(0x2d)
  1452. EOVERFLOW = syscall.Errno(0x57)
  1453. EPERM = syscall.Errno(0x1)
  1454. EPFNOSUPPORT = syscall.Errno(0x2e)
  1455. EPIPE = syscall.Errno(0x20)
  1456. EPROCLIM = syscall.Errno(0x43)
  1457. EPROCUNAVAIL = syscall.Errno(0x4c)
  1458. EPROGMISMATCH = syscall.Errno(0x4b)
  1459. EPROGUNAVAIL = syscall.Errno(0x4a)
  1460. EPROTONOSUPPORT = syscall.Errno(0x2b)
  1461. EPROTOTYPE = syscall.Errno(0x29)
  1462. ERANGE = syscall.Errno(0x22)
  1463. EREMOTE = syscall.Errno(0x47)
  1464. EROFS = syscall.Errno(0x1e)
  1465. ERPCMISMATCH = syscall.Errno(0x49)
  1466. ESHUTDOWN = syscall.Errno(0x3a)
  1467. ESOCKTNOSUPPORT = syscall.Errno(0x2c)
  1468. ESPIPE = syscall.Errno(0x1d)
  1469. ESRCH = syscall.Errno(0x3)
  1470. ESTALE = syscall.Errno(0x46)
  1471. ETIMEDOUT = syscall.Errno(0x3c)
  1472. ETOOMANYREFS = syscall.Errno(0x3b)
  1473. ETXTBSY = syscall.Errno(0x1a)
  1474. EUSERS = syscall.Errno(0x44)
  1475. EWOULDBLOCK = syscall.Errno(0x23)
  1476. EXDEV = syscall.Errno(0x12)
  1477. )
  1478. // Signals
  1479. const (
  1480. SIGABRT = syscall.Signal(0x6)
  1481. SIGALRM = syscall.Signal(0xe)
  1482. SIGBUS = syscall.Signal(0xa)
  1483. SIGCHLD = syscall.Signal(0x14)
  1484. SIGCONT = syscall.Signal(0x13)
  1485. SIGEMT = syscall.Signal(0x7)
  1486. SIGFPE = syscall.Signal(0x8)
  1487. SIGHUP = syscall.Signal(0x1)
  1488. SIGILL = syscall.Signal(0x4)
  1489. SIGINFO = syscall.Signal(0x1d)
  1490. SIGINT = syscall.Signal(0x2)
  1491. SIGIO = syscall.Signal(0x17)
  1492. SIGIOT = syscall.Signal(0x6)
  1493. SIGKILL = syscall.Signal(0x9)
  1494. SIGPIPE = syscall.Signal(0xd)
  1495. SIGPROF = syscall.Signal(0x1b)
  1496. SIGQUIT = syscall.Signal(0x3)
  1497. SIGSEGV = syscall.Signal(0xb)
  1498. SIGSTOP = syscall.Signal(0x11)
  1499. SIGSYS = syscall.Signal(0xc)
  1500. SIGTERM = syscall.Signal(0xf)
  1501. SIGTHR = syscall.Signal(0x20)
  1502. SIGTRAP = syscall.Signal(0x5)
  1503. SIGTSTP = syscall.Signal(0x12)
  1504. SIGTTIN = syscall.Signal(0x15)
  1505. SIGTTOU = syscall.Signal(0x16)
  1506. SIGURG = syscall.Signal(0x10)
  1507. SIGUSR1 = syscall.Signal(0x1e)
  1508. SIGUSR2 = syscall.Signal(0x1f)
  1509. SIGVTALRM = syscall.Signal(0x1a)
  1510. SIGWINCH = syscall.Signal(0x1c)
  1511. SIGXCPU = syscall.Signal(0x18)
  1512. SIGXFSZ = syscall.Signal(0x19)
  1513. )
  1514. // Error table
  1515. var errorList = [...]struct {
  1516. num syscall.Errno
  1517. name string
  1518. desc string
  1519. }{
  1520. {1, "EPERM", "operation not permitted"},
  1521. {2, "ENOENT", "no such file or directory"},
  1522. {3, "ESRCH", "no such process"},
  1523. {4, "EINTR", "interrupted system call"},
  1524. {5, "EIO", "input/output error"},
  1525. {6, "ENXIO", "device not configured"},
  1526. {7, "E2BIG", "argument list too long"},
  1527. {8, "ENOEXEC", "exec format error"},
  1528. {9, "EBADF", "bad file descriptor"},
  1529. {10, "ECHILD", "no child processes"},
  1530. {11, "EDEADLK", "resource deadlock avoided"},
  1531. {12, "ENOMEM", "cannot allocate memory"},
  1532. {13, "EACCES", "permission denied"},
  1533. {14, "EFAULT", "bad address"},
  1534. {15, "ENOTBLK", "block device required"},
  1535. {16, "EBUSY", "device busy"},
  1536. {17, "EEXIST", "file exists"},
  1537. {18, "EXDEV", "cross-device link"},
  1538. {19, "ENODEV", "operation not supported by device"},
  1539. {20, "ENOTDIR", "not a directory"},
  1540. {21, "EISDIR", "is a directory"},
  1541. {22, "EINVAL", "invalid argument"},
  1542. {23, "ENFILE", "too many open files in system"},
  1543. {24, "EMFILE", "too many open files"},
  1544. {25, "ENOTTY", "inappropriate ioctl for device"},
  1545. {26, "ETXTBSY", "text file busy"},
  1546. {27, "EFBIG", "file too large"},
  1547. {28, "ENOSPC", "no space left on device"},
  1548. {29, "ESPIPE", "illegal seek"},
  1549. {30, "EROFS", "read-only file system"},
  1550. {31, "EMLINK", "too many links"},
  1551. {32, "EPIPE", "broken pipe"},
  1552. {33, "EDOM", "numerical argument out of domain"},
  1553. {34, "ERANGE", "result too large"},
  1554. {35, "EWOULDBLOCK", "resource temporarily unavailable"},
  1555. {36, "EINPROGRESS", "operation now in progress"},
  1556. {37, "EALREADY", "operation already in progress"},
  1557. {38, "ENOTSOCK", "socket operation on non-socket"},
  1558. {39, "EDESTADDRREQ", "destination address required"},
  1559. {40, "EMSGSIZE", "message too long"},
  1560. {41, "EPROTOTYPE", "protocol wrong type for socket"},
  1561. {42, "ENOPROTOOPT", "protocol not available"},
  1562. {43, "EPROTONOSUPPORT", "protocol not supported"},
  1563. {44, "ESOCKTNOSUPPORT", "socket type not supported"},
  1564. {45, "EOPNOTSUPP", "operation not supported"},
  1565. {46, "EPFNOSUPPORT", "protocol family not supported"},
  1566. {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
  1567. {48, "EADDRINUSE", "address already in use"},
  1568. {49, "EADDRNOTAVAIL", "can't assign requested address"},
  1569. {50, "ENETDOWN", "network is down"},
  1570. {51, "ENETUNREACH", "network is unreachable"},
  1571. {52, "ENETRESET", "network dropped connection on reset"},
  1572. {53, "ECONNABORTED", "software caused connection abort"},
  1573. {54, "ECONNRESET", "connection reset by peer"},
  1574. {55, "ENOBUFS", "no buffer space available"},
  1575. {56, "EISCONN", "socket is already connected"},
  1576. {57, "ENOTCONN", "socket is not connected"},
  1577. {58, "ESHUTDOWN", "can't send after socket shutdown"},
  1578. {59, "ETOOMANYREFS", "too many references: can't splice"},
  1579. {60, "ETIMEDOUT", "operation timed out"},
  1580. {61, "ECONNREFUSED", "connection refused"},
  1581. {62, "ELOOP", "too many levels of symbolic links"},
  1582. {63, "ENAMETOOLONG", "file name too long"},
  1583. {64, "EHOSTDOWN", "host is down"},
  1584. {65, "EHOSTUNREACH", "no route to host"},
  1585. {66, "ENOTEMPTY", "directory not empty"},
  1586. {67, "EPROCLIM", "too many processes"},
  1587. {68, "EUSERS", "too many users"},
  1588. {69, "EDQUOT", "disk quota exceeded"},
  1589. {70, "ESTALE", "stale NFS file handle"},
  1590. {71, "EREMOTE", "too many levels of remote in path"},
  1591. {72, "EBADRPC", "RPC struct is bad"},
  1592. {73, "ERPCMISMATCH", "RPC version wrong"},
  1593. {74, "EPROGUNAVAIL", "RPC program not available"},
  1594. {75, "EPROGMISMATCH", "program version wrong"},
  1595. {76, "EPROCUNAVAIL", "bad procedure for program"},
  1596. {77, "ENOLCK", "no locks available"},
  1597. {78, "ENOSYS", "function not implemented"},
  1598. {79, "EFTYPE", "inappropriate file type or format"},
  1599. {80, "EAUTH", "authentication error"},
  1600. {81, "ENEEDAUTH", "need authenticator"},
  1601. {82, "EIPSEC", "IPsec processing failure"},
  1602. {83, "ENOATTR", "attribute not found"},
  1603. {84, "EILSEQ", "illegal byte sequence"},
  1604. {85, "ENOMEDIUM", "no medium found"},
  1605. {86, "EMEDIUMTYPE", "wrong medium type"},
  1606. {87, "EOVERFLOW", "value too large to be stored in data type"},
  1607. {88, "ECANCELED", "operation canceled"},
  1608. {89, "EIDRM", "identifier removed"},
  1609. {90, "ENOMSG", "no message of desired type"},
  1610. {91, "ELAST", "not supported"},
  1611. }
  1612. // Signal table
  1613. var signalList = [...]struct {
  1614. num syscall.Signal
  1615. name string
  1616. desc string
  1617. }{
  1618. {1, "SIGHUP", "hangup"},
  1619. {2, "SIGINT", "interrupt"},
  1620. {3, "SIGQUIT", "quit"},
  1621. {4, "SIGILL", "illegal instruction"},
  1622. {5, "SIGTRAP", "trace/BPT trap"},
  1623. {6, "SIGABRT", "abort trap"},
  1624. {7, "SIGEMT", "EMT trap"},
  1625. {8, "SIGFPE", "floating point exception"},
  1626. {9, "SIGKILL", "killed"},
  1627. {10, "SIGBUS", "bus error"},
  1628. {11, "SIGSEGV", "segmentation fault"},
  1629. {12, "SIGSYS", "bad system call"},
  1630. {13, "SIGPIPE", "broken pipe"},
  1631. {14, "SIGALRM", "alarm clock"},
  1632. {15, "SIGTERM", "terminated"},
  1633. {16, "SIGURG", "urgent I/O condition"},
  1634. {17, "SIGSTOP", "suspended (signal)"},
  1635. {18, "SIGTSTP", "suspended"},
  1636. {19, "SIGCONT", "continued"},
  1637. {20, "SIGCHLD", "child exited"},
  1638. {21, "SIGTTIN", "stopped (tty input)"},
  1639. {22, "SIGTTOU", "stopped (tty output)"},
  1640. {23, "SIGIO", "I/O possible"},
  1641. {24, "SIGXCPU", "cputime limit exceeded"},
  1642. {25, "SIGXFSZ", "filesize limit exceeded"},
  1643. {26, "SIGVTALRM", "virtual timer expired"},
  1644. {27, "SIGPROF", "profiling timer expired"},
  1645. {28, "SIGWINCH", "window size changes"},
  1646. {29, "SIGINFO", "information request"},
  1647. {30, "SIGUSR1", "user defined signal 1"},
  1648. {31, "SIGUSR2", "user defined signal 2"},
  1649. {32, "SIGTHR", "thread AST"},
  1650. }