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