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_CCITT = 0xa
17 AF_CHAOS = 0x5
18 AF_CNT = 0x15
19 AF_COIP = 0x14
20 AF_DATAKIT = 0x9
21 AF_DECnet = 0xc
22 AF_DLI = 0xd
23 AF_E164 = 0x1c
24 AF_ECMA = 0x8
25 AF_HYLINK = 0xf
26 AF_IEEE80211 = 0x25
27 AF_IMPLINK = 0x3
28 AF_INET = 0x2
29 AF_INET6 = 0x1e
30 AF_IPX = 0x17
31 AF_ISDN = 0x1c
32 AF_ISO = 0x7
33 AF_LAT = 0xe
34 AF_LINK = 0x12
35 AF_LOCAL = 0x1
36 AF_MAX = 0x29
37 AF_NATM = 0x1f
38 AF_NDRV = 0x1b
39 AF_NETBIOS = 0x21
40 AF_NS = 0x6
41 AF_OSI = 0x7
42 AF_PPP = 0x22
43 AF_PUP = 0x4
44 AF_RESERVED_36 = 0x24
45 AF_ROUTE = 0x11
46 AF_SIP = 0x18
47 AF_SNA = 0xb
48 AF_SYSTEM = 0x20
49 AF_SYS_CONTROL = 0x2
50 AF_UNIX = 0x1
51 AF_UNSPEC = 0x0
52 AF_UTUN = 0x26
53 AF_VSOCK = 0x28
54 ALTWERASE = 0x200
55 ATTR_BIT_MAP_COUNT = 0x5
56 ATTR_CMN_ACCESSMASK = 0x20000
57 ATTR_CMN_ACCTIME = 0x1000
58 ATTR_CMN_ADDEDTIME = 0x10000000
59 ATTR_CMN_BKUPTIME = 0x2000
60 ATTR_CMN_CHGTIME = 0x800
61 ATTR_CMN_CRTIME = 0x200
62 ATTR_CMN_DATA_PROTECT_FLAGS = 0x40000000
63 ATTR_CMN_DEVID = 0x2
64 ATTR_CMN_DOCUMENT_ID = 0x100000
65 ATTR_CMN_ERROR = 0x20000000
66 ATTR_CMN_EXTENDED_SECURITY = 0x400000
67 ATTR_CMN_FILEID = 0x2000000
68 ATTR_CMN_FLAGS = 0x40000
69 ATTR_CMN_FNDRINFO = 0x4000
70 ATTR_CMN_FSID = 0x4
71 ATTR_CMN_FULLPATH = 0x8000000
72 ATTR_CMN_GEN_COUNT = 0x80000
73 ATTR_CMN_GRPID = 0x10000
74 ATTR_CMN_GRPUUID = 0x1000000
75 ATTR_CMN_MODTIME = 0x400
76 ATTR_CMN_NAME = 0x1
77 ATTR_CMN_NAMEDATTRCOUNT = 0x80000
78 ATTR_CMN_NAMEDATTRLIST = 0x100000
79 ATTR_CMN_OBJID = 0x20
80 ATTR_CMN_OBJPERMANENTID = 0x40
81 ATTR_CMN_OBJTAG = 0x10
82 ATTR_CMN_OBJTYPE = 0x8
83 ATTR_CMN_OWNERID = 0x8000
84 ATTR_CMN_PARENTID = 0x4000000
85 ATTR_CMN_PAROBJID = 0x80
86 ATTR_CMN_RETURNED_ATTRS = 0x80000000
87 ATTR_CMN_SCRIPT = 0x100
88 ATTR_CMN_SETMASK = 0x51c7ff00
89 ATTR_CMN_USERACCESS = 0x200000
90 ATTR_CMN_UUID = 0x800000
91 ATTR_CMN_VALIDMASK = 0xffffffff
92 ATTR_CMN_VOLSETMASK = 0x6700
93 ATTR_FILE_ALLOCSIZE = 0x4
94 ATTR_FILE_CLUMPSIZE = 0x10
95 ATTR_FILE_DATAALLOCSIZE = 0x400
96 ATTR_FILE_DATAEXTENTS = 0x800
97 ATTR_FILE_DATALENGTH = 0x200
98 ATTR_FILE_DEVTYPE = 0x20
99 ATTR_FILE_FILETYPE = 0x40
100 ATTR_FILE_FORKCOUNT = 0x80
101 ATTR_FILE_FORKLIST = 0x100
102 ATTR_FILE_IOBLOCKSIZE = 0x8
103 ATTR_FILE_LINKCOUNT = 0x1
104 ATTR_FILE_RSRCALLOCSIZE = 0x2000
105 ATTR_FILE_RSRCEXTENTS = 0x4000
106 ATTR_FILE_RSRCLENGTH = 0x1000
107 ATTR_FILE_SETMASK = 0x20
108 ATTR_FILE_TOTALSIZE = 0x2
109 ATTR_FILE_VALIDMASK = 0x37ff
110 ATTR_VOL_ALLOCATIONCLUMP = 0x40
111 ATTR_VOL_ATTRIBUTES = 0x40000000
112 ATTR_VOL_CAPABILITIES = 0x20000
113 ATTR_VOL_DIRCOUNT = 0x400
114 ATTR_VOL_ENCODINGSUSED = 0x10000
115 ATTR_VOL_FILECOUNT = 0x200
116 ATTR_VOL_FSTYPE = 0x1
117 ATTR_VOL_INFO = 0x80000000
118 ATTR_VOL_IOBLOCKSIZE = 0x80
119 ATTR_VOL_MAXOBJCOUNT = 0x800
120 ATTR_VOL_MINALLOCATION = 0x20
121 ATTR_VOL_MOUNTEDDEVICE = 0x8000
122 ATTR_VOL_MOUNTFLAGS = 0x4000
123 ATTR_VOL_MOUNTPOINT = 0x1000
124 ATTR_VOL_NAME = 0x2000
125 ATTR_VOL_OBJCOUNT = 0x100
126 ATTR_VOL_QUOTA_SIZE = 0x10000000
127 ATTR_VOL_RESERVED_SIZE = 0x20000000
128 ATTR_VOL_SETMASK = 0x80002000
129 ATTR_VOL_SIGNATURE = 0x2
130 ATTR_VOL_SIZE = 0x4
131 ATTR_VOL_SPACEAVAIL = 0x10
132 ATTR_VOL_SPACEFREE = 0x8
133 ATTR_VOL_SPACEUSED = 0x800000
134 ATTR_VOL_UUID = 0x40000
135 ATTR_VOL_VALIDMASK = 0xf087ffff
136 B0 = 0x0
137 B110 = 0x6e
138 B115200 = 0x1c200
139 B1200 = 0x4b0
140 B134 = 0x86
141 B14400 = 0x3840
142 B150 = 0x96
143 B1800 = 0x708
144 B19200 = 0x4b00
145 B200 = 0xc8
146 B230400 = 0x38400
147 B2400 = 0x960
148 B28800 = 0x7080
149 B300 = 0x12c
150 B38400 = 0x9600
151 B4800 = 0x12c0
152 B50 = 0x32
153 B57600 = 0xe100
154 B600 = 0x258
155 B7200 = 0x1c20
156 B75 = 0x4b
157 B76800 = 0x12c00
158 B9600 = 0x2580
159 BIOCFLUSH = 0x20004268
160 BIOCGBLEN = 0x40044266
161 BIOCGDLT = 0x4004426a
162 BIOCGDLTLIST = 0xc00c4279
163 BIOCGETIF = 0x4020426b
164 BIOCGHDRCMPLT = 0x40044274
165 BIOCGRSIG = 0x40044272
166 BIOCGRTIMEOUT = 0x4010426e
167 BIOCGSEESENT = 0x40044276
168 BIOCGSTATS = 0x4008426f
169 BIOCIMMEDIATE = 0x80044270
170 BIOCPROMISC = 0x20004269
171 BIOCSBLEN = 0xc0044266
172 BIOCSDLT = 0x80044278
173 BIOCSETF = 0x80104267
174 BIOCSETFNR = 0x8010427e
175 BIOCSETIF = 0x8020426c
176 BIOCSHDRCMPLT = 0x80044275
177 BIOCSRSIG = 0x80044273
178 BIOCSRTIMEOUT = 0x8010426d
179 BIOCSSEESENT = 0x80044277
180 BIOCVERSION = 0x40044271
181 BPF_A = 0x10
182 BPF_ABS = 0x20
183 BPF_ADD = 0x0
184 BPF_ALIGNMENT = 0x4
185 BPF_ALU = 0x4
186 BPF_AND = 0x50
187 BPF_B = 0x10
188 BPF_DIV = 0x30
189 BPF_H = 0x8
190 BPF_IMM = 0x0
191 BPF_IND = 0x40
192 BPF_JA = 0x0
193 BPF_JEQ = 0x10
194 BPF_JGE = 0x30
195 BPF_JGT = 0x20
196 BPF_JMP = 0x5
197 BPF_JSET = 0x40
198 BPF_K = 0x0
199 BPF_LD = 0x0
200 BPF_LDX = 0x1
201 BPF_LEN = 0x80
202 BPF_LSH = 0x60
203 BPF_MAJOR_VERSION = 0x1
204 BPF_MAXBUFSIZE = 0x80000
205 BPF_MAXINSNS = 0x200
206 BPF_MEM = 0x60
207 BPF_MEMWORDS = 0x10
208 BPF_MINBUFSIZE = 0x20
209 BPF_MINOR_VERSION = 0x1
210 BPF_MISC = 0x7
211 BPF_MSH = 0xa0
212 BPF_MUL = 0x20
213 BPF_NEG = 0x80
214 BPF_OR = 0x40
215 BPF_RELEASE = 0x30bb6
216 BPF_RET = 0x6
217 BPF_RSH = 0x70
218 BPF_ST = 0x2
219 BPF_STX = 0x3
220 BPF_SUB = 0x10
221 BPF_TAX = 0x0
222 BPF_TXA = 0x80
223 BPF_W = 0x0
224 BPF_X = 0x8
225 BRKINT = 0x2
226 BS0 = 0x0
227 BS1 = 0x8000
228 BSDLY = 0x8000
229 CFLUSH = 0xf
230 CLOCAL = 0x8000
231 CLOCK_MONOTONIC = 0x6
232 CLOCK_MONOTONIC_RAW = 0x4
233 CLOCK_MONOTONIC_RAW_APPROX = 0x5
234 CLOCK_PROCESS_CPUTIME_ID = 0xc
235 CLOCK_REALTIME = 0x0
236 CLOCK_THREAD_CPUTIME_ID = 0x10
237 CLOCK_UPTIME_RAW = 0x8
238 CLOCK_UPTIME_RAW_APPROX = 0x9
239 CLONE_NOFOLLOW = 0x1
240 CLONE_NOOWNERCOPY = 0x2
241 CR0 = 0x0
242 CR1 = 0x1000
243 CR2 = 0x2000
244 CR3 = 0x3000
245 CRDLY = 0x3000
246 CREAD = 0x800
247 CRTSCTS = 0x30000
248 CS5 = 0x0
249 CS6 = 0x100
250 CS7 = 0x200
251 CS8 = 0x300
252 CSIZE = 0x300
253 CSTART = 0x11
254 CSTATUS = 0x14
255 CSTOP = 0x13
256 CSTOPB = 0x400
257 CSUSP = 0x1a
258 CTLIOCGINFO = 0xc0644e03
259 CTL_HW = 0x6
260 CTL_KERN = 0x1
261 CTL_MAXNAME = 0xc
262 CTL_NET = 0x4
263 DLT_A429 = 0xb8
264 DLT_A653_ICM = 0xb9
265 DLT_AIRONET_HEADER = 0x78
266 DLT_AOS = 0xde
267 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
268 DLT_ARCNET = 0x7
269 DLT_ARCNET_LINUX = 0x81
270 DLT_ATM_CLIP = 0x13
271 DLT_ATM_RFC1483 = 0xb
272 DLT_AURORA = 0x7e
273 DLT_AX25 = 0x3
274 DLT_AX25_KISS = 0xca
275 DLT_BACNET_MS_TP = 0xa5
276 DLT_BLUETOOTH_HCI_H4 = 0xbb
277 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
278 DLT_CAN20B = 0xbe
279 DLT_CAN_SOCKETCAN = 0xe3
280 DLT_CHAOS = 0x5
281 DLT_CHDLC = 0x68
282 DLT_CISCO_IOS = 0x76
283 DLT_C_HDLC = 0x68
284 DLT_C_HDLC_WITH_DIR = 0xcd
285 DLT_DBUS = 0xe7
286 DLT_DECT = 0xdd
287 DLT_DOCSIS = 0x8f
288 DLT_DVB_CI = 0xeb
289 DLT_ECONET = 0x73
290 DLT_EN10MB = 0x1
291 DLT_EN3MB = 0x2
292 DLT_ENC = 0x6d
293 DLT_ERF = 0xc5
294 DLT_ERF_ETH = 0xaf
295 DLT_ERF_POS = 0xb0
296 DLT_FC_2 = 0xe0
297 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
298 DLT_FDDI = 0xa
299 DLT_FLEXRAY = 0xd2
300 DLT_FRELAY = 0x6b
301 DLT_FRELAY_WITH_DIR = 0xce
302 DLT_GCOM_SERIAL = 0xad
303 DLT_GCOM_T1E1 = 0xac
304 DLT_GPF_F = 0xab
305 DLT_GPF_T = 0xaa
306 DLT_GPRS_LLC = 0xa9
307 DLT_GSMTAP_ABIS = 0xda
308 DLT_GSMTAP_UM = 0xd9
309 DLT_HHDLC = 0x79
310 DLT_IBM_SN = 0x92
311 DLT_IBM_SP = 0x91
312 DLT_IEEE802 = 0x6
313 DLT_IEEE802_11 = 0x69
314 DLT_IEEE802_11_RADIO = 0x7f
315 DLT_IEEE802_11_RADIO_AVS = 0xa3
316 DLT_IEEE802_15_4 = 0xc3
317 DLT_IEEE802_15_4_LINUX = 0xbf
318 DLT_IEEE802_15_4_NOFCS = 0xe6
319 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
320 DLT_IEEE802_16_MAC_CPS = 0xbc
321 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
322 DLT_IPFILTER = 0x74
323 DLT_IPMB = 0xc7
324 DLT_IPMB_LINUX = 0xd1
325 DLT_IPNET = 0xe2
326 DLT_IPOIB = 0xf2
327 DLT_IPV4 = 0xe4
328 DLT_IPV6 = 0xe5
329 DLT_IP_OVER_FC = 0x7a
330 DLT_JUNIPER_ATM1 = 0x89
331 DLT_JUNIPER_ATM2 = 0x87
332 DLT_JUNIPER_ATM_CEMIC = 0xee
333 DLT_JUNIPER_CHDLC = 0xb5
334 DLT_JUNIPER_ES = 0x84
335 DLT_JUNIPER_ETHER = 0xb2
336 DLT_JUNIPER_FIBRECHANNEL = 0xea
337 DLT_JUNIPER_FRELAY = 0xb4
338 DLT_JUNIPER_GGSN = 0x85
339 DLT_JUNIPER_ISM = 0xc2
340 DLT_JUNIPER_MFR = 0x86
341 DLT_JUNIPER_MLFR = 0x83
342 DLT_JUNIPER_MLPPP = 0x82
343 DLT_JUNIPER_MONITOR = 0xa4
344 DLT_JUNIPER_PIC_PEER = 0xae
345 DLT_JUNIPER_PPP = 0xb3
346 DLT_JUNIPER_PPPOE = 0xa7
347 DLT_JUNIPER_PPPOE_ATM = 0xa8
348 DLT_JUNIPER_SERVICES = 0x88
349 DLT_JUNIPER_SRX_E2E = 0xe9
350 DLT_JUNIPER_ST = 0xc8
351 DLT_JUNIPER_VP = 0xb7
352 DLT_JUNIPER_VS = 0xe8
353 DLT_LAPB_WITH_DIR = 0xcf
354 DLT_LAPD = 0xcb
355 DLT_LIN = 0xd4
356 DLT_LINUX_EVDEV = 0xd8
357 DLT_LINUX_IRDA = 0x90
358 DLT_LINUX_LAPD = 0xb1
359 DLT_LINUX_PPP_WITHDIRECTION = 0xa6
360 DLT_LINUX_SLL = 0x71
361 DLT_LOOP = 0x6c
362 DLT_LTALK = 0x72
363 DLT_MATCHING_MAX = 0x10a
364 DLT_MATCHING_MIN = 0x68
365 DLT_MFR = 0xb6
366 DLT_MOST = 0xd3
367 DLT_MPEG_2_TS = 0xf3
368 DLT_MPLS = 0xdb
369 DLT_MTP2 = 0x8c
370 DLT_MTP2_WITH_PHDR = 0x8b
371 DLT_MTP3 = 0x8d
372 DLT_MUX27010 = 0xec
373 DLT_NETANALYZER = 0xf0
374 DLT_NETANALYZER_TRANSPARENT = 0xf1
375 DLT_NFC_LLCP = 0xf5
376 DLT_NFLOG = 0xef
377 DLT_NG40 = 0xf4
378 DLT_NULL = 0x0
379 DLT_PCI_EXP = 0x7d
380 DLT_PFLOG = 0x75
381 DLT_PFSYNC = 0x12
382 DLT_PPI = 0xc0
383 DLT_PPP = 0x9
384 DLT_PPP_BSDOS = 0x10
385 DLT_PPP_ETHER = 0x33
386 DLT_PPP_PPPD = 0xa6
387 DLT_PPP_SERIAL = 0x32
388 DLT_PPP_WITH_DIR = 0xcc
389 DLT_PPP_WITH_DIRECTION = 0xa6
390 DLT_PRISM_HEADER = 0x77
391 DLT_PRONET = 0x4
392 DLT_RAIF1 = 0xc6
393 DLT_RAW = 0xc
394 DLT_RIO = 0x7c
395 DLT_SCCP = 0x8e
396 DLT_SITA = 0xc4
397 DLT_SLIP = 0x8
398 DLT_SLIP_BSDOS = 0xf
399 DLT_STANAG_5066_D_PDU = 0xed
400 DLT_SUNATM = 0x7b
401 DLT_SYMANTEC_FIREWALL = 0x63
402 DLT_TZSP = 0x80
403 DLT_USB = 0xba
404 DLT_USB_DARWIN = 0x10a
405 DLT_USB_LINUX = 0xbd
406 DLT_USB_LINUX_MMAPPED = 0xdc
407 DLT_USER0 = 0x93
408 DLT_USER1 = 0x94
409 DLT_USER10 = 0x9d
410 DLT_USER11 = 0x9e
411 DLT_USER12 = 0x9f
412 DLT_USER13 = 0xa0
413 DLT_USER14 = 0xa1
414 DLT_USER15 = 0xa2
415 DLT_USER2 = 0x95
416 DLT_USER3 = 0x96
417 DLT_USER4 = 0x97
418 DLT_USER5 = 0x98
419 DLT_USER6 = 0x99
420 DLT_USER7 = 0x9a
421 DLT_USER8 = 0x9b
422 DLT_USER9 = 0x9c
423 DLT_WIHART = 0xdf
424 DLT_X2E_SERIAL = 0xd5
425 DLT_X2E_XORAYA = 0xd6
426 DT_BLK = 0x6
427 DT_CHR = 0x2
428 DT_DIR = 0x4
429 DT_FIFO = 0x1
430 DT_LNK = 0xa
431 DT_REG = 0x8
432 DT_SOCK = 0xc
433 DT_UNKNOWN = 0x0
434 DT_WHT = 0xe
435 ECHO = 0x8
436 ECHOCTL = 0x40
437 ECHOE = 0x2
438 ECHOK = 0x4
439 ECHOKE = 0x1
440 ECHONL = 0x10
441 ECHOPRT = 0x20
442 EVFILT_AIO = -0x3
443 EVFILT_EXCEPT = -0xf
444 EVFILT_FS = -0x9
445 EVFILT_MACHPORT = -0x8
446 EVFILT_PROC = -0x5
447 EVFILT_READ = -0x1
448 EVFILT_SIGNAL = -0x6
449 EVFILT_SYSCOUNT = 0x11
450 EVFILT_THREADMARKER = 0x11
451 EVFILT_TIMER = -0x7
452 EVFILT_USER = -0xa
453 EVFILT_VM = -0xc
454 EVFILT_VNODE = -0x4
455 EVFILT_WRITE = -0x2
456 EV_ADD = 0x1
457 EV_CLEAR = 0x20
458 EV_DELETE = 0x2
459 EV_DISABLE = 0x8
460 EV_DISPATCH = 0x80
461 EV_DISPATCH2 = 0x180
462 EV_ENABLE = 0x4
463 EV_EOF = 0x8000
464 EV_ERROR = 0x4000
465 EV_FLAG0 = 0x1000
466 EV_FLAG1 = 0x2000
467 EV_ONESHOT = 0x10
468 EV_OOBAND = 0x2000
469 EV_POLL = 0x1000
470 EV_RECEIPT = 0x40
471 EV_SYSFLAGS = 0xf000
472 EV_UDATA_SPECIFIC = 0x100
473 EV_VANISHED = 0x200
474 EXTA = 0x4b00
475 EXTB = 0x9600
476 EXTPROC = 0x800
477 FD_CLOEXEC = 0x1
478 FD_SETSIZE = 0x400
479 FF0 = 0x0
480 FF1 = 0x4000
481 FFDLY = 0x4000
482 FLUSHO = 0x800000
483 FSOPT_ATTR_CMN_EXTENDED = 0x20
484 FSOPT_NOFOLLOW = 0x1
485 FSOPT_NOINMEMUPDATE = 0x2
486 FSOPT_PACK_INVAL_ATTRS = 0x8
487 FSOPT_REPORT_FULLSIZE = 0x4
488 FSOPT_RETURN_REALDEV = 0x200
489 F_ADDFILESIGS = 0x3d
490 F_ADDFILESIGS_FOR_DYLD_SIM = 0x53
491 F_ADDFILESIGS_INFO = 0x67
492 F_ADDFILESIGS_RETURN = 0x61
493 F_ADDFILESUPPL = 0x68
494 F_ADDSIGS = 0x3b
495 F_ALLOCATEALL = 0x4
496 F_ALLOCATECONTIG = 0x2
497 F_BARRIERFSYNC = 0x55
498 F_CHECK_LV = 0x62
499 F_CHKCLEAN = 0x29
500 F_DUPFD = 0x0
501 F_DUPFD_CLOEXEC = 0x43
502 F_FINDSIGS = 0x4e
503 F_FLUSH_DATA = 0x28
504 F_FREEZE_FS = 0x35
505 F_FULLFSYNC = 0x33
506 F_GETCODEDIR = 0x48
507 F_GETFD = 0x1
508 F_GETFL = 0x3
509 F_GETLK = 0x7
510 F_GETLKPID = 0x42
511 F_GETNOSIGPIPE = 0x4a
512 F_GETOWN = 0x5
513 F_GETPATH = 0x32
514 F_GETPATH_MTMINFO = 0x47
515 F_GETPATH_NOFIRMLINK = 0x66
516 F_GETPROTECTIONCLASS = 0x3f
517 F_GETPROTECTIONLEVEL = 0x4d
518 F_GETSIGSINFO = 0x69
519 F_GLOBAL_NOCACHE = 0x37
520 F_LOG2PHYS = 0x31
521 F_LOG2PHYS_EXT = 0x41
522 F_NOCACHE = 0x30
523 F_NODIRECT = 0x3e
524 F_OK = 0x0
525 F_PATHPKG_CHECK = 0x34
526 F_PEOFPOSMODE = 0x3
527 F_PREALLOCATE = 0x2a
528 F_PUNCHHOLE = 0x63
529 F_RDADVISE = 0x2c
530 F_RDAHEAD = 0x2d
531 F_RDLCK = 0x1
532 F_SETBACKINGSTORE = 0x46
533 F_SETFD = 0x2
534 F_SETFL = 0x4
535 F_SETLK = 0x8
536 F_SETLKW = 0x9
537 F_SETLKWTIMEOUT = 0xa
538 F_SETNOSIGPIPE = 0x49
539 F_SETOWN = 0x6
540 F_SETPROTECTIONCLASS = 0x40
541 F_SETSIZE = 0x2b
542 F_SINGLE_WRITER = 0x4c
543 F_SPECULATIVE_READ = 0x65
544 F_THAW_FS = 0x36
545 F_TRANSCODEKEY = 0x4b
546 F_TRIM_ACTIVE_FILE = 0x64
547 F_UNLCK = 0x2
548 F_VOLPOSMODE = 0x4
549 F_WRLCK = 0x3
550 HUPCL = 0x4000
551 HW_MACHINE = 0x1
552 ICANON = 0x100
553 ICMP6_FILTER = 0x12
554 ICRNL = 0x100
555 IEXTEN = 0x400
556 IFF_ALLMULTI = 0x200
557 IFF_ALTPHYS = 0x4000
558 IFF_BROADCAST = 0x2
559 IFF_DEBUG = 0x4
560 IFF_LINK0 = 0x1000
561 IFF_LINK1 = 0x2000
562 IFF_LINK2 = 0x4000
563 IFF_LOOPBACK = 0x8
564 IFF_MULTICAST = 0x8000
565 IFF_NOARP = 0x80
566 IFF_NOTRAILERS = 0x20
567 IFF_OACTIVE = 0x400
568 IFF_POINTOPOINT = 0x10
569 IFF_PROMISC = 0x100
570 IFF_RUNNING = 0x40
571 IFF_SIMPLEX = 0x800
572 IFF_UP = 0x1
573 IFNAMSIZ = 0x10
574 IFT_1822 = 0x2
575 IFT_6LOWPAN = 0x40
576 IFT_AAL5 = 0x31
577 IFT_ARCNET = 0x23
578 IFT_ARCNETPLUS = 0x24
579 IFT_ATM = 0x25
580 IFT_BRIDGE = 0xd1
581 IFT_CARP = 0xf8
582 IFT_CELLULAR = 0xff
583 IFT_CEPT = 0x13
584 IFT_DS3 = 0x1e
585 IFT_ENC = 0xf4
586 IFT_EON = 0x19
587 IFT_ETHER = 0x6
588 IFT_FAITH = 0x38
589 IFT_FDDI = 0xf
590 IFT_FRELAY = 0x20
591 IFT_FRELAYDCE = 0x2c
592 IFT_GIF = 0x37
593 IFT_HDH1822 = 0x3
594 IFT_HIPPI = 0x2f
595 IFT_HSSI = 0x2e
596 IFT_HY = 0xe
597 IFT_IEEE1394 = 0x90
598 IFT_IEEE8023ADLAG = 0x88
599 IFT_ISDNBASIC = 0x14
600 IFT_ISDNPRIMARY = 0x15
601 IFT_ISO88022LLC = 0x29
602 IFT_ISO88023 = 0x7
603 IFT_ISO88024 = 0x8
604 IFT_ISO88025 = 0x9
605 IFT_ISO88026 = 0xa
606 IFT_L2VLAN = 0x87
607 IFT_LAPB = 0x10
608 IFT_LOCALTALK = 0x2a
609 IFT_LOOP = 0x18
610 IFT_MIOX25 = 0x26
611 IFT_MODEM = 0x30
612 IFT_NSIP = 0x1b
613 IFT_OTHER = 0x1
614 IFT_P10 = 0xc
615 IFT_P80 = 0xd
616 IFT_PARA = 0x22
617 IFT_PDP = 0xff
618 IFT_PFLOG = 0xf5
619 IFT_PFSYNC = 0xf6
620 IFT_PKTAP = 0xfe
621 IFT_PPP = 0x17
622 IFT_PROPMUX = 0x36
623 IFT_PROPVIRTUAL = 0x35
624 IFT_PTPSERIAL = 0x16
625 IFT_RS232 = 0x21
626 IFT_SDLC = 0x11
627 IFT_SIP = 0x1f
628 IFT_SLIP = 0x1c
629 IFT_SMDSDXI = 0x2b
630 IFT_SMDSICIP = 0x34
631 IFT_SONET = 0x27
632 IFT_SONETPATH = 0x32
633 IFT_SONETVT = 0x33
634 IFT_STARLAN = 0xb
635 IFT_STF = 0x39
636 IFT_T1 = 0x12
637 IFT_ULTRA = 0x1d
638 IFT_V35 = 0x2d
639 IFT_X25 = 0x5
640 IFT_X25DDN = 0x4
641 IFT_X25PLE = 0x28
642 IFT_XETHER = 0x1a
643 IGNBRK = 0x1
644 IGNCR = 0x80
645 IGNPAR = 0x4
646 IMAXBEL = 0x2000
647 INLCR = 0x40
648 INPCK = 0x10
649 IN_CLASSA_HOST = 0xffffff
650 IN_CLASSA_MAX = 0x80
651 IN_CLASSA_NET = 0xff000000
652 IN_CLASSA_NSHIFT = 0x18
653 IN_CLASSB_HOST = 0xffff
654 IN_CLASSB_MAX = 0x10000
655 IN_CLASSB_NET = 0xffff0000
656 IN_CLASSB_NSHIFT = 0x10
657 IN_CLASSC_HOST = 0xff
658 IN_CLASSC_NET = 0xffffff00
659 IN_CLASSC_NSHIFT = 0x8
660 IN_CLASSD_HOST = 0xfffffff
661 IN_CLASSD_NET = 0xf0000000
662 IN_CLASSD_NSHIFT = 0x1c
663 IN_LINKLOCALNETNUM = 0xa9fe0000
664 IN_LOOPBACKNET = 0x7f
665 IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x400473d1
666 IPPROTO_3PC = 0x22
667 IPPROTO_ADFS = 0x44
668 IPPROTO_AH = 0x33
669 IPPROTO_AHIP = 0x3d
670 IPPROTO_APES = 0x63
671 IPPROTO_ARGUS = 0xd
672 IPPROTO_AX25 = 0x5d
673 IPPROTO_BHA = 0x31
674 IPPROTO_BLT = 0x1e
675 IPPROTO_BRSATMON = 0x4c
676 IPPROTO_CFTP = 0x3e
677 IPPROTO_CHAOS = 0x10
678 IPPROTO_CMTP = 0x26
679 IPPROTO_CPHB = 0x49
680 IPPROTO_CPNX = 0x48
681 IPPROTO_DDP = 0x25
682 IPPROTO_DGP = 0x56
683 IPPROTO_DIVERT = 0xfe
684 IPPROTO_DONE = 0x101
685 IPPROTO_DSTOPTS = 0x3c
686 IPPROTO_EGP = 0x8
687 IPPROTO_EMCON = 0xe
688 IPPROTO_ENCAP = 0x62
689 IPPROTO_EON = 0x50
690 IPPROTO_ESP = 0x32
691 IPPROTO_ETHERIP = 0x61
692 IPPROTO_FRAGMENT = 0x2c
693 IPPROTO_GGP = 0x3
694 IPPROTO_GMTP = 0x64
695 IPPROTO_GRE = 0x2f
696 IPPROTO_HELLO = 0x3f
697 IPPROTO_HMP = 0x14
698 IPPROTO_HOPOPTS = 0x0
699 IPPROTO_ICMP = 0x1
700 IPPROTO_ICMPV6 = 0x3a
701 IPPROTO_IDP = 0x16
702 IPPROTO_IDPR = 0x23
703 IPPROTO_IDRP = 0x2d
704 IPPROTO_IGMP = 0x2
705 IPPROTO_IGP = 0x55
706 IPPROTO_IGRP = 0x58
707 IPPROTO_IL = 0x28
708 IPPROTO_INLSP = 0x34
709 IPPROTO_INP = 0x20
710 IPPROTO_IP = 0x0
711 IPPROTO_IPCOMP = 0x6c
712 IPPROTO_IPCV = 0x47
713 IPPROTO_IPEIP = 0x5e
714 IPPROTO_IPIP = 0x4
715 IPPROTO_IPPC = 0x43
716 IPPROTO_IPV4 = 0x4
717 IPPROTO_IPV6 = 0x29
718 IPPROTO_IRTP = 0x1c
719 IPPROTO_KRYPTOLAN = 0x41
720 IPPROTO_LARP = 0x5b
721 IPPROTO_LEAF1 = 0x19
722 IPPROTO_LEAF2 = 0x1a
723 IPPROTO_MAX = 0x100
724 IPPROTO_MAXID = 0x34
725 IPPROTO_MEAS = 0x13
726 IPPROTO_MHRP = 0x30
727 IPPROTO_MICP = 0x5f
728 IPPROTO_MTP = 0x5c
729 IPPROTO_MUX = 0x12
730 IPPROTO_ND = 0x4d
731 IPPROTO_NHRP = 0x36
732 IPPROTO_NONE = 0x3b
733 IPPROTO_NSP = 0x1f
734 IPPROTO_NVPII = 0xb
735 IPPROTO_OSPFIGP = 0x59
736 IPPROTO_PGM = 0x71
737 IPPROTO_PIGP = 0x9
738 IPPROTO_PIM = 0x67
739 IPPROTO_PRM = 0x15
740 IPPROTO_PUP = 0xc
741 IPPROTO_PVP = 0x4b
742 IPPROTO_RAW = 0xff
743 IPPROTO_RCCMON = 0xa
744 IPPROTO_RDP = 0x1b
745 IPPROTO_ROUTING = 0x2b
746 IPPROTO_RSVP = 0x2e
747 IPPROTO_RVD = 0x42
748 IPPROTO_SATEXPAK = 0x40
749 IPPROTO_SATMON = 0x45
750 IPPROTO_SCCSP = 0x60
751 IPPROTO_SCTP = 0x84
752 IPPROTO_SDRP = 0x2a
753 IPPROTO_SEP = 0x21
754 IPPROTO_SRPC = 0x5a
755 IPPROTO_ST = 0x7
756 IPPROTO_SVMTP = 0x52
757 IPPROTO_SWIPE = 0x35
758 IPPROTO_TCF = 0x57
759 IPPROTO_TCP = 0x6
760 IPPROTO_TP = 0x1d
761 IPPROTO_TPXX = 0x27
762 IPPROTO_TRUNK1 = 0x17
763 IPPROTO_TRUNK2 = 0x18
764 IPPROTO_TTP = 0x54
765 IPPROTO_UDP = 0x11
766 IPPROTO_VINES = 0x53
767 IPPROTO_VISA = 0x46
768 IPPROTO_VMTP = 0x51
769 IPPROTO_WBEXPAK = 0x4f
770 IPPROTO_WBMON = 0x4e
771 IPPROTO_WSN = 0x4a
772 IPPROTO_XNET = 0xf
773 IPPROTO_XTP = 0x24
774 IPV6_2292DSTOPTS = 0x17
775 IPV6_2292HOPLIMIT = 0x14
776 IPV6_2292HOPOPTS = 0x16
777 IPV6_2292NEXTHOP = 0x15
778 IPV6_2292PKTINFO = 0x13
779 IPV6_2292PKTOPTIONS = 0x19
780 IPV6_2292RTHDR = 0x18
781 IPV6_3542DSTOPTS = 0x32
782 IPV6_3542HOPLIMIT = 0x2f
783 IPV6_3542HOPOPTS = 0x31
784 IPV6_3542NEXTHOP = 0x30
785 IPV6_3542PKTINFO = 0x2e
786 IPV6_3542RTHDR = 0x33
787 IPV6_ADDR_MC_FLAGS_PREFIX = 0x20
788 IPV6_ADDR_MC_FLAGS_TRANSIENT = 0x10
789 IPV6_ADDR_MC_FLAGS_UNICAST_BASED = 0x30
790 IPV6_AUTOFLOWLABEL = 0x3b
791 IPV6_BINDV6ONLY = 0x1b
792 IPV6_BOUND_IF = 0x7d
793 IPV6_CHECKSUM = 0x1a
794 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
795 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
796 IPV6_DEFHLIM = 0x40
797 IPV6_DONTFRAG = 0x3e
798 IPV6_DSTOPTS = 0x32
799 IPV6_FAITH = 0x1d
800 IPV6_FLOWINFO_MASK = 0xffffff0f
801 IPV6_FLOWLABEL_MASK = 0xffff0f00
802 IPV6_FLOW_ECN_MASK = 0x3000
803 IPV6_FRAGTTL = 0x3c
804 IPV6_FW_ADD = 0x1e
805 IPV6_FW_DEL = 0x1f
806 IPV6_FW_FLUSH = 0x20
807 IPV6_FW_GET = 0x22
808 IPV6_FW_ZERO = 0x21
809 IPV6_HLIMDEC = 0x1
810 IPV6_HOPLIMIT = 0x2f
811 IPV6_HOPOPTS = 0x31
812 IPV6_IPSEC_POLICY = 0x1c
813 IPV6_JOIN_GROUP = 0xc
814 IPV6_LEAVE_GROUP = 0xd
815 IPV6_MAXHLIM = 0xff
816 IPV6_MAXOPTHDR = 0x800
817 IPV6_MAXPACKET = 0xffff
818 IPV6_MAX_GROUP_SRC_FILTER = 0x200
819 IPV6_MAX_MEMBERSHIPS = 0xfff
820 IPV6_MAX_SOCK_SRC_FILTER = 0x80
821 IPV6_MIN_MEMBERSHIPS = 0x1f
822 IPV6_MMTU = 0x500
823 IPV6_MSFILTER = 0x4a
824 IPV6_MULTICAST_HOPS = 0xa
825 IPV6_MULTICAST_IF = 0x9
826 IPV6_MULTICAST_LOOP = 0xb
827 IPV6_NEXTHOP = 0x30
828 IPV6_PATHMTU = 0x2c
829 IPV6_PKTINFO = 0x2e
830 IPV6_PORTRANGE = 0xe
831 IPV6_PORTRANGE_DEFAULT = 0x0
832 IPV6_PORTRANGE_HIGH = 0x1
833 IPV6_PORTRANGE_LOW = 0x2
834 IPV6_PREFER_TEMPADDR = 0x3f
835 IPV6_RECVDSTOPTS = 0x28
836 IPV6_RECVHOPLIMIT = 0x25
837 IPV6_RECVHOPOPTS = 0x27
838 IPV6_RECVPATHMTU = 0x2b
839 IPV6_RECVPKTINFO = 0x3d
840 IPV6_RECVRTHDR = 0x26
841 IPV6_RECVTCLASS = 0x23
842 IPV6_RTHDR = 0x33
843 IPV6_RTHDRDSTOPTS = 0x39
844 IPV6_RTHDR_LOOSE = 0x0
845 IPV6_RTHDR_STRICT = 0x1
846 IPV6_RTHDR_TYPE_0 = 0x0
847 IPV6_SOCKOPT_RESERVED1 = 0x3
848 IPV6_TCLASS = 0x24
849 IPV6_UNICAST_HOPS = 0x4
850 IPV6_USE_MIN_MTU = 0x2a
851 IPV6_V6ONLY = 0x1b
852 IPV6_VERSION = 0x60
853 IPV6_VERSION_MASK = 0xf0
854 IP_ADD_MEMBERSHIP = 0xc
855 IP_ADD_SOURCE_MEMBERSHIP = 0x46
856 IP_BLOCK_SOURCE = 0x48
857 IP_BOUND_IF = 0x19
858 IP_DEFAULT_MULTICAST_LOOP = 0x1
859 IP_DEFAULT_MULTICAST_TTL = 0x1
860 IP_DF = 0x4000
861 IP_DONTFRAG = 0x1c
862 IP_DROP_MEMBERSHIP = 0xd
863 IP_DROP_SOURCE_MEMBERSHIP = 0x47
864 IP_DUMMYNET_CONFIGURE = 0x3c
865 IP_DUMMYNET_DEL = 0x3d
866 IP_DUMMYNET_FLUSH = 0x3e
867 IP_DUMMYNET_GET = 0x40
868 IP_FAITH = 0x16
869 IP_FW_ADD = 0x28
870 IP_FW_DEL = 0x29
871 IP_FW_FLUSH = 0x2a
872 IP_FW_GET = 0x2c
873 IP_FW_RESETLOG = 0x2d
874 IP_FW_ZERO = 0x2b
875 IP_HDRINCL = 0x2
876 IP_IPSEC_POLICY = 0x15
877 IP_MAXPACKET = 0xffff
878 IP_MAX_GROUP_SRC_FILTER = 0x200
879 IP_MAX_MEMBERSHIPS = 0xfff
880 IP_MAX_SOCK_MUTE_FILTER = 0x80
881 IP_MAX_SOCK_SRC_FILTER = 0x80
882 IP_MF = 0x2000
883 IP_MIN_MEMBERSHIPS = 0x1f
884 IP_MSFILTER = 0x4a
885 IP_MSS = 0x240
886 IP_MULTICAST_IF = 0x9
887 IP_MULTICAST_IFINDEX = 0x42
888 IP_MULTICAST_LOOP = 0xb
889 IP_MULTICAST_TTL = 0xa
890 IP_MULTICAST_VIF = 0xe
891 IP_NAT__XXX = 0x37
892 IP_OFFMASK = 0x1fff
893 IP_OLD_FW_ADD = 0x32
894 IP_OLD_FW_DEL = 0x33
895 IP_OLD_FW_FLUSH = 0x34
896 IP_OLD_FW_GET = 0x36
897 IP_OLD_FW_RESETLOG = 0x38
898 IP_OLD_FW_ZERO = 0x35
899 IP_OPTIONS = 0x1
900 IP_PKTINFO = 0x1a
901 IP_PORTRANGE = 0x13
902 IP_PORTRANGE_DEFAULT = 0x0
903 IP_PORTRANGE_HIGH = 0x1
904 IP_PORTRANGE_LOW = 0x2
905 IP_RECVDSTADDR = 0x7
906 IP_RECVIF = 0x14
907 IP_RECVOPTS = 0x5
908 IP_RECVPKTINFO = 0x1a
909 IP_RECVRETOPTS = 0x6
910 IP_RECVTOS = 0x1b
911 IP_RECVTTL = 0x18
912 IP_RETOPTS = 0x8
913 IP_RF = 0x8000
914 IP_RSVP_OFF = 0x10
915 IP_RSVP_ON = 0xf
916 IP_RSVP_VIF_OFF = 0x12
917 IP_RSVP_VIF_ON = 0x11
918 IP_STRIPHDR = 0x17
919 IP_TOS = 0x3
920 IP_TRAFFIC_MGT_BACKGROUND = 0x41
921 IP_TTL = 0x4
922 IP_UNBLOCK_SOURCE = 0x49
923 ISIG = 0x80
924 ISTRIP = 0x20
925 IUTF8 = 0x4000
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 LOCAL_PEERCRED = 0x1
934 LOCAL_PEEREPID = 0x3
935 LOCAL_PEEREUUID = 0x5
936 LOCAL_PEERPID = 0x2
937 LOCAL_PEERTOKEN = 0x6
938 LOCAL_PEERUUID = 0x4
939 LOCK_EX = 0x2
940 LOCK_NB = 0x4
941 LOCK_SH = 0x1
942 LOCK_UN = 0x8
943 MADV_CAN_REUSE = 0x9
944 MADV_DONTNEED = 0x4
945 MADV_FREE = 0x5
946 MADV_FREE_REUSABLE = 0x7
947 MADV_FREE_REUSE = 0x8
948 MADV_NORMAL = 0x0
949 MADV_PAGEOUT = 0xa
950 MADV_RANDOM = 0x1
951 MADV_SEQUENTIAL = 0x2
952 MADV_WILLNEED = 0x3
953 MADV_ZERO_WIRED_PAGES = 0x6
954 MAP_32BIT = 0x8000
955 MAP_ANON = 0x1000
956 MAP_ANONYMOUS = 0x1000
957 MAP_COPY = 0x2
958 MAP_FILE = 0x0
959 MAP_FIXED = 0x10
960 MAP_HASSEMAPHORE = 0x200
961 MAP_JIT = 0x800
962 MAP_NOCACHE = 0x400
963 MAP_NOEXTEND = 0x100
964 MAP_NORESERVE = 0x40
965 MAP_PRIVATE = 0x2
966 MAP_RENAME = 0x20
967 MAP_RESERVED0080 = 0x80
968 MAP_RESILIENT_CODESIGN = 0x2000
969 MAP_RESILIENT_MEDIA = 0x4000
970 MAP_SHARED = 0x1
971 MAP_TRANSLATED_ALLOW_EXECUTE = 0x20000
972 MAP_UNIX03 = 0x40000
973 MCAST_BLOCK_SOURCE = 0x54
974 MCAST_EXCLUDE = 0x2
975 MCAST_INCLUDE = 0x1
976 MCAST_JOIN_GROUP = 0x50
977 MCAST_JOIN_SOURCE_GROUP = 0x52
978 MCAST_LEAVE_GROUP = 0x51
979 MCAST_LEAVE_SOURCE_GROUP = 0x53
980 MCAST_UNBLOCK_SOURCE = 0x55
981 MCAST_UNDEFINED = 0x0
982 MCL_CURRENT = 0x1
983 MCL_FUTURE = 0x2
984 MNT_ASYNC = 0x40
985 MNT_AUTOMOUNTED = 0x400000
986 MNT_CMDFLAGS = 0xf0000
987 MNT_CPROTECT = 0x80
988 MNT_DEFWRITE = 0x2000000
989 MNT_DONTBROWSE = 0x100000
990 MNT_DOVOLFS = 0x8000
991 MNT_DWAIT = 0x4
992 MNT_EXPORTED = 0x100
993 MNT_EXT_ROOT_DATA_VOL = 0x1
994 MNT_FORCE = 0x80000
995 MNT_IGNORE_OWNERSHIP = 0x200000
996 MNT_JOURNALED = 0x800000
997 MNT_LOCAL = 0x1000
998 MNT_MULTILABEL = 0x4000000
999 MNT_NOATIME = 0x10000000
1000 MNT_NOBLOCK = 0x20000
1001 MNT_NODEV = 0x10
1002 MNT_NOEXEC = 0x4
1003 MNT_NOSUID = 0x8
1004 MNT_NOUSERXATTR = 0x1000000
1005 MNT_NOWAIT = 0x2
1006 MNT_QUARANTINE = 0x400
1007 MNT_QUOTA = 0x2000
1008 MNT_RDONLY = 0x1
1009 MNT_RELOAD = 0x40000
1010 MNT_REMOVABLE = 0x200
1011 MNT_ROOTFS = 0x4000
1012 MNT_SNAPSHOT = 0x40000000
1013 MNT_STRICTATIME = 0x80000000
1014 MNT_SYNCHRONOUS = 0x2
1015 MNT_UNION = 0x20
1016 MNT_UNKNOWNPERMISSIONS = 0x200000
1017 MNT_UPDATE = 0x10000
1018 MNT_VISFLAGMASK = 0xd7f0f7ff
1019 MNT_WAIT = 0x1
1020 MSG_CTRUNC = 0x20
1021 MSG_DONTROUTE = 0x4
1022 MSG_DONTWAIT = 0x80
1023 MSG_EOF = 0x100
1024 MSG_EOR = 0x8
1025 MSG_FLUSH = 0x400
1026 MSG_HAVEMORE = 0x2000
1027 MSG_HOLD = 0x800
1028 MSG_NEEDSA = 0x10000
1029 MSG_NOSIGNAL = 0x80000
1030 MSG_OOB = 0x1
1031 MSG_PEEK = 0x2
1032 MSG_RCVMORE = 0x4000
1033 MSG_SEND = 0x1000
1034 MSG_TRUNC = 0x10
1035 MSG_WAITALL = 0x40
1036 MSG_WAITSTREAM = 0x200
1037 MS_ASYNC = 0x1
1038 MS_DEACTIVATE = 0x8
1039 MS_INVALIDATE = 0x2
1040 MS_KILLPAGES = 0x4
1041 MS_SYNC = 0x10
1042 NAME_MAX = 0xff
1043 NET_RT_DUMP = 0x1
1044 NET_RT_DUMP2 = 0x7
1045 NET_RT_FLAGS = 0x2
1046 NET_RT_FLAGS_PRIV = 0xa
1047 NET_RT_IFLIST = 0x3
1048 NET_RT_IFLIST2 = 0x6
1049 NET_RT_MAXID = 0xb
1050 NET_RT_STAT = 0x4
1051 NET_RT_TRASH = 0x5
1052 NFDBITS = 0x20
1053 NL0 = 0x0
1054 NL1 = 0x100
1055 NL2 = 0x200
1056 NL3 = 0x300
1057 NLDLY = 0x300
1058 NOFLSH = 0x80000000
1059 NOKERNINFO = 0x2000000
1060 NOTE_ABSOLUTE = 0x8
1061 NOTE_ATTRIB = 0x8
1062 NOTE_BACKGROUND = 0x40
1063 NOTE_CHILD = 0x4
1064 NOTE_CRITICAL = 0x20
1065 NOTE_DELETE = 0x1
1066 NOTE_EXEC = 0x20000000
1067 NOTE_EXIT = 0x80000000
1068 NOTE_EXITSTATUS = 0x4000000
1069 NOTE_EXIT_CSERROR = 0x40000
1070 NOTE_EXIT_DECRYPTFAIL = 0x10000
1071 NOTE_EXIT_DETAIL = 0x2000000
1072 NOTE_EXIT_DETAIL_MASK = 0x70000
1073 NOTE_EXIT_MEMORY = 0x20000
1074 NOTE_EXIT_REPARENTED = 0x80000
1075 NOTE_EXTEND = 0x4
1076 NOTE_FFAND = 0x40000000
1077 NOTE_FFCOPY = 0xc0000000
1078 NOTE_FFCTRLMASK = 0xc0000000
1079 NOTE_FFLAGSMASK = 0xffffff
1080 NOTE_FFNOP = 0x0
1081 NOTE_FFOR = 0x80000000
1082 NOTE_FORK = 0x40000000
1083 NOTE_FUNLOCK = 0x100
1084 NOTE_LEEWAY = 0x10
1085 NOTE_LINK = 0x10
1086 NOTE_LOWAT = 0x1
1087 NOTE_MACHTIME = 0x100
1088 NOTE_MACH_CONTINUOUS_TIME = 0x80
1089 NOTE_NONE = 0x80
1090 NOTE_NSECONDS = 0x4
1091 NOTE_OOB = 0x2
1092 NOTE_PCTRLMASK = -0x100000
1093 NOTE_PDATAMASK = 0xfffff
1094 NOTE_REAP = 0x10000000
1095 NOTE_RENAME = 0x20
1096 NOTE_REVOKE = 0x40
1097 NOTE_SECONDS = 0x1
1098 NOTE_SIGNAL = 0x8000000
1099 NOTE_TRACK = 0x1
1100 NOTE_TRACKERR = 0x2
1101 NOTE_TRIGGER = 0x1000000
1102 NOTE_USECONDS = 0x2
1103 NOTE_VM_ERROR = 0x10000000
1104 NOTE_VM_PRESSURE = 0x80000000
1105 NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000
1106 NOTE_VM_PRESSURE_TERMINATE = 0x40000000
1107 NOTE_WRITE = 0x2
1108 OCRNL = 0x10
1109 OFDEL = 0x20000
1110 OFILL = 0x80
1111 ONLCR = 0x2
1112 ONLRET = 0x40
1113 ONOCR = 0x20
1114 ONOEOT = 0x8
1115 OPOST = 0x1
1116 OXTABS = 0x4
1117 O_ACCMODE = 0x3
1118 O_ALERT = 0x20000000
1119 O_APPEND = 0x8
1120 O_ASYNC = 0x40
1121 O_CLOEXEC = 0x1000000
1122 O_CREAT = 0x200
1123 O_DIRECTORY = 0x100000
1124 O_DP_GETRAWENCRYPTED = 0x1
1125 O_DP_GETRAWUNENCRYPTED = 0x2
1126 O_DSYNC = 0x400000
1127 O_EVTONLY = 0x8000
1128 O_EXCL = 0x800
1129 O_EXLOCK = 0x20
1130 O_FSYNC = 0x80
1131 O_NDELAY = 0x4
1132 O_NOCTTY = 0x20000
1133 O_NOFOLLOW = 0x100
1134 O_NOFOLLOW_ANY = 0x20000000
1135 O_NONBLOCK = 0x4
1136 O_POPUP = 0x80000000
1137 O_RDONLY = 0x0
1138 O_RDWR = 0x2
1139 O_SHLOCK = 0x10
1140 O_SYMLINK = 0x200000
1141 O_SYNC = 0x80
1142 O_TRUNC = 0x400
1143 O_WRONLY = 0x1
1144 PARENB = 0x1000
1145 PARMRK = 0x8
1146 PARODD = 0x2000
1147 PENDIN = 0x20000000
1148 PRIO_PGRP = 0x1
1149 PRIO_PROCESS = 0x0
1150 PRIO_USER = 0x2
1151 PROT_EXEC = 0x4
1152 PROT_NONE = 0x0
1153 PROT_READ = 0x1
1154 PROT_WRITE = 0x2
1155 PT_ATTACH = 0xa
1156 PT_ATTACHEXC = 0xe
1157 PT_CONTINUE = 0x7
1158 PT_DENY_ATTACH = 0x1f
1159 PT_DETACH = 0xb
1160 PT_FIRSTMACH = 0x20
1161 PT_FORCEQUOTA = 0x1e
1162 PT_KILL = 0x8
1163 PT_READ_D = 0x2
1164 PT_READ_I = 0x1
1165 PT_READ_U = 0x3
1166 PT_SIGEXC = 0xc
1167 PT_STEP = 0x9
1168 PT_THUPDATE = 0xd
1169 PT_TRACE_ME = 0x0
1170 PT_WRITE_D = 0x5
1171 PT_WRITE_I = 0x4
1172 PT_WRITE_U = 0x6
1173 RLIMIT_AS = 0x5
1174 RLIMIT_CORE = 0x4
1175 RLIMIT_CPU = 0x0
1176 RLIMIT_CPU_USAGE_MONITOR = 0x2
1177 RLIMIT_DATA = 0x2
1178 RLIMIT_FSIZE = 0x1
1179 RLIMIT_MEMLOCK = 0x6
1180 RLIMIT_NOFILE = 0x8
1181 RLIMIT_NPROC = 0x7
1182 RLIMIT_RSS = 0x5
1183 RLIMIT_STACK = 0x3
1184 RLIM_INFINITY = 0x7fffffffffffffff
1185 RTAX_AUTHOR = 0x6
1186 RTAX_BRD = 0x7
1187 RTAX_DST = 0x0
1188 RTAX_GATEWAY = 0x1
1189 RTAX_GENMASK = 0x3
1190 RTAX_IFA = 0x5
1191 RTAX_IFP = 0x4
1192 RTAX_MAX = 0x8
1193 RTAX_NETMASK = 0x2
1194 RTA_AUTHOR = 0x40
1195 RTA_BRD = 0x80
1196 RTA_DST = 0x1
1197 RTA_GATEWAY = 0x2
1198 RTA_GENMASK = 0x8
1199 RTA_IFA = 0x20
1200 RTA_IFP = 0x10
1201 RTA_NETMASK = 0x4
1202 RTF_BLACKHOLE = 0x1000
1203 RTF_BROADCAST = 0x400000
1204 RTF_CLONING = 0x100
1205 RTF_CONDEMNED = 0x2000000
1206 RTF_DEAD = 0x20000000
1207 RTF_DELCLONE = 0x80
1208 RTF_DONE = 0x40
1209 RTF_DYNAMIC = 0x10
1210 RTF_GATEWAY = 0x2
1211 RTF_GLOBAL = 0x40000000
1212 RTF_HOST = 0x4
1213 RTF_IFREF = 0x4000000
1214 RTF_IFSCOPE = 0x1000000
1215 RTF_LLDATA = 0x400
1216 RTF_LLINFO = 0x400
1217 RTF_LOCAL = 0x200000
1218 RTF_MODIFIED = 0x20
1219 RTF_MULTICAST = 0x800000
1220 RTF_NOIFREF = 0x2000
1221 RTF_PINNED = 0x100000
1222 RTF_PRCLONING = 0x10000
1223 RTF_PROTO1 = 0x8000
1224 RTF_PROTO2 = 0x4000
1225 RTF_PROTO3 = 0x40000
1226 RTF_PROXY = 0x8000000
1227 RTF_REJECT = 0x8
1228 RTF_ROUTER = 0x10000000
1229 RTF_STATIC = 0x800
1230 RTF_UP = 0x1
1231 RTF_WASCLONED = 0x20000
1232 RTF_XRESOLVE = 0x200
1233 RTM_ADD = 0x1
1234 RTM_CHANGE = 0x3
1235 RTM_DELADDR = 0xd
1236 RTM_DELETE = 0x2
1237 RTM_DELMADDR = 0x10
1238 RTM_GET = 0x4
1239 RTM_GET2 = 0x14
1240 RTM_IFINFO = 0xe
1241 RTM_IFINFO2 = 0x12
1242 RTM_LOCK = 0x8
1243 RTM_LOSING = 0x5
1244 RTM_MISS = 0x7
1245 RTM_NEWADDR = 0xc
1246 RTM_NEWMADDR = 0xf
1247 RTM_NEWMADDR2 = 0x13
1248 RTM_OLDADD = 0x9
1249 RTM_OLDDEL = 0xa
1250 RTM_REDIRECT = 0x6
1251 RTM_RESOLVE = 0xb
1252 RTM_RTTUNIT = 0xf4240
1253 RTM_VERSION = 0x5
1254 RTV_EXPIRE = 0x4
1255 RTV_HOPCOUNT = 0x2
1256 RTV_MTU = 0x1
1257 RTV_RPIPE = 0x8
1258 RTV_RTT = 0x40
1259 RTV_RTTVAR = 0x80
1260 RTV_SPIPE = 0x10
1261 RTV_SSTHRESH = 0x20
1262 RUSAGE_CHILDREN = -0x1
1263 RUSAGE_SELF = 0x0
1264 SCM_CREDS = 0x3
1265 SCM_RIGHTS = 0x1
1266 SCM_TIMESTAMP = 0x2
1267 SCM_TIMESTAMP_MONOTONIC = 0x4
1268 SEEK_CUR = 0x1
1269 SEEK_DATA = 0x4
1270 SEEK_END = 0x2
1271 SEEK_HOLE = 0x3
1272 SEEK_SET = 0x0
1273 SHUT_RD = 0x0
1274 SHUT_RDWR = 0x2
1275 SHUT_WR = 0x1
1276 SIOCADDMULTI = 0x80206931
1277 SIOCAIFADDR = 0x8040691a
1278 SIOCARPIPLL = 0xc0206928
1279 SIOCATMARK = 0x40047307
1280 SIOCAUTOADDR = 0xc0206926
1281 SIOCAUTONETMASK = 0x80206927
1282 SIOCDELMULTI = 0x80206932
1283 SIOCDIFADDR = 0x80206919
1284 SIOCDIFPHYADDR = 0x80206941
1285 SIOCGDRVSPEC = 0xc028697b
1286 SIOCGETVLAN = 0xc020697f
1287 SIOCGHIWAT = 0x40047301
1288 SIOCGIF6LOWPAN = 0xc02069c5
1289 SIOCGIFADDR = 0xc0206921
1290 SIOCGIFALTMTU = 0xc0206948
1291 SIOCGIFASYNCMAP = 0xc020697c
1292 SIOCGIFBOND = 0xc0206947
1293 SIOCGIFBRDADDR = 0xc0206923
1294 SIOCGIFCAP = 0xc020695b
1295 SIOCGIFCONF = 0xc00c6924
1296 SIOCGIFDEVMTU = 0xc0206944
1297 SIOCGIFDSTADDR = 0xc0206922
1298 SIOCGIFFLAGS = 0xc0206911
1299 SIOCGIFFUNCTIONALTYPE = 0xc02069ad
1300 SIOCGIFGENERIC = 0xc020693a
1301 SIOCGIFKPI = 0xc0206987
1302 SIOCGIFMAC = 0xc0206982
1303 SIOCGIFMEDIA = 0xc02c6938
1304 SIOCGIFMETRIC = 0xc0206917
1305 SIOCGIFMTU = 0xc0206933
1306 SIOCGIFNETMASK = 0xc0206925
1307 SIOCGIFPDSTADDR = 0xc0206940
1308 SIOCGIFPHYS = 0xc0206935
1309 SIOCGIFPSRCADDR = 0xc020693f
1310 SIOCGIFSTATUS = 0xc331693d
1311 SIOCGIFVLAN = 0xc020697f
1312 SIOCGIFWAKEFLAGS = 0xc0206988
1313 SIOCGIFXMEDIA = 0xc02c6948
1314 SIOCGLOWAT = 0x40047303
1315 SIOCGPGRP = 0x40047309
1316 SIOCIFCREATE = 0xc0206978
1317 SIOCIFCREATE2 = 0xc020697a
1318 SIOCIFDESTROY = 0x80206979
1319 SIOCIFGCLONERS = 0xc0106981
1320 SIOCRSLVMULTI = 0xc010693b
1321 SIOCSDRVSPEC = 0x8028697b
1322 SIOCSETVLAN = 0x8020697e
1323 SIOCSHIWAT = 0x80047300
1324 SIOCSIF6LOWPAN = 0x802069c4
1325 SIOCSIFADDR = 0x8020690c
1326 SIOCSIFALTMTU = 0x80206945
1327 SIOCSIFASYNCMAP = 0x8020697d
1328 SIOCSIFBOND = 0x80206946
1329 SIOCSIFBRDADDR = 0x80206913
1330 SIOCSIFCAP = 0x8020695a
1331 SIOCSIFDSTADDR = 0x8020690e
1332 SIOCSIFFLAGS = 0x80206910
1333 SIOCSIFGENERIC = 0x80206939
1334 SIOCSIFKPI = 0x80206986
1335 SIOCSIFLLADDR = 0x8020693c
1336 SIOCSIFMAC = 0x80206983
1337 SIOCSIFMEDIA = 0xc0206937
1338 SIOCSIFMETRIC = 0x80206918
1339 SIOCSIFMTU = 0x80206934
1340 SIOCSIFNETMASK = 0x80206916
1341 SIOCSIFPHYADDR = 0x8040693e
1342 SIOCSIFPHYS = 0x80206936
1343 SIOCSIFVLAN = 0x8020697e
1344 SIOCSLOWAT = 0x80047302
1345 SIOCSPGRP = 0x80047308
1346 SOCK_DGRAM = 0x2
1347 SOCK_MAXADDRLEN = 0xff
1348 SOCK_RAW = 0x3
1349 SOCK_RDM = 0x4
1350 SOCK_SEQPACKET = 0x5
1351 SOCK_STREAM = 0x1
1352 SOL_LOCAL = 0x0
1353 SOL_SOCKET = 0xffff
1354 SOMAXCONN = 0x80
1355 SO_ACCEPTCONN = 0x2
1356 SO_BROADCAST = 0x20
1357 SO_DEBUG = 0x1
1358 SO_DONTROUTE = 0x10
1359 SO_DONTTRUNC = 0x2000
1360 SO_ERROR = 0x1007
1361 SO_KEEPALIVE = 0x8
1362 SO_LABEL = 0x1010
1363 SO_LINGER = 0x80
1364 SO_LINGER_SEC = 0x1080
1365 SO_NETSVC_MARKING_LEVEL = 0x1119
1366 SO_NET_SERVICE_TYPE = 0x1116
1367 SO_NKE = 0x1021
1368 SO_NOADDRERR = 0x1023
1369 SO_NOSIGPIPE = 0x1022
1370 SO_NOTIFYCONFLICT = 0x1026
1371 SO_NP_EXTENSIONS = 0x1083
1372 SO_NREAD = 0x1020
1373 SO_NUMRCVPKT = 0x1112
1374 SO_NWRITE = 0x1024
1375 SO_OOBINLINE = 0x100
1376 SO_PEERLABEL = 0x1011
1377 SO_RANDOMPORT = 0x1082
1378 SO_RCVBUF = 0x1002
1379 SO_RCVLOWAT = 0x1004
1380 SO_RCVTIMEO = 0x1006
1381 SO_REUSEADDR = 0x4
1382 SO_REUSEPORT = 0x200
1383 SO_REUSESHAREUID = 0x1025
1384 SO_SNDBUF = 0x1001
1385 SO_SNDLOWAT = 0x1003
1386 SO_SNDTIMEO = 0x1005
1387 SO_TIMESTAMP = 0x400
1388 SO_TIMESTAMP_MONOTONIC = 0x800
1389 SO_TRACKER_ATTRIBUTE_FLAGS_APP_APPROVED = 0x1
1390 SO_TRACKER_ATTRIBUTE_FLAGS_DOMAIN_SHORT = 0x4
1391 SO_TRACKER_ATTRIBUTE_FLAGS_TRACKER = 0x2
1392 SO_TRACKER_TRANSPARENCY_VERSION = 0x3
1393 SO_TYPE = 0x1008
1394 SO_UPCALLCLOSEWAIT = 0x1027
1395 SO_USELOOPBACK = 0x40
1396 SO_WANTMORE = 0x4000
1397 SO_WANTOOBFLAG = 0x8000
1398 S_IEXEC = 0x40
1399 S_IFBLK = 0x6000
1400 S_IFCHR = 0x2000
1401 S_IFDIR = 0x4000
1402 S_IFIFO = 0x1000
1403 S_IFLNK = 0xa000
1404 S_IFMT = 0xf000
1405 S_IFREG = 0x8000
1406 S_IFSOCK = 0xc000
1407 S_IFWHT = 0xe000
1408 S_IREAD = 0x100
1409 S_IRGRP = 0x20
1410 S_IROTH = 0x4
1411 S_IRUSR = 0x100
1412 S_IRWXG = 0x38
1413 S_IRWXO = 0x7
1414 S_IRWXU = 0x1c0
1415 S_ISGID = 0x400
1416 S_ISTXT = 0x200
1417 S_ISUID = 0x800
1418 S_ISVTX = 0x200
1419 S_IWGRP = 0x10
1420 S_IWOTH = 0x2
1421 S_IWRITE = 0x80
1422 S_IWUSR = 0x80
1423 S_IXGRP = 0x8
1424 S_IXOTH = 0x1
1425 S_IXUSR = 0x40
1426 TAB0 = 0x0
1427 TAB1 = 0x400
1428 TAB2 = 0x800
1429 TAB3 = 0x4
1430 TABDLY = 0xc04
1431 TCIFLUSH = 0x1
1432 TCIOFF = 0x3
1433 TCIOFLUSH = 0x3
1434 TCION = 0x4
1435 TCOFLUSH = 0x2
1436 TCOOFF = 0x1
1437 TCOON = 0x2
1438 TCPOPT_CC = 0xb
1439 TCPOPT_CCECHO = 0xd
1440 TCPOPT_CCNEW = 0xc
1441 TCPOPT_EOL = 0x0
1442 TCPOPT_FASTOPEN = 0x22
1443 TCPOPT_MAXSEG = 0x2
1444 TCPOPT_NOP = 0x1
1445 TCPOPT_SACK = 0x5
1446 TCPOPT_SACK_HDR = 0x1010500
1447 TCPOPT_SACK_PERMITTED = 0x4
1448 TCPOPT_SACK_PERMIT_HDR = 0x1010402
1449 TCPOPT_SIGNATURE = 0x13
1450 TCPOPT_TIMESTAMP = 0x8
1451 TCPOPT_TSTAMP_HDR = 0x101080a
1452 TCPOPT_WINDOW = 0x3
1453 TCP_CONNECTIONTIMEOUT = 0x20
1454 TCP_CONNECTION_INFO = 0x106
1455 TCP_ENABLE_ECN = 0x104
1456 TCP_FASTOPEN = 0x105
1457 TCP_KEEPALIVE = 0x10
1458 TCP_KEEPCNT = 0x102
1459 TCP_KEEPINTVL = 0x101
1460 TCP_MAXHLEN = 0x3c
1461 TCP_MAXOLEN = 0x28
1462 TCP_MAXSEG = 0x2
1463 TCP_MAXWIN = 0xffff
1464 TCP_MAX_SACK = 0x4
1465 TCP_MAX_WINSHIFT = 0xe
1466 TCP_MINMSS = 0xd8
1467 TCP_MSS = 0x200
1468 TCP_NODELAY = 0x1
1469 TCP_NOOPT = 0x8
1470 TCP_NOPUSH = 0x4
1471 TCP_NOTSENT_LOWAT = 0x201
1472 TCP_RXT_CONNDROPTIME = 0x80
1473 TCP_RXT_FINDROP = 0x100
1474 TCP_SENDMOREACKS = 0x103
1475 TCSAFLUSH = 0x2
1476 TIOCCBRK = 0x2000747a
1477 TIOCCDTR = 0x20007478
1478 TIOCCONS = 0x80047462
1479 TIOCDCDTIMESTAMP = 0x40107458
1480 TIOCDRAIN = 0x2000745e
1481 TIOCDSIMICROCODE = 0x20007455
1482 TIOCEXCL = 0x2000740d
1483 TIOCEXT = 0x80047460
1484 TIOCFLUSH = 0x80047410
1485 TIOCGDRAINWAIT = 0x40047456
1486 TIOCGETA = 0x40487413
1487 TIOCGETD = 0x4004741a
1488 TIOCGPGRP = 0x40047477
1489 TIOCGWINSZ = 0x40087468
1490 TIOCIXOFF = 0x20007480
1491 TIOCIXON = 0x20007481
1492 TIOCMBIC = 0x8004746b
1493 TIOCMBIS = 0x8004746c
1494 TIOCMGDTRWAIT = 0x4004745a
1495 TIOCMGET = 0x4004746a
1496 TIOCMODG = 0x40047403
1497 TIOCMODS = 0x80047404
1498 TIOCMSDTRWAIT = 0x8004745b
1499 TIOCMSET = 0x8004746d
1500 TIOCM_CAR = 0x40
1501 TIOCM_CD = 0x40
1502 TIOCM_CTS = 0x20
1503 TIOCM_DSR = 0x100
1504 TIOCM_DTR = 0x2
1505 TIOCM_LE = 0x1
1506 TIOCM_RI = 0x80
1507 TIOCM_RNG = 0x80
1508 TIOCM_RTS = 0x4
1509 TIOCM_SR = 0x10
1510 TIOCM_ST = 0x8
1511 TIOCNOTTY = 0x20007471
1512 TIOCNXCL = 0x2000740e
1513 TIOCOUTQ = 0x40047473
1514 TIOCPKT = 0x80047470
1515 TIOCPKT_DATA = 0x0
1516 TIOCPKT_DOSTOP = 0x20
1517 TIOCPKT_FLUSHREAD = 0x1
1518 TIOCPKT_FLUSHWRITE = 0x2
1519 TIOCPKT_IOCTL = 0x40
1520 TIOCPKT_NOSTOP = 0x10
1521 TIOCPKT_START = 0x8
1522 TIOCPKT_STOP = 0x4
1523 TIOCPTYGNAME = 0x40807453
1524 TIOCPTYGRANT = 0x20007454
1525 TIOCPTYUNLK = 0x20007452
1526 TIOCREMOTE = 0x80047469
1527 TIOCSBRK = 0x2000747b
1528 TIOCSCONS = 0x20007463
1529 TIOCSCTTY = 0x20007461
1530 TIOCSDRAINWAIT = 0x80047457
1531 TIOCSDTR = 0x20007479
1532 TIOCSETA = 0x80487414
1533 TIOCSETAF = 0x80487416
1534 TIOCSETAW = 0x80487415
1535 TIOCSETD = 0x8004741b
1536 TIOCSIG = 0x2000745f
1537 TIOCSPGRP = 0x80047476
1538 TIOCSTART = 0x2000746e
1539 TIOCSTAT = 0x20007465
1540 TIOCSTI = 0x80017472
1541 TIOCSTOP = 0x2000746f
1542 TIOCSWINSZ = 0x80087467
1543 TIOCTIMESTAMP = 0x40107459
1544 TIOCUCNTL = 0x80047466
1545 TOSTOP = 0x400000
1546 VDISCARD = 0xf
1547 VDSUSP = 0xb
1548 VEOF = 0x0
1549 VEOL = 0x1
1550 VEOL2 = 0x2
1551 VERASE = 0x3
1552 VINTR = 0x8
1553 VKILL = 0x5
1554 VLNEXT = 0xe
1555 VMADDR_CID_ANY = 0xffffffff
1556 VMADDR_CID_HOST = 0x2
1557 VMADDR_CID_HYPERVISOR = 0x0
1558 VMADDR_CID_RESERVED = 0x1
1559 VMADDR_PORT_ANY = 0xffffffff
1560 VMIN = 0x10
1561 VM_LOADAVG = 0x2
1562 VM_MACHFACTOR = 0x4
1563 VM_MAXID = 0x6
1564 VM_METER = 0x1
1565 VM_SWAPUSAGE = 0x5
1566 VQUIT = 0x9
1567 VREPRINT = 0x6
1568 VSTART = 0xc
1569 VSTATUS = 0x12
1570 VSTOP = 0xd
1571 VSUSP = 0xa
1572 VT0 = 0x0
1573 VT1 = 0x10000
1574 VTDLY = 0x10000
1575 VTIME = 0x11
1576 VWERASE = 0x4
1577 WCONTINUED = 0x10
1578 WCOREFLAG = 0x80
1579 WEXITED = 0x4
1580 WNOHANG = 0x1
1581 WNOWAIT = 0x20
1582 WORDSIZE = 0x40
1583 WSTOPPED = 0x8
1584 WUNTRACED = 0x2
1585 XATTR_CREATE = 0x2
1586 XATTR_NODEFAULT = 0x10
1587 XATTR_NOFOLLOW = 0x1
1588 XATTR_NOSECURITY = 0x8
1589 XATTR_REPLACE = 0x4
1590 XATTR_SHOWCOMPRESSION = 0x20
1591 )
1592
1593
1594 const (
1595 E2BIG = syscall.Errno(0x7)
1596 EACCES = syscall.Errno(0xd)
1597 EADDRINUSE = syscall.Errno(0x30)
1598 EADDRNOTAVAIL = syscall.Errno(0x31)
1599 EAFNOSUPPORT = syscall.Errno(0x2f)
1600 EAGAIN = syscall.Errno(0x23)
1601 EALREADY = syscall.Errno(0x25)
1602 EAUTH = syscall.Errno(0x50)
1603 EBADARCH = syscall.Errno(0x56)
1604 EBADEXEC = syscall.Errno(0x55)
1605 EBADF = syscall.Errno(0x9)
1606 EBADMACHO = syscall.Errno(0x58)
1607 EBADMSG = syscall.Errno(0x5e)
1608 EBADRPC = syscall.Errno(0x48)
1609 EBUSY = syscall.Errno(0x10)
1610 ECANCELED = syscall.Errno(0x59)
1611 ECHILD = syscall.Errno(0xa)
1612 ECONNABORTED = syscall.Errno(0x35)
1613 ECONNREFUSED = syscall.Errno(0x3d)
1614 ECONNRESET = syscall.Errno(0x36)
1615 EDEADLK = syscall.Errno(0xb)
1616 EDESTADDRREQ = syscall.Errno(0x27)
1617 EDEVERR = syscall.Errno(0x53)
1618 EDOM = syscall.Errno(0x21)
1619 EDQUOT = syscall.Errno(0x45)
1620 EEXIST = syscall.Errno(0x11)
1621 EFAULT = syscall.Errno(0xe)
1622 EFBIG = syscall.Errno(0x1b)
1623 EFTYPE = syscall.Errno(0x4f)
1624 EHOSTDOWN = syscall.Errno(0x40)
1625 EHOSTUNREACH = syscall.Errno(0x41)
1626 EIDRM = syscall.Errno(0x5a)
1627 EILSEQ = syscall.Errno(0x5c)
1628 EINPROGRESS = syscall.Errno(0x24)
1629 EINTR = syscall.Errno(0x4)
1630 EINVAL = syscall.Errno(0x16)
1631 EIO = syscall.Errno(0x5)
1632 EISCONN = syscall.Errno(0x38)
1633 EISDIR = syscall.Errno(0x15)
1634 ELAST = syscall.Errno(0x6a)
1635 ELOOP = syscall.Errno(0x3e)
1636 EMFILE = syscall.Errno(0x18)
1637 EMLINK = syscall.Errno(0x1f)
1638 EMSGSIZE = syscall.Errno(0x28)
1639 EMULTIHOP = syscall.Errno(0x5f)
1640 ENAMETOOLONG = syscall.Errno(0x3f)
1641 ENEEDAUTH = syscall.Errno(0x51)
1642 ENETDOWN = syscall.Errno(0x32)
1643 ENETRESET = syscall.Errno(0x34)
1644 ENETUNREACH = syscall.Errno(0x33)
1645 ENFILE = syscall.Errno(0x17)
1646 ENOATTR = syscall.Errno(0x5d)
1647 ENOBUFS = syscall.Errno(0x37)
1648 ENODATA = syscall.Errno(0x60)
1649 ENODEV = syscall.Errno(0x13)
1650 ENOENT = syscall.Errno(0x2)
1651 ENOEXEC = syscall.Errno(0x8)
1652 ENOLCK = syscall.Errno(0x4d)
1653 ENOLINK = syscall.Errno(0x61)
1654 ENOMEM = syscall.Errno(0xc)
1655 ENOMSG = syscall.Errno(0x5b)
1656 ENOPOLICY = syscall.Errno(0x67)
1657 ENOPROTOOPT = syscall.Errno(0x2a)
1658 ENOSPC = syscall.Errno(0x1c)
1659 ENOSR = syscall.Errno(0x62)
1660 ENOSTR = syscall.Errno(0x63)
1661 ENOSYS = syscall.Errno(0x4e)
1662 ENOTBLK = syscall.Errno(0xf)
1663 ENOTCONN = syscall.Errno(0x39)
1664 ENOTDIR = syscall.Errno(0x14)
1665 ENOTEMPTY = syscall.Errno(0x42)
1666 ENOTRECOVERABLE = syscall.Errno(0x68)
1667 ENOTSOCK = syscall.Errno(0x26)
1668 ENOTSUP = syscall.Errno(0x2d)
1669 ENOTTY = syscall.Errno(0x19)
1670 ENXIO = syscall.Errno(0x6)
1671 EOPNOTSUPP = syscall.Errno(0x66)
1672 EOVERFLOW = syscall.Errno(0x54)
1673 EOWNERDEAD = syscall.Errno(0x69)
1674 EPERM = syscall.Errno(0x1)
1675 EPFNOSUPPORT = syscall.Errno(0x2e)
1676 EPIPE = syscall.Errno(0x20)
1677 EPROCLIM = syscall.Errno(0x43)
1678 EPROCUNAVAIL = syscall.Errno(0x4c)
1679 EPROGMISMATCH = syscall.Errno(0x4b)
1680 EPROGUNAVAIL = syscall.Errno(0x4a)
1681 EPROTO = syscall.Errno(0x64)
1682 EPROTONOSUPPORT = syscall.Errno(0x2b)
1683 EPROTOTYPE = syscall.Errno(0x29)
1684 EPWROFF = syscall.Errno(0x52)
1685 EQFULL = syscall.Errno(0x6a)
1686 ERANGE = syscall.Errno(0x22)
1687 EREMOTE = syscall.Errno(0x47)
1688 EROFS = syscall.Errno(0x1e)
1689 ERPCMISMATCH = syscall.Errno(0x49)
1690 ESHLIBVERS = syscall.Errno(0x57)
1691 ESHUTDOWN = syscall.Errno(0x3a)
1692 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1693 ESPIPE = syscall.Errno(0x1d)
1694 ESRCH = syscall.Errno(0x3)
1695 ESTALE = syscall.Errno(0x46)
1696 ETIME = syscall.Errno(0x65)
1697 ETIMEDOUT = syscall.Errno(0x3c)
1698 ETOOMANYREFS = syscall.Errno(0x3b)
1699 ETXTBSY = syscall.Errno(0x1a)
1700 EUSERS = syscall.Errno(0x44)
1701 EWOULDBLOCK = syscall.Errno(0x23)
1702 EXDEV = syscall.Errno(0x12)
1703 )
1704
1705
1706 const (
1707 SIGABRT = syscall.Signal(0x6)
1708 SIGALRM = syscall.Signal(0xe)
1709 SIGBUS = syscall.Signal(0xa)
1710 SIGCHLD = syscall.Signal(0x14)
1711 SIGCONT = syscall.Signal(0x13)
1712 SIGEMT = syscall.Signal(0x7)
1713 SIGFPE = syscall.Signal(0x8)
1714 SIGHUP = syscall.Signal(0x1)
1715 SIGILL = syscall.Signal(0x4)
1716 SIGINFO = syscall.Signal(0x1d)
1717 SIGINT = syscall.Signal(0x2)
1718 SIGIO = syscall.Signal(0x17)
1719 SIGIOT = syscall.Signal(0x6)
1720 SIGKILL = syscall.Signal(0x9)
1721 SIGPIPE = syscall.Signal(0xd)
1722 SIGPROF = syscall.Signal(0x1b)
1723 SIGQUIT = syscall.Signal(0x3)
1724 SIGSEGV = syscall.Signal(0xb)
1725 SIGSTOP = syscall.Signal(0x11)
1726 SIGSYS = syscall.Signal(0xc)
1727 SIGTERM = syscall.Signal(0xf)
1728 SIGTRAP = syscall.Signal(0x5)
1729 SIGTSTP = syscall.Signal(0x12)
1730 SIGTTIN = syscall.Signal(0x15)
1731 SIGTTOU = syscall.Signal(0x16)
1732 SIGURG = syscall.Signal(0x10)
1733 SIGUSR1 = syscall.Signal(0x1e)
1734 SIGUSR2 = syscall.Signal(0x1f)
1735 SIGVTALRM = syscall.Signal(0x1a)
1736 SIGWINCH = syscall.Signal(0x1c)
1737 SIGXCPU = syscall.Signal(0x18)
1738 SIGXFSZ = syscall.Signal(0x19)
1739 )
1740
1741
1742 var errorList = [...]struct {
1743 num syscall.Errno
1744 name string
1745 desc string
1746 }{
1747 {1, "EPERM", "operation not permitted"},
1748 {2, "ENOENT", "no such file or directory"},
1749 {3, "ESRCH", "no such process"},
1750 {4, "EINTR", "interrupted system call"},
1751 {5, "EIO", "input/output error"},
1752 {6, "ENXIO", "device not configured"},
1753 {7, "E2BIG", "argument list too long"},
1754 {8, "ENOEXEC", "exec format error"},
1755 {9, "EBADF", "bad file descriptor"},
1756 {10, "ECHILD", "no child processes"},
1757 {11, "EDEADLK", "resource deadlock avoided"},
1758 {12, "ENOMEM", "cannot allocate memory"},
1759 {13, "EACCES", "permission denied"},
1760 {14, "EFAULT", "bad address"},
1761 {15, "ENOTBLK", "block device required"},
1762 {16, "EBUSY", "resource busy"},
1763 {17, "EEXIST", "file exists"},
1764 {18, "EXDEV", "cross-device link"},
1765 {19, "ENODEV", "operation not supported by device"},
1766 {20, "ENOTDIR", "not a directory"},
1767 {21, "EISDIR", "is a directory"},
1768 {22, "EINVAL", "invalid argument"},
1769 {23, "ENFILE", "too many open files in system"},
1770 {24, "EMFILE", "too many open files"},
1771 {25, "ENOTTY", "inappropriate ioctl for device"},
1772 {26, "ETXTBSY", "text file busy"},
1773 {27, "EFBIG", "file too large"},
1774 {28, "ENOSPC", "no space left on device"},
1775 {29, "ESPIPE", "illegal seek"},
1776 {30, "EROFS", "read-only file system"},
1777 {31, "EMLINK", "too many links"},
1778 {32, "EPIPE", "broken pipe"},
1779 {33, "EDOM", "numerical argument out of domain"},
1780 {34, "ERANGE", "result too large"},
1781 {35, "EAGAIN", "resource temporarily unavailable"},
1782 {36, "EINPROGRESS", "operation now in progress"},
1783 {37, "EALREADY", "operation already in progress"},
1784 {38, "ENOTSOCK", "socket operation on non-socket"},
1785 {39, "EDESTADDRREQ", "destination address required"},
1786 {40, "EMSGSIZE", "message too long"},
1787 {41, "EPROTOTYPE", "protocol wrong type for socket"},
1788 {42, "ENOPROTOOPT", "protocol not available"},
1789 {43, "EPROTONOSUPPORT", "protocol not supported"},
1790 {44, "ESOCKTNOSUPPORT", "socket type not supported"},
1791 {45, "ENOTSUP", "operation not supported"},
1792 {46, "EPFNOSUPPORT", "protocol family not supported"},
1793 {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
1794 {48, "EADDRINUSE", "address already in use"},
1795 {49, "EADDRNOTAVAIL", "can't assign requested address"},
1796 {50, "ENETDOWN", "network is down"},
1797 {51, "ENETUNREACH", "network is unreachable"},
1798 {52, "ENETRESET", "network dropped connection on reset"},
1799 {53, "ECONNABORTED", "software caused connection abort"},
1800 {54, "ECONNRESET", "connection reset by peer"},
1801 {55, "ENOBUFS", "no buffer space available"},
1802 {56, "EISCONN", "socket is already connected"},
1803 {57, "ENOTCONN", "socket is not connected"},
1804 {58, "ESHUTDOWN", "can't send after socket shutdown"},
1805 {59, "ETOOMANYREFS", "too many references: can't splice"},
1806 {60, "ETIMEDOUT", "operation timed out"},
1807 {61, "ECONNREFUSED", "connection refused"},
1808 {62, "ELOOP", "too many levels of symbolic links"},
1809 {63, "ENAMETOOLONG", "file name too long"},
1810 {64, "EHOSTDOWN", "host is down"},
1811 {65, "EHOSTUNREACH", "no route to host"},
1812 {66, "ENOTEMPTY", "directory not empty"},
1813 {67, "EPROCLIM", "too many processes"},
1814 {68, "EUSERS", "too many users"},
1815 {69, "EDQUOT", "disc quota exceeded"},
1816 {70, "ESTALE", "stale NFS file handle"},
1817 {71, "EREMOTE", "too many levels of remote in path"},
1818 {72, "EBADRPC", "RPC struct is bad"},
1819 {73, "ERPCMISMATCH", "RPC version wrong"},
1820 {74, "EPROGUNAVAIL", "RPC prog. not avail"},
1821 {75, "EPROGMISMATCH", "program version wrong"},
1822 {76, "EPROCUNAVAIL", "bad procedure for program"},
1823 {77, "ENOLCK", "no locks available"},
1824 {78, "ENOSYS", "function not implemented"},
1825 {79, "EFTYPE", "inappropriate file type or format"},
1826 {80, "EAUTH", "authentication error"},
1827 {81, "ENEEDAUTH", "need authenticator"},
1828 {82, "EPWROFF", "device power is off"},
1829 {83, "EDEVERR", "device error"},
1830 {84, "EOVERFLOW", "value too large to be stored in data type"},
1831 {85, "EBADEXEC", "bad executable (or shared library)"},
1832 {86, "EBADARCH", "bad CPU type in executable"},
1833 {87, "ESHLIBVERS", "shared library version mismatch"},
1834 {88, "EBADMACHO", "malformed Mach-o file"},
1835 {89, "ECANCELED", "operation canceled"},
1836 {90, "EIDRM", "identifier removed"},
1837 {91, "ENOMSG", "no message of desired type"},
1838 {92, "EILSEQ", "illegal byte sequence"},
1839 {93, "ENOATTR", "attribute not found"},
1840 {94, "EBADMSG", "bad message"},
1841 {95, "EMULTIHOP", "EMULTIHOP (Reserved)"},
1842 {96, "ENODATA", "no message available on STREAM"},
1843 {97, "ENOLINK", "ENOLINK (Reserved)"},
1844 {98, "ENOSR", "no STREAM resources"},
1845 {99, "ENOSTR", "not a STREAM"},
1846 {100, "EPROTO", "protocol error"},
1847 {101, "ETIME", "STREAM ioctl timeout"},
1848 {102, "EOPNOTSUPP", "operation not supported on socket"},
1849 {103, "ENOPOLICY", "policy not found"},
1850 {104, "ENOTRECOVERABLE", "state not recoverable"},
1851 {105, "EOWNERDEAD", "previous owner died"},
1852 {106, "EQFULL", "interface output queue is full"},
1853 }
1854
1855
1856 var signalList = [...]struct {
1857 num syscall.Signal
1858 name string
1859 desc string
1860 }{
1861 {1, "SIGHUP", "hangup"},
1862 {2, "SIGINT", "interrupt"},
1863 {3, "SIGQUIT", "quit"},
1864 {4, "SIGILL", "illegal instruction"},
1865 {5, "SIGTRAP", "trace/BPT trap"},
1866 {6, "SIGABRT", "abort trap"},
1867 {7, "SIGEMT", "EMT trap"},
1868 {8, "SIGFPE", "floating point exception"},
1869 {9, "SIGKILL", "killed"},
1870 {10, "SIGBUS", "bus error"},
1871 {11, "SIGSEGV", "segmentation fault"},
1872 {12, "SIGSYS", "bad system call"},
1873 {13, "SIGPIPE", "broken pipe"},
1874 {14, "SIGALRM", "alarm clock"},
1875 {15, "SIGTERM", "terminated"},
1876 {16, "SIGURG", "urgent I/O condition"},
1877 {17, "SIGSTOP", "suspended (signal)"},
1878 {18, "SIGTSTP", "suspended"},
1879 {19, "SIGCONT", "continued"},
1880 {20, "SIGCHLD", "child exited"},
1881 {21, "SIGTTIN", "stopped (tty input)"},
1882 {22, "SIGTTOU", "stopped (tty output)"},
1883 {23, "SIGIO", "I/O possible"},
1884 {24, "SIGXCPU", "cputime limit exceeded"},
1885 {25, "SIGXFSZ", "filesize limit exceeded"},
1886 {26, "SIGVTALRM", "virtual timer expired"},
1887 {27, "SIGPROF", "profiling timer expired"},
1888 {28, "SIGWINCH", "window size changes"},
1889 {29, "SIGINFO", "information request"},
1890 {30, "SIGUSR1", "user defined signal 1"},
1891 {31, "SIGUSR2", "user defined signal 2"},
1892 }
1893
View as plain text