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