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