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