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