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_BLUETOOTH = 0x20
17 AF_CCITT = 0xa
18 AF_CHAOS = 0x5
19 AF_CNT = 0x15
20 AF_COIP = 0x14
21 AF_DATAKIT = 0x9
22 AF_DECnet = 0xc
23 AF_DLI = 0xd
24 AF_E164 = 0x1a
25 AF_ECMA = 0x8
26 AF_ENCAP = 0x1c
27 AF_HYLINK = 0xf
28 AF_IMPLINK = 0x3
29 AF_INET = 0x2
30 AF_INET6 = 0x18
31 AF_IPX = 0x17
32 AF_ISDN = 0x1a
33 AF_ISO = 0x7
34 AF_KEY = 0x1e
35 AF_LAT = 0xe
36 AF_LINK = 0x12
37 AF_LOCAL = 0x1
38 AF_MAX = 0x24
39 AF_MPLS = 0x21
40 AF_NATM = 0x1b
41 AF_NS = 0x6
42 AF_OSI = 0x7
43 AF_PUP = 0x4
44 AF_ROUTE = 0x11
45 AF_SIP = 0x1d
46 AF_SNA = 0xb
47 AF_UNIX = 0x1
48 AF_UNSPEC = 0x0
49 ALTWERASE = 0x200
50 ARPHRD_ETHER = 0x1
51 ARPHRD_FRELAY = 0xf
52 ARPHRD_IEEE1394 = 0x18
53 ARPHRD_IEEE802 = 0x6
54 B0 = 0x0
55 B110 = 0x6e
56 B115200 = 0x1c200
57 B1200 = 0x4b0
58 B134 = 0x86
59 B14400 = 0x3840
60 B150 = 0x96
61 B1800 = 0x708
62 B19200 = 0x4b00
63 B200 = 0xc8
64 B230400 = 0x38400
65 B2400 = 0x960
66 B28800 = 0x7080
67 B300 = 0x12c
68 B38400 = 0x9600
69 B4800 = 0x12c0
70 B50 = 0x32
71 B57600 = 0xe100
72 B600 = 0x258
73 B7200 = 0x1c20
74 B75 = 0x4b
75 B76800 = 0x12c00
76 B9600 = 0x2580
77 BIOCFLUSH = 0x20004268
78 BIOCGBLEN = 0x40044266
79 BIOCGDIRFILT = 0x4004427c
80 BIOCGDLT = 0x4004426a
81 BIOCGDLTLIST = 0xc010427b
82 BIOCGETIF = 0x4020426b
83 BIOCGFILDROP = 0x40044278
84 BIOCGHDRCMPLT = 0x40044274
85 BIOCGRSIG = 0x40044273
86 BIOCGRTIMEOUT = 0x4010426e
87 BIOCGSTATS = 0x4008426f
88 BIOCIMMEDIATE = 0x80044270
89 BIOCLOCK = 0x20004276
90 BIOCPROMISC = 0x20004269
91 BIOCSBLEN = 0xc0044266
92 BIOCSDIRFILT = 0x8004427d
93 BIOCSDLT = 0x8004427a
94 BIOCSETF = 0x80104267
95 BIOCSETIF = 0x8020426c
96 BIOCSETWF = 0x80104277
97 BIOCSFILDROP = 0x80044279
98 BIOCSHDRCMPLT = 0x80044275
99 BIOCSRSIG = 0x80044272
100 BIOCSRTIMEOUT = 0x8010426d
101 BIOCVERSION = 0x40044271
102 BPF_A = 0x10
103 BPF_ABS = 0x20
104 BPF_ADD = 0x0
105 BPF_ALIGNMENT = 0x4
106 BPF_ALU = 0x4
107 BPF_AND = 0x50
108 BPF_B = 0x10
109 BPF_DIRECTION_IN = 0x1
110 BPF_DIRECTION_OUT = 0x2
111 BPF_DIV = 0x30
112 BPF_FILDROP_CAPTURE = 0x1
113 BPF_FILDROP_DROP = 0x2
114 BPF_FILDROP_PASS = 0x0
115 BPF_H = 0x8
116 BPF_IMM = 0x0
117 BPF_IND = 0x40
118 BPF_JA = 0x0
119 BPF_JEQ = 0x10
120 BPF_JGE = 0x30
121 BPF_JGT = 0x20
122 BPF_JMP = 0x5
123 BPF_JSET = 0x40
124 BPF_K = 0x0
125 BPF_LD = 0x0
126 BPF_LDX = 0x1
127 BPF_LEN = 0x80
128 BPF_LSH = 0x60
129 BPF_MAJOR_VERSION = 0x1
130 BPF_MAXBUFSIZE = 0x200000
131 BPF_MAXINSNS = 0x200
132 BPF_MEM = 0x60
133 BPF_MEMWORDS = 0x10
134 BPF_MINBUFSIZE = 0x20
135 BPF_MINOR_VERSION = 0x1
136 BPF_MISC = 0x7
137 BPF_MSH = 0xa0
138 BPF_MUL = 0x20
139 BPF_NEG = 0x80
140 BPF_OR = 0x40
141 BPF_RELEASE = 0x30bb6
142 BPF_RET = 0x6
143 BPF_RSH = 0x70
144 BPF_ST = 0x2
145 BPF_STX = 0x3
146 BPF_SUB = 0x10
147 BPF_TAX = 0x0
148 BPF_TXA = 0x80
149 BPF_W = 0x0
150 BPF_X = 0x8
151 BRKINT = 0x2
152 CFLUSH = 0xf
153 CLOCAL = 0x8000
154 CLOCK_BOOTTIME = 0x6
155 CLOCK_MONOTONIC = 0x3
156 CLOCK_PROCESS_CPUTIME_ID = 0x2
157 CLOCK_REALTIME = 0x0
158 CLOCK_THREAD_CPUTIME_ID = 0x4
159 CLOCK_UPTIME = 0x5
160 CPUSTATES = 0x6
161 CP_IDLE = 0x5
162 CP_INTR = 0x4
163 CP_NICE = 0x1
164 CP_SPIN = 0x3
165 CP_SYS = 0x2
166 CP_USER = 0x0
167 CREAD = 0x800
168 CRTSCTS = 0x10000
169 CS5 = 0x0
170 CS6 = 0x100
171 CS7 = 0x200
172 CS8 = 0x300
173 CSIZE = 0x300
174 CSTART = 0x11
175 CSTATUS = 0xff
176 CSTOP = 0x13
177 CSTOPB = 0x400
178 CSUSP = 0x1a
179 CTL_HW = 0x6
180 CTL_KERN = 0x1
181 CTL_MAXNAME = 0xc
182 CTL_NET = 0x4
183 DIOCADDQUEUE = 0xc110445d
184 DIOCADDRULE = 0xcd604404
185 DIOCADDSTATE = 0xc1084425
186 DIOCCHANGERULE = 0xcd60441a
187 DIOCCLRIFFLAG = 0xc028445a
188 DIOCCLRSRCNODES = 0x20004455
189 DIOCCLRSTATES = 0xc0e04412
190 DIOCCLRSTATUS = 0xc0284416
191 DIOCGETLIMIT = 0xc0084427
192 DIOCGETQSTATS = 0xc1204460
193 DIOCGETQUEUE = 0xc110445f
194 DIOCGETQUEUES = 0xc110445e
195 DIOCGETRULE = 0xcd604407
196 DIOCGETRULES = 0xcd604406
197 DIOCGETRULESET = 0xc444443b
198 DIOCGETRULESETS = 0xc444443a
199 DIOCGETSRCNODES = 0xc0104454
200 DIOCGETSTATE = 0xc1084413
201 DIOCGETSTATES = 0xc0104419
202 DIOCGETSTATUS = 0xc1e84415
203 DIOCGETSYNFLWATS = 0xc0084463
204 DIOCGETTIMEOUT = 0xc008441e
205 DIOCIGETIFACES = 0xc0284457
206 DIOCKILLSRCNODES = 0xc080445b
207 DIOCKILLSTATES = 0xc0e04429
208 DIOCNATLOOK = 0xc0504417
209 DIOCOSFPADD = 0xc088444f
210 DIOCOSFPFLUSH = 0x2000444e
211 DIOCOSFPGET = 0xc0884450
212 DIOCRADDADDRS = 0xc4504443
213 DIOCRADDTABLES = 0xc450443d
214 DIOCRCLRADDRS = 0xc4504442
215 DIOCRCLRASTATS = 0xc4504448
216 DIOCRCLRTABLES = 0xc450443c
217 DIOCRCLRTSTATS = 0xc4504441
218 DIOCRDELADDRS = 0xc4504444
219 DIOCRDELTABLES = 0xc450443e
220 DIOCRGETADDRS = 0xc4504446
221 DIOCRGETASTATS = 0xc4504447
222 DIOCRGETTABLES = 0xc450443f
223 DIOCRGETTSTATS = 0xc4504440
224 DIOCRINADEFINE = 0xc450444d
225 DIOCRSETADDRS = 0xc4504445
226 DIOCRSETTFLAGS = 0xc450444a
227 DIOCRTSTADDRS = 0xc4504449
228 DIOCSETDEBUG = 0xc0044418
229 DIOCSETHOSTID = 0xc0044456
230 DIOCSETIFFLAG = 0xc0284459
231 DIOCSETLIMIT = 0xc0084428
232 DIOCSETREASS = 0xc004445c
233 DIOCSETSTATUSIF = 0xc0284414
234 DIOCSETSYNCOOKIES = 0xc0014462
235 DIOCSETSYNFLWATS = 0xc0084461
236 DIOCSETTIMEOUT = 0xc008441d
237 DIOCSTART = 0x20004401
238 DIOCSTOP = 0x20004402
239 DIOCXBEGIN = 0xc0104451
240 DIOCXCOMMIT = 0xc0104452
241 DIOCXROLLBACK = 0xc0104453
242 DLT_ARCNET = 0x7
243 DLT_ATM_RFC1483 = 0xb
244 DLT_AX25 = 0x3
245 DLT_CHAOS = 0x5
246 DLT_C_HDLC = 0x68
247 DLT_EN10MB = 0x1
248 DLT_EN3MB = 0x2
249 DLT_ENC = 0xd
250 DLT_FDDI = 0xa
251 DLT_IEEE802 = 0x6
252 DLT_IEEE802_11 = 0x69
253 DLT_IEEE802_11_RADIO = 0x7f
254 DLT_LOOP = 0xc
255 DLT_MPLS = 0xdb
256 DLT_NULL = 0x0
257 DLT_OPENFLOW = 0x10b
258 DLT_PFLOG = 0x75
259 DLT_PFSYNC = 0x12
260 DLT_PPP = 0x9
261 DLT_PPP_BSDOS = 0x10
262 DLT_PPP_ETHER = 0x33
263 DLT_PPP_SERIAL = 0x32
264 DLT_PRONET = 0x4
265 DLT_RAW = 0xe
266 DLT_SLIP = 0x8
267 DLT_SLIP_BSDOS = 0xf
268 DLT_USBPCAP = 0xf9
269 DLT_USER0 = 0x93
270 DLT_USER1 = 0x94
271 DLT_USER10 = 0x9d
272 DLT_USER11 = 0x9e
273 DLT_USER12 = 0x9f
274 DLT_USER13 = 0xa0
275 DLT_USER14 = 0xa1
276 DLT_USER15 = 0xa2
277 DLT_USER2 = 0x95
278 DLT_USER3 = 0x96
279 DLT_USER4 = 0x97
280 DLT_USER5 = 0x98
281 DLT_USER6 = 0x99
282 DLT_USER7 = 0x9a
283 DLT_USER8 = 0x9b
284 DLT_USER9 = 0x9c
285 DT_BLK = 0x6
286 DT_CHR = 0x2
287 DT_DIR = 0x4
288 DT_FIFO = 0x1
289 DT_LNK = 0xa
290 DT_REG = 0x8
291 DT_SOCK = 0xc
292 DT_UNKNOWN = 0x0
293 ECHO = 0x8
294 ECHOCTL = 0x40
295 ECHOE = 0x2
296 ECHOK = 0x4
297 ECHOKE = 0x1
298 ECHONL = 0x10
299 ECHOPRT = 0x20
300 EMT_TAGOVF = 0x1
301 EMUL_ENABLED = 0x1
302 EMUL_NATIVE = 0x2
303 ENDRUNDISC = 0x9
304 ETHERMIN = 0x2e
305 ETHERMTU = 0x5dc
306 ETHERTYPE_8023 = 0x4
307 ETHERTYPE_AARP = 0x80f3
308 ETHERTYPE_ACCTON = 0x8390
309 ETHERTYPE_AEONIC = 0x8036
310 ETHERTYPE_ALPHA = 0x814a
311 ETHERTYPE_AMBER = 0x6008
312 ETHERTYPE_AMOEBA = 0x8145
313 ETHERTYPE_AOE = 0x88a2
314 ETHERTYPE_APOLLO = 0x80f7
315 ETHERTYPE_APOLLODOMAIN = 0x8019
316 ETHERTYPE_APPLETALK = 0x809b
317 ETHERTYPE_APPLITEK = 0x80c7
318 ETHERTYPE_ARGONAUT = 0x803a
319 ETHERTYPE_ARP = 0x806
320 ETHERTYPE_AT = 0x809b
321 ETHERTYPE_ATALK = 0x809b
322 ETHERTYPE_ATOMIC = 0x86df
323 ETHERTYPE_ATT = 0x8069
324 ETHERTYPE_ATTSTANFORD = 0x8008
325 ETHERTYPE_AUTOPHON = 0x806a
326 ETHERTYPE_AXIS = 0x8856
327 ETHERTYPE_BCLOOP = 0x9003
328 ETHERTYPE_BOFL = 0x8102
329 ETHERTYPE_CABLETRON = 0x7034
330 ETHERTYPE_CHAOS = 0x804
331 ETHERTYPE_COMDESIGN = 0x806c
332 ETHERTYPE_COMPUGRAPHIC = 0x806d
333 ETHERTYPE_COUNTERPOINT = 0x8062
334 ETHERTYPE_CRONUS = 0x8004
335 ETHERTYPE_CRONUSVLN = 0x8003
336 ETHERTYPE_DCA = 0x1234
337 ETHERTYPE_DDE = 0x807b
338 ETHERTYPE_DEBNI = 0xaaaa
339 ETHERTYPE_DECAM = 0x8048
340 ETHERTYPE_DECCUST = 0x6006
341 ETHERTYPE_DECDIAG = 0x6005
342 ETHERTYPE_DECDNS = 0x803c
343 ETHERTYPE_DECDTS = 0x803e
344 ETHERTYPE_DECEXPER = 0x6000
345 ETHERTYPE_DECLAST = 0x8041
346 ETHERTYPE_DECLTM = 0x803f
347 ETHERTYPE_DECMUMPS = 0x6009
348 ETHERTYPE_DECNETBIOS = 0x8040
349 ETHERTYPE_DELTACON = 0x86de
350 ETHERTYPE_DIDDLE = 0x4321
351 ETHERTYPE_DLOG1 = 0x660
352 ETHERTYPE_DLOG2 = 0x661
353 ETHERTYPE_DN = 0x6003
354 ETHERTYPE_DOGFIGHT = 0x1989
355 ETHERTYPE_DSMD = 0x8039
356 ETHERTYPE_ECMA = 0x803
357 ETHERTYPE_ENCRYPT = 0x803d
358 ETHERTYPE_ES = 0x805d
359 ETHERTYPE_EXCELAN = 0x8010
360 ETHERTYPE_EXPERDATA = 0x8049
361 ETHERTYPE_FLIP = 0x8146
362 ETHERTYPE_FLOWCONTROL = 0x8808
363 ETHERTYPE_FRARP = 0x808
364 ETHERTYPE_GENDYN = 0x8068
365 ETHERTYPE_HAYES = 0x8130
366 ETHERTYPE_HIPPI_FP = 0x8180
367 ETHERTYPE_HITACHI = 0x8820
368 ETHERTYPE_HP = 0x8005
369 ETHERTYPE_IEEEPUP = 0xa00
370 ETHERTYPE_IEEEPUPAT = 0xa01
371 ETHERTYPE_IMLBL = 0x4c42
372 ETHERTYPE_IMLBLDIAG = 0x424c
373 ETHERTYPE_IP = 0x800
374 ETHERTYPE_IPAS = 0x876c
375 ETHERTYPE_IPV6 = 0x86dd
376 ETHERTYPE_IPX = 0x8137
377 ETHERTYPE_IPXNEW = 0x8037
378 ETHERTYPE_KALPANA = 0x8582
379 ETHERTYPE_LANBRIDGE = 0x8038
380 ETHERTYPE_LANPROBE = 0x8888
381 ETHERTYPE_LAT = 0x6004
382 ETHERTYPE_LBACK = 0x9000
383 ETHERTYPE_LITTLE = 0x8060
384 ETHERTYPE_LLDP = 0x88cc
385 ETHERTYPE_LOGICRAFT = 0x8148
386 ETHERTYPE_LOOPBACK = 0x9000
387 ETHERTYPE_MACSEC = 0x88e5
388 ETHERTYPE_MATRA = 0x807a
389 ETHERTYPE_MAX = 0xffff
390 ETHERTYPE_MERIT = 0x807c
391 ETHERTYPE_MICP = 0x873a
392 ETHERTYPE_MOPDL = 0x6001
393 ETHERTYPE_MOPRC = 0x6002
394 ETHERTYPE_MOTOROLA = 0x818d
395 ETHERTYPE_MPLS = 0x8847
396 ETHERTYPE_MPLS_MCAST = 0x8848
397 ETHERTYPE_MUMPS = 0x813f
398 ETHERTYPE_NBPCC = 0x3c04
399 ETHERTYPE_NBPCLAIM = 0x3c09
400 ETHERTYPE_NBPCLREQ = 0x3c05
401 ETHERTYPE_NBPCLRSP = 0x3c06
402 ETHERTYPE_NBPCREQ = 0x3c02
403 ETHERTYPE_NBPCRSP = 0x3c03
404 ETHERTYPE_NBPDG = 0x3c07
405 ETHERTYPE_NBPDGB = 0x3c08
406 ETHERTYPE_NBPDLTE = 0x3c0a
407 ETHERTYPE_NBPRAR = 0x3c0c
408 ETHERTYPE_NBPRAS = 0x3c0b
409 ETHERTYPE_NBPRST = 0x3c0d
410 ETHERTYPE_NBPSCD = 0x3c01
411 ETHERTYPE_NBPVCD = 0x3c00
412 ETHERTYPE_NBS = 0x802
413 ETHERTYPE_NCD = 0x8149
414 ETHERTYPE_NESTAR = 0x8006
415 ETHERTYPE_NETBEUI = 0x8191
416 ETHERTYPE_NOVELL = 0x8138
417 ETHERTYPE_NS = 0x600
418 ETHERTYPE_NSAT = 0x601
419 ETHERTYPE_NSCOMPAT = 0x807
420 ETHERTYPE_NTRAILER = 0x10
421 ETHERTYPE_OS9 = 0x7007
422 ETHERTYPE_OS9NET = 0x7009
423 ETHERTYPE_PACER = 0x80c6
424 ETHERTYPE_PAE = 0x888e
425 ETHERTYPE_PBB = 0x88e7
426 ETHERTYPE_PCS = 0x4242
427 ETHERTYPE_PLANNING = 0x8044
428 ETHERTYPE_PPP = 0x880b
429 ETHERTYPE_PPPOE = 0x8864
430 ETHERTYPE_PPPOEDISC = 0x8863
431 ETHERTYPE_PRIMENTS = 0x7031
432 ETHERTYPE_PUP = 0x200
433 ETHERTYPE_PUPAT = 0x200
434 ETHERTYPE_QINQ = 0x88a8
435 ETHERTYPE_RACAL = 0x7030
436 ETHERTYPE_RATIONAL = 0x8150
437 ETHERTYPE_RAWFR = 0x6559
438 ETHERTYPE_RCL = 0x1995
439 ETHERTYPE_RDP = 0x8739
440 ETHERTYPE_RETIX = 0x80f2
441 ETHERTYPE_REVARP = 0x8035
442 ETHERTYPE_SCA = 0x6007
443 ETHERTYPE_SECTRA = 0x86db
444 ETHERTYPE_SECUREDATA = 0x876d
445 ETHERTYPE_SGITW = 0x817e
446 ETHERTYPE_SG_BOUNCE = 0x8016
447 ETHERTYPE_SG_DIAG = 0x8013
448 ETHERTYPE_SG_NETGAMES = 0x8014
449 ETHERTYPE_SG_RESV = 0x8015
450 ETHERTYPE_SIMNET = 0x5208
451 ETHERTYPE_SLOW = 0x8809
452 ETHERTYPE_SNA = 0x80d5
453 ETHERTYPE_SNMP = 0x814c
454 ETHERTYPE_SONIX = 0xfaf5
455 ETHERTYPE_SPIDER = 0x809f
456 ETHERTYPE_SPRITE = 0x500
457 ETHERTYPE_STP = 0x8181
458 ETHERTYPE_TALARIS = 0x812b
459 ETHERTYPE_TALARISMC = 0x852b
460 ETHERTYPE_TCPCOMP = 0x876b
461 ETHERTYPE_TCPSM = 0x9002
462 ETHERTYPE_TEC = 0x814f
463 ETHERTYPE_TIGAN = 0x802f
464 ETHERTYPE_TRAIL = 0x1000
465 ETHERTYPE_TRANSETHER = 0x6558
466 ETHERTYPE_TYMSHARE = 0x802e
467 ETHERTYPE_UBBST = 0x7005
468 ETHERTYPE_UBDEBUG = 0x900
469 ETHERTYPE_UBDIAGLOOP = 0x7002
470 ETHERTYPE_UBDL = 0x7000
471 ETHERTYPE_UBNIU = 0x7001
472 ETHERTYPE_UBNMC = 0x7003
473 ETHERTYPE_VALID = 0x1600
474 ETHERTYPE_VARIAN = 0x80dd
475 ETHERTYPE_VAXELN = 0x803b
476 ETHERTYPE_VEECO = 0x8067
477 ETHERTYPE_VEXP = 0x805b
478 ETHERTYPE_VGLAB = 0x8131
479 ETHERTYPE_VINES = 0xbad
480 ETHERTYPE_VINESECHO = 0xbaf
481 ETHERTYPE_VINESLOOP = 0xbae
482 ETHERTYPE_VITAL = 0xff00
483 ETHERTYPE_VLAN = 0x8100
484 ETHERTYPE_VLTLMAN = 0x8080
485 ETHERTYPE_VPROD = 0x805c
486 ETHERTYPE_VURESERVED = 0x8147
487 ETHERTYPE_WATERLOO = 0x8130
488 ETHERTYPE_WELLFLEET = 0x8103
489 ETHERTYPE_X25 = 0x805
490 ETHERTYPE_X75 = 0x801
491 ETHERTYPE_XNSSM = 0x9001
492 ETHERTYPE_XTP = 0x817d
493 ETHER_ADDR_LEN = 0x6
494 ETHER_ALIGN = 0x2
495 ETHER_CRC_LEN = 0x4
496 ETHER_CRC_POLY_BE = 0x4c11db6
497 ETHER_CRC_POLY_LE = 0xedb88320
498 ETHER_HDR_LEN = 0xe
499 ETHER_MAX_DIX_LEN = 0x600
500 ETHER_MAX_HARDMTU_LEN = 0xff9b
501 ETHER_MAX_LEN = 0x5ee
502 ETHER_MIN_LEN = 0x40
503 ETHER_TYPE_LEN = 0x2
504 ETHER_VLAN_ENCAP_LEN = 0x4
505 EVFILT_AIO = -0x3
506 EVFILT_DEVICE = -0x8
507 EVFILT_PROC = -0x5
508 EVFILT_READ = -0x1
509 EVFILT_SIGNAL = -0x6
510 EVFILT_SYSCOUNT = 0x8
511 EVFILT_TIMER = -0x7
512 EVFILT_VNODE = -0x4
513 EVFILT_WRITE = -0x2
514 EVL_ENCAPLEN = 0x4
515 EVL_PRIO_BITS = 0xd
516 EVL_PRIO_MAX = 0x7
517 EVL_VLID_MASK = 0xfff
518 EVL_VLID_MAX = 0xffe
519 EVL_VLID_MIN = 0x1
520 EVL_VLID_NULL = 0x0
521 EV_ADD = 0x1
522 EV_CLEAR = 0x20
523 EV_DELETE = 0x2
524 EV_DISABLE = 0x8
525 EV_DISPATCH = 0x80
526 EV_ENABLE = 0x4
527 EV_EOF = 0x8000
528 EV_ERROR = 0x4000
529 EV_FLAG1 = 0x2000
530 EV_ONESHOT = 0x10
531 EV_RECEIPT = 0x40
532 EV_SYSFLAGS = 0xf000
533 EXTA = 0x4b00
534 EXTB = 0x9600
535 EXTPROC = 0x800
536 FD_CLOEXEC = 0x1
537 FD_SETSIZE = 0x400
538 FLUSHO = 0x800000
539 F_DUPFD = 0x0
540 F_DUPFD_CLOEXEC = 0xa
541 F_GETFD = 0x1
542 F_GETFL = 0x3
543 F_GETLK = 0x7
544 F_GETOWN = 0x5
545 F_ISATTY = 0xb
546 F_OK = 0x0
547 F_RDLCK = 0x1
548 F_SETFD = 0x2
549 F_SETFL = 0x4
550 F_SETLK = 0x8
551 F_SETLKW = 0x9
552 F_SETOWN = 0x6
553 F_UNLCK = 0x2
554 F_WRLCK = 0x3
555 HUPCL = 0x4000
556 HW_MACHINE = 0x1
557 ICANON = 0x100
558 ICMP6_FILTER = 0x12
559 ICRNL = 0x100
560 IEXTEN = 0x400
561 IFAN_ARRIVAL = 0x0
562 IFAN_DEPARTURE = 0x1
563 IFF_ALLMULTI = 0x200
564 IFF_BROADCAST = 0x2
565 IFF_CANTCHANGE = 0x8e52
566 IFF_DEBUG = 0x4
567 IFF_LINK0 = 0x1000
568 IFF_LINK1 = 0x2000
569 IFF_LINK2 = 0x4000
570 IFF_LOOPBACK = 0x8
571 IFF_MULTICAST = 0x8000
572 IFF_NOARP = 0x80
573 IFF_OACTIVE = 0x400
574 IFF_POINTOPOINT = 0x10
575 IFF_PROMISC = 0x100
576 IFF_RUNNING = 0x40
577 IFF_SIMPLEX = 0x800
578 IFF_STATICARP = 0x20
579 IFF_UP = 0x1
580 IFNAMSIZ = 0x10
581 IFT_1822 = 0x2
582 IFT_A12MPPSWITCH = 0x82
583 IFT_AAL2 = 0xbb
584 IFT_AAL5 = 0x31
585 IFT_ADSL = 0x5e
586 IFT_AFLANE8023 = 0x3b
587 IFT_AFLANE8025 = 0x3c
588 IFT_ARAP = 0x58
589 IFT_ARCNET = 0x23
590 IFT_ARCNETPLUS = 0x24
591 IFT_ASYNC = 0x54
592 IFT_ATM = 0x25
593 IFT_ATMDXI = 0x69
594 IFT_ATMFUNI = 0x6a
595 IFT_ATMIMA = 0x6b
596 IFT_ATMLOGICAL = 0x50
597 IFT_ATMRADIO = 0xbd
598 IFT_ATMSUBINTERFACE = 0x86
599 IFT_ATMVCIENDPT = 0xc2
600 IFT_ATMVIRTUAL = 0x95
601 IFT_BGPPOLICYACCOUNTING = 0xa2
602 IFT_BLUETOOTH = 0xf8
603 IFT_BRIDGE = 0xd1
604 IFT_BSC = 0x53
605 IFT_CARP = 0xf7
606 IFT_CCTEMUL = 0x3d
607 IFT_CEPT = 0x13
608 IFT_CES = 0x85
609 IFT_CHANNEL = 0x46
610 IFT_CNR = 0x55
611 IFT_COFFEE = 0x84
612 IFT_COMPOSITELINK = 0x9b
613 IFT_DCN = 0x8d
614 IFT_DIGITALPOWERLINE = 0x8a
615 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
616 IFT_DLSW = 0x4a
617 IFT_DOCSCABLEDOWNSTREAM = 0x80
618 IFT_DOCSCABLEMACLAYER = 0x7f
619 IFT_DOCSCABLEUPSTREAM = 0x81
620 IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
621 IFT_DS0 = 0x51
622 IFT_DS0BUNDLE = 0x52
623 IFT_DS1FDL = 0xaa
624 IFT_DS3 = 0x1e
625 IFT_DTM = 0x8c
626 IFT_DUMMY = 0xf1
627 IFT_DVBASILN = 0xac
628 IFT_DVBASIOUT = 0xad
629 IFT_DVBRCCDOWNSTREAM = 0x93
630 IFT_DVBRCCMACLAYER = 0x92
631 IFT_DVBRCCUPSTREAM = 0x94
632 IFT_ECONET = 0xce
633 IFT_ENC = 0xf4
634 IFT_EON = 0x19
635 IFT_EPLRS = 0x57
636 IFT_ESCON = 0x49
637 IFT_ETHER = 0x6
638 IFT_FAITH = 0xf3
639 IFT_FAST = 0x7d
640 IFT_FASTETHER = 0x3e
641 IFT_FASTETHERFX = 0x45
642 IFT_FDDI = 0xf
643 IFT_FIBRECHANNEL = 0x38
644 IFT_FRAMERELAYINTERCONNECT = 0x3a
645 IFT_FRAMERELAYMPI = 0x5c
646 IFT_FRDLCIENDPT = 0xc1
647 IFT_FRELAY = 0x20
648 IFT_FRELAYDCE = 0x2c
649 IFT_FRF16MFRBUNDLE = 0xa3
650 IFT_FRFORWARD = 0x9e
651 IFT_G703AT2MB = 0x43
652 IFT_G703AT64K = 0x42
653 IFT_GIF = 0xf0
654 IFT_GIGABITETHERNET = 0x75
655 IFT_GR303IDT = 0xb2
656 IFT_GR303RDT = 0xb1
657 IFT_H323GATEKEEPER = 0xa4
658 IFT_H323PROXY = 0xa5
659 IFT_HDH1822 = 0x3
660 IFT_HDLC = 0x76
661 IFT_HDSL2 = 0xa8
662 IFT_HIPERLAN2 = 0xb7
663 IFT_HIPPI = 0x2f
664 IFT_HIPPIINTERFACE = 0x39
665 IFT_HOSTPAD = 0x5a
666 IFT_HSSI = 0x2e
667 IFT_HY = 0xe
668 IFT_IBM370PARCHAN = 0x48
669 IFT_IDSL = 0x9a
670 IFT_IEEE1394 = 0x90
671 IFT_IEEE80211 = 0x47
672 IFT_IEEE80212 = 0x37
673 IFT_IEEE8023ADLAG = 0xa1
674 IFT_IFGSN = 0x91
675 IFT_IMT = 0xbe
676 IFT_INFINIBAND = 0xc7
677 IFT_INTERLEAVE = 0x7c
678 IFT_IP = 0x7e
679 IFT_IPFORWARD = 0x8e
680 IFT_IPOVERATM = 0x72
681 IFT_IPOVERCDLC = 0x6d
682 IFT_IPOVERCLAW = 0x6e
683 IFT_IPSWITCH = 0x4e
684 IFT_ISDN = 0x3f
685 IFT_ISDNBASIC = 0x14
686 IFT_ISDNPRIMARY = 0x15
687 IFT_ISDNS = 0x4b
688 IFT_ISDNU = 0x4c
689 IFT_ISO88022LLC = 0x29
690 IFT_ISO88023 = 0x7
691 IFT_ISO88024 = 0x8
692 IFT_ISO88025 = 0x9
693 IFT_ISO88025CRFPINT = 0x62
694 IFT_ISO88025DTR = 0x56
695 IFT_ISO88025FIBER = 0x73
696 IFT_ISO88026 = 0xa
697 IFT_ISUP = 0xb3
698 IFT_L2VLAN = 0x87
699 IFT_L3IPVLAN = 0x88
700 IFT_L3IPXVLAN = 0x89
701 IFT_LAPB = 0x10
702 IFT_LAPD = 0x4d
703 IFT_LAPF = 0x77
704 IFT_LINEGROUP = 0xd2
705 IFT_LOCALTALK = 0x2a
706 IFT_LOOP = 0x18
707 IFT_MBIM = 0xfa
708 IFT_MEDIAMAILOVERIP = 0x8b
709 IFT_MFSIGLINK = 0xa7
710 IFT_MIOX25 = 0x26
711 IFT_MODEM = 0x30
712 IFT_MPC = 0x71
713 IFT_MPLS = 0xa6
714 IFT_MPLSTUNNEL = 0x96
715 IFT_MSDSL = 0x8f
716 IFT_MVL = 0xbf
717 IFT_MYRINET = 0x63
718 IFT_NFAS = 0xaf
719 IFT_NSIP = 0x1b
720 IFT_OPTICALCHANNEL = 0xc3
721 IFT_OPTICALTRANSPORT = 0xc4
722 IFT_OTHER = 0x1
723 IFT_P10 = 0xc
724 IFT_P80 = 0xd
725 IFT_PARA = 0x22
726 IFT_PFLOG = 0xf5
727 IFT_PFLOW = 0xf9
728 IFT_PFSYNC = 0xf6
729 IFT_PLC = 0xae
730 IFT_PON155 = 0xcf
731 IFT_PON622 = 0xd0
732 IFT_POS = 0xab
733 IFT_PPP = 0x17
734 IFT_PPPMULTILINKBUNDLE = 0x6c
735 IFT_PROPATM = 0xc5
736 IFT_PROPBWAP2MP = 0xb8
737 IFT_PROPCNLS = 0x59
738 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
739 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
740 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
741 IFT_PROPMUX = 0x36
742 IFT_PROPVIRTUAL = 0x35
743 IFT_PROPWIRELESSP2P = 0x9d
744 IFT_PTPSERIAL = 0x16
745 IFT_PVC = 0xf2
746 IFT_Q2931 = 0xc9
747 IFT_QLLC = 0x44
748 IFT_RADIOMAC = 0xbc
749 IFT_RADSL = 0x5f
750 IFT_REACHDSL = 0xc0
751 IFT_RFC1483 = 0x9f
752 IFT_RS232 = 0x21
753 IFT_RSRB = 0x4f
754 IFT_SDLC = 0x11
755 IFT_SDSL = 0x60
756 IFT_SHDSL = 0xa9
757 IFT_SIP = 0x1f
758 IFT_SIPSIG = 0xcc
759 IFT_SIPTG = 0xcb
760 IFT_SLIP = 0x1c
761 IFT_SMDSDXI = 0x2b
762 IFT_SMDSICIP = 0x34
763 IFT_SONET = 0x27
764 IFT_SONETOVERHEADCHANNEL = 0xb9
765 IFT_SONETPATH = 0x32
766 IFT_SONETVT = 0x33
767 IFT_SRP = 0x97
768 IFT_SS7SIGLINK = 0x9c
769 IFT_STACKTOSTACK = 0x6f
770 IFT_STARLAN = 0xb
771 IFT_T1 = 0x12
772 IFT_TDLC = 0x74
773 IFT_TELINK = 0xc8
774 IFT_TERMPAD = 0x5b
775 IFT_TR008 = 0xb0
776 IFT_TRANSPHDLC = 0x7b
777 IFT_TUNNEL = 0x83
778 IFT_ULTRA = 0x1d
779 IFT_USB = 0xa0
780 IFT_V11 = 0x40
781 IFT_V35 = 0x2d
782 IFT_V36 = 0x41
783 IFT_V37 = 0x78
784 IFT_VDSL = 0x61
785 IFT_VIRTUALIPADDRESS = 0x70
786 IFT_VIRTUALTG = 0xca
787 IFT_VOICEDID = 0xd5
788 IFT_VOICEEM = 0x64
789 IFT_VOICEEMFGD = 0xd3
790 IFT_VOICEENCAP = 0x67
791 IFT_VOICEFGDEANA = 0xd4
792 IFT_VOICEFXO = 0x65
793 IFT_VOICEFXS = 0x66
794 IFT_VOICEOVERATM = 0x98
795 IFT_VOICEOVERCABLE = 0xc6
796 IFT_VOICEOVERFRAMERELAY = 0x99
797 IFT_VOICEOVERIP = 0x68
798 IFT_X213 = 0x5d
799 IFT_X25 = 0x5
800 IFT_X25DDN = 0x4
801 IFT_X25HUNTGROUP = 0x7a
802 IFT_X25MLP = 0x79
803 IFT_X25PLE = 0x28
804 IFT_XETHER = 0x1a
805 IGNBRK = 0x1
806 IGNCR = 0x80
807 IGNPAR = 0x4
808 IMAXBEL = 0x2000
809 INLCR = 0x40
810 INPCK = 0x10
811 IN_CLASSA_HOST = 0xffffff
812 IN_CLASSA_MAX = 0x80
813 IN_CLASSA_NET = 0xff000000
814 IN_CLASSA_NSHIFT = 0x18
815 IN_CLASSB_HOST = 0xffff
816 IN_CLASSB_MAX = 0x10000
817 IN_CLASSB_NET = 0xffff0000
818 IN_CLASSB_NSHIFT = 0x10
819 IN_CLASSC_HOST = 0xff
820 IN_CLASSC_NET = 0xffffff00
821 IN_CLASSC_NSHIFT = 0x8
822 IN_CLASSD_HOST = 0xfffffff
823 IN_CLASSD_NET = 0xf0000000
824 IN_CLASSD_NSHIFT = 0x1c
825 IN_LOOPBACKNET = 0x7f
826 IN_RFC3021_HOST = 0x1
827 IN_RFC3021_NET = 0xfffffffe
828 IN_RFC3021_NSHIFT = 0x1f
829 IPPROTO_AH = 0x33
830 IPPROTO_CARP = 0x70
831 IPPROTO_DIVERT = 0x102
832 IPPROTO_DONE = 0x101
833 IPPROTO_DSTOPTS = 0x3c
834 IPPROTO_EGP = 0x8
835 IPPROTO_ENCAP = 0x62
836 IPPROTO_EON = 0x50
837 IPPROTO_ESP = 0x32
838 IPPROTO_ETHERIP = 0x61
839 IPPROTO_FRAGMENT = 0x2c
840 IPPROTO_GGP = 0x3
841 IPPROTO_GRE = 0x2f
842 IPPROTO_HOPOPTS = 0x0
843 IPPROTO_ICMP = 0x1
844 IPPROTO_ICMPV6 = 0x3a
845 IPPROTO_IDP = 0x16
846 IPPROTO_IGMP = 0x2
847 IPPROTO_IP = 0x0
848 IPPROTO_IPCOMP = 0x6c
849 IPPROTO_IPIP = 0x4
850 IPPROTO_IPV4 = 0x4
851 IPPROTO_IPV6 = 0x29
852 IPPROTO_MAX = 0x100
853 IPPROTO_MAXID = 0x103
854 IPPROTO_MOBILE = 0x37
855 IPPROTO_MPLS = 0x89
856 IPPROTO_NONE = 0x3b
857 IPPROTO_PFSYNC = 0xf0
858 IPPROTO_PIM = 0x67
859 IPPROTO_PUP = 0xc
860 IPPROTO_RAW = 0xff
861 IPPROTO_ROUTING = 0x2b
862 IPPROTO_RSVP = 0x2e
863 IPPROTO_TCP = 0x6
864 IPPROTO_TP = 0x1d
865 IPPROTO_UDP = 0x11
866 IPPROTO_UDPLITE = 0x88
867 IPV6_AUTH_LEVEL = 0x35
868 IPV6_AUTOFLOWLABEL = 0x3b
869 IPV6_CHECKSUM = 0x1a
870 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
871 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
872 IPV6_DEFHLIM = 0x40
873 IPV6_DONTFRAG = 0x3e
874 IPV6_DSTOPTS = 0x32
875 IPV6_ESP_NETWORK_LEVEL = 0x37
876 IPV6_ESP_TRANS_LEVEL = 0x36
877 IPV6_FAITH = 0x1d
878 IPV6_FLOWINFO_MASK = 0xfffffff
879 IPV6_FLOWLABEL_MASK = 0xfffff
880 IPV6_FRAGTTL = 0x78
881 IPV6_HLIMDEC = 0x1
882 IPV6_HOPLIMIT = 0x2f
883 IPV6_HOPOPTS = 0x31
884 IPV6_IPCOMP_LEVEL = 0x3c
885 IPV6_JOIN_GROUP = 0xc
886 IPV6_LEAVE_GROUP = 0xd
887 IPV6_MAXHLIM = 0xff
888 IPV6_MAXPACKET = 0xffff
889 IPV6_MINHOPCOUNT = 0x41
890 IPV6_MMTU = 0x500
891 IPV6_MULTICAST_HOPS = 0xa
892 IPV6_MULTICAST_IF = 0x9
893 IPV6_MULTICAST_LOOP = 0xb
894 IPV6_NEXTHOP = 0x30
895 IPV6_OPTIONS = 0x1
896 IPV6_PATHMTU = 0x2c
897 IPV6_PIPEX = 0x3f
898 IPV6_PKTINFO = 0x2e
899 IPV6_PORTRANGE = 0xe
900 IPV6_PORTRANGE_DEFAULT = 0x0
901 IPV6_PORTRANGE_HIGH = 0x1
902 IPV6_PORTRANGE_LOW = 0x2
903 IPV6_RECVDSTOPTS = 0x28
904 IPV6_RECVDSTPORT = 0x40
905 IPV6_RECVHOPLIMIT = 0x25
906 IPV6_RECVHOPOPTS = 0x27
907 IPV6_RECVPATHMTU = 0x2b
908 IPV6_RECVPKTINFO = 0x24
909 IPV6_RECVRTHDR = 0x26
910 IPV6_RECVTCLASS = 0x39
911 IPV6_RTABLE = 0x1021
912 IPV6_RTHDR = 0x33
913 IPV6_RTHDRDSTOPTS = 0x23
914 IPV6_RTHDR_LOOSE = 0x0
915 IPV6_RTHDR_STRICT = 0x1
916 IPV6_RTHDR_TYPE_0 = 0x0
917 IPV6_SOCKOPT_RESERVED1 = 0x3
918 IPV6_TCLASS = 0x3d
919 IPV6_UNICAST_HOPS = 0x4
920 IPV6_USE_MIN_MTU = 0x2a
921 IPV6_V6ONLY = 0x1b
922 IPV6_VERSION = 0x60
923 IPV6_VERSION_MASK = 0xf0
924 IP_ADD_MEMBERSHIP = 0xc
925 IP_AUTH_LEVEL = 0x14
926 IP_DEFAULT_MULTICAST_LOOP = 0x1
927 IP_DEFAULT_MULTICAST_TTL = 0x1
928 IP_DF = 0x4000
929 IP_DROP_MEMBERSHIP = 0xd
930 IP_ESP_NETWORK_LEVEL = 0x16
931 IP_ESP_TRANS_LEVEL = 0x15
932 IP_HDRINCL = 0x2
933 IP_IPCOMP_LEVEL = 0x1d
934 IP_IPDEFTTL = 0x25
935 IP_IPSECFLOWINFO = 0x24
936 IP_IPSEC_LOCAL_AUTH = 0x1b
937 IP_IPSEC_LOCAL_CRED = 0x19
938 IP_IPSEC_LOCAL_ID = 0x17
939 IP_IPSEC_REMOTE_AUTH = 0x1c
940 IP_IPSEC_REMOTE_CRED = 0x1a
941 IP_IPSEC_REMOTE_ID = 0x18
942 IP_MAXPACKET = 0xffff
943 IP_MAX_MEMBERSHIPS = 0xfff
944 IP_MF = 0x2000
945 IP_MINTTL = 0x20
946 IP_MIN_MEMBERSHIPS = 0xf
947 IP_MSS = 0x240
948 IP_MULTICAST_IF = 0x9
949 IP_MULTICAST_LOOP = 0xb
950 IP_MULTICAST_TTL = 0xa
951 IP_OFFMASK = 0x1fff
952 IP_OPTIONS = 0x1
953 IP_PIPEX = 0x22
954 IP_PORTRANGE = 0x13
955 IP_PORTRANGE_DEFAULT = 0x0
956 IP_PORTRANGE_HIGH = 0x1
957 IP_PORTRANGE_LOW = 0x2
958 IP_RECVDSTADDR = 0x7
959 IP_RECVDSTPORT = 0x21
960 IP_RECVIF = 0x1e
961 IP_RECVOPTS = 0x5
962 IP_RECVRETOPTS = 0x6
963 IP_RECVRTABLE = 0x23
964 IP_RECVTTL = 0x1f
965 IP_RETOPTS = 0x8
966 IP_RF = 0x8000
967 IP_RTABLE = 0x1021
968 IP_SENDSRCADDR = 0x7
969 IP_TOS = 0x3
970 IP_TTL = 0x4
971 ISIG = 0x80
972 ISTRIP = 0x20
973 IUCLC = 0x1000
974 IXANY = 0x800
975 IXOFF = 0x400
976 IXON = 0x200
977 KERN_HOSTNAME = 0xa
978 KERN_OSRELEASE = 0x2
979 KERN_OSTYPE = 0x1
980 KERN_VERSION = 0x4
981 LCNT_OVERLOAD_FLUSH = 0x6
982 LOCK_EX = 0x2
983 LOCK_NB = 0x4
984 LOCK_SH = 0x1
985 LOCK_UN = 0x8
986 MADV_DONTNEED = 0x4
987 MADV_FREE = 0x6
988 MADV_NORMAL = 0x0
989 MADV_RANDOM = 0x1
990 MADV_SEQUENTIAL = 0x2
991 MADV_SPACEAVAIL = 0x5
992 MADV_WILLNEED = 0x3
993 MAP_ANON = 0x1000
994 MAP_ANONYMOUS = 0x1000
995 MAP_CONCEAL = 0x8000
996 MAP_COPY = 0x2
997 MAP_FILE = 0x0
998 MAP_FIXED = 0x10
999 MAP_FLAGMASK = 0xfff7
1000 MAP_HASSEMAPHORE = 0x0
1001 MAP_INHERIT = 0x0
1002 MAP_INHERIT_COPY = 0x1
1003 MAP_INHERIT_NONE = 0x2
1004 MAP_INHERIT_SHARE = 0x0
1005 MAP_INHERIT_ZERO = 0x3
1006 MAP_NOEXTEND = 0x0
1007 MAP_NORESERVE = 0x0
1008 MAP_PRIVATE = 0x2
1009 MAP_RENAME = 0x0
1010 MAP_SHARED = 0x1
1011 MAP_STACK = 0x4000
1012 MAP_TRYFIXED = 0x0
1013 MCL_CURRENT = 0x1
1014 MCL_FUTURE = 0x2
1015 MNT_ASYNC = 0x40
1016 MNT_DEFEXPORTED = 0x200
1017 MNT_DELEXPORT = 0x20000
1018 MNT_DOOMED = 0x8000000
1019 MNT_EXPORTANON = 0x400
1020 MNT_EXPORTED = 0x100
1021 MNT_EXRDONLY = 0x80
1022 MNT_FORCE = 0x80000
1023 MNT_LAZY = 0x3
1024 MNT_LOCAL = 0x1000
1025 MNT_NOATIME = 0x8000
1026 MNT_NODEV = 0x10
1027 MNT_NOEXEC = 0x4
1028 MNT_NOPERM = 0x20
1029 MNT_NOSUID = 0x8
1030 MNT_NOWAIT = 0x2
1031 MNT_QUOTA = 0x2000
1032 MNT_RDONLY = 0x1
1033 MNT_RELOAD = 0x40000
1034 MNT_ROOTFS = 0x4000
1035 MNT_SOFTDEP = 0x4000000
1036 MNT_STALLED = 0x100000
1037 MNT_SWAPPABLE = 0x200000
1038 MNT_SYNCHRONOUS = 0x2
1039 MNT_UPDATE = 0x10000
1040 MNT_VISFLAGMASK = 0x400ffff
1041 MNT_WAIT = 0x1
1042 MNT_WANTRDWR = 0x2000000
1043 MNT_WXALLOWED = 0x800
1044 MSG_BCAST = 0x100
1045 MSG_CMSG_CLOEXEC = 0x800
1046 MSG_CTRUNC = 0x20
1047 MSG_DONTROUTE = 0x4
1048 MSG_DONTWAIT = 0x80
1049 MSG_EOR = 0x8
1050 MSG_MCAST = 0x200
1051 MSG_NOSIGNAL = 0x400
1052 MSG_OOB = 0x1
1053 MSG_PEEK = 0x2
1054 MSG_TRUNC = 0x10
1055 MSG_WAITALL = 0x40
1056 MS_ASYNC = 0x1
1057 MS_INVALIDATE = 0x4
1058 MS_SYNC = 0x2
1059 NAME_MAX = 0xff
1060 NET_RT_DUMP = 0x1
1061 NET_RT_FLAGS = 0x2
1062 NET_RT_IFLIST = 0x3
1063 NET_RT_IFNAMES = 0x6
1064 NET_RT_MAXID = 0x7
1065 NET_RT_STATS = 0x4
1066 NET_RT_TABLE = 0x5
1067 NFDBITS = 0x20
1068 NOFLSH = 0x80000000
1069 NOKERNINFO = 0x2000000
1070 NOTE_ATTRIB = 0x8
1071 NOTE_CHANGE = 0x1
1072 NOTE_CHILD = 0x4
1073 NOTE_DELETE = 0x1
1074 NOTE_EOF = 0x2
1075 NOTE_EXEC = 0x20000000
1076 NOTE_EXIT = 0x80000000
1077 NOTE_EXTEND = 0x4
1078 NOTE_FORK = 0x40000000
1079 NOTE_LINK = 0x10
1080 NOTE_LOWAT = 0x1
1081 NOTE_PCTRLMASK = 0xf0000000
1082 NOTE_PDATAMASK = 0xfffff
1083 NOTE_RENAME = 0x20
1084 NOTE_REVOKE = 0x40
1085 NOTE_TRACK = 0x1
1086 NOTE_TRACKERR = 0x2
1087 NOTE_TRUNCATE = 0x80
1088 NOTE_WRITE = 0x2
1089 OCRNL = 0x10
1090 OLCUC = 0x20
1091 ONLCR = 0x2
1092 ONLRET = 0x80
1093 ONOCR = 0x40
1094 ONOEOT = 0x8
1095 OPOST = 0x1
1096 OXTABS = 0x4
1097 O_ACCMODE = 0x3
1098 O_APPEND = 0x8
1099 O_ASYNC = 0x40
1100 O_CLOEXEC = 0x10000
1101 O_CREAT = 0x200
1102 O_DIRECTORY = 0x20000
1103 O_DSYNC = 0x80
1104 O_EXCL = 0x800
1105 O_EXLOCK = 0x20
1106 O_FSYNC = 0x80
1107 O_NDELAY = 0x4
1108 O_NOCTTY = 0x8000
1109 O_NOFOLLOW = 0x100
1110 O_NONBLOCK = 0x4
1111 O_RDONLY = 0x0
1112 O_RDWR = 0x2
1113 O_RSYNC = 0x80
1114 O_SHLOCK = 0x10
1115 O_SYNC = 0x80
1116 O_TRUNC = 0x400
1117 O_WRONLY = 0x1
1118 PARENB = 0x1000
1119 PARMRK = 0x8
1120 PARODD = 0x2000
1121 PENDIN = 0x20000000
1122 PF_FLUSH = 0x1
1123 PRIO_PGRP = 0x1
1124 PRIO_PROCESS = 0x0
1125 PRIO_USER = 0x2
1126 PROT_EXEC = 0x4
1127 PROT_NONE = 0x0
1128 PROT_READ = 0x1
1129 PROT_WRITE = 0x2
1130 RLIMIT_CORE = 0x4
1131 RLIMIT_CPU = 0x0
1132 RLIMIT_DATA = 0x2
1133 RLIMIT_FSIZE = 0x1
1134 RLIMIT_MEMLOCK = 0x6
1135 RLIMIT_NOFILE = 0x8
1136 RLIMIT_NPROC = 0x7
1137 RLIMIT_RSS = 0x5
1138 RLIMIT_STACK = 0x3
1139 RLIM_INFINITY = 0x7fffffffffffffff
1140 RTAX_AUTHOR = 0x6
1141 RTAX_BFD = 0xb
1142 RTAX_BRD = 0x7
1143 RTAX_DNS = 0xc
1144 RTAX_DST = 0x0
1145 RTAX_GATEWAY = 0x1
1146 RTAX_GENMASK = 0x3
1147 RTAX_IFA = 0x5
1148 RTAX_IFP = 0x4
1149 RTAX_LABEL = 0xa
1150 RTAX_MAX = 0xf
1151 RTAX_NETMASK = 0x2
1152 RTAX_SEARCH = 0xe
1153 RTAX_SRC = 0x8
1154 RTAX_SRCMASK = 0x9
1155 RTAX_STATIC = 0xd
1156 RTA_AUTHOR = 0x40
1157 RTA_BFD = 0x800
1158 RTA_BRD = 0x80
1159 RTA_DNS = 0x1000
1160 RTA_DST = 0x1
1161 RTA_GATEWAY = 0x2
1162 RTA_GENMASK = 0x8
1163 RTA_IFA = 0x20
1164 RTA_IFP = 0x10
1165 RTA_LABEL = 0x400
1166 RTA_NETMASK = 0x4
1167 RTA_SEARCH = 0x4000
1168 RTA_SRC = 0x100
1169 RTA_SRCMASK = 0x200
1170 RTA_STATIC = 0x2000
1171 RTF_ANNOUNCE = 0x4000
1172 RTF_BFD = 0x1000000
1173 RTF_BLACKHOLE = 0x1000
1174 RTF_BROADCAST = 0x400000
1175 RTF_CACHED = 0x20000
1176 RTF_CLONED = 0x10000
1177 RTF_CLONING = 0x100
1178 RTF_CONNECTED = 0x800000
1179 RTF_DONE = 0x40
1180 RTF_DYNAMIC = 0x10
1181 RTF_FMASK = 0x110fc08
1182 RTF_GATEWAY = 0x2
1183 RTF_HOST = 0x4
1184 RTF_LLINFO = 0x400
1185 RTF_LOCAL = 0x200000
1186 RTF_MODIFIED = 0x20
1187 RTF_MPATH = 0x40000
1188 RTF_MPLS = 0x100000
1189 RTF_MULTICAST = 0x200
1190 RTF_PERMANENT_ARP = 0x2000
1191 RTF_PROTO1 = 0x8000
1192 RTF_PROTO2 = 0x4000
1193 RTF_PROTO3 = 0x2000
1194 RTF_REJECT = 0x8
1195 RTF_STATIC = 0x800
1196 RTF_UP = 0x1
1197 RTF_USETRAILERS = 0x8000
1198 RTM_80211INFO = 0x15
1199 RTM_ADD = 0x1
1200 RTM_BFD = 0x12
1201 RTM_CHANGE = 0x3
1202 RTM_CHGADDRATTR = 0x14
1203 RTM_DELADDR = 0xd
1204 RTM_DELETE = 0x2
1205 RTM_DESYNC = 0x10
1206 RTM_GET = 0x4
1207 RTM_IFANNOUNCE = 0xf
1208 RTM_IFINFO = 0xe
1209 RTM_INVALIDATE = 0x11
1210 RTM_LOSING = 0x5
1211 RTM_MAXSIZE = 0x800
1212 RTM_MISS = 0x7
1213 RTM_NEWADDR = 0xc
1214 RTM_PROPOSAL = 0x13
1215 RTM_REDIRECT = 0x6
1216 RTM_RESOLVE = 0xb
1217 RTM_RTTUNIT = 0xf4240
1218 RTM_VERSION = 0x5
1219 RTV_EXPIRE = 0x4
1220 RTV_HOPCOUNT = 0x2
1221 RTV_MTU = 0x1
1222 RTV_RPIPE = 0x8
1223 RTV_RTT = 0x40
1224 RTV_RTTVAR = 0x80
1225 RTV_SPIPE = 0x10
1226 RTV_SSTHRESH = 0x20
1227 RT_TABLEID_BITS = 0x8
1228 RT_TABLEID_MASK = 0xff
1229 RT_TABLEID_MAX = 0xff
1230 RUSAGE_CHILDREN = -0x1
1231 RUSAGE_SELF = 0x0
1232 RUSAGE_THREAD = 0x1
1233 SCM_RIGHTS = 0x1
1234 SCM_TIMESTAMP = 0x4
1235 SHUT_RD = 0x0
1236 SHUT_RDWR = 0x2
1237 SHUT_WR = 0x1
1238 SIOCADDMULTI = 0x80206931
1239 SIOCAIFADDR = 0x8040691a
1240 SIOCAIFGROUP = 0x80286987
1241 SIOCATMARK = 0x40047307
1242 SIOCBRDGADD = 0x8060693c
1243 SIOCBRDGADDL = 0x80606949
1244 SIOCBRDGADDS = 0x80606941
1245 SIOCBRDGARL = 0x808c694d
1246 SIOCBRDGDADDR = 0x81286947
1247 SIOCBRDGDEL = 0x8060693d
1248 SIOCBRDGDELS = 0x80606942
1249 SIOCBRDGFLUSH = 0x80606948
1250 SIOCBRDGFRL = 0x808c694e
1251 SIOCBRDGGCACHE = 0xc0186941
1252 SIOCBRDGGFD = 0xc0186952
1253 SIOCBRDGGHT = 0xc0186951
1254 SIOCBRDGGIFFLGS = 0xc060693e
1255 SIOCBRDGGMA = 0xc0186953
1256 SIOCBRDGGPARAM = 0xc0406958
1257 SIOCBRDGGPRI = 0xc0186950
1258 SIOCBRDGGRL = 0xc030694f
1259 SIOCBRDGGTO = 0xc0186946
1260 SIOCBRDGIFS = 0xc0606942
1261 SIOCBRDGRTS = 0xc0206943
1262 SIOCBRDGSADDR = 0xc1286944
1263 SIOCBRDGSCACHE = 0x80186940
1264 SIOCBRDGSFD = 0x80186952
1265 SIOCBRDGSHT = 0x80186951
1266 SIOCBRDGSIFCOST = 0x80606955
1267 SIOCBRDGSIFFLGS = 0x8060693f
1268 SIOCBRDGSIFPRIO = 0x80606954
1269 SIOCBRDGSIFPROT = 0x8060694a
1270 SIOCBRDGSMA = 0x80186953
1271 SIOCBRDGSPRI = 0x80186950
1272 SIOCBRDGSPROTO = 0x8018695a
1273 SIOCBRDGSTO = 0x80186945
1274 SIOCBRDGSTXHC = 0x80186959
1275 SIOCDELLABEL = 0x80206997
1276 SIOCDELMULTI = 0x80206932
1277 SIOCDIFADDR = 0x80206919
1278 SIOCDIFGROUP = 0x80286989
1279 SIOCDIFPARENT = 0x802069b4
1280 SIOCDIFPHYADDR = 0x80206949
1281 SIOCDPWE3NEIGHBOR = 0x802069de
1282 SIOCDVNETID = 0x802069af
1283 SIOCGETKALIVE = 0xc01869a4
1284 SIOCGETLABEL = 0x8020699a
1285 SIOCGETMPWCFG = 0xc02069ae
1286 SIOCGETPFLOW = 0xc02069fe
1287 SIOCGETPFSYNC = 0xc02069f8
1288 SIOCGETSGCNT = 0xc0207534
1289 SIOCGETVIFCNT = 0xc0287533
1290 SIOCGETVLAN = 0xc0206990
1291 SIOCGIFADDR = 0xc0206921
1292 SIOCGIFBRDADDR = 0xc0206923
1293 SIOCGIFCONF = 0xc0106924
1294 SIOCGIFDATA = 0xc020691b
1295 SIOCGIFDESCR = 0xc0206981
1296 SIOCGIFDSTADDR = 0xc0206922
1297 SIOCGIFFLAGS = 0xc0206911
1298 SIOCGIFGATTR = 0xc028698b
1299 SIOCGIFGENERIC = 0xc020693a
1300 SIOCGIFGLIST = 0xc028698d
1301 SIOCGIFGMEMB = 0xc028698a
1302 SIOCGIFGROUP = 0xc0286988
1303 SIOCGIFHARDMTU = 0xc02069a5
1304 SIOCGIFLLPRIO = 0xc02069b6
1305 SIOCGIFMEDIA = 0xc0406938
1306 SIOCGIFMETRIC = 0xc0206917
1307 SIOCGIFMTU = 0xc020697e
1308 SIOCGIFNETMASK = 0xc0206925
1309 SIOCGIFPAIR = 0xc02069b1
1310 SIOCGIFPARENT = 0xc02069b3
1311 SIOCGIFPRIORITY = 0xc020699c
1312 SIOCGIFRDOMAIN = 0xc02069a0
1313 SIOCGIFRTLABEL = 0xc0206983
1314 SIOCGIFRXR = 0x802069aa
1315 SIOCGIFSFFPAGE = 0xc1126939
1316 SIOCGIFXFLAGS = 0xc020699e
1317 SIOCGLIFPHYADDR = 0xc218694b
1318 SIOCGLIFPHYDF = 0xc02069c2
1319 SIOCGLIFPHYECN = 0xc02069c8
1320 SIOCGLIFPHYRTABLE = 0xc02069a2
1321 SIOCGLIFPHYTTL = 0xc02069a9
1322 SIOCGPGRP = 0x40047309
1323 SIOCGPWE3 = 0xc0206998
1324 SIOCGPWE3CTRLWORD = 0xc02069dc
1325 SIOCGPWE3FAT = 0xc02069dd
1326 SIOCGPWE3NEIGHBOR = 0xc21869de
1327 SIOCGRXHPRIO = 0xc02069db
1328 SIOCGSPPPPARAMS = 0xc0206994
1329 SIOCGTXHPRIO = 0xc02069c6
1330 SIOCGUMBINFO = 0xc02069be
1331 SIOCGUMBPARAM = 0xc02069c0
1332 SIOCGVH = 0xc02069f6
1333 SIOCGVNETFLOWID = 0xc02069c4
1334 SIOCGVNETID = 0xc02069a7
1335 SIOCIFAFATTACH = 0x801169ab
1336 SIOCIFAFDETACH = 0x801169ac
1337 SIOCIFCREATE = 0x8020697a
1338 SIOCIFDESTROY = 0x80206979
1339 SIOCIFGCLONERS = 0xc0106978
1340 SIOCSETKALIVE = 0x801869a3
1341 SIOCSETLABEL = 0x80206999
1342 SIOCSETMPWCFG = 0x802069ad
1343 SIOCSETPFLOW = 0x802069fd
1344 SIOCSETPFSYNC = 0x802069f7
1345 SIOCSETVLAN = 0x8020698f
1346 SIOCSIFADDR = 0x8020690c
1347 SIOCSIFBRDADDR = 0x80206913
1348 SIOCSIFDESCR = 0x80206980
1349 SIOCSIFDSTADDR = 0x8020690e
1350 SIOCSIFFLAGS = 0x80206910
1351 SIOCSIFGATTR = 0x8028698c
1352 SIOCSIFGENERIC = 0x80206939
1353 SIOCSIFLLADDR = 0x8020691f
1354 SIOCSIFLLPRIO = 0x802069b5
1355 SIOCSIFMEDIA = 0xc0206937
1356 SIOCSIFMETRIC = 0x80206918
1357 SIOCSIFMTU = 0x8020697f
1358 SIOCSIFNETMASK = 0x80206916
1359 SIOCSIFPAIR = 0x802069b0
1360 SIOCSIFPARENT = 0x802069b2
1361 SIOCSIFPRIORITY = 0x8020699b
1362 SIOCSIFRDOMAIN = 0x8020699f
1363 SIOCSIFRTLABEL = 0x80206982
1364 SIOCSIFXFLAGS = 0x8020699d
1365 SIOCSLIFPHYADDR = 0x8218694a
1366 SIOCSLIFPHYDF = 0x802069c1
1367 SIOCSLIFPHYECN = 0x802069c7
1368 SIOCSLIFPHYRTABLE = 0x802069a1
1369 SIOCSLIFPHYTTL = 0x802069a8
1370 SIOCSPGRP = 0x80047308
1371 SIOCSPWE3CTRLWORD = 0x802069dc
1372 SIOCSPWE3FAT = 0x802069dd
1373 SIOCSPWE3NEIGHBOR = 0x821869de
1374 SIOCSRXHPRIO = 0x802069db
1375 SIOCSSPPPPARAMS = 0x80206993
1376 SIOCSTXHPRIO = 0x802069c5
1377 SIOCSUMBPARAM = 0x802069bf
1378 SIOCSVH = 0xc02069f5
1379 SIOCSVNETFLOWID = 0x802069c3
1380 SIOCSVNETID = 0x802069a6
1381 SIOCSWGDPID = 0xc018695b
1382 SIOCSWGMAXFLOW = 0xc0186960
1383 SIOCSWGMAXGROUP = 0xc018695d
1384 SIOCSWSDPID = 0x8018695c
1385 SIOCSWSPORTNO = 0xc060695f
1386 SOCK_CLOEXEC = 0x8000
1387 SOCK_DGRAM = 0x2
1388 SOCK_DNS = 0x1000
1389 SOCK_NONBLOCK = 0x4000
1390 SOCK_RAW = 0x3
1391 SOCK_RDM = 0x4
1392 SOCK_SEQPACKET = 0x5
1393 SOCK_STREAM = 0x1
1394 SOL_SOCKET = 0xffff
1395 SOMAXCONN = 0x80
1396 SO_ACCEPTCONN = 0x2
1397 SO_BINDANY = 0x1000
1398 SO_BROADCAST = 0x20
1399 SO_DEBUG = 0x1
1400 SO_DOMAIN = 0x1024
1401 SO_DONTROUTE = 0x10
1402 SO_ERROR = 0x1007
1403 SO_KEEPALIVE = 0x8
1404 SO_LINGER = 0x80
1405 SO_NETPROC = 0x1020
1406 SO_OOBINLINE = 0x100
1407 SO_PEERCRED = 0x1022
1408 SO_PROTOCOL = 0x1025
1409 SO_RCVBUF = 0x1002
1410 SO_RCVLOWAT = 0x1004
1411 SO_RCVTIMEO = 0x1006
1412 SO_REUSEADDR = 0x4
1413 SO_REUSEPORT = 0x200
1414 SO_RTABLE = 0x1021
1415 SO_SNDBUF = 0x1001
1416 SO_SNDLOWAT = 0x1003
1417 SO_SNDTIMEO = 0x1005
1418 SO_SPLICE = 0x1023
1419 SO_TIMESTAMP = 0x800
1420 SO_TYPE = 0x1008
1421 SO_USELOOPBACK = 0x40
1422 SO_ZEROIZE = 0x2000
1423 S_BLKSIZE = 0x200
1424 S_IEXEC = 0x40
1425 S_IFBLK = 0x6000
1426 S_IFCHR = 0x2000
1427 S_IFDIR = 0x4000
1428 S_IFIFO = 0x1000
1429 S_IFLNK = 0xa000
1430 S_IFMT = 0xf000
1431 S_IFREG = 0x8000
1432 S_IFSOCK = 0xc000
1433 S_IREAD = 0x100
1434 S_IRGRP = 0x20
1435 S_IROTH = 0x4
1436 S_IRUSR = 0x100
1437 S_IRWXG = 0x38
1438 S_IRWXO = 0x7
1439 S_IRWXU = 0x1c0
1440 S_ISGID = 0x400
1441 S_ISTXT = 0x200
1442 S_ISUID = 0x800
1443 S_ISVTX = 0x200
1444 S_IWGRP = 0x10
1445 S_IWOTH = 0x2
1446 S_IWRITE = 0x80
1447 S_IWUSR = 0x80
1448 S_IXGRP = 0x8
1449 S_IXOTH = 0x1
1450 S_IXUSR = 0x40
1451 TCIFLUSH = 0x1
1452 TCIOFF = 0x3
1453 TCIOFLUSH = 0x3
1454 TCION = 0x4
1455 TCOFLUSH = 0x2
1456 TCOOFF = 0x1
1457 TCOON = 0x2
1458 TCP_MAXBURST = 0x4
1459 TCP_MAXSEG = 0x2
1460 TCP_MAXWIN = 0xffff
1461 TCP_MAX_SACK = 0x3
1462 TCP_MAX_WINSHIFT = 0xe
1463 TCP_MD5SIG = 0x4
1464 TCP_MSS = 0x200
1465 TCP_NODELAY = 0x1
1466 TCP_NOPUSH = 0x10
1467 TCP_SACKHOLE_LIMIT = 0x80
1468 TCP_SACK_ENABLE = 0x8
1469 TCSAFLUSH = 0x2
1470 TIMER_ABSTIME = 0x1
1471 TIMER_RELTIME = 0x0
1472 TIOCCBRK = 0x2000747a
1473 TIOCCDTR = 0x20007478
1474 TIOCCHKVERAUTH = 0x2000741e
1475 TIOCCLRVERAUTH = 0x2000741d
1476 TIOCCONS = 0x80047462
1477 TIOCDRAIN = 0x2000745e
1478 TIOCEXCL = 0x2000740d
1479 TIOCEXT = 0x80047460
1480 TIOCFLAG_CLOCAL = 0x2
1481 TIOCFLAG_CRTSCTS = 0x4
1482 TIOCFLAG_MDMBUF = 0x8
1483 TIOCFLAG_PPS = 0x10
1484 TIOCFLAG_SOFTCAR = 0x1
1485 TIOCFLUSH = 0x80047410
1486 TIOCGETA = 0x402c7413
1487 TIOCGETD = 0x4004741a
1488 TIOCGFLAGS = 0x4004745d
1489 TIOCGPGRP = 0x40047477
1490 TIOCGSID = 0x40047463
1491 TIOCGTSTAMP = 0x4010745b
1492 TIOCGWINSZ = 0x40087468
1493 TIOCMBIC = 0x8004746b
1494 TIOCMBIS = 0x8004746c
1495 TIOCMGET = 0x4004746a
1496 TIOCMODG = 0x4004746a
1497 TIOCMODS = 0x8004746d
1498 TIOCMSET = 0x8004746d
1499 TIOCM_CAR = 0x40
1500 TIOCM_CD = 0x40
1501 TIOCM_CTS = 0x20
1502 TIOCM_DSR = 0x100
1503 TIOCM_DTR = 0x2
1504 TIOCM_LE = 0x1
1505 TIOCM_RI = 0x80
1506 TIOCM_RNG = 0x80
1507 TIOCM_RTS = 0x4
1508 TIOCM_SR = 0x10
1509 TIOCM_ST = 0x8
1510 TIOCNOTTY = 0x20007471
1511 TIOCNXCL = 0x2000740e
1512 TIOCOUTQ = 0x40047473
1513 TIOCPKT = 0x80047470
1514 TIOCPKT_DATA = 0x0
1515 TIOCPKT_DOSTOP = 0x20
1516 TIOCPKT_FLUSHREAD = 0x1
1517 TIOCPKT_FLUSHWRITE = 0x2
1518 TIOCPKT_IOCTL = 0x40
1519 TIOCPKT_NOSTOP = 0x10
1520 TIOCPKT_START = 0x8
1521 TIOCPKT_STOP = 0x4
1522 TIOCREMOTE = 0x80047469
1523 TIOCSBRK = 0x2000747b
1524 TIOCSCTTY = 0x20007461
1525 TIOCSDTR = 0x20007479
1526 TIOCSETA = 0x802c7414
1527 TIOCSETAF = 0x802c7416
1528 TIOCSETAW = 0x802c7415
1529 TIOCSETD = 0x8004741b
1530 TIOCSETVERAUTH = 0x8004741c
1531 TIOCSFLAGS = 0x8004745c
1532 TIOCSIG = 0x8004745f
1533 TIOCSPGRP = 0x80047476
1534 TIOCSTART = 0x2000746e
1535 TIOCSTAT = 0x20007465
1536 TIOCSTOP = 0x2000746f
1537 TIOCSTSTAMP = 0x8008745a
1538 TIOCSWINSZ = 0x80087467
1539 TIOCUCNTL = 0x80047466
1540 TIOCUCNTL_CBRK = 0x7a
1541 TIOCUCNTL_SBRK = 0x7b
1542 TOSTOP = 0x400000
1543 UTIME_NOW = -0x2
1544 UTIME_OMIT = -0x1
1545 VDISCARD = 0xf
1546 VDSUSP = 0xb
1547 VEOF = 0x0
1548 VEOL = 0x1
1549 VEOL2 = 0x2
1550 VERASE = 0x3
1551 VINTR = 0x8
1552 VKILL = 0x5
1553 VLNEXT = 0xe
1554 VMIN = 0x10
1555 VM_ANONMIN = 0x7
1556 VM_LOADAVG = 0x2
1557 VM_MALLOC_CONF = 0xc
1558 VM_MAXID = 0xd
1559 VM_MAXSLP = 0xa
1560 VM_METER = 0x1
1561 VM_NKMEMPAGES = 0x6
1562 VM_PSSTRINGS = 0x3
1563 VM_SWAPENCRYPT = 0x5
1564 VM_USPACE = 0xb
1565 VM_UVMEXP = 0x4
1566 VM_VNODEMIN = 0x9
1567 VM_VTEXTMIN = 0x8
1568 VQUIT = 0x9
1569 VREPRINT = 0x6
1570 VSTART = 0xc
1571 VSTATUS = 0x12
1572 VSTOP = 0xd
1573 VSUSP = 0xa
1574 VTIME = 0x11
1575 VWERASE = 0x4
1576 WALTSIG = 0x4
1577 WCONTINUED = 0x8
1578 WCOREFLAG = 0x80
1579 WNOHANG = 0x1
1580 WUNTRACED = 0x2
1581 XCASE = 0x1000000
1582 )
1583
1584
1585 const (
1586 E2BIG = syscall.Errno(0x7)
1587 EACCES = syscall.Errno(0xd)
1588 EADDRINUSE = syscall.Errno(0x30)
1589 EADDRNOTAVAIL = syscall.Errno(0x31)
1590 EAFNOSUPPORT = syscall.Errno(0x2f)
1591 EAGAIN = syscall.Errno(0x23)
1592 EALREADY = syscall.Errno(0x25)
1593 EAUTH = syscall.Errno(0x50)
1594 EBADF = syscall.Errno(0x9)
1595 EBADMSG = syscall.Errno(0x5c)
1596 EBADRPC = syscall.Errno(0x48)
1597 EBUSY = syscall.Errno(0x10)
1598 ECANCELED = syscall.Errno(0x58)
1599 ECHILD = syscall.Errno(0xa)
1600 ECONNABORTED = syscall.Errno(0x35)
1601 ECONNREFUSED = syscall.Errno(0x3d)
1602 ECONNRESET = syscall.Errno(0x36)
1603 EDEADLK = syscall.Errno(0xb)
1604 EDESTADDRREQ = syscall.Errno(0x27)
1605 EDOM = syscall.Errno(0x21)
1606 EDQUOT = syscall.Errno(0x45)
1607 EEXIST = syscall.Errno(0x11)
1608 EFAULT = syscall.Errno(0xe)
1609 EFBIG = syscall.Errno(0x1b)
1610 EFTYPE = syscall.Errno(0x4f)
1611 EHOSTDOWN = syscall.Errno(0x40)
1612 EHOSTUNREACH = syscall.Errno(0x41)
1613 EIDRM = syscall.Errno(0x59)
1614 EILSEQ = syscall.Errno(0x54)
1615 EINPROGRESS = syscall.Errno(0x24)
1616 EINTR = syscall.Errno(0x4)
1617 EINVAL = syscall.Errno(0x16)
1618 EIO = syscall.Errno(0x5)
1619 EIPSEC = syscall.Errno(0x52)
1620 EISCONN = syscall.Errno(0x38)
1621 EISDIR = syscall.Errno(0x15)
1622 ELAST = syscall.Errno(0x5f)
1623 ELOOP = syscall.Errno(0x3e)
1624 EMEDIUMTYPE = syscall.Errno(0x56)
1625 EMFILE = syscall.Errno(0x18)
1626 EMLINK = syscall.Errno(0x1f)
1627 EMSGSIZE = syscall.Errno(0x28)
1628 ENAMETOOLONG = syscall.Errno(0x3f)
1629 ENEEDAUTH = syscall.Errno(0x51)
1630 ENETDOWN = syscall.Errno(0x32)
1631 ENETRESET = syscall.Errno(0x34)
1632 ENETUNREACH = syscall.Errno(0x33)
1633 ENFILE = syscall.Errno(0x17)
1634 ENOATTR = syscall.Errno(0x53)
1635 ENOBUFS = syscall.Errno(0x37)
1636 ENODEV = syscall.Errno(0x13)
1637 ENOENT = syscall.Errno(0x2)
1638 ENOEXEC = syscall.Errno(0x8)
1639 ENOLCK = syscall.Errno(0x4d)
1640 ENOMEDIUM = syscall.Errno(0x55)
1641 ENOMEM = syscall.Errno(0xc)
1642 ENOMSG = syscall.Errno(0x5a)
1643 ENOPROTOOPT = syscall.Errno(0x2a)
1644 ENOSPC = syscall.Errno(0x1c)
1645 ENOSYS = syscall.Errno(0x4e)
1646 ENOTBLK = syscall.Errno(0xf)
1647 ENOTCONN = syscall.Errno(0x39)
1648 ENOTDIR = syscall.Errno(0x14)
1649 ENOTEMPTY = syscall.Errno(0x42)
1650 ENOTRECOVERABLE = syscall.Errno(0x5d)
1651 ENOTSOCK = syscall.Errno(0x26)
1652 ENOTSUP = syscall.Errno(0x5b)
1653 ENOTTY = syscall.Errno(0x19)
1654 ENXIO = syscall.Errno(0x6)
1655 EOPNOTSUPP = syscall.Errno(0x2d)
1656 EOVERFLOW = syscall.Errno(0x57)
1657 EOWNERDEAD = syscall.Errno(0x5e)
1658 EPERM = syscall.Errno(0x1)
1659 EPFNOSUPPORT = syscall.Errno(0x2e)
1660 EPIPE = syscall.Errno(0x20)
1661 EPROCLIM = syscall.Errno(0x43)
1662 EPROCUNAVAIL = syscall.Errno(0x4c)
1663 EPROGMISMATCH = syscall.Errno(0x4b)
1664 EPROGUNAVAIL = syscall.Errno(0x4a)
1665 EPROTO = syscall.Errno(0x5f)
1666 EPROTONOSUPPORT = syscall.Errno(0x2b)
1667 EPROTOTYPE = syscall.Errno(0x29)
1668 ERANGE = syscall.Errno(0x22)
1669 EREMOTE = syscall.Errno(0x47)
1670 EROFS = syscall.Errno(0x1e)
1671 ERPCMISMATCH = syscall.Errno(0x49)
1672 ESHUTDOWN = syscall.Errno(0x3a)
1673 ESOCKTNOSUPPORT = syscall.Errno(0x2c)
1674 ESPIPE = syscall.Errno(0x1d)
1675 ESRCH = syscall.Errno(0x3)
1676 ESTALE = syscall.Errno(0x46)
1677 ETIMEDOUT = syscall.Errno(0x3c)
1678 ETOOMANYREFS = syscall.Errno(0x3b)
1679 ETXTBSY = syscall.Errno(0x1a)
1680 EUSERS = syscall.Errno(0x44)
1681 EWOULDBLOCK = syscall.Errno(0x23)
1682 EXDEV = syscall.Errno(0x12)
1683 )
1684
1685
1686 const (
1687 SIGABRT = syscall.Signal(0x6)
1688 SIGALRM = syscall.Signal(0xe)
1689 SIGBUS = syscall.Signal(0xa)
1690 SIGCHLD = syscall.Signal(0x14)
1691 SIGCONT = syscall.Signal(0x13)
1692 SIGEMT = syscall.Signal(0x7)
1693 SIGFPE = syscall.Signal(0x8)
1694 SIGHUP = syscall.Signal(0x1)
1695 SIGILL = syscall.Signal(0x4)
1696 SIGINFO = syscall.Signal(0x1d)
1697 SIGINT = syscall.Signal(0x2)
1698 SIGIO = syscall.Signal(0x17)
1699 SIGIOT = syscall.Signal(0x6)
1700 SIGKILL = syscall.Signal(0x9)
1701 SIGPIPE = syscall.Signal(0xd)
1702 SIGPROF = syscall.Signal(0x1b)
1703 SIGQUIT = syscall.Signal(0x3)
1704 SIGSEGV = syscall.Signal(0xb)
1705 SIGSTOP = syscall.Signal(0x11)
1706 SIGSYS = syscall.Signal(0xc)
1707 SIGTERM = syscall.Signal(0xf)
1708 SIGTHR = syscall.Signal(0x20)
1709 SIGTRAP = syscall.Signal(0x5)
1710 SIGTSTP = syscall.Signal(0x12)
1711 SIGTTIN = syscall.Signal(0x15)
1712 SIGTTOU = syscall.Signal(0x16)
1713 SIGURG = syscall.Signal(0x10)
1714 SIGUSR1 = syscall.Signal(0x1e)
1715 SIGUSR2 = syscall.Signal(0x1f)
1716 SIGVTALRM = syscall.Signal(0x1a)
1717 SIGWINCH = syscall.Signal(0x1c)
1718 SIGXCPU = syscall.Signal(0x18)
1719 SIGXFSZ = syscall.Signal(0x19)
1720 )
1721
1722
1723 var errorList = [...]struct {
1724 num syscall.Errno
1725 name string
1726 desc string
1727 }{
1728 {1, "EPERM", "operation not permitted"},
1729 {2, "ENOENT", "no such file or directory"},
1730 {3, "ESRCH", "no such process"},
1731 {4, "EINTR", "interrupted system call"},
1732 {5, "EIO", "input/output error"},
1733 {6, "ENXIO", "device not configured"},
1734 {7, "E2BIG", "argument list too long"},
1735 {8, "ENOEXEC", "exec format error"},
1736 {9, "EBADF", "bad file descriptor"},
1737 {10, "ECHILD", "no child processes"},
1738 {11, "EDEADLK", "resource deadlock avoided"},
1739 {12, "ENOMEM", "cannot allocate memory"},
1740 {13, "EACCES", "permission denied"},
1741 {14, "EFAULT", "bad address"},
1742 {15, "ENOTBLK", "block device required"},
1743 {16, "EBUSY", "device busy"},
1744 {17, "EEXIST", "file exists"},
1745 {18, "EXDEV", "cross-device link"},
1746 {19, "ENODEV", "operation not supported by device"},
1747 {20, "ENOTDIR", "not a directory"},
1748 {21, "EISDIR", "is a directory"},
1749 {22, "EINVAL", "invalid argument"},
1750 {23, "ENFILE", "too many open files in system"},
1751 {24, "EMFILE", "too many open files"},
1752 {25, "ENOTTY", "inappropriate ioctl for device"},
1753 {26, "ETXTBSY", "text file busy"},
1754 {27, "EFBIG", "file too large"},
1755 {28, "ENOSPC", "no space left on device"},
1756 {29, "ESPIPE", "illegal seek"},
1757 {30, "EROFS", "read-only file system"},
1758 {31, "EMLINK", "too many links"},
1759 {32, "EPIPE", "broken pipe"},
1760 {33, "EDOM", "numerical argument out of domain"},
1761 {34, "ERANGE", "result too large"},
1762 {35, "EAGAIN", "resource temporarily unavailable"},
1763 {36, "EINPROGRESS", "operation now in progress"},
1764 {37, "EALREADY", "operation already in progress"},
1765 {38, "ENOTSOCK", "socket operation on non-socket"},
1766 {39, "EDESTADDRREQ", "destination address required"},
1767 {40, "EMSGSIZE", "message too long"},
1768 {41, "EPROTOTYPE", "protocol wrong type for socket"},
1769 {42, "ENOPROTOOPT", "protocol not available"},
1770 {43, "EPROTONOSUPPORT", "protocol not supported"},
1771 {44, "ESOCKTNOSUPPORT", "socket type not supported"},
1772 {45, "EOPNOTSUPP", "operation not supported"},
1773 {46, "EPFNOSUPPORT", "protocol family not supported"},
1774 {47, "EAFNOSUPPORT", "address family not supported by protocol family"},
1775 {48, "EADDRINUSE", "address already in use"},
1776 {49, "EADDRNOTAVAIL", "can't assign requested address"},
1777 {50, "ENETDOWN", "network is down"},
1778 {51, "ENETUNREACH", "network is unreachable"},
1779 {52, "ENETRESET", "network dropped connection on reset"},
1780 {53, "ECONNABORTED", "software caused connection abort"},
1781 {54, "ECONNRESET", "connection reset by peer"},
1782 {55, "ENOBUFS", "no buffer space available"},
1783 {56, "EISCONN", "socket is already connected"},
1784 {57, "ENOTCONN", "socket is not connected"},
1785 {58, "ESHUTDOWN", "can't send after socket shutdown"},
1786 {59, "ETOOMANYREFS", "too many references: can't splice"},
1787 {60, "ETIMEDOUT", "operation timed out"},
1788 {61, "ECONNREFUSED", "connection refused"},
1789 {62, "ELOOP", "too many levels of symbolic links"},
1790 {63, "ENAMETOOLONG", "file name too long"},
1791 {64, "EHOSTDOWN", "host is down"},
1792 {65, "EHOSTUNREACH", "no route to host"},
1793 {66, "ENOTEMPTY", "directory not empty"},
1794 {67, "EPROCLIM", "too many processes"},
1795 {68, "EUSERS", "too many users"},
1796 {69, "EDQUOT", "disk quota exceeded"},
1797 {70, "ESTALE", "stale NFS file handle"},
1798 {71, "EREMOTE", "too many levels of remote in path"},
1799 {72, "EBADRPC", "RPC struct is bad"},
1800 {73, "ERPCMISMATCH", "RPC version wrong"},
1801 {74, "EPROGUNAVAIL", "RPC program not available"},
1802 {75, "EPROGMISMATCH", "program version wrong"},
1803 {76, "EPROCUNAVAIL", "bad procedure for program"},
1804 {77, "ENOLCK", "no locks available"},
1805 {78, "ENOSYS", "function not implemented"},
1806 {79, "EFTYPE", "inappropriate file type or format"},
1807 {80, "EAUTH", "authentication error"},
1808 {81, "ENEEDAUTH", "need authenticator"},
1809 {82, "EIPSEC", "IPsec processing failure"},
1810 {83, "ENOATTR", "attribute not found"},
1811 {84, "EILSEQ", "illegal byte sequence"},
1812 {85, "ENOMEDIUM", "no medium found"},
1813 {86, "EMEDIUMTYPE", "wrong medium type"},
1814 {87, "EOVERFLOW", "value too large to be stored in data type"},
1815 {88, "ECANCELED", "operation canceled"},
1816 {89, "EIDRM", "identifier removed"},
1817 {90, "ENOMSG", "no message of desired type"},
1818 {91, "ENOTSUP", "not supported"},
1819 {92, "EBADMSG", "bad message"},
1820 {93, "ENOTRECOVERABLE", "state not recoverable"},
1821 {94, "EOWNERDEAD", "previous owner died"},
1822 {95, "ELAST", "protocol error"},
1823 }
1824
1825
1826 var signalList = [...]struct {
1827 num syscall.Signal
1828 name string
1829 desc string
1830 }{
1831 {1, "SIGHUP", "hangup"},
1832 {2, "SIGINT", "interrupt"},
1833 {3, "SIGQUIT", "quit"},
1834 {4, "SIGILL", "illegal instruction"},
1835 {5, "SIGTRAP", "trace/BPT trap"},
1836 {6, "SIGABRT", "abort trap"},
1837 {7, "SIGEMT", "EMT trap"},
1838 {8, "SIGFPE", "floating point exception"},
1839 {9, "SIGKILL", "killed"},
1840 {10, "SIGBUS", "bus error"},
1841 {11, "SIGSEGV", "segmentation fault"},
1842 {12, "SIGSYS", "bad system call"},
1843 {13, "SIGPIPE", "broken pipe"},
1844 {14, "SIGALRM", "alarm clock"},
1845 {15, "SIGTERM", "terminated"},
1846 {16, "SIGURG", "urgent I/O condition"},
1847 {17, "SIGSTOP", "suspended (signal)"},
1848 {18, "SIGTSTP", "suspended"},
1849 {19, "SIGCONT", "continued"},
1850 {20, "SIGCHLD", "child exited"},
1851 {21, "SIGTTIN", "stopped (tty input)"},
1852 {22, "SIGTTOU", "stopped (tty output)"},
1853 {23, "SIGIO", "I/O possible"},
1854 {24, "SIGXCPU", "cputime limit exceeded"},
1855 {25, "SIGXFSZ", "filesize limit exceeded"},
1856 {26, "SIGVTALRM", "virtual timer expired"},
1857 {27, "SIGPROF", "profiling timer expired"},
1858 {28, "SIGWINCH", "window size changes"},
1859 {29, "SIGINFO", "information request"},
1860 {30, "SIGUSR1", "user defined signal 1"},
1861 {31, "SIGUSR2", "user defined signal 2"},
1862 {32, "SIGTHR", "thread AST"},
1863 }
1864
View as plain text