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