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