zerrors_dragonfly_amd64.go 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651
  1. // mkerrors.sh -m64
  2. // Code generated by the command above; see README.md. DO NOT EDIT.
  3. // +build amd64,dragonfly
  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_APPLETALK = 0x10
  10. AF_ATM = 0x1e
  11. AF_BLUETOOTH = 0x21
  12. AF_CCITT = 0xa
  13. AF_CHAOS = 0x5
  14. AF_CNT = 0x15
  15. AF_COIP = 0x14
  16. AF_DATAKIT = 0x9
  17. AF_DECnet = 0xc
  18. AF_DLI = 0xd
  19. AF_E164 = 0x1a
  20. AF_ECMA = 0x8
  21. AF_HYLINK = 0xf
  22. AF_IEEE80211 = 0x23
  23. AF_IMPLINK = 0x3
  24. AF_INET = 0x2
  25. AF_INET6 = 0x1c
  26. AF_IPX = 0x17
  27. AF_ISDN = 0x1a
  28. AF_ISO = 0x7
  29. AF_LAT = 0xe
  30. AF_LINK = 0x12
  31. AF_LOCAL = 0x1
  32. AF_MAX = 0x24
  33. AF_MPLS = 0x22
  34. AF_NATM = 0x1d
  35. AF_NETBIOS = 0x6
  36. AF_NETGRAPH = 0x20
  37. AF_OSI = 0x7
  38. AF_PUP = 0x4
  39. AF_ROUTE = 0x11
  40. AF_SIP = 0x18
  41. AF_SNA = 0xb
  42. AF_UNIX = 0x1
  43. AF_UNSPEC = 0x0
  44. ALTWERASE = 0x200
  45. B0 = 0x0
  46. B110 = 0x6e
  47. B115200 = 0x1c200
  48. B1200 = 0x4b0
  49. B134 = 0x86
  50. B14400 = 0x3840
  51. B150 = 0x96
  52. B1800 = 0x708
  53. B19200 = 0x4b00
  54. B200 = 0xc8
  55. B230400 = 0x38400
  56. B2400 = 0x960
  57. B28800 = 0x7080
  58. B300 = 0x12c
  59. B38400 = 0x9600
  60. B4800 = 0x12c0
  61. B50 = 0x32
  62. B57600 = 0xe100
  63. B600 = 0x258
  64. B7200 = 0x1c20
  65. B75 = 0x4b
  66. B76800 = 0x12c00
  67. B9600 = 0x2580
  68. BIOCFLUSH = 0x20004268
  69. BIOCGBLEN = 0x40044266
  70. BIOCGDLT = 0x4004426a
  71. BIOCGDLTLIST = 0xc0104279
  72. BIOCGETIF = 0x4020426b
  73. BIOCGHDRCMPLT = 0x40044274
  74. BIOCGRSIG = 0x40044272
  75. BIOCGRTIMEOUT = 0x4010426e
  76. BIOCGSEESENT = 0x40044276
  77. BIOCGSTATS = 0x4008426f
  78. BIOCIMMEDIATE = 0x80044270
  79. BIOCLOCK = 0x2000427a
  80. BIOCPROMISC = 0x20004269
  81. BIOCSBLEN = 0xc0044266
  82. BIOCSDLT = 0x80044278
  83. BIOCSETF = 0x80104267
  84. BIOCSETIF = 0x8020426c
  85. BIOCSETWF = 0x8010427b
  86. BIOCSHDRCMPLT = 0x80044275
  87. BIOCSRSIG = 0x80044273
  88. BIOCSRTIMEOUT = 0x8010426d
  89. BIOCSSEESENT = 0x80044277
  90. BIOCVERSION = 0x40044271
  91. BPF_A = 0x10
  92. BPF_ABS = 0x20
  93. BPF_ADD = 0x0
  94. BPF_ALIGNMENT = 0x8
  95. BPF_ALU = 0x4
  96. BPF_AND = 0x50
  97. BPF_B = 0x10
  98. BPF_DEFAULTBUFSIZE = 0x1000
  99. BPF_DIV = 0x30
  100. BPF_H = 0x8
  101. BPF_IMM = 0x0
  102. BPF_IND = 0x40
  103. BPF_JA = 0x0
  104. BPF_JEQ = 0x10
  105. BPF_JGE = 0x30
  106. BPF_JGT = 0x20
  107. BPF_JMP = 0x5
  108. BPF_JSET = 0x40
  109. BPF_K = 0x0
  110. BPF_LD = 0x0
  111. BPF_LDX = 0x1
  112. BPF_LEN = 0x80
  113. BPF_LSH = 0x60
  114. BPF_MAJOR_VERSION = 0x1
  115. BPF_MAXBUFSIZE = 0x80000
  116. BPF_MAXINSNS = 0x200
  117. BPF_MAX_CLONES = 0x80
  118. BPF_MEM = 0x60
  119. BPF_MEMWORDS = 0x10
  120. BPF_MINBUFSIZE = 0x20
  121. BPF_MINOR_VERSION = 0x1
  122. BPF_MISC = 0x7
  123. BPF_MSH = 0xa0
  124. BPF_MUL = 0x20
  125. BPF_NEG = 0x80
  126. BPF_OR = 0x40
  127. BPF_RELEASE = 0x30bb6
  128. BPF_RET = 0x6
  129. BPF_RSH = 0x70
  130. BPF_ST = 0x2
  131. BPF_STX = 0x3
  132. BPF_SUB = 0x10
  133. BPF_TAX = 0x0
  134. BPF_TXA = 0x80
  135. BPF_W = 0x0
  136. BPF_X = 0x8
  137. BRKINT = 0x2
  138. CFLUSH = 0xf
  139. CLOCAL = 0x8000
  140. CLOCK_MONOTONIC = 0x4
  141. CLOCK_MONOTONIC_FAST = 0xc
  142. CLOCK_MONOTONIC_PRECISE = 0xb
  143. CLOCK_PROCESS_CPUTIME_ID = 0xf
  144. CLOCK_PROF = 0x2
  145. CLOCK_REALTIME = 0x0
  146. CLOCK_REALTIME_FAST = 0xa
  147. CLOCK_REALTIME_PRECISE = 0x9
  148. CLOCK_SECOND = 0xd
  149. CLOCK_THREAD_CPUTIME_ID = 0xe
  150. CLOCK_UPTIME = 0x5
  151. CLOCK_UPTIME_FAST = 0x8
  152. CLOCK_UPTIME_PRECISE = 0x7
  153. CLOCK_VIRTUAL = 0x1
  154. CREAD = 0x800
  155. CRTSCTS = 0x30000
  156. CS5 = 0x0
  157. CS6 = 0x100
  158. CS7 = 0x200
  159. CS8 = 0x300
  160. CSIZE = 0x300
  161. CSTART = 0x11
  162. CSTATUS = 0x14
  163. CSTOP = 0x13
  164. CSTOPB = 0x400
  165. CSUSP = 0x1a
  166. CTL_HW = 0x6
  167. CTL_KERN = 0x1
  168. CTL_MAXNAME = 0xc
  169. CTL_NET = 0x4
  170. DLT_A429 = 0xb8
  171. DLT_A653_ICM = 0xb9
  172. DLT_AIRONET_HEADER = 0x78
  173. DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
  174. DLT_ARCNET = 0x7
  175. DLT_ARCNET_LINUX = 0x81
  176. DLT_ATM_CLIP = 0x13
  177. DLT_ATM_RFC1483 = 0xb
  178. DLT_AURORA = 0x7e
  179. DLT_AX25 = 0x3
  180. DLT_AX25_KISS = 0xca
  181. DLT_BACNET_MS_TP = 0xa5
  182. DLT_BLUETOOTH_HCI_H4 = 0xbb
  183. DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
  184. DLT_CAN20B = 0xbe
  185. DLT_CHAOS = 0x5
  186. DLT_CHDLC = 0x68
  187. DLT_CISCO_IOS = 0x76
  188. DLT_C_HDLC = 0x68
  189. DLT_C_HDLC_WITH_DIR = 0xcd
  190. DLT_DOCSIS = 0x8f
  191. DLT_ECONET = 0x73
  192. DLT_EN10MB = 0x1
  193. DLT_EN3MB = 0x2
  194. DLT_ENC = 0x6d
  195. DLT_ERF = 0xc5
  196. DLT_ERF_ETH = 0xaf
  197. DLT_ERF_POS = 0xb0
  198. DLT_FDDI = 0xa
  199. DLT_FLEXRAY = 0xd2
  200. DLT_FRELAY = 0x6b
  201. DLT_FRELAY_WITH_DIR = 0xce
  202. DLT_GCOM_SERIAL = 0xad
  203. DLT_GCOM_T1E1 = 0xac
  204. DLT_GPF_F = 0xab
  205. DLT_GPF_T = 0xaa
  206. DLT_GPRS_LLC = 0xa9
  207. DLT_HHDLC = 0x79
  208. DLT_IBM_SN = 0x92
  209. DLT_IBM_SP = 0x91
  210. DLT_IEEE802 = 0x6
  211. DLT_IEEE802_11 = 0x69
  212. DLT_IEEE802_11_RADIO = 0x7f
  213. DLT_IEEE802_11_RADIO_AVS = 0xa3
  214. DLT_IEEE802_15_4 = 0xc3
  215. DLT_IEEE802_15_4_LINUX = 0xbf
  216. DLT_IEEE802_15_4_NONASK_PHY = 0xd7
  217. DLT_IEEE802_16_MAC_CPS = 0xbc
  218. DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
  219. DLT_IPFILTER = 0x74
  220. DLT_IPMB = 0xc7
  221. DLT_IPMB_LINUX = 0xd1
  222. DLT_IP_OVER_FC = 0x7a
  223. DLT_JUNIPER_ATM1 = 0x89
  224. DLT_JUNIPER_ATM2 = 0x87
  225. DLT_JUNIPER_CHDLC = 0xb5
  226. DLT_JUNIPER_ES = 0x84
  227. DLT_JUNIPER_ETHER = 0xb2
  228. DLT_JUNIPER_FRELAY = 0xb4
  229. DLT_JUNIPER_GGSN = 0x85
  230. DLT_JUNIPER_ISM = 0xc2
  231. DLT_JUNIPER_MFR = 0x86
  232. DLT_JUNIPER_MLFR = 0x83
  233. DLT_JUNIPER_MLPPP = 0x82
  234. DLT_JUNIPER_MONITOR = 0xa4
  235. DLT_JUNIPER_PIC_PEER = 0xae
  236. DLT_JUNIPER_PPP = 0xb3
  237. DLT_JUNIPER_PPPOE = 0xa7
  238. DLT_JUNIPER_PPPOE_ATM = 0xa8
  239. DLT_JUNIPER_SERVICES = 0x88
  240. DLT_JUNIPER_ST = 0xc8
  241. DLT_JUNIPER_VP = 0xb7
  242. DLT_LAPB_WITH_DIR = 0xcf
  243. DLT_LAPD = 0xcb
  244. DLT_LIN = 0xd4
  245. DLT_LINUX_IRDA = 0x90
  246. DLT_LINUX_LAPD = 0xb1
  247. DLT_LINUX_SLL = 0x71
  248. DLT_LOOP = 0x6c
  249. DLT_LTALK = 0x72
  250. DLT_MFR = 0xb6
  251. DLT_MOST = 0xd3
  252. DLT_MTP2 = 0x8c
  253. DLT_MTP2_WITH_PHDR = 0x8b
  254. DLT_MTP3 = 0x8d
  255. DLT_NULL = 0x0
  256. DLT_PCI_EXP = 0x7d
  257. DLT_PFLOG = 0x75
  258. DLT_PFSYNC = 0x12
  259. DLT_PPI = 0xc0
  260. DLT_PPP = 0x9
  261. DLT_PPP_BSDOS = 0x10
  262. DLT_PPP_ETHER = 0x33
  263. DLT_PPP_PPPD = 0xa6
  264. DLT_PPP_SERIAL = 0x32
  265. DLT_PPP_WITH_DIR = 0xcc
  266. DLT_PRISM_HEADER = 0x77
  267. DLT_PRONET = 0x4
  268. DLT_RAIF1 = 0xc6
  269. DLT_RAW = 0xc
  270. DLT_REDBACK_SMARTEDGE = 0x20
  271. DLT_RIO = 0x7c
  272. DLT_SCCP = 0x8e
  273. DLT_SITA = 0xc4
  274. DLT_SLIP = 0x8
  275. DLT_SLIP_BSDOS = 0xf
  276. DLT_SUNATM = 0x7b
  277. DLT_SYMANTEC_FIREWALL = 0x63
  278. DLT_TZSP = 0x80
  279. DLT_USB = 0xba
  280. DLT_USB_LINUX = 0xbd
  281. DLT_X2E_SERIAL = 0xd5
  282. DLT_X2E_XORAYA = 0xd6
  283. DT_BLK = 0x6
  284. DT_CHR = 0x2
  285. DT_DBF = 0xf
  286. DT_DIR = 0x4
  287. DT_FIFO = 0x1
  288. DT_LNK = 0xa
  289. DT_REG = 0x8
  290. DT_SOCK = 0xc
  291. DT_UNKNOWN = 0x0
  292. DT_WHT = 0xe
  293. ECHO = 0x8
  294. ECHOCTL = 0x40
  295. ECHOE = 0x2
  296. ECHOK = 0x4
  297. ECHOKE = 0x1
  298. ECHONL = 0x10
  299. ECHOPRT = 0x20
  300. EVFILT_AIO = -0x3
  301. EVFILT_EXCEPT = -0x8
  302. EVFILT_FS = -0xa
  303. EVFILT_MARKER = 0xf
  304. EVFILT_PROC = -0x5
  305. EVFILT_READ = -0x1
  306. EVFILT_SIGNAL = -0x6
  307. EVFILT_SYSCOUNT = 0xa
  308. EVFILT_TIMER = -0x7
  309. EVFILT_USER = -0x9
  310. EVFILT_VNODE = -0x4
  311. EVFILT_WRITE = -0x2
  312. EV_ADD = 0x1
  313. EV_CLEAR = 0x20
  314. EV_DELETE = 0x2
  315. EV_DISABLE = 0x8
  316. EV_DISPATCH = 0x80
  317. EV_ENABLE = 0x4
  318. EV_EOF = 0x8000
  319. EV_ERROR = 0x4000
  320. EV_FLAG1 = 0x2000
  321. EV_NODATA = 0x1000
  322. EV_ONESHOT = 0x10
  323. EV_RECEIPT = 0x40
  324. EV_SYSFLAGS = 0xf000
  325. EXTA = 0x4b00
  326. EXTB = 0x9600
  327. EXTEXIT_LWP = 0x10000
  328. EXTEXIT_PROC = 0x0
  329. EXTEXIT_SETINT = 0x1
  330. EXTEXIT_SIMPLE = 0x0
  331. EXTPROC = 0x800
  332. FD_CLOEXEC = 0x1
  333. FD_SETSIZE = 0x400
  334. FLUSHO = 0x800000
  335. F_DUP2FD = 0xa
  336. F_DUP2FD_CLOEXEC = 0x12
  337. F_DUPFD = 0x0
  338. F_DUPFD_CLOEXEC = 0x11
  339. F_GETFD = 0x1
  340. F_GETFL = 0x3
  341. F_GETLK = 0x7
  342. F_GETOWN = 0x5
  343. F_OK = 0x0
  344. F_RDLCK = 0x1
  345. F_SETFD = 0x2
  346. F_SETFL = 0x4
  347. F_SETLK = 0x8
  348. F_SETLKW = 0x9
  349. F_SETOWN = 0x6
  350. F_UNLCK = 0x2
  351. F_WRLCK = 0x3
  352. HUPCL = 0x4000
  353. HW_MACHINE = 0x1
  354. ICANON = 0x100
  355. ICMP6_FILTER = 0x12
  356. ICRNL = 0x100
  357. IEXTEN = 0x400
  358. IFAN_ARRIVAL = 0x0
  359. IFAN_DEPARTURE = 0x1
  360. IFF_ALLMULTI = 0x200
  361. IFF_ALTPHYS = 0x4000
  362. IFF_BROADCAST = 0x2
  363. IFF_CANTCHANGE = 0x118e72
  364. IFF_DEBUG = 0x4
  365. IFF_LINK0 = 0x1000
  366. IFF_LINK1 = 0x2000
  367. IFF_LINK2 = 0x4000
  368. IFF_LOOPBACK = 0x8
  369. IFF_MONITOR = 0x40000
  370. IFF_MULTICAST = 0x8000
  371. IFF_NOARP = 0x80
  372. IFF_NPOLLING = 0x100000
  373. IFF_OACTIVE = 0x400
  374. IFF_OACTIVE_COMPAT = 0x400
  375. IFF_POINTOPOINT = 0x10
  376. IFF_POLLING = 0x10000
  377. IFF_POLLING_COMPAT = 0x10000
  378. IFF_PPROMISC = 0x20000
  379. IFF_PROMISC = 0x100
  380. IFF_RUNNING = 0x40
  381. IFF_SIMPLEX = 0x800
  382. IFF_SMART = 0x20
  383. IFF_STATICARP = 0x80000
  384. IFF_UP = 0x1
  385. IFNAMSIZ = 0x10
  386. IFT_1822 = 0x2
  387. IFT_A12MPPSWITCH = 0x82
  388. IFT_AAL2 = 0xbb
  389. IFT_AAL5 = 0x31
  390. IFT_ADSL = 0x5e
  391. IFT_AFLANE8023 = 0x3b
  392. IFT_AFLANE8025 = 0x3c
  393. IFT_ARAP = 0x58
  394. IFT_ARCNET = 0x23
  395. IFT_ARCNETPLUS = 0x24
  396. IFT_ASYNC = 0x54
  397. IFT_ATM = 0x25
  398. IFT_ATMDXI = 0x69
  399. IFT_ATMFUNI = 0x6a
  400. IFT_ATMIMA = 0x6b
  401. IFT_ATMLOGICAL = 0x50
  402. IFT_ATMRADIO = 0xbd
  403. IFT_ATMSUBINTERFACE = 0x86
  404. IFT_ATMVCIENDPT = 0xc2
  405. IFT_ATMVIRTUAL = 0x95
  406. IFT_BGPPOLICYACCOUNTING = 0xa2
  407. IFT_BRIDGE = 0xd1
  408. IFT_BSC = 0x53
  409. IFT_CARP = 0xf8
  410. IFT_CCTEMUL = 0x3d
  411. IFT_CEPT = 0x13
  412. IFT_CES = 0x85
  413. IFT_CHANNEL = 0x46
  414. IFT_CNR = 0x55
  415. IFT_COFFEE = 0x84
  416. IFT_COMPOSITELINK = 0x9b
  417. IFT_DCN = 0x8d
  418. IFT_DIGITALPOWERLINE = 0x8a
  419. IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
  420. IFT_DLSW = 0x4a
  421. IFT_DOCSCABLEDOWNSTREAM = 0x80
  422. IFT_DOCSCABLEMACLAYER = 0x7f
  423. IFT_DOCSCABLEUPSTREAM = 0x81
  424. IFT_DS0 = 0x51
  425. IFT_DS0BUNDLE = 0x52
  426. IFT_DS1FDL = 0xaa
  427. IFT_DS3 = 0x1e
  428. IFT_DTM = 0x8c
  429. IFT_DVBASILN = 0xac
  430. IFT_DVBASIOUT = 0xad
  431. IFT_DVBRCCDOWNSTREAM = 0x93
  432. IFT_DVBRCCMACLAYER = 0x92
  433. IFT_DVBRCCUPSTREAM = 0x94
  434. IFT_ENC = 0xf4
  435. IFT_EON = 0x19
  436. IFT_EPLRS = 0x57
  437. IFT_ESCON = 0x49
  438. IFT_ETHER = 0x6
  439. IFT_FAITH = 0xf2
  440. IFT_FAST = 0x7d
  441. IFT_FASTETHER = 0x3e
  442. IFT_FASTETHERFX = 0x45
  443. IFT_FDDI = 0xf
  444. IFT_FIBRECHANNEL = 0x38
  445. IFT_FRAMERELAYINTERCONNECT = 0x3a
  446. IFT_FRAMERELAYMPI = 0x5c
  447. IFT_FRDLCIENDPT = 0xc1
  448. IFT_FRELAY = 0x20
  449. IFT_FRELAYDCE = 0x2c
  450. IFT_FRF16MFRBUNDLE = 0xa3
  451. IFT_FRFORWARD = 0x9e
  452. IFT_G703AT2MB = 0x43
  453. IFT_G703AT64K = 0x42
  454. IFT_GIF = 0xf0
  455. IFT_GIGABITETHERNET = 0x75
  456. IFT_GR303IDT = 0xb2
  457. IFT_GR303RDT = 0xb1
  458. IFT_H323GATEKEEPER = 0xa4
  459. IFT_H323PROXY = 0xa5
  460. IFT_HDH1822 = 0x3
  461. IFT_HDLC = 0x76
  462. IFT_HDSL2 = 0xa8
  463. IFT_HIPERLAN2 = 0xb7
  464. IFT_HIPPI = 0x2f
  465. IFT_HIPPIINTERFACE = 0x39
  466. IFT_HOSTPAD = 0x5a
  467. IFT_HSSI = 0x2e
  468. IFT_HY = 0xe
  469. IFT_IBM370PARCHAN = 0x48
  470. IFT_IDSL = 0x9a
  471. IFT_IEEE1394 = 0x90
  472. IFT_IEEE80211 = 0x47
  473. IFT_IEEE80212 = 0x37
  474. IFT_IEEE8023ADLAG = 0xa1
  475. IFT_IFGSN = 0x91
  476. IFT_IMT = 0xbe
  477. IFT_INTERLEAVE = 0x7c
  478. IFT_IP = 0x7e
  479. IFT_IPFORWARD = 0x8e
  480. IFT_IPOVERATM = 0x72
  481. IFT_IPOVERCDLC = 0x6d
  482. IFT_IPOVERCLAW = 0x6e
  483. IFT_IPSWITCH = 0x4e
  484. IFT_ISDN = 0x3f
  485. IFT_ISDNBASIC = 0x14
  486. IFT_ISDNPRIMARY = 0x15
  487. IFT_ISDNS = 0x4b
  488. IFT_ISDNU = 0x4c
  489. IFT_ISO88022LLC = 0x29
  490. IFT_ISO88023 = 0x7
  491. IFT_ISO88024 = 0x8
  492. IFT_ISO88025 = 0x9
  493. IFT_ISO88025CRFPINT = 0x62
  494. IFT_ISO88025DTR = 0x56
  495. IFT_ISO88025FIBER = 0x73
  496. IFT_ISO88026 = 0xa
  497. IFT_ISUP = 0xb3
  498. IFT_L2VLAN = 0x87
  499. IFT_L3IPVLAN = 0x88
  500. IFT_L3IPXVLAN = 0x89
  501. IFT_LAPB = 0x10
  502. IFT_LAPD = 0x4d
  503. IFT_LAPF = 0x77
  504. IFT_LOCALTALK = 0x2a
  505. IFT_LOOP = 0x18
  506. IFT_MEDIAMAILOVERIP = 0x8b
  507. IFT_MFSIGLINK = 0xa7
  508. IFT_MIOX25 = 0x26
  509. IFT_MODEM = 0x30
  510. IFT_MPC = 0x71
  511. IFT_MPLS = 0xa6
  512. IFT_MPLSTUNNEL = 0x96
  513. IFT_MSDSL = 0x8f
  514. IFT_MVL = 0xbf
  515. IFT_MYRINET = 0x63
  516. IFT_NFAS = 0xaf
  517. IFT_NSIP = 0x1b
  518. IFT_OPTICALCHANNEL = 0xc3
  519. IFT_OPTICALTRANSPORT = 0xc4
  520. IFT_OTHER = 0x1
  521. IFT_P10 = 0xc
  522. IFT_P80 = 0xd
  523. IFT_PARA = 0x22
  524. IFT_PFLOG = 0xf5
  525. IFT_PFSYNC = 0xf6
  526. IFT_PLC = 0xae
  527. IFT_POS = 0xab
  528. IFT_PPP = 0x17
  529. IFT_PPPMULTILINKBUNDLE = 0x6c
  530. IFT_PROPBWAP2MP = 0xb8
  531. IFT_PROPCNLS = 0x59
  532. IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
  533. IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
  534. IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
  535. IFT_PROPMUX = 0x36
  536. IFT_PROPVIRTUAL = 0x35
  537. IFT_PROPWIRELESSP2P = 0x9d
  538. IFT_PTPSERIAL = 0x16
  539. IFT_PVC = 0xf1
  540. IFT_QLLC = 0x44
  541. IFT_RADIOMAC = 0xbc
  542. IFT_RADSL = 0x5f
  543. IFT_REACHDSL = 0xc0
  544. IFT_RFC1483 = 0x9f
  545. IFT_RS232 = 0x21
  546. IFT_RSRB = 0x4f
  547. IFT_SDLC = 0x11
  548. IFT_SDSL = 0x60
  549. IFT_SHDSL = 0xa9
  550. IFT_SIP = 0x1f
  551. IFT_SLIP = 0x1c
  552. IFT_SMDSDXI = 0x2b
  553. IFT_SMDSICIP = 0x34
  554. IFT_SONET = 0x27
  555. IFT_SONETOVERHEADCHANNEL = 0xb9
  556. IFT_SONETPATH = 0x32
  557. IFT_SONETVT = 0x33
  558. IFT_SRP = 0x97
  559. IFT_SS7SIGLINK = 0x9c
  560. IFT_STACKTOSTACK = 0x6f
  561. IFT_STARLAN = 0xb
  562. IFT_STF = 0xf3
  563. IFT_T1 = 0x12
  564. IFT_TDLC = 0x74
  565. IFT_TERMPAD = 0x5b
  566. IFT_TR008 = 0xb0
  567. IFT_TRANSPHDLC = 0x7b
  568. IFT_TUNNEL = 0x83
  569. IFT_ULTRA = 0x1d
  570. IFT_USB = 0xa0
  571. IFT_V11 = 0x40
  572. IFT_V35 = 0x2d
  573. IFT_V36 = 0x41
  574. IFT_V37 = 0x78
  575. IFT_VDSL = 0x61
  576. IFT_VIRTUALIPADDRESS = 0x70
  577. IFT_VOICEEM = 0x64
  578. IFT_VOICEENCAP = 0x67
  579. IFT_VOICEFXO = 0x65
  580. IFT_VOICEFXS = 0x66
  581. IFT_VOICEOVERATM = 0x98
  582. IFT_VOICEOVERFRAMERELAY = 0x99
  583. IFT_VOICEOVERIP = 0x68
  584. IFT_X213 = 0x5d
  585. IFT_X25 = 0x5
  586. IFT_X25DDN = 0x4
  587. IFT_X25HUNTGROUP = 0x7a
  588. IFT_X25MLP = 0x79
  589. IFT_X25PLE = 0x28
  590. IFT_XETHER = 0x1a
  591. IGNBRK = 0x1
  592. IGNCR = 0x80
  593. IGNPAR = 0x4
  594. IMAXBEL = 0x2000
  595. INLCR = 0x40
  596. INPCK = 0x10
  597. IN_CLASSA_HOST = 0xffffff
  598. IN_CLASSA_MAX = 0x80
  599. IN_CLASSA_NET = 0xff000000
  600. IN_CLASSA_NSHIFT = 0x18
  601. IN_CLASSB_HOST = 0xffff
  602. IN_CLASSB_MAX = 0x10000
  603. IN_CLASSB_NET = 0xffff0000
  604. IN_CLASSB_NSHIFT = 0x10
  605. IN_CLASSC_HOST = 0xff
  606. IN_CLASSC_NET = 0xffffff00
  607. IN_CLASSC_NSHIFT = 0x8
  608. IN_CLASSD_HOST = 0xfffffff
  609. IN_CLASSD_NET = 0xf0000000
  610. IN_CLASSD_NSHIFT = 0x1c
  611. IN_LOOPBACKNET = 0x7f
  612. IPPROTO_3PC = 0x22
  613. IPPROTO_ADFS = 0x44
  614. IPPROTO_AH = 0x33
  615. IPPROTO_AHIP = 0x3d
  616. IPPROTO_APES = 0x63
  617. IPPROTO_ARGUS = 0xd
  618. IPPROTO_AX25 = 0x5d
  619. IPPROTO_BHA = 0x31
  620. IPPROTO_BLT = 0x1e
  621. IPPROTO_BRSATMON = 0x4c
  622. IPPROTO_CARP = 0x70
  623. IPPROTO_CFTP = 0x3e
  624. IPPROTO_CHAOS = 0x10
  625. IPPROTO_CMTP = 0x26
  626. IPPROTO_CPHB = 0x49
  627. IPPROTO_CPNX = 0x48
  628. IPPROTO_DDP = 0x25
  629. IPPROTO_DGP = 0x56
  630. IPPROTO_DIVERT = 0xfe
  631. IPPROTO_DONE = 0x101
  632. IPPROTO_DSTOPTS = 0x3c
  633. IPPROTO_EGP = 0x8
  634. IPPROTO_EMCON = 0xe
  635. IPPROTO_ENCAP = 0x62
  636. IPPROTO_EON = 0x50
  637. IPPROTO_ESP = 0x32
  638. IPPROTO_ETHERIP = 0x61
  639. IPPROTO_FRAGMENT = 0x2c
  640. IPPROTO_GGP = 0x3
  641. IPPROTO_GMTP = 0x64
  642. IPPROTO_GRE = 0x2f
  643. IPPROTO_HELLO = 0x3f
  644. IPPROTO_HMP = 0x14
  645. IPPROTO_HOPOPTS = 0x0
  646. IPPROTO_ICMP = 0x1
  647. IPPROTO_ICMPV6 = 0x3a
  648. IPPROTO_IDP = 0x16
  649. IPPROTO_IDPR = 0x23
  650. IPPROTO_IDRP = 0x2d
  651. IPPROTO_IGMP = 0x2
  652. IPPROTO_IGP = 0x55
  653. IPPROTO_IGRP = 0x58
  654. IPPROTO_IL = 0x28
  655. IPPROTO_INLSP = 0x34
  656. IPPROTO_INP = 0x20
  657. IPPROTO_IP = 0x0
  658. IPPROTO_IPCOMP = 0x6c
  659. IPPROTO_IPCV = 0x47
  660. IPPROTO_IPEIP = 0x5e
  661. IPPROTO_IPIP = 0x4
  662. IPPROTO_IPPC = 0x43
  663. IPPROTO_IPV4 = 0x4
  664. IPPROTO_IPV6 = 0x29
  665. IPPROTO_IRTP = 0x1c
  666. IPPROTO_KRYPTOLAN = 0x41
  667. IPPROTO_LARP = 0x5b
  668. IPPROTO_LEAF1 = 0x19
  669. IPPROTO_LEAF2 = 0x1a
  670. IPPROTO_MAX = 0x100
  671. IPPROTO_MAXID = 0x34
  672. IPPROTO_MEAS = 0x13
  673. IPPROTO_MHRP = 0x30
  674. IPPROTO_MICP = 0x5f
  675. IPPROTO_MOBILE = 0x37
  676. IPPROTO_MTP = 0x5c
  677. IPPROTO_MUX = 0x12
  678. IPPROTO_ND = 0x4d
  679. IPPROTO_NHRP = 0x36
  680. IPPROTO_NONE = 0x3b
  681. IPPROTO_NSP = 0x1f
  682. IPPROTO_NVPII = 0xb
  683. IPPROTO_OSPFIGP = 0x59
  684. IPPROTO_PFSYNC = 0xf0
  685. IPPROTO_PGM = 0x71
  686. IPPROTO_PIGP = 0x9
  687. IPPROTO_PIM = 0x67
  688. IPPROTO_PRM = 0x15
  689. IPPROTO_PUP = 0xc
  690. IPPROTO_PVP = 0x4b
  691. IPPROTO_RAW = 0xff
  692. IPPROTO_RCCMON = 0xa
  693. IPPROTO_RDP = 0x1b
  694. IPPROTO_ROUTING = 0x2b
  695. IPPROTO_RSVP = 0x2e
  696. IPPROTO_RVD = 0x42
  697. IPPROTO_SATEXPAK = 0x40
  698. IPPROTO_SATMON = 0x45
  699. IPPROTO_SCCSP = 0x60
  700. IPPROTO_SDRP = 0x2a
  701. IPPROTO_SEP = 0x21
  702. IPPROTO_SKIP = 0x39
  703. IPPROTO_SRPC = 0x5a
  704. IPPROTO_ST = 0x7
  705. IPPROTO_SVMTP = 0x52
  706. IPPROTO_SWIPE = 0x35
  707. IPPROTO_TCF = 0x57
  708. IPPROTO_TCP = 0x6
  709. IPPROTO_TLSP = 0x38
  710. IPPROTO_TP = 0x1d
  711. IPPROTO_TPXX = 0x27
  712. IPPROTO_TRUNK1 = 0x17
  713. IPPROTO_TRUNK2 = 0x18
  714. IPPROTO_TTP = 0x54
  715. IPPROTO_UDP = 0x11
  716. IPPROTO_UNKNOWN = 0x102
  717. IPPROTO_VINES = 0x53
  718. IPPROTO_VISA = 0x46
  719. IPPROTO_VMTP = 0x51
  720. IPPROTO_WBEXPAK = 0x4f
  721. IPPROTO_WBMON = 0x4e
  722. IPPROTO_WSN = 0x4a
  723. IPPROTO_XNET = 0xf
  724. IPPROTO_XTP = 0x24
  725. IPV6_AUTOFLOWLABEL = 0x3b
  726. IPV6_BINDV6ONLY = 0x1b
  727. IPV6_CHECKSUM = 0x1a
  728. IPV6_DEFAULT_MULTICAST_HOPS = 0x1
  729. IPV6_DEFAULT_MULTICAST_LOOP = 0x1
  730. IPV6_DEFHLIM = 0x40
  731. IPV6_DONTFRAG = 0x3e
  732. IPV6_DSTOPTS = 0x32
  733. IPV6_FAITH = 0x1d
  734. IPV6_FLOWINFO_MASK = 0xffffff0f
  735. IPV6_FLOWLABEL_MASK = 0xffff0f00
  736. IPV6_FRAGTTL = 0x78
  737. IPV6_FW_ADD = 0x1e
  738. IPV6_FW_DEL = 0x1f
  739. IPV6_FW_FLUSH = 0x20
  740. IPV6_FW_GET = 0x22
  741. IPV6_FW_ZERO = 0x21
  742. IPV6_HLIMDEC = 0x1
  743. IPV6_HOPLIMIT = 0x2f
  744. IPV6_HOPOPTS = 0x31
  745. IPV6_IPSEC_POLICY = 0x1c
  746. IPV6_JOIN_GROUP = 0xc
  747. IPV6_LEAVE_GROUP = 0xd
  748. IPV6_MAXHLIM = 0xff
  749. IPV6_MAXPACKET = 0xffff
  750. IPV6_MINHLIM = 0x28
  751. IPV6_MMTU = 0x500
  752. IPV6_MSFILTER = 0x4a
  753. IPV6_MULTICAST_HOPS = 0xa
  754. IPV6_MULTICAST_IF = 0x9
  755. IPV6_MULTICAST_LOOP = 0xb
  756. IPV6_NEXTHOP = 0x30
  757. IPV6_PATHMTU = 0x2c
  758. IPV6_PKTINFO = 0x2e
  759. IPV6_PKTOPTIONS = 0x34
  760. IPV6_PORTRANGE = 0xe
  761. IPV6_PORTRANGE_DEFAULT = 0x0
  762. IPV6_PORTRANGE_HIGH = 0x1
  763. IPV6_PORTRANGE_LOW = 0x2
  764. IPV6_PREFER_TEMPADDR = 0x3f
  765. IPV6_RECVDSTOPTS = 0x28
  766. IPV6_RECVHOPLIMIT = 0x25
  767. IPV6_RECVHOPOPTS = 0x27
  768. IPV6_RECVPATHMTU = 0x2b
  769. IPV6_RECVPKTINFO = 0x24
  770. IPV6_RECVRTHDR = 0x26
  771. IPV6_RECVTCLASS = 0x39
  772. IPV6_RTHDR = 0x33
  773. IPV6_RTHDRDSTOPTS = 0x23
  774. IPV6_RTHDR_LOOSE = 0x0
  775. IPV6_RTHDR_STRICT = 0x1
  776. IPV6_RTHDR_TYPE_0 = 0x0
  777. IPV6_SOCKOPT_RESERVED1 = 0x3
  778. IPV6_TCLASS = 0x3d
  779. IPV6_UNICAST_HOPS = 0x4
  780. IPV6_USE_MIN_MTU = 0x2a
  781. IPV6_V6ONLY = 0x1b
  782. IPV6_VERSION = 0x60
  783. IPV6_VERSION_MASK = 0xf0
  784. IP_ADD_MEMBERSHIP = 0xc
  785. IP_DEFAULT_MULTICAST_LOOP = 0x1
  786. IP_DEFAULT_MULTICAST_TTL = 0x1
  787. IP_DF = 0x4000
  788. IP_DROP_MEMBERSHIP = 0xd
  789. IP_DUMMYNET_CONFIGURE = 0x3c
  790. IP_DUMMYNET_DEL = 0x3d
  791. IP_DUMMYNET_FLUSH = 0x3e
  792. IP_DUMMYNET_GET = 0x40
  793. IP_FAITH = 0x16
  794. IP_FW_ADD = 0x32
  795. IP_FW_DEL = 0x33
  796. IP_FW_FLUSH = 0x34
  797. IP_FW_GET = 0x36
  798. IP_FW_RESETLOG = 0x37
  799. IP_FW_X = 0x31
  800. IP_FW_ZERO = 0x35
  801. IP_HDRINCL = 0x2
  802. IP_IPSEC_POLICY = 0x15
  803. IP_MAXPACKET = 0xffff
  804. IP_MAX_MEMBERSHIPS = 0x14
  805. IP_MF = 0x2000
  806. IP_MINTTL = 0x42
  807. IP_MSS = 0x240
  808. IP_MULTICAST_IF = 0x9
  809. IP_MULTICAST_LOOP = 0xb
  810. IP_MULTICAST_TTL = 0xa
  811. IP_MULTICAST_VIF = 0xe
  812. IP_OFFMASK = 0x1fff
  813. IP_OPTIONS = 0x1
  814. IP_PORTRANGE = 0x13
  815. IP_PORTRANGE_DEFAULT = 0x0
  816. IP_PORTRANGE_HIGH = 0x1
  817. IP_PORTRANGE_LOW = 0x2
  818. IP_RECVDSTADDR = 0x7
  819. IP_RECVIF = 0x14
  820. IP_RECVOPTS = 0x5
  821. IP_RECVRETOPTS = 0x6
  822. IP_RECVTTL = 0x41
  823. IP_RETOPTS = 0x8
  824. IP_RF = 0x8000
  825. IP_RSVP_OFF = 0x10
  826. IP_RSVP_ON = 0xf
  827. IP_RSVP_VIF_OFF = 0x12
  828. IP_RSVP_VIF_ON = 0x11
  829. IP_TOS = 0x3
  830. IP_TTL = 0x4
  831. ISIG = 0x80
  832. ISTRIP = 0x20
  833. IXANY = 0x800
  834. IXOFF = 0x400
  835. IXON = 0x200
  836. KERN_HOSTNAME = 0xa
  837. KERN_OSRELEASE = 0x2
  838. KERN_OSTYPE = 0x1
  839. KERN_VERSION = 0x4
  840. LOCK_EX = 0x2
  841. LOCK_NB = 0x4
  842. LOCK_SH = 0x1
  843. LOCK_UN = 0x8
  844. MADV_AUTOSYNC = 0x7
  845. MADV_CONTROL_END = 0xb
  846. MADV_CONTROL_START = 0xa
  847. MADV_CORE = 0x9
  848. MADV_DONTNEED = 0x4
  849. MADV_FREE = 0x5
  850. MADV_INVAL = 0xa
  851. MADV_NOCORE = 0x8
  852. MADV_NORMAL = 0x0
  853. MADV_NOSYNC = 0x6
  854. MADV_RANDOM = 0x1
  855. MADV_SEQUENTIAL = 0x2
  856. MADV_SETMAP = 0xb
  857. MADV_WILLNEED = 0x3
  858. MAP_ANON = 0x1000
  859. MAP_ANONYMOUS = 0x1000
  860. MAP_COPY = 0x2
  861. MAP_FILE = 0x0
  862. MAP_FIXED = 0x10
  863. MAP_HASSEMAPHORE = 0x200
  864. MAP_INHERIT = 0x80
  865. MAP_NOCORE = 0x20000
  866. MAP_NOEXTEND = 0x100
  867. MAP_NORESERVE = 0x40
  868. MAP_NOSYNC = 0x800
  869. MAP_PRIVATE = 0x2
  870. MAP_RENAME = 0x20
  871. MAP_SHARED = 0x1
  872. MAP_SIZEALIGN = 0x40000
  873. MAP_STACK = 0x400
  874. MAP_TRYFIXED = 0x10000
  875. MAP_VPAGETABLE = 0x2000
  876. MCL_CURRENT = 0x1
  877. MCL_FUTURE = 0x2
  878. MNT_ASYNC = 0x40
  879. MNT_AUTOMOUNTED = 0x20
  880. MNT_CMDFLAGS = 0xf0000
  881. MNT_DEFEXPORTED = 0x200
  882. MNT_DELEXPORT = 0x20000
  883. MNT_EXKERB = 0x800
  884. MNT_EXPORTANON = 0x400
  885. MNT_EXPORTED = 0x100
  886. MNT_EXPUBLIC = 0x20000000
  887. MNT_EXRDONLY = 0x80
  888. MNT_FORCE = 0x80000
  889. MNT_IGNORE = 0x800000
  890. MNT_LAZY = 0x4
  891. MNT_LOCAL = 0x1000
  892. MNT_NOATIME = 0x10000000
  893. MNT_NOCLUSTERR = 0x40000000
  894. MNT_NOCLUSTERW = 0x80000000
  895. MNT_NODEV = 0x10
  896. MNT_NOEXEC = 0x4
  897. MNT_NOSUID = 0x8
  898. MNT_NOSYMFOLLOW = 0x400000
  899. MNT_NOWAIT = 0x2
  900. MNT_QUOTA = 0x2000
  901. MNT_RDONLY = 0x1
  902. MNT_RELOAD = 0x40000
  903. MNT_ROOTFS = 0x4000
  904. MNT_SOFTDEP = 0x200000
  905. MNT_SUIDDIR = 0x100000
  906. MNT_SYNCHRONOUS = 0x2
  907. MNT_TRIM = 0x1000000
  908. MNT_UPDATE = 0x10000
  909. MNT_USER = 0x8000
  910. MNT_VISFLAGMASK = 0xf1f0ffff
  911. MNT_WAIT = 0x1
  912. MSG_CMSG_CLOEXEC = 0x1000
  913. MSG_CTRUNC = 0x20
  914. MSG_DONTROUTE = 0x4
  915. MSG_DONTWAIT = 0x80
  916. MSG_EOF = 0x100
  917. MSG_EOR = 0x8
  918. MSG_FBLOCKING = 0x10000
  919. MSG_FMASK = 0xffff0000
  920. MSG_FNONBLOCKING = 0x20000
  921. MSG_NOSIGNAL = 0x400
  922. MSG_OOB = 0x1
  923. MSG_PEEK = 0x2
  924. MSG_SYNC = 0x800
  925. MSG_TRUNC = 0x10
  926. MSG_UNUSED09 = 0x200
  927. MSG_WAITALL = 0x40
  928. MS_ASYNC = 0x1
  929. MS_INVALIDATE = 0x2
  930. MS_SYNC = 0x0
  931. NAME_MAX = 0xff
  932. NET_RT_DUMP = 0x1
  933. NET_RT_FLAGS = 0x2
  934. NET_RT_IFLIST = 0x3
  935. NET_RT_MAXID = 0x4
  936. NFDBITS = 0x40
  937. NOFLSH = 0x80000000
  938. NOKERNINFO = 0x2000000
  939. NOTE_ATTRIB = 0x8
  940. NOTE_CHILD = 0x4
  941. NOTE_DELETE = 0x1
  942. NOTE_EXEC = 0x20000000
  943. NOTE_EXIT = 0x80000000
  944. NOTE_EXTEND = 0x4
  945. NOTE_FFAND = 0x40000000
  946. NOTE_FFCOPY = 0xc0000000
  947. NOTE_FFCTRLMASK = 0xc0000000
  948. NOTE_FFLAGSMASK = 0xffffff
  949. NOTE_FFNOP = 0x0
  950. NOTE_FFOR = 0x80000000
  951. NOTE_FORK = 0x40000000
  952. NOTE_LINK = 0x10
  953. NOTE_LOWAT = 0x1
  954. NOTE_OOB = 0x2
  955. NOTE_PCTRLMASK = 0xf0000000
  956. NOTE_PDATAMASK = 0xfffff
  957. NOTE_RENAME = 0x20
  958. NOTE_REVOKE = 0x40
  959. NOTE_TRACK = 0x1
  960. NOTE_TRACKERR = 0x2
  961. NOTE_TRIGGER = 0x1000000
  962. NOTE_WRITE = 0x2
  963. OCRNL = 0x10
  964. ONLCR = 0x2
  965. ONLRET = 0x40
  966. ONOCR = 0x20
  967. ONOEOT = 0x8
  968. OPOST = 0x1
  969. OXTABS = 0x4
  970. O_ACCMODE = 0x3
  971. O_APPEND = 0x8
  972. O_ASYNC = 0x40
  973. O_CLOEXEC = 0x20000
  974. O_CREAT = 0x200
  975. O_DIRECT = 0x10000
  976. O_DIRECTORY = 0x8000000
  977. O_EXCL = 0x800
  978. O_EXLOCK = 0x20
  979. O_FAPPEND = 0x100000
  980. O_FASYNCWRITE = 0x800000
  981. O_FBLOCKING = 0x40000
  982. O_FMASK = 0xfc0000
  983. O_FNONBLOCKING = 0x80000
  984. O_FOFFSET = 0x200000
  985. O_FSYNC = 0x80
  986. O_FSYNCWRITE = 0x400000
  987. O_NDELAY = 0x4
  988. O_NOCTTY = 0x8000
  989. O_NOFOLLOW = 0x100
  990. O_NONBLOCK = 0x4
  991. O_RDONLY = 0x0
  992. O_RDWR = 0x2
  993. O_SHLOCK = 0x10
  994. O_SYNC = 0x80
  995. O_TRUNC = 0x400
  996. O_WRONLY = 0x1
  997. PARENB = 0x1000
  998. PARMRK = 0x8
  999. PARODD = 0x2000
  1000. PENDIN = 0x20000000
  1001. PRIO_PGRP = 0x1
  1002. PRIO_PROCESS = 0x0
  1003. PRIO_USER = 0x2
  1004. PROT_EXEC = 0x4
  1005. PROT_NONE = 0x0
  1006. PROT_READ = 0x1
  1007. PROT_WRITE = 0x2
  1008. RLIMIT_AS = 0xa
  1009. RLIMIT_CORE = 0x4
  1010. RLIMIT_CPU = 0x0
  1011. RLIMIT_DATA = 0x2
  1012. RLIMIT_FSIZE = 0x1
  1013. RLIMIT_MEMLOCK = 0x6
  1014. RLIMIT_NOFILE = 0x8
  1015. RLIMIT_NPROC = 0x7
  1016. RLIMIT_RSS = 0x5
  1017. RLIMIT_STACK = 0x3
  1018. RLIM_INFINITY = 0x7fffffffffffffff
  1019. RTAX_AUTHOR = 0x6
  1020. RTAX_BRD = 0x7
  1021. RTAX_DST = 0x0
  1022. RTAX_GATEWAY = 0x1
  1023. RTAX_GENMASK = 0x3
  1024. RTAX_IFA = 0x5
  1025. RTAX_IFP = 0x4
  1026. RTAX_MAX = 0xb
  1027. RTAX_MPLS1 = 0x8
  1028. RTAX_MPLS2 = 0x9
  1029. RTAX_MPLS3 = 0xa
  1030. RTAX_NETMASK = 0x2
  1031. RTA_AUTHOR = 0x40
  1032. RTA_BRD = 0x80
  1033. RTA_DST = 0x1
  1034. RTA_GATEWAY = 0x2
  1035. RTA_GENMASK = 0x8
  1036. RTA_IFA = 0x20
  1037. RTA_IFP = 0x10
  1038. RTA_MPLS1 = 0x100
  1039. RTA_MPLS2 = 0x200
  1040. RTA_MPLS3 = 0x400
  1041. RTA_NETMASK = 0x4
  1042. RTF_BLACKHOLE = 0x1000
  1043. RTF_BROADCAST = 0x400000
  1044. RTF_CLONING = 0x100
  1045. RTF_DONE = 0x40
  1046. RTF_DYNAMIC = 0x10
  1047. RTF_GATEWAY = 0x2
  1048. RTF_HOST = 0x4
  1049. RTF_LLINFO = 0x400
  1050. RTF_LOCAL = 0x200000
  1051. RTF_MODIFIED = 0x20
  1052. RTF_MPLSOPS = 0x1000000
  1053. RTF_MULTICAST = 0x800000
  1054. RTF_PINNED = 0x100000
  1055. RTF_PRCLONING = 0x10000
  1056. RTF_PROTO1 = 0x8000
  1057. RTF_PROTO2 = 0x4000
  1058. RTF_PROTO3 = 0x40000
  1059. RTF_REJECT = 0x8
  1060. RTF_STATIC = 0x800
  1061. RTF_UP = 0x1
  1062. RTF_WASCLONED = 0x20000
  1063. RTF_XRESOLVE = 0x200
  1064. RTM_ADD = 0x1
  1065. RTM_CHANGE = 0x3
  1066. RTM_DELADDR = 0xd
  1067. RTM_DELETE = 0x2
  1068. RTM_DELMADDR = 0x10
  1069. RTM_GET = 0x4
  1070. RTM_IEEE80211 = 0x12
  1071. RTM_IFANNOUNCE = 0x11
  1072. RTM_IFINFO = 0xe
  1073. RTM_LOCK = 0x8
  1074. RTM_LOSING = 0x5
  1075. RTM_MISS = 0x7
  1076. RTM_NEWADDR = 0xc
  1077. RTM_NEWMADDR = 0xf
  1078. RTM_OLDADD = 0x9
  1079. RTM_OLDDEL = 0xa
  1080. RTM_REDIRECT = 0x6
  1081. RTM_RESOLVE = 0xb
  1082. RTM_RTTUNIT = 0xf4240
  1083. RTM_VERSION = 0x6
  1084. RTV_EXPIRE = 0x4
  1085. RTV_HOPCOUNT = 0x2
  1086. RTV_IWCAPSEGS = 0x400
  1087. RTV_IWMAXSEGS = 0x200
  1088. RTV_MSL = 0x100
  1089. RTV_MTU = 0x1
  1090. RTV_RPIPE = 0x8
  1091. RTV_RTT = 0x40
  1092. RTV_RTTVAR = 0x80
  1093. RTV_SPIPE = 0x10
  1094. RTV_SSTHRESH = 0x20
  1095. RUSAGE_CHILDREN = -0x1
  1096. RUSAGE_SELF = 0x0
  1097. SCM_CREDS = 0x3
  1098. SCM_RIGHTS = 0x1
  1099. SCM_TIMESTAMP = 0x2
  1100. SHUT_RD = 0x0
  1101. SHUT_RDWR = 0x2
  1102. SHUT_WR = 0x1
  1103. SIOCADDMULTI = 0x80206931
  1104. SIOCADDRT = 0x8040720a
  1105. SIOCAIFADDR = 0x8040691a
  1106. SIOCALIFADDR = 0x8118691b
  1107. SIOCATMARK = 0x40047307
  1108. SIOCDELMULTI = 0x80206932
  1109. SIOCDELRT = 0x8040720b
  1110. SIOCDIFADDR = 0x80206919
  1111. SIOCDIFPHYADDR = 0x80206949
  1112. SIOCDLIFADDR = 0x8118691d
  1113. SIOCGDRVSPEC = 0xc028697b
  1114. SIOCGETSGCNT = 0xc0207210
  1115. SIOCGETVIFCNT = 0xc028720f
  1116. SIOCGHIWAT = 0x40047301
  1117. SIOCGIFADDR = 0xc0206921
  1118. SIOCGIFBRDADDR = 0xc0206923
  1119. SIOCGIFCAP = 0xc020691f
  1120. SIOCGIFCONF = 0xc0106924
  1121. SIOCGIFDATA = 0xc0206926
  1122. SIOCGIFDSTADDR = 0xc0206922
  1123. SIOCGIFFLAGS = 0xc0206911
  1124. SIOCGIFGENERIC = 0xc020693a
  1125. SIOCGIFGMEMB = 0xc028698a
  1126. SIOCGIFINDEX = 0xc0206920
  1127. SIOCGIFMEDIA = 0xc0306938
  1128. SIOCGIFMETRIC = 0xc0206917
  1129. SIOCGIFMTU = 0xc0206933
  1130. SIOCGIFNETMASK = 0xc0206925
  1131. SIOCGIFPDSTADDR = 0xc0206948
  1132. SIOCGIFPHYS = 0xc0206935
  1133. SIOCGIFPOLLCPU = 0xc020697e
  1134. SIOCGIFPSRCADDR = 0xc0206947
  1135. SIOCGIFSTATUS = 0xc331693b
  1136. SIOCGIFTSOLEN = 0xc0206980
  1137. SIOCGLIFADDR = 0xc118691c
  1138. SIOCGLIFPHYADDR = 0xc118694b
  1139. SIOCGLOWAT = 0x40047303
  1140. SIOCGPGRP = 0x40047309
  1141. SIOCGPRIVATE_0 = 0xc0206950
  1142. SIOCGPRIVATE_1 = 0xc0206951
  1143. SIOCIFCREATE = 0xc020697a
  1144. SIOCIFCREATE2 = 0xc020697c
  1145. SIOCIFDESTROY = 0x80206979
  1146. SIOCIFGCLONERS = 0xc0106978
  1147. SIOCSDRVSPEC = 0x8028697b
  1148. SIOCSHIWAT = 0x80047300
  1149. SIOCSIFADDR = 0x8020690c
  1150. SIOCSIFBRDADDR = 0x80206913
  1151. SIOCSIFCAP = 0x8020691e
  1152. SIOCSIFDSTADDR = 0x8020690e
  1153. SIOCSIFFLAGS = 0x80206910
  1154. SIOCSIFGENERIC = 0x80206939
  1155. SIOCSIFLLADDR = 0x8020693c
  1156. SIOCSIFMEDIA = 0xc0206937
  1157. SIOCSIFMETRIC = 0x80206918
  1158. SIOCSIFMTU = 0x80206934
  1159. SIOCSIFNAME = 0x80206928
  1160. SIOCSIFNETMASK = 0x80206916
  1161. SIOCSIFPHYADDR = 0x80406946
  1162. SIOCSIFPHYS = 0x80206936
  1163. SIOCSIFPOLLCPU = 0x8020697d
  1164. SIOCSIFTSOLEN = 0x8020697f
  1165. SIOCSLIFPHYADDR = 0x8118694a
  1166. SIOCSLOWAT = 0x80047302
  1167. SIOCSPGRP = 0x80047308
  1168. SOCK_CLOEXEC = 0x10000000
  1169. SOCK_DGRAM = 0x2
  1170. SOCK_MAXADDRLEN = 0xff
  1171. SOCK_NONBLOCK = 0x20000000
  1172. SOCK_RAW = 0x3
  1173. SOCK_RDM = 0x4
  1174. SOCK_SEQPACKET = 0x5
  1175. SOCK_STREAM = 0x1
  1176. SOL_SOCKET = 0xffff
  1177. SOMAXCONN = 0x80
  1178. SO_ACCEPTCONN = 0x2
  1179. SO_ACCEPTFILTER = 0x1000
  1180. SO_BROADCAST = 0x20
  1181. SO_CPUHINT = 0x1030
  1182. SO_DEBUG = 0x1
  1183. SO_DONTROUTE = 0x10
  1184. SO_ERROR = 0x1007
  1185. SO_KEEPALIVE = 0x8
  1186. SO_LINGER = 0x80
  1187. SO_NOSIGPIPE = 0x800
  1188. SO_OOBINLINE = 0x100
  1189. SO_RCVBUF = 0x1002
  1190. SO_RCVLOWAT = 0x1004
  1191. SO_RCVTIMEO = 0x1006
  1192. SO_REUSEADDR = 0x4
  1193. SO_REUSEPORT = 0x200
  1194. SO_SNDBUF = 0x1001
  1195. SO_SNDLOWAT = 0x1003
  1196. SO_SNDSPACE = 0x100a
  1197. SO_SNDTIMEO = 0x1005
  1198. SO_TIMESTAMP = 0x400
  1199. SO_TYPE = 0x1008
  1200. SO_USELOOPBACK = 0x40
  1201. S_BLKSIZE = 0x200
  1202. S_IEXEC = 0x40
  1203. S_IFBLK = 0x6000
  1204. S_IFCHR = 0x2000
  1205. S_IFDB = 0x9000
  1206. S_IFDIR = 0x4000
  1207. S_IFIFO = 0x1000
  1208. S_IFLNK = 0xa000
  1209. S_IFMT = 0xf000
  1210. S_IFREG = 0x8000
  1211. S_IFSOCK = 0xc000
  1212. S_IFWHT = 0xe000
  1213. S_IREAD = 0x100
  1214. S_IRGRP = 0x20
  1215. S_IROTH = 0x4
  1216. S_IRUSR = 0x100
  1217. S_IRWXG = 0x38
  1218. S_IRWXO = 0x7
  1219. S_IRWXU = 0x1c0
  1220. S_ISGID = 0x400
  1221. S_ISTXT = 0x200
  1222. S_ISUID = 0x800
  1223. S_ISVTX = 0x200
  1224. S_IWGRP = 0x10
  1225. S_IWOTH = 0x2
  1226. S_IWRITE = 0x80
  1227. S_IWUSR = 0x80
  1228. S_IXGRP = 0x8
  1229. S_IXOTH = 0x1
  1230. S_IXUSR = 0x40
  1231. TCIFLUSH = 0x1
  1232. TCIOFF = 0x3
  1233. TCIOFLUSH = 0x3
  1234. TCION = 0x4
  1235. TCOFLUSH = 0x2
  1236. TCOOFF = 0x1
  1237. TCOON = 0x2
  1238. TCP_FASTKEEP = 0x80
  1239. TCP_KEEPCNT = 0x400
  1240. TCP_KEEPIDLE = 0x100
  1241. TCP_KEEPINIT = 0x20
  1242. TCP_KEEPINTVL = 0x200
  1243. TCP_MAXBURST = 0x4
  1244. TCP_MAXHLEN = 0x3c
  1245. TCP_MAXOLEN = 0x28
  1246. TCP_MAXSEG = 0x2
  1247. TCP_MAXWIN = 0xffff
  1248. TCP_MAX_WINSHIFT = 0xe
  1249. TCP_MINMSS = 0x100
  1250. TCP_MIN_WINSHIFT = 0x5
  1251. TCP_MSS = 0x200
  1252. TCP_NODELAY = 0x1
  1253. TCP_NOOPT = 0x8
  1254. TCP_NOPUSH = 0x4
  1255. TCP_SIGNATURE_ENABLE = 0x10
  1256. TCSAFLUSH = 0x2
  1257. TIOCCBRK = 0x2000747a
  1258. TIOCCDTR = 0x20007478
  1259. TIOCCONS = 0x80047462
  1260. TIOCDCDTIMESTAMP = 0x40107458
  1261. TIOCDRAIN = 0x2000745e
  1262. TIOCEXCL = 0x2000740d
  1263. TIOCEXT = 0x80047460
  1264. TIOCFLUSH = 0x80047410
  1265. TIOCGDRAINWAIT = 0x40047456
  1266. TIOCGETA = 0x402c7413
  1267. TIOCGETD = 0x4004741a
  1268. TIOCGPGRP = 0x40047477
  1269. TIOCGSID = 0x40047463
  1270. TIOCGSIZE = 0x40087468
  1271. TIOCGWINSZ = 0x40087468
  1272. TIOCISPTMASTER = 0x20007455
  1273. TIOCMBIC = 0x8004746b
  1274. TIOCMBIS = 0x8004746c
  1275. TIOCMGDTRWAIT = 0x4004745a
  1276. TIOCMGET = 0x4004746a
  1277. TIOCMODG = 0x40047403
  1278. TIOCMODS = 0x80047404
  1279. TIOCMSDTRWAIT = 0x8004745b
  1280. TIOCMSET = 0x8004746d
  1281. TIOCM_CAR = 0x40
  1282. TIOCM_CD = 0x40
  1283. TIOCM_CTS = 0x20
  1284. TIOCM_DSR = 0x100
  1285. TIOCM_DTR = 0x2
  1286. TIOCM_LE = 0x1
  1287. TIOCM_RI = 0x80
  1288. TIOCM_RNG = 0x80
  1289. TIOCM_RTS = 0x4
  1290. TIOCM_SR = 0x10
  1291. TIOCM_ST = 0x8
  1292. TIOCNOTTY = 0x20007471
  1293. TIOCNXCL = 0x2000740e
  1294. TIOCOUTQ = 0x40047473
  1295. TIOCPKT = 0x80047470
  1296. TIOCPKT_DATA = 0x0
  1297. TIOCPKT_DOSTOP = 0x20
  1298. TIOCPKT_FLUSHREAD = 0x1
  1299. TIOCPKT_FLUSHWRITE = 0x2
  1300. TIOCPKT_IOCTL = 0x40
  1301. TIOCPKT_NOSTOP = 0x10
  1302. TIOCPKT_START = 0x8
  1303. TIOCPKT_STOP = 0x4
  1304. TIOCREMOTE = 0x80047469
  1305. TIOCSBRK = 0x2000747b
  1306. TIOCSCTTY = 0x20007461
  1307. TIOCSDRAINWAIT = 0x80047457
  1308. TIOCSDTR = 0x20007479
  1309. TIOCSETA = 0x802c7414
  1310. TIOCSETAF = 0x802c7416
  1311. TIOCSETAW = 0x802c7415
  1312. TIOCSETD = 0x8004741b
  1313. TIOCSIG = 0x2000745f
  1314. TIOCSPGRP = 0x80047476
  1315. TIOCSSIZE = 0x80087467
  1316. TIOCSTART = 0x2000746e
  1317. TIOCSTAT = 0x20007465
  1318. TIOCSTI = 0x80017472
  1319. TIOCSTOP = 0x2000746f
  1320. TIOCSWINSZ = 0x80087467
  1321. TIOCTIMESTAMP = 0x40107459
  1322. TIOCUCNTL = 0x80047466
  1323. TOSTOP = 0x400000
  1324. VCHECKPT = 0x13
  1325. VDISCARD = 0xf
  1326. VDSUSP = 0xb
  1327. VEOF = 0x0
  1328. VEOL = 0x1
  1329. VEOL2 = 0x2
  1330. VERASE = 0x3
  1331. VERASE2 = 0x7
  1332. VINTR = 0x8
  1333. VKILL = 0x5
  1334. VLNEXT = 0xe
  1335. VMIN = 0x10
  1336. VM_BCACHE_SIZE_MAX = 0x0
  1337. VM_SWZONE_SIZE_MAX = 0x4000000000
  1338. VQUIT = 0x9
  1339. VREPRINT = 0x6
  1340. VSTART = 0xc
  1341. VSTATUS = 0x12
  1342. VSTOP = 0xd
  1343. VSUSP = 0xa
  1344. VTIME = 0x11
  1345. VWERASE = 0x4
  1346. WCONTINUED = 0x4
  1347. WCOREFLAG = 0x80
  1348. WLINUXCLONE = 0x80000000
  1349. WNOHANG = 0x1
  1350. WSTOPPED = 0x7f
  1351. WUNTRACED = 0x2
  1352. )
  1353. // Errors
  1354. const (
  1355. E2BIG = syscall.Errno(0x7)
  1356. EACCES = syscall.Errno(0xd)
  1357. EADDRINUSE = syscall.Errno(0x30)
  1358. EADDRNOTAVAIL = syscall.Errno(0x31)
  1359. EAFNOSUPPORT = syscall.Errno(0x2f)
  1360. EAGAIN = syscall.Errno(0x23)
  1361. EALREADY = syscall.Errno(0x25)
  1362. EASYNC = syscall.Errno(0x63)
  1363. EAUTH = syscall.Errno(0x50)
  1364. EBADF = syscall.Errno(0x9)
  1365. EBADMSG = syscall.Errno(0x59)
  1366. EBADRPC = syscall.Errno(0x48)
  1367. EBUSY = syscall.Errno(0x10)
  1368. ECANCELED = syscall.Errno(0x55)
  1369. ECHILD = syscall.Errno(0xa)
  1370. ECONNABORTED = syscall.Errno(0x35)
  1371. ECONNREFUSED = syscall.Errno(0x3d)
  1372. ECONNRESET = syscall.Errno(0x36)
  1373. EDEADLK = syscall.Errno(0xb)
  1374. EDESTADDRREQ = syscall.Errno(0x27)
  1375. EDOM = syscall.Errno(0x21)
  1376. EDOOFUS = syscall.Errno(0x58)
  1377. EDQUOT = syscall.Errno(0x45)
  1378. EEXIST = syscall.Errno(0x11)
  1379. EFAULT = syscall.Errno(0xe)
  1380. EFBIG = syscall.Errno(0x1b)
  1381. EFTYPE = syscall.Errno(0x4f)
  1382. EHOSTDOWN = syscall.Errno(0x40)
  1383. EHOSTUNREACH = syscall.Errno(0x41)
  1384. EIDRM = syscall.Errno(0x52)
  1385. EILSEQ = syscall.Errno(0x56)
  1386. EINPROGRESS = syscall.Errno(0x24)
  1387. EINTR = syscall.Errno(0x4)
  1388. EINVAL = syscall.Errno(0x16)
  1389. EIO = syscall.Errno(0x5)
  1390. EISCONN = syscall.Errno(0x38)
  1391. EISDIR = syscall.Errno(0x15)
  1392. ELAST = syscall.Errno(0x63)
  1393. ELOOP = syscall.Errno(0x3e)
  1394. EMFILE = syscall.Errno(0x18)
  1395. EMLINK = syscall.Errno(0x1f)
  1396. EMSGSIZE = syscall.Errno(0x28)
  1397. EMULTIHOP = syscall.Errno(0x5a)
  1398. ENAMETOOLONG = syscall.Errno(0x3f)
  1399. ENEEDAUTH = syscall.Errno(0x51)
  1400. ENETDOWN = syscall.Errno(0x32)
  1401. ENETRESET = syscall.Errno(0x34)
  1402. ENETUNREACH = syscall.Errno(0x33)
  1403. ENFILE = syscall.Errno(0x17)
  1404. ENOATTR = syscall.Errno(0x57)
  1405. ENOBUFS = syscall.Errno(0x37)
  1406. ENODEV = syscall.Errno(0x13)
  1407. ENOENT = syscall.Errno(0x2)
  1408. ENOEXEC = syscall.Errno(0x8)
  1409. ENOLCK = syscall.Errno(0x4d)
  1410. ENOLINK = syscall.Errno(0x5b)
  1411. ENOMEDIUM = syscall.Errno(0x5d)
  1412. ENOMEM = syscall.Errno(0xc)
  1413. ENOMSG = syscall.Errno(0x53)
  1414. ENOPROTOOPT = syscall.Errno(0x2a)
  1415. ENOSPC = syscall.Errno(0x1c)
  1416. ENOSYS = syscall.Errno(0x4e)
  1417. ENOTBLK = syscall.Errno(0xf)
  1418. ENOTCONN = syscall.Errno(0x39)
  1419. ENOTDIR = syscall.Errno(0x14)
  1420. ENOTEMPTY = syscall.Errno(0x42)
  1421. ENOTSOCK = syscall.Errno(0x26)
  1422. ENOTSUP = syscall.Errno(0x2d)
  1423. ENOTTY = syscall.Errno(0x19)
  1424. ENXIO = syscall.Errno(0x6)
  1425. EOPNOTSUPP = syscall.Errno(0x2d)
  1426. EOVERFLOW = syscall.Errno(0x54)
  1427. EPERM = syscall.Errno(0x1)
  1428. EPFNOSUPPORT = syscall.Errno(0x2e)
  1429. EPIPE = syscall.Errno(0x20)
  1430. EPROCLIM = syscall.Errno(0x43)
  1431. EPROCUNAVAIL = syscall.Errno(0x4c)
  1432. EPROGMISMATCH = syscall.Errno(0x4b)
  1433. EPROGUNAVAIL = syscall.Errno(0x4a)
  1434. EPROTO = syscall.Errno(0x5c)
  1435. EPROTONOSUPPORT = syscall.Errno(0x2b)
  1436. EPROTOTYPE = syscall.Errno(0x29)
  1437. ERANGE = syscall.Errno(0x22)
  1438. EREMOTE = syscall.Errno(0x47)
  1439. EROFS = syscall.Errno(0x1e)
  1440. ERPCMISMATCH = syscall.Errno(0x49)
  1441. ESHUTDOWN = syscall.Errno(0x3a)
  1442. ESOCKTNOSUPPORT = syscall.Errno(0x2c)
  1443. ESPIPE = syscall.Errno(0x1d)
  1444. ESRCH = syscall.Errno(0x3)
  1445. ESTALE = syscall.Errno(0x46)
  1446. ETIMEDOUT = syscall.Errno(0x3c)
  1447. ETOOMANYREFS = syscall.Errno(0x3b)
  1448. ETXTBSY = syscall.Errno(0x1a)
  1449. EUNUSED94 = syscall.Errno(0x5e)
  1450. EUNUSED95 = syscall.Errno(0x5f)
  1451. EUNUSED96 = syscall.Errno(0x60)
  1452. EUNUSED97 = syscall.Errno(0x61)
  1453. EUNUSED98 = syscall.Errno(0x62)
  1454. EUSERS = syscall.Errno(0x44)
  1455. EWOULDBLOCK = syscall.Errno(0x23)
  1456. EXDEV = syscall.Errno(0x12)
  1457. )
  1458. // Signals
  1459. const (
  1460. SIGABRT = syscall.Signal(0x6)
  1461. SIGALRM = syscall.Signal(0xe)
  1462. SIGBUS = syscall.Signal(0xa)
  1463. SIGCHLD = syscall.Signal(0x14)
  1464. SIGCKPT = syscall.Signal(0x21)
  1465. SIGCKPTEXIT = syscall.Signal(0x22)
  1466. SIGCONT = syscall.Signal(0x13)
  1467. SIGEMT = syscall.Signal(0x7)
  1468. SIGFPE = syscall.Signal(0x8)
  1469. SIGHUP = syscall.Signal(0x1)
  1470. SIGILL = syscall.Signal(0x4)
  1471. SIGINFO = syscall.Signal(0x1d)
  1472. SIGINT = syscall.Signal(0x2)
  1473. SIGIO = syscall.Signal(0x17)
  1474. SIGIOT = syscall.Signal(0x6)
  1475. SIGKILL = syscall.Signal(0x9)
  1476. SIGPIPE = syscall.Signal(0xd)
  1477. SIGPROF = syscall.Signal(0x1b)
  1478. SIGQUIT = syscall.Signal(0x3)
  1479. SIGSEGV = syscall.Signal(0xb)
  1480. SIGSTOP = syscall.Signal(0x11)
  1481. SIGSYS = syscall.Signal(0xc)
  1482. SIGTERM = syscall.Signal(0xf)
  1483. SIGTHR = syscall.Signal(0x20)
  1484. SIGTRAP = syscall.Signal(0x5)
  1485. SIGTSTP = syscall.Signal(0x12)
  1486. SIGTTIN = syscall.Signal(0x15)
  1487. SIGTTOU = syscall.Signal(0x16)
  1488. SIGURG = syscall.Signal(0x10)
  1489. SIGUSR1 = syscall.Signal(0x1e)
  1490. SIGUSR2 = syscall.Signal(0x1f)
  1491. SIGVTALRM = syscall.Signal(0x1a)
  1492. SIGWINCH = syscall.Signal(0x1c)
  1493. SIGXCPU = syscall.Signal(0x18)
  1494. SIGXFSZ = syscall.Signal(0x19)
  1495. )
  1496. // Error table
  1497. var errorList = [...]struct {
  1498. num syscall.Errno
  1499. name string
  1500. desc string
  1501. }{
  1502. {1, "EPERM", "operation not permitted"},
  1503. {2, "ENOENT", "no such file or directory"},
  1504. {3, "ESRCH", "no such process"},
  1505. {4, "EINTR", "interrupted system call"},
  1506. {5, "EIO", "input/output error"},
  1507. {6, "ENXIO", "device not configured"},
  1508. {7, "E2BIG", "argument list too long"},
  1509. {8, "ENOEXEC", "exec format error"},
  1510. {9, "EBADF", "bad file descriptor"},
  1511. {10, "ECHILD", "no child processes"},
  1512. {11, "EDEADLK", "resource deadlock avoided"},
  1513. {12, "ENOMEM", "cannot allocate memory"},
  1514. {13, "EACCES", "permission denied"},
  1515. {14, "EFAULT", "bad address"},
  1516. {15, "ENOTBLK", "block device required"},
  1517. {16, "EBUSY", "device busy"},
  1518. {17, "EEXIST", "file exists"},
  1519. {18, "EXDEV", "cross-device link"},
  1520. {19, "ENODEV", "operation not supported by device"},
  1521. {20, "ENOTDIR", "not a directory"},
  1522. {21, "EISDIR", "is a directory"},
  1523. {22, "EINVAL", "invalid argument"},
  1524. {23, "ENFILE", "too many open files in system"},
  1525. {24, "EMFILE", "too many open files"},
  1526. {25, "ENOTTY", "inappropriate ioctl for device"},
  1527. {26, "ETXTBSY", "text file busy"},
  1528. {27, "EFBIG", "file too large"},
  1529. {28, "ENOSPC", "no space left on device"},
  1530. {29, "ESPIPE", "illegal seek"},
  1531. {30, "EROFS", "read-only file system"},
  1532. {31, "EMLINK", "too many links"},
  1533. {32, "EPIPE", "broken pipe"},
  1534. {33, "EDOM", "numerical argument out of domain"},
  1535. {34, "ERANGE", "result too large"},
  1536. {35, "EWOULDBLOCK", "resource temporarily unavailable"},
  1537. {36, "EINPROGRESS", "operation now in progress"},
  1538. {37, "EALREADY", "operation already in progress"},
  1539. {38, "ENOTSOCK", "socket operation on non-socket"},
  1540. {39, "EDESTADDRREQ", "destination address required"},
  1541. {40, "EMSGSIZE", "message too long"},
  1542. {41, "EPROTOTYPE", "protocol wrong type for socket"},
  1543. {42, "ENOPROTOOPT", "protocol not available"},
  1544. {43, "EPROTONOSUPPORT", "protocol not supported"},
  1545. {44, "ESOCKTNOSUPPORT", "socket type not supported"},
  1546. {45, "EOPNOTSUPP", "operation not supported"},
  1547. {46, "EPFNOSUPPORT", "protocol family not supported"},
  1548. {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
  1549. {48, "EADDRINUSE", "address already in use"},
  1550. {49, "EADDRNOTAVAIL", "can't assign requested address"},
  1551. {50, "ENETDOWN", "network is down"},
  1552. {51, "ENETUNREACH", "network is unreachable"},
  1553. {52, "ENETRESET", "network dropped connection on reset"},
  1554. {53, "ECONNABORTED", "software caused connection abort"},
  1555. {54, "ECONNRESET", "connection reset by peer"},
  1556. {55, "ENOBUFS", "no buffer space available"},
  1557. {56, "EISCONN", "socket is already connected"},
  1558. {57, "ENOTCONN", "socket is not connected"},
  1559. {58, "ESHUTDOWN", "can't send after socket shutdown"},
  1560. {59, "ETOOMANYREFS", "too many references: can't splice"},
  1561. {60, "ETIMEDOUT", "operation timed out"},
  1562. {61, "ECONNREFUSED", "connection refused"},
  1563. {62, "ELOOP", "too many levels of symbolic links"},
  1564. {63, "ENAMETOOLONG", "file name too long"},
  1565. {64, "EHOSTDOWN", "host is down"},
  1566. {65, "EHOSTUNREACH", "no route to host"},
  1567. {66, "ENOTEMPTY", "directory not empty"},
  1568. {67, "EPROCLIM", "too many processes"},
  1569. {68, "EUSERS", "too many users"},
  1570. {69, "EDQUOT", "disc quota exceeded"},
  1571. {70, "ESTALE", "stale NFS file handle"},
  1572. {71, "EREMOTE", "too many levels of remote in path"},
  1573. {72, "EBADRPC", "RPC struct is bad"},
  1574. {73, "ERPCMISMATCH", "RPC version wrong"},
  1575. {74, "EPROGUNAVAIL", "RPC prog. not avail"},
  1576. {75, "EPROGMISMATCH", "program version wrong"},
  1577. {76, "EPROCUNAVAIL", "bad procedure for program"},
  1578. {77, "ENOLCK", "no locks available"},
  1579. {78, "ENOSYS", "function not implemented"},
  1580. {79, "EFTYPE", "inappropriate file type or format"},
  1581. {80, "EAUTH", "authentication error"},
  1582. {81, "ENEEDAUTH", "need authenticator"},
  1583. {82, "EIDRM", "identifier removed"},
  1584. {83, "ENOMSG", "no message of desired type"},
  1585. {84, "EOVERFLOW", "value too large to be stored in data type"},
  1586. {85, "ECANCELED", "operation canceled"},
  1587. {86, "EILSEQ", "illegal byte sequence"},
  1588. {87, "ENOATTR", "attribute not found"},
  1589. {88, "EDOOFUS", "programming error"},
  1590. {89, "EBADMSG", "bad message"},
  1591. {90, "EMULTIHOP", "multihop attempted"},
  1592. {91, "ENOLINK", "link has been severed"},
  1593. {92, "EPROTO", "protocol error"},
  1594. {93, "ENOMEDIUM", "no medium found"},
  1595. {94, "EUNUSED94", "unknown error: 94"},
  1596. {95, "EUNUSED95", "unknown error: 95"},
  1597. {96, "EUNUSED96", "unknown error: 96"},
  1598. {97, "EUNUSED97", "unknown error: 97"},
  1599. {98, "EUNUSED98", "unknown error: 98"},
  1600. {99, "ELAST", "unknown error: 99"},
  1601. }
  1602. // Signal table
  1603. var signalList = [...]struct {
  1604. num syscall.Signal
  1605. name string
  1606. desc string
  1607. }{
  1608. {1, "SIGHUP", "hangup"},
  1609. {2, "SIGINT", "interrupt"},
  1610. {3, "SIGQUIT", "quit"},
  1611. {4, "SIGILL", "illegal instruction"},
  1612. {5, "SIGTRAP", "trace/BPT trap"},
  1613. {6, "SIGIOT", "abort trap"},
  1614. {7, "SIGEMT", "EMT trap"},
  1615. {8, "SIGFPE", "floating point exception"},
  1616. {9, "SIGKILL", "killed"},
  1617. {10, "SIGBUS", "bus error"},
  1618. {11, "SIGSEGV", "segmentation fault"},
  1619. {12, "SIGSYS", "bad system call"},
  1620. {13, "SIGPIPE", "broken pipe"},
  1621. {14, "SIGALRM", "alarm clock"},
  1622. {15, "SIGTERM", "terminated"},
  1623. {16, "SIGURG", "urgent I/O condition"},
  1624. {17, "SIGSTOP", "suspended (signal)"},
  1625. {18, "SIGTSTP", "suspended"},
  1626. {19, "SIGCONT", "continued"},
  1627. {20, "SIGCHLD", "child exited"},
  1628. {21, "SIGTTIN", "stopped (tty input)"},
  1629. {22, "SIGTTOU", "stopped (tty output)"},
  1630. {23, "SIGIO", "I/O possible"},
  1631. {24, "SIGXCPU", "cputime limit exceeded"},
  1632. {25, "SIGXFSZ", "filesize limit exceeded"},
  1633. {26, "SIGVTALRM", "virtual timer expired"},
  1634. {27, "SIGPROF", "profiling timer expired"},
  1635. {28, "SIGWINCH", "window size changes"},
  1636. {29, "SIGINFO", "information request"},
  1637. {30, "SIGUSR1", "user defined signal 1"},
  1638. {31, "SIGUSR2", "user defined signal 2"},
  1639. {32, "SIGTHR", "thread Scheduler"},
  1640. {33, "SIGCKPT", "checkPoint"},
  1641. {34, "SIGCKPTEXIT", "checkPointExit"},
  1642. }