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