Source file
src/syscall/zerrors_openbsd_amd64.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 = 0xc010427b
76 BIOCGETIF = 0x4020426b
77 BIOCGFILDROP = 0x40044278
78 BIOCGHDRCMPLT = 0x40044274
79 BIOCGRSIG = 0x40044273
80 BIOCGRTIMEOUT = 0x4010426e
81 BIOCGSTATS = 0x4008426f
82 BIOCIMMEDIATE = 0x80044270
83 BIOCLOCK = 0x20004276
84 BIOCPROMISC = 0x20004269
85 BIOCSBLEN = 0xc0044266
86 BIOCSDIRFILT = 0x8004427d
87 BIOCSDLT = 0x8004427a
88 BIOCSETF = 0x80104267
89 BIOCSETIF = 0x8020426c
90 BIOCSETWF = 0x80104277
91 BIOCSFILDROP = 0x80044279
92 BIOCSHDRCMPLT = 0x80044275
93 BIOCSRSIG = 0x80044272
94 BIOCSRTIMEOUT = 0x8010426d
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_OK = 0x0
432 F_RDLCK = 0x1
433 F_SETFD = 0x2
434 F_SETFL = 0x4
435 F_SETLK = 0x8
436 F_SETLKW = 0x9
437 F_SETOWN = 0x6
438 F_UNLCK = 0x2
439 F_WRLCK = 0x3
440 HUPCL = 0x4000
441 ICANON = 0x100
442 ICMP6_FILTER = 0x12
443 ICRNL = 0x100
444 IEXTEN = 0x400
445 IFAN_ARRIVAL = 0x0
446 IFAN_DEPARTURE = 0x1
447 IFA_ROUTE = 0x1
448 IFF_ALLMULTI = 0x200
449 IFF_BROADCAST = 0x2
450 IFF_CANTCHANGE = 0x8e52
451 IFF_DEBUG = 0x4
452 IFF_LINK0 = 0x1000
453 IFF_LINK1 = 0x2000
454 IFF_LINK2 = 0x4000
455 IFF_LOOPBACK = 0x8
456 IFF_MULTICAST = 0x8000
457 IFF_NOARP = 0x80
458 IFF_NOTRAILERS = 0x20
459 IFF_OACTIVE = 0x400
460 IFF_POINTOPOINT = 0x10
461 IFF_PROMISC = 0x100
462 IFF_RUNNING = 0x40
463 IFF_SIMPLEX = 0x800
464 IFF_UP = 0x1
465 IFNAMSIZ = 0x10
466 IFT_1822 = 0x2
467 IFT_A12MPPSWITCH = 0x82
468 IFT_AAL2 = 0xbb
469 IFT_AAL5 = 0x31
470 IFT_ADSL = 0x5e
471 IFT_AFLANE8023 = 0x3b
472 IFT_AFLANE8025 = 0x3c
473 IFT_ARAP = 0x58
474 IFT_ARCNET = 0x23
475 IFT_ARCNETPLUS = 0x24
476 IFT_ASYNC = 0x54
477 IFT_ATM = 0x25
478 IFT_ATMDXI = 0x69
479 IFT_ATMFUNI = 0x6a
480 IFT_ATMIMA = 0x6b
481 IFT_ATMLOGICAL = 0x50
482 IFT_ATMRADIO = 0xbd
483 IFT_ATMSUBINTERFACE = 0x86
484 IFT_ATMVCIENDPT = 0xc2
485 IFT_ATMVIRTUAL = 0x95
486 IFT_BGPPOLICYACCOUNTING = 0xa2
487 IFT_BLUETOOTH = 0xf8
488 IFT_BRIDGE = 0xd1
489 IFT_BSC = 0x53
490 IFT_CARP = 0xf7
491 IFT_CCTEMUL = 0x3d
492 IFT_CEPT = 0x13
493 IFT_CES = 0x85
494 IFT_CHANNEL = 0x46
495 IFT_CNR = 0x55
496 IFT_COFFEE = 0x84
497 IFT_COMPOSITELINK = 0x9b
498 IFT_DCN = 0x8d
499 IFT_DIGITALPOWERLINE = 0x8a
500 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
501 IFT_DLSW = 0x4a
502 IFT_DOCSCABLEDOWNSTREAM = 0x80
503 IFT_DOCSCABLEMACLAYER = 0x7f
504 IFT_DOCSCABLEUPSTREAM = 0x81
505 IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
506 IFT_DS0 = 0x51
507 IFT_DS0BUNDLE = 0x52
508 IFT_DS1FDL = 0xaa
509 IFT_DS3 = 0x1e
510 IFT_DTM = 0x8c
511 IFT_DUMMY = 0xf1
512 IFT_DVBASILN = 0xac
513 IFT_DVBASIOUT = 0xad
514 IFT_DVBRCCDOWNSTREAM = 0x93
515 IFT_DVBRCCMACLAYER = 0x92
516 IFT_DVBRCCUPSTREAM = 0x94
517 IFT_ECONET = 0xce
518 IFT_ENC = 0xf4
519 IFT_EON = 0x19
520 IFT_EPLRS = 0x57
521 IFT_ESCON = 0x49
522 IFT_ETHER = 0x6
523 IFT_FAITH = 0xf3
524 IFT_FAST = 0x7d
525 IFT_FASTETHER = 0x3e
526 IFT_FASTETHERFX = 0x45
527 IFT_FDDI = 0xf
528 IFT_FIBRECHANNEL = 0x38
529 IFT_FRAMERELAYINTERCONNECT = 0x3a
530 IFT_FRAMERELAYMPI = 0x5c
531 IFT_FRDLCIENDPT = 0xc1
532 IFT_FRELAY = 0x20
533 IFT_FRELAYDCE = 0x2c
534 IFT_FRF16MFRBUNDLE = 0xa3
535 IFT_FRFORWARD = 0x9e
536 IFT_G703AT2MB = 0x43
537 IFT_G703AT64K = 0x42
538 IFT_GIF = 0xf0
539 IFT_GIGABITETHERNET = 0x75
540 IFT_GR303IDT = 0xb2
541 IFT_GR303RDT = 0xb1
542 IFT_H323GATEKEEPER = 0xa4
543 IFT_H323PROXY = 0xa5
544 IFT_HDH1822 = 0x3
545 IFT_HDLC = 0x76
546 IFT_HDSL2 = 0xa8
547 IFT_HIPERLAN2 = 0xb7
548 IFT_HIPPI = 0x2f
549 IFT_HIPPIINTERFACE = 0x39
550 IFT_HOSTPAD = 0x5a
551 IFT_HSSI = 0x2e
552 IFT_HY = 0xe
553 IFT_IBM370PARCHAN = 0x48
554 IFT_IDSL = 0x9a
555 IFT_IEEE1394 = 0x90
556 IFT_IEEE80211 = 0x47
557 IFT_IEEE80212 = 0x37
558 IFT_IEEE8023ADLAG = 0xa1
559 IFT_IFGSN = 0x91
560 IFT_IMT = 0xbe
561 IFT_INFINIBAND = 0xc7
562 IFT_INTERLEAVE = 0x7c
563 IFT_IP = 0x7e
564 IFT_IPFORWARD = 0x8e
565 IFT_IPOVERATM = 0x72
566 IFT_IPOVERCDLC = 0x6d
567 IFT_IPOVERCLAW = 0x6e
568 IFT_IPSWITCH = 0x4e
569 IFT_ISDN = 0x3f
570 IFT_ISDNBASIC = 0x14
571 IFT_ISDNPRIMARY = 0x15
572 IFT_ISDNS = 0x4b
573 IFT_ISDNU = 0x4c
574 IFT_ISO88022LLC = 0x29
575 IFT_ISO88023 = 0x7
576 IFT_ISO88024 = 0x8
577 IFT_ISO88025 = 0x9
578 IFT_ISO88025CRFPINT = 0x62
579 IFT_ISO88025DTR = 0x56
580 IFT_ISO88025FIBER = 0x73
581 IFT_ISO88026 = 0xa
582 IFT_ISUP = 0xb3
583 IFT_L2VLAN = 0x87
584 IFT_L3IPVLAN = 0x88
585 IFT_L3IPXVLAN = 0x89
586 IFT_LAPB = 0x10
587 IFT_LAPD = 0x4d
588 IFT_LAPF = 0x77
589 IFT_LINEGROUP = 0xd2
590 IFT_LOCALTALK = 0x2a
591 IFT_LOOP = 0x18
592 IFT_MEDIAMAILOVERIP = 0x8b
593 IFT_MFSIGLINK = 0xa7
594 IFT_MIOX25 = 0x26
595 IFT_MODEM = 0x30
596 IFT_MPC = 0x71
597 IFT_MPLS = 0xa6
598 IFT_MPLSTUNNEL = 0x96
599 IFT_MSDSL = 0x8f
600 IFT_MVL = 0xbf
601 IFT_MYRINET = 0x63
602 IFT_NFAS = 0xaf
603 IFT_NSIP = 0x1b
604 IFT_OPTICALCHANNEL = 0xc3
605 IFT_OPTICALTRANSPORT = 0xc4
606 IFT_OTHER = 0x1
607 IFT_P10 = 0xc
608 IFT_P80 = 0xd
609 IFT_PARA = 0x22
610 IFT_PFLOG = 0xf5
611 IFT_PFLOW = 0xf9
612 IFT_PFSYNC = 0xf6
613 IFT_PLC = 0xae
614 IFT_PON155 = 0xcf
615 IFT_PON622 = 0xd0
616 IFT_POS = 0xab
617 IFT_PPP = 0x17
618 IFT_PPPMULTILINKBUNDLE = 0x6c
619 IFT_PROPATM = 0xc5
620 IFT_PROPBWAP2MP = 0xb8
621 IFT_PROPCNLS = 0x59
622 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
623 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
624 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
625 IFT_PROPMUX = 0x36
626 IFT_PROPVIRTUAL = 0x35
627 IFT_PROPWIRELESSP2P = 0x9d
628 IFT_PTPSERIAL = 0x16
629 IFT_PVC = 0xf2
630 IFT_Q2931 = 0xc9
631 IFT_QLLC = 0x44
632 IFT_RADIOMAC = 0xbc
633 IFT_RADSL = 0x5f
634 IFT_REACHDSL = 0xc0
635 IFT_RFC1483 = 0x9f
636 IFT_RS232 = 0x21
637 IFT_RSRB = 0x4f
638 IFT_SDLC = 0x11
639 IFT_SDSL = 0x60
640 IFT_SHDSL = 0xa9
641 IFT_SIP = 0x1f
642 IFT_SIPSIG = 0xcc
643 IFT_SIPTG = 0xcb
644 IFT_SLIP = 0x1c
645 IFT_SMDSDXI = 0x2b
646 IFT_SMDSICIP = 0x34
647 IFT_SONET = 0x27
648 IFT_SONETOVERHEADCHANNEL = 0xb9
649 IFT_SONETPATH = 0x32
650 IFT_SONETVT = 0x33
651 IFT_SRP = 0x97
652 IFT_SS7SIGLINK = 0x9c
653 IFT_STACKTOSTACK = 0x6f
654 IFT_STARLAN = 0xb
655 IFT_T1 = 0x12
656 IFT_TDLC = 0x74
657 IFT_TELINK = 0xc8
658 IFT_TERMPAD = 0x5b
659 IFT_TR008 = 0xb0
660 IFT_TRANSPHDLC = 0x7b
661 IFT_TUNNEL = 0x83
662 IFT_ULTRA = 0x1d
663 IFT_USB = 0xa0
664 IFT_V11 = 0x40
665 IFT_V35 = 0x2d
666 IFT_V36 = 0x41
667 IFT_V37 = 0x78
668 IFT_VDSL = 0x61
669 IFT_VIRTUALIPADDRESS = 0x70
670 IFT_VIRTUALTG = 0xca
671 IFT_VOICEDID = 0xd5
672 IFT_VOICEEM = 0x64
673 IFT_VOICEEMFGD = 0xd3
674 IFT_VOICEENCAP = 0x67
675 IFT_VOICEFGDEANA = 0xd4
676 IFT_VOICEFXO = 0x65
677 IFT_VOICEFXS = 0x66
678 IFT_VOICEOVERATM = 0x98
679 IFT_VOICEOVERCABLE = 0xc6
680 IFT_VOICEOVERFRAMERELAY = 0x99
681 IFT_VOICEOVERIP = 0x68
682 IFT_X213 = 0x5d
683 IFT_X25 = 0x5
684 IFT_X25DDN = 0x4
685 IFT_X25HUNTGROUP = 0x7a
686 IFT_X25MLP = 0x79
687 IFT_X25PLE = 0x28
688 IFT_XETHER = 0x1a
689 IGNBRK = 0x1
690 IGNCR = 0x80
691 IGNPAR = 0x4
692 IMAXBEL = 0x2000
693 INLCR = 0x40
694 INPCK = 0x10
695 IN_CLASSA_HOST = 0xffffff
696 IN_CLASSA_MAX = 0x80
697 IN_CLASSA_NET = 0xff000000
698 IN_CLASSA_NSHIFT = 0x18
699 IN_CLASSB_HOST = 0xffff
700 IN_CLASSB_MAX = 0x10000
701 IN_CLASSB_NET = 0xffff0000
702 IN_CLASSB_NSHIFT = 0x10
703 IN_CLASSC_HOST = 0xff
704 IN_CLASSC_NET = 0xffffff00
705 IN_CLASSC_NSHIFT = 0x8
706 IN_CLASSD_HOST = 0xfffffff
707 IN_CLASSD_NET = 0xf0000000
708 IN_CLASSD_NSHIFT = 0x1c
709 IN_LOOPBACKNET = 0x7f
710 IN_RFC3021_HOST = 0x1
711 IN_RFC3021_NET = 0xfffffffe
712 IN_RFC3021_NSHIFT = 0x1f
713 IPPROTO_AH = 0x33
714 IPPROTO_CARP = 0x70
715 IPPROTO_DIVERT = 0x102
716 IPPROTO_DIVERT_INIT = 0x2
717 IPPROTO_DIVERT_RESP = 0x1
718 IPPROTO_DONE = 0x101
719 IPPROTO_DSTOPTS = 0x3c
720 IPPROTO_EGP = 0x8
721 IPPROTO_ENCAP = 0x62
722 IPPROTO_EON = 0x50
723 IPPROTO_ESP = 0x32
724 IPPROTO_ETHERIP = 0x61
725 IPPROTO_FRAGMENT = 0x2c
726 IPPROTO_GGP = 0x3
727 IPPROTO_GRE = 0x2f
728 IPPROTO_HOPOPTS = 0x0
729 IPPROTO_ICMP = 0x1
730 IPPROTO_ICMPV6 = 0x3a
731 IPPROTO_IDP = 0x16
732 IPPROTO_IGMP = 0x2
733 IPPROTO_IP = 0x0
734 IPPROTO_IPCOMP = 0x6c
735 IPPROTO_IPIP = 0x4
736 IPPROTO_IPV4 = 0x4
737 IPPROTO_IPV6 = 0x29
738 IPPROTO_MAX = 0x100
739 IPPROTO_MAXID = 0x103
740 IPPROTO_MOBILE = 0x37
741 IPPROTO_MPLS = 0x89
742 IPPROTO_NONE = 0x3b
743 IPPROTO_PFSYNC = 0xf0
744 IPPROTO_PIM = 0x67
745 IPPROTO_PUP = 0xc
746 IPPROTO_RAW = 0xff
747 IPPROTO_ROUTING = 0x2b
748 IPPROTO_RSVP = 0x2e
749 IPPROTO_TCP = 0x6
750 IPPROTO_TP = 0x1d
751 IPPROTO_UDP = 0x11
752 IPV6_AUTH_LEVEL = 0x35
753 IPV6_AUTOFLOWLABEL = 0x3b
754 IPV6_CHECKSUM = 0x1a
755 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
756 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
757 IPV6_DEFHLIM = 0x40
758 IPV6_DONTFRAG = 0x3e
759 IPV6_DSTOPTS = 0x32
760 IPV6_ESP_NETWORK_LEVEL = 0x37
761 IPV6_ESP_TRANS_LEVEL = 0x36
762 IPV6_FAITH = 0x1d
763 IPV6_FLOWINFO_MASK = 0xffffff0f
764 IPV6_FLOWLABEL_MASK = 0xffff0f00
765 IPV6_FRAGTTL = 0x78
766 IPV6_HLIMDEC = 0x1
767 IPV6_HOPLIMIT = 0x2f
768 IPV6_HOPOPTS = 0x31
769 IPV6_IPCOMP_LEVEL = 0x3c
770 IPV6_JOIN_GROUP = 0xc
771 IPV6_LEAVE_GROUP = 0xd
772 IPV6_MAXHLIM = 0xff
773 IPV6_MAXPACKET = 0xffff
774 IPV6_MMTU = 0x500
775 IPV6_MULTICAST_HOPS = 0xa
776 IPV6_MULTICAST_IF = 0x9
777 IPV6_MULTICAST_LOOP = 0xb
778 IPV6_NEXTHOP = 0x30
779 IPV6_OPTIONS = 0x1
780 IPV6_PATHMTU = 0x2c
781 IPV6_PIPEX = 0x3f
782 IPV6_PKTINFO = 0x2e
783 IPV6_PORTRANGE = 0xe
784 IPV6_PORTRANGE_DEFAULT = 0x0
785 IPV6_PORTRANGE_HIGH = 0x1
786 IPV6_PORTRANGE_LOW = 0x2
787 IPV6_RECVDSTOPTS = 0x28
788 IPV6_RECVDSTPORT = 0x40
789 IPV6_RECVHOPLIMIT = 0x25
790 IPV6_RECVHOPOPTS = 0x27
791 IPV6_RECVPATHMTU = 0x2b
792 IPV6_RECVPKTINFO = 0x24
793 IPV6_RECVRTHDR = 0x26
794 IPV6_RECVTCLASS = 0x39
795 IPV6_RTABLE = 0x1021
796 IPV6_RTHDR = 0x33
797 IPV6_RTHDRDSTOPTS = 0x23
798 IPV6_RTHDR_LOOSE = 0x0
799 IPV6_RTHDR_STRICT = 0x1
800 IPV6_RTHDR_TYPE_0 = 0x0
801 IPV6_SOCKOPT_RESERVED1 = 0x3
802 IPV6_TCLASS = 0x3d
803 IPV6_UNICAST_HOPS = 0x4
804 IPV6_USE_MIN_MTU = 0x2a
805 IPV6_V6ONLY = 0x1b
806 IPV6_VERSION = 0x60
807 IPV6_VERSION_MASK = 0xf0
808 IP_ADD_MEMBERSHIP = 0xc
809 IP_AUTH_LEVEL = 0x14
810 IP_DEFAULT_MULTICAST_LOOP = 0x1
811 IP_DEFAULT_MULTICAST_TTL = 0x1
812 IP_DF = 0x4000
813 IP_DIVERTFL = 0x1022
814 IP_DROP_MEMBERSHIP = 0xd
815 IP_ESP_NETWORK_LEVEL = 0x16
816 IP_ESP_TRANS_LEVEL = 0x15
817 IP_HDRINCL = 0x2
818 IP_IPCOMP_LEVEL = 0x1d
819 IP_IPSECFLOWINFO = 0x24
820 IP_IPSEC_LOCAL_AUTH = 0x1b
821 IP_IPSEC_LOCAL_CRED = 0x19
822 IP_IPSEC_LOCAL_ID = 0x17
823 IP_IPSEC_REMOTE_AUTH = 0x1c
824 IP_IPSEC_REMOTE_CRED = 0x1a
825 IP_IPSEC_REMOTE_ID = 0x18
826 IP_MAXPACKET = 0xffff
827 IP_MAX_MEMBERSHIPS = 0xfff
828 IP_MF = 0x2000
829 IP_MINTTL = 0x20
830 IP_MIN_MEMBERSHIPS = 0xf
831 IP_MSS = 0x240
832 IP_MULTICAST_IF = 0x9
833 IP_MULTICAST_LOOP = 0xb
834 IP_MULTICAST_TTL = 0xa
835 IP_OFFMASK = 0x1fff
836 IP_OPTIONS = 0x1
837 IP_PIPEX = 0x22
838 IP_PORTRANGE = 0x13
839 IP_PORTRANGE_DEFAULT = 0x0
840 IP_PORTRANGE_HIGH = 0x1
841 IP_PORTRANGE_LOW = 0x2
842 IP_RECVDSTADDR = 0x7
843 IP_RECVDSTPORT = 0x21
844 IP_RECVIF = 0x1e
845 IP_RECVOPTS = 0x5
846 IP_RECVRETOPTS = 0x6
847 IP_RECVRTABLE = 0x23
848 IP_RECVTTL = 0x1f
849 IP_RETOPTS = 0x8
850 IP_RF = 0x8000
851 IP_RTABLE = 0x1021
852 IP_TOS = 0x3
853 IP_TTL = 0x4
854 ISIG = 0x80
855 ISTRIP = 0x20
856 IXANY = 0x800
857 IXOFF = 0x400
858 IXON = 0x200
859 LCNT_OVERLOAD_FLUSH = 0x6
860 LOCK_EX = 0x2
861 LOCK_NB = 0x4
862 LOCK_SH = 0x1
863 LOCK_UN = 0x8
864 MADV_DONTNEED = 0x4
865 MADV_FREE = 0x6
866 MADV_NORMAL = 0x0
867 MADV_RANDOM = 0x1
868 MADV_SEQUENTIAL = 0x2
869 MADV_SPACEAVAIL = 0x5
870 MADV_WILLNEED = 0x3
871 MAP_ANON = 0x1000
872 MAP_COPY = 0x4
873 MAP_FILE = 0x0
874 MAP_FIXED = 0x10
875 MAP_FLAGMASK = 0x1ff7
876 MAP_HASSEMAPHORE = 0x200
877 MAP_INHERIT = 0x80
878 MAP_INHERIT_COPY = 0x1
879 MAP_INHERIT_DONATE_COPY = 0x3
880 MAP_INHERIT_NONE = 0x2
881 MAP_INHERIT_SHARE = 0x0
882 MAP_NOEXTEND = 0x100
883 MAP_NORESERVE = 0x40
884 MAP_PRIVATE = 0x2
885 MAP_RENAME = 0x20
886 MAP_SHARED = 0x1
887 MAP_TRYFIXED = 0x400
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_CLONED = 0x10000
1003 RTF_CLONING = 0x100
1004 RTF_DONE = 0x40
1005 RTF_DYNAMIC = 0x10
1006 RTF_FMASK = 0x10f808
1007 RTF_GATEWAY = 0x2
1008 RTF_HOST = 0x4
1009 RTF_LLINFO = 0x400
1010 RTF_MASK = 0x80
1011 RTF_MODIFIED = 0x20
1012 RTF_MPATH = 0x40000
1013 RTF_MPLS = 0x100000
1014 RTF_PERMANENT_ARP = 0x2000
1015 RTF_PROTO1 = 0x8000
1016 RTF_PROTO2 = 0x4000
1017 RTF_PROTO3 = 0x2000
1018 RTF_REJECT = 0x8
1019 RTF_SOURCE = 0x20000
1020 RTF_STATIC = 0x800
1021 RTF_TUNNEL = 0x100000
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 = 0x80286987
1062 SIOCALIFADDR = 0x8218691c
1063 SIOCATMARK = 0x40047307
1064 SIOCBRDGADD = 0x8058693c
1065 SIOCBRDGADDS = 0x80586941
1066 SIOCBRDGARL = 0x806e694d
1067 SIOCBRDGDADDR = 0x81286947
1068 SIOCBRDGDEL = 0x8058693d
1069 SIOCBRDGDELS = 0x80586942
1070 SIOCBRDGFLUSH = 0x80586948
1071 SIOCBRDGFRL = 0x806e694e
1072 SIOCBRDGGCACHE = 0xc0146941
1073 SIOCBRDGGFD = 0xc0146952
1074 SIOCBRDGGHT = 0xc0146951
1075 SIOCBRDGGIFFLGS = 0xc058693e
1076 SIOCBRDGGMA = 0xc0146953
1077 SIOCBRDGGPARAM = 0xc0406958
1078 SIOCBRDGGPRI = 0xc0146950
1079 SIOCBRDGGRL = 0xc030694f
1080 SIOCBRDGGSIFS = 0xc058693c
1081 SIOCBRDGGTO = 0xc0146946
1082 SIOCBRDGIFS = 0xc0586942
1083 SIOCBRDGRTS = 0xc0206943
1084 SIOCBRDGSADDR = 0xc1286944
1085 SIOCBRDGSCACHE = 0x80146940
1086 SIOCBRDGSFD = 0x80146952
1087 SIOCBRDGSHT = 0x80146951
1088 SIOCBRDGSIFCOST = 0x80586955
1089 SIOCBRDGSIFFLGS = 0x8058693f
1090 SIOCBRDGSIFPRIO = 0x80586954
1091 SIOCBRDGSMA = 0x80146953
1092 SIOCBRDGSPRI = 0x80146950
1093 SIOCBRDGSPROTO = 0x8014695a
1094 SIOCBRDGSTO = 0x80146945
1095 SIOCBRDGSTXHC = 0x80146959
1096 SIOCDELMULTI = 0x80206932
1097 SIOCDIFADDR = 0x80206919
1098 SIOCDIFGROUP = 0x80286989
1099 SIOCDIFPHYADDR = 0x80206949
1100 SIOCDLIFADDR = 0x8218691e
1101 SIOCGETKALIVE = 0xc01869a4
1102 SIOCGETLABEL = 0x8020699a
1103 SIOCGETPFLOW = 0xc02069fe
1104 SIOCGETPFSYNC = 0xc02069f8
1105 SIOCGETSGCNT = 0xc0207534
1106 SIOCGETVIFCNT = 0xc0287533
1107 SIOCGETVLAN = 0xc0206990
1108 SIOCGHIWAT = 0x40047301
1109 SIOCGIFADDR = 0xc0206921
1110 SIOCGIFASYNCMAP = 0xc020697c
1111 SIOCGIFBRDADDR = 0xc0206923
1112 SIOCGIFCONF = 0xc0106924
1113 SIOCGIFDATA = 0xc020691b
1114 SIOCGIFDESCR = 0xc0206981
1115 SIOCGIFDSTADDR = 0xc0206922
1116 SIOCGIFFLAGS = 0xc0206911
1117 SIOCGIFGATTR = 0xc028698b
1118 SIOCGIFGENERIC = 0xc020693a
1119 SIOCGIFGMEMB = 0xc028698a
1120 SIOCGIFGROUP = 0xc0286988
1121 SIOCGIFHARDMTU = 0xc02069a5
1122 SIOCGIFMEDIA = 0xc0306936
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 SIOCGIFTIMESLOT = 0xc0206986
1132 SIOCGIFXFLAGS = 0xc020699e
1133 SIOCGLIFADDR = 0xc218691d
1134 SIOCGLIFPHYADDR = 0xc218694b
1135 SIOCGLIFPHYRTABLE = 0xc02069a2
1136 SIOCGLIFPHYTTL = 0xc02069a9
1137 SIOCGLOWAT = 0x40047303
1138 SIOCGPGRP = 0x40047309
1139 SIOCGSPPPPARAMS = 0xc0206994
1140 SIOCGVH = 0xc02069f6
1141 SIOCGVNETID = 0xc02069a7
1142 SIOCIFCREATE = 0x8020697a
1143 SIOCIFDESTROY = 0x80206979
1144 SIOCIFGCLONERS = 0xc0106978
1145 SIOCSETKALIVE = 0x801869a3
1146 SIOCSETLABEL = 0x80206999
1147 SIOCSETPFLOW = 0x802069fd
1148 SIOCSETPFSYNC = 0x802069f7
1149 SIOCSETVLAN = 0x8020698f
1150 SIOCSHIWAT = 0x80047300
1151 SIOCSIFADDR = 0x8020690c
1152 SIOCSIFASYNCMAP = 0x8020697d
1153 SIOCSIFBRDADDR = 0x80206913
1154 SIOCSIFDESCR = 0x80206980
1155 SIOCSIFDSTADDR = 0x8020690e
1156 SIOCSIFFLAGS = 0x80206910
1157 SIOCSIFGATTR = 0x8028698c
1158 SIOCSIFGENERIC = 0x80206939
1159 SIOCSIFLLADDR = 0x8020691f
1160 SIOCSIFMEDIA = 0xc0206935
1161 SIOCSIFMETRIC = 0x80206918
1162 SIOCSIFMTU = 0x8020697f
1163 SIOCSIFNETMASK = 0x80206916
1164 SIOCSIFPHYADDR = 0x80406946
1165 SIOCSIFPRIORITY = 0x8020699b
1166 SIOCSIFRDOMAIN = 0x8020699f
1167 SIOCSIFRTLABEL = 0x80206982
1168 SIOCSIFTIMESLOT = 0x80206985
1169 SIOCSIFXFLAGS = 0x8020699d
1170 SIOCSLIFPHYADDR = 0x8218694a
1171 SIOCSLIFPHYRTABLE = 0x802069a1
1172 SIOCSLIFPHYTTL = 0x802069a8
1173 SIOCSLOWAT = 0x80047302
1174 SIOCSPGRP = 0x80047308
1175 SIOCSSPPPPARAMS = 0x80206993
1176 SIOCSVH = 0xc02069f5
1177 SIOCSVNETID = 0x802069a6
1178 SOCK_CLOEXEC = 0x8000
1179 SOCK_DGRAM = 0x2
1180 SOCK_NONBLOCK = 0x4000
1181 SOCK_RAW = 0x3
1182 SOCK_RDM = 0x4
1183 SOCK_SEQPACKET = 0x5
1184 SOCK_STREAM = 0x1
1185 SOL_SOCKET = 0xffff
1186 SOMAXCONN = 0x80
1187 SO_ACCEPTCONN = 0x2
1188 SO_BINDANY = 0x1000
1189 SO_BROADCAST = 0x20
1190 SO_DEBUG = 0x1
1191 SO_DONTROUTE = 0x10
1192 SO_ERROR = 0x1007
1193 SO_KEEPALIVE = 0x8
1194 SO_LINGER = 0x80
1195 SO_NETPROC = 0x1020
1196 SO_OOBINLINE = 0x100
1197 SO_PEERCRED = 0x1022
1198 SO_RCVBUF = 0x1002
1199 SO_RCVLOWAT = 0x1004
1200 SO_RCVTIMEO = 0x1006
1201 SO_REUSEADDR = 0x4
1202 SO_REUSEPORT = 0x200
1203 SO_RTABLE = 0x1021
1204 SO_SNDBUF = 0x1001
1205 SO_SNDLOWAT = 0x1003
1206 SO_SNDTIMEO = 0x1005
1207 SO_SPLICE = 0x1023
1208 SO_TIMESTAMP = 0x800
1209 SO_TYPE = 0x1008
1210 SO_USELOOPBACK = 0x40
1211 TCIFLUSH = 0x1
1212 TCIOFLUSH = 0x3
1213 TCOFLUSH = 0x2
1214 TCP_MAXBURST = 0x4
1215 TCP_MAXSEG = 0x2
1216 TCP_MAXWIN = 0xffff
1217 TCP_MAX_SACK = 0x3
1218 TCP_MAX_WINSHIFT = 0xe
1219 TCP_MD5SIG = 0x4
1220 TCP_MSS = 0x200
1221 TCP_NODELAY = 0x1
1222 TCP_NOPUSH = 0x10
1223 TCP_NSTATES = 0xb
1224 TCP_SACK_ENABLE = 0x8
1225 TCSAFLUSH = 0x2
1226 TIOCCBRK = 0x2000747a
1227 TIOCCDTR = 0x20007478
1228 TIOCCONS = 0x80047462
1229 TIOCDRAIN = 0x2000745e
1230 TIOCEXCL = 0x2000740d
1231 TIOCEXT = 0x80047460
1232 TIOCFLAG_CLOCAL = 0x2
1233 TIOCFLAG_CRTSCTS = 0x4
1234 TIOCFLAG_MDMBUF = 0x8
1235 TIOCFLAG_PPS = 0x10
1236 TIOCFLAG_SOFTCAR = 0x1
1237 TIOCFLUSH = 0x80047410
1238 TIOCGETA = 0x402c7413
1239 TIOCGETD = 0x4004741a
1240 TIOCGFLAGS = 0x4004745d
1241 TIOCGPGRP = 0x40047477
1242 TIOCGSID = 0x40047463
1243 TIOCGTSTAMP = 0x4010745b
1244 TIOCGWINSZ = 0x40087468
1245 TIOCMBIC = 0x8004746b
1246 TIOCMBIS = 0x8004746c
1247 TIOCMGET = 0x4004746a
1248 TIOCMODG = 0x4004746a
1249 TIOCMODS = 0x8004746d
1250 TIOCMSET = 0x8004746d
1251 TIOCM_CAR = 0x40
1252 TIOCM_CD = 0x40
1253 TIOCM_CTS = 0x20
1254 TIOCM_DSR = 0x100
1255 TIOCM_DTR = 0x2
1256 TIOCM_LE = 0x1
1257 TIOCM_RI = 0x80
1258 TIOCM_RNG = 0x80
1259 TIOCM_RTS = 0x4
1260 TIOCM_SR = 0x10
1261 TIOCM_ST = 0x8
1262 TIOCNOTTY = 0x20007471
1263 TIOCNXCL = 0x2000740e
1264 TIOCOUTQ = 0x40047473
1265 TIOCPKT = 0x80047470
1266 TIOCPKT_DATA = 0x0
1267 TIOCPKT_DOSTOP = 0x20
1268 TIOCPKT_FLUSHREAD = 0x1
1269 TIOCPKT_FLUSHWRITE = 0x2
1270 TIOCPKT_IOCTL = 0x40
1271 TIOCPKT_NOSTOP = 0x10
1272 TIOCPKT_START = 0x8
1273 TIOCPKT_STOP = 0x4
1274 TIOCREMOTE = 0x80047469
1275 TIOCSBRK = 0x2000747b
1276 TIOCSCTTY = 0x20007461
1277 TIOCSDTR = 0x20007479
1278 TIOCSETA = 0x802c7414
1279 TIOCSETAF = 0x802c7416
1280 TIOCSETAW = 0x802c7415
1281 TIOCSETD = 0x8004741b
1282 TIOCSFLAGS = 0x8004745c
1283 TIOCSIG = 0x8004745f
1284 TIOCSPGRP = 0x80047476
1285 TIOCSTART = 0x2000746e
1286 TIOCSTAT = 0x80047465
1287 TIOCSTI = 0x80017472
1288 TIOCSTOP = 0x2000746f
1289 TIOCSTSTAMP = 0x8008745a
1290 TIOCSWINSZ = 0x80087467
1291 TIOCUCNTL = 0x80047466
1292 TOSTOP = 0x400000
1293 VDISCARD = 0xf
1294 VDSUSP = 0xb
1295 VEOF = 0x0
1296 VEOL = 0x1
1297 VEOL2 = 0x2
1298 VERASE = 0x3
1299 VINTR = 0x8
1300 VKILL = 0x5
1301 VLNEXT = 0xe
1302 VMIN = 0x10
1303 VQUIT = 0x9
1304 VREPRINT = 0x6
1305 VSTART = 0xc
1306 VSTATUS = 0x12
1307 VSTOP = 0xd
1308 VSUSP = 0xa
1309 VTIME = 0x11
1310 VWERASE = 0x4
1311 WALTSIG = 0x4
1312 WCONTINUED = 0x8
1313 WCOREFLAG = 0x80
1314 WNOHANG = 0x1
1315 WSTOPPED = 0x7f
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