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