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