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