Source file
src/syscall/zerrors_netbsd_386.go
1
2
3
4
5
6
7 package syscall
8
9 const (
10 AF_APPLETALK = 0x10
11 AF_ARP = 0x1c
12 AF_BLUETOOTH = 0x1f
13 AF_CCITT = 0xa
14 AF_CHAOS = 0x5
15 AF_CNT = 0x15
16 AF_COIP = 0x14
17 AF_DATAKIT = 0x9
18 AF_DECnet = 0xc
19 AF_DLI = 0xd
20 AF_E164 = 0x1a
21 AF_ECMA = 0x8
22 AF_HYLINK = 0xf
23 AF_IEEE80211 = 0x20
24 AF_IMPLINK = 0x3
25 AF_INET = 0x2
26 AF_INET6 = 0x18
27 AF_IPX = 0x17
28 AF_ISDN = 0x1a
29 AF_ISO = 0x7
30 AF_LAT = 0xe
31 AF_LINK = 0x12
32 AF_LOCAL = 0x1
33 AF_MAX = 0x23
34 AF_MPLS = 0x21
35 AF_NATM = 0x1b
36 AF_NS = 0x6
37 AF_OROUTE = 0x11
38 AF_OSI = 0x7
39 AF_PUP = 0x4
40 AF_ROUTE = 0x22
41 AF_SNA = 0xb
42 AF_UNIX = 0x1
43 AF_UNSPEC = 0x0
44 ARPHRD_ARCNET = 0x7
45 ARPHRD_ETHER = 0x1
46 ARPHRD_FRELAY = 0xf
47 ARPHRD_IEEE1394 = 0x18
48 ARPHRD_IEEE802 = 0x6
49 ARPHRD_STRIP = 0x17
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 B460800 = 0x70800
66 B4800 = 0x12c0
67 B50 = 0x32
68 B57600 = 0xe100
69 B600 = 0x258
70 B7200 = 0x1c20
71 B75 = 0x4b
72 B76800 = 0x12c00
73 B921600 = 0xe1000
74 B9600 = 0x2580
75 BIOCFEEDBACK = 0x8004427d
76 BIOCFLUSH = 0x20004268
77 BIOCGBLEN = 0x40044266
78 BIOCGDLT = 0x4004426a
79 BIOCGDLTLIST = 0xc0084277
80 BIOCGETIF = 0x4090426b
81 BIOCGFEEDBACK = 0x4004427c
82 BIOCGHDRCMPLT = 0x40044274
83 BIOCGRTIMEOUT = 0x400c427b
84 BIOCGSEESENT = 0x40044278
85 BIOCGSTATS = 0x4080426f
86 BIOCGSTATSOLD = 0x4008426f
87 BIOCIMMEDIATE = 0x80044270
88 BIOCPROMISC = 0x20004269
89 BIOCSBLEN = 0xc0044266
90 BIOCSDLT = 0x80044276
91 BIOCSETF = 0x80084267
92 BIOCSETIF = 0x8090426c
93 BIOCSFEEDBACK = 0x8004427d
94 BIOCSHDRCMPLT = 0x80044275
95 BIOCSRTIMEOUT = 0x800c427a
96 BIOCSSEESENT = 0x80044279
97 BIOCSTCPF = 0x80084272
98 BIOCSUDPF = 0x80084273
99 BIOCVERSION = 0x40044271
100 BPF_A = 0x10
101 BPF_ABS = 0x20
102 BPF_ADD = 0x0
103 BPF_ALIGNMENT = 0x4
104 BPF_ALIGNMENT32 = 0x4
105 BPF_ALU = 0x4
106 BPF_AND = 0x50
107 BPF_B = 0x10
108 BPF_DFLTBUFSIZE = 0x100000
109 BPF_DIV = 0x30
110 BPF_H = 0x8
111 BPF_IMM = 0x0
112 BPF_IND = 0x40
113 BPF_JA = 0x0
114 BPF_JEQ = 0x10
115 BPF_JGE = 0x30
116 BPF_JGT = 0x20
117 BPF_JMP = 0x5
118 BPF_JSET = 0x40
119 BPF_K = 0x0
120 BPF_LD = 0x0
121 BPF_LDX = 0x1
122 BPF_LEN = 0x80
123 BPF_LSH = 0x60
124 BPF_MAJOR_VERSION = 0x1
125 BPF_MAXBUFSIZE = 0x1000000
126 BPF_MAXINSNS = 0x200
127 BPF_MEM = 0x60
128 BPF_MEMWORDS = 0x10
129 BPF_MINBUFSIZE = 0x20
130 BPF_MINOR_VERSION = 0x1
131 BPF_MISC = 0x7
132 BPF_MSH = 0xa0
133 BPF_MUL = 0x20
134 BPF_NEG = 0x80
135 BPF_OR = 0x40
136 BPF_RELEASE = 0x30bb6
137 BPF_RET = 0x6
138 BPF_RSH = 0x70
139 BPF_ST = 0x2
140 BPF_STX = 0x3
141 BPF_SUB = 0x10
142 BPF_TAX = 0x0
143 BPF_TXA = 0x80
144 BPF_W = 0x0
145 BPF_X = 0x8
146 BRKINT = 0x2
147 CFLUSH = 0xf
148 CLOCAL = 0x8000
149 CLONE_CSIGNAL = 0xff
150 CLONE_FILES = 0x400
151 CLONE_FS = 0x200
152 CLONE_PID = 0x1000
153 CLONE_PTRACE = 0x2000
154 CLONE_SIGHAND = 0x800
155 CLONE_VFORK = 0x4000
156 CLONE_VM = 0x100
157 CREAD = 0x800
158 CS5 = 0x0
159 CS6 = 0x100
160 CS7 = 0x200
161 CS8 = 0x300
162 CSIZE = 0x300
163 CSTART = 0x11
164 CSTATUS = 0x14
165 CSTOP = 0x13
166 CSTOPB = 0x400
167 CSUSP = 0x1a
168 CTL_MAXNAME = 0xc
169 CTL_NET = 0x4
170 CTL_QUERY = -0x2
171 DIOCBSFLUSH = 0x20006478
172 DLT_A429 = 0xb8
173 DLT_A653_ICM = 0xb9
174 DLT_AIRONET_HEADER = 0x78
175 DLT_AOS = 0xde
176 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
177 DLT_ARCNET = 0x7
178 DLT_ARCNET_LINUX = 0x81
179 DLT_ATM_CLIP = 0x13
180 DLT_ATM_RFC1483 = 0xb
181 DLT_AURORA = 0x7e
182 DLT_AX25 = 0x3
183 DLT_AX25_KISS = 0xca
184 DLT_BACNET_MS_TP = 0xa5
185 DLT_BLUETOOTH_HCI_H4 = 0xbb
186 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
187 DLT_CAN20B = 0xbe
188 DLT_CAN_SOCKETCAN = 0xe3
189 DLT_CHAOS = 0x5
190 DLT_CISCO_IOS = 0x76
191 DLT_C_HDLC = 0x68
192 DLT_C_HDLC_WITH_DIR = 0xcd
193 DLT_DECT = 0xdd
194 DLT_DOCSIS = 0x8f
195 DLT_ECONET = 0x73
196 DLT_EN10MB = 0x1
197 DLT_EN3MB = 0x2
198 DLT_ENC = 0x6d
199 DLT_ERF = 0xc5
200 DLT_ERF_ETH = 0xaf
201 DLT_ERF_POS = 0xb0
202 DLT_FC_2 = 0xe0
203 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1
204 DLT_FDDI = 0xa
205 DLT_FLEXRAY = 0xd2
206 DLT_FRELAY = 0x6b
207 DLT_FRELAY_WITH_DIR = 0xce
208 DLT_GCOM_SERIAL = 0xad
209 DLT_GCOM_T1E1 = 0xac
210 DLT_GPF_F = 0xab
211 DLT_GPF_T = 0xaa
212 DLT_GPRS_LLC = 0xa9
213 DLT_GSMTAP_ABIS = 0xda
214 DLT_GSMTAP_UM = 0xd9
215 DLT_HDLC = 0x10
216 DLT_HHDLC = 0x79
217 DLT_HIPPI = 0xf
218 DLT_IBM_SN = 0x92
219 DLT_IBM_SP = 0x91
220 DLT_IEEE802 = 0x6
221 DLT_IEEE802_11 = 0x69
222 DLT_IEEE802_11_RADIO = 0x7f
223 DLT_IEEE802_11_RADIO_AVS = 0xa3
224 DLT_IEEE802_15_4 = 0xc3
225 DLT_IEEE802_15_4_LINUX = 0xbf
226 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
227 DLT_IEEE802_16_MAC_CPS = 0xbc
228 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
229 DLT_IPMB = 0xc7
230 DLT_IPMB_LINUX = 0xd1
231 DLT_IPNET = 0xe2
232 DLT_IPV4 = 0xe4
233 DLT_IPV6 = 0xe5
234 DLT_IP_OVER_FC = 0x7a
235 DLT_JUNIPER_ATM1 = 0x89
236 DLT_JUNIPER_ATM2 = 0x87
237 DLT_JUNIPER_CHDLC = 0xb5
238 DLT_JUNIPER_ES = 0x84
239 DLT_JUNIPER_ETHER = 0xb2
240 DLT_JUNIPER_FRELAY = 0xb4
241 DLT_JUNIPER_GGSN = 0x85
242 DLT_JUNIPER_ISM = 0xc2
243 DLT_JUNIPER_MFR = 0x86
244 DLT_JUNIPER_MLFR = 0x83
245 DLT_JUNIPER_MLPPP = 0x82
246 DLT_JUNIPER_MONITOR = 0xa4
247 DLT_JUNIPER_PIC_PEER = 0xae
248 DLT_JUNIPER_PPP = 0xb3
249 DLT_JUNIPER_PPPOE = 0xa7
250 DLT_JUNIPER_PPPOE_ATM = 0xa8
251 DLT_JUNIPER_SERVICES = 0x88
252 DLT_JUNIPER_ST = 0xc8
253 DLT_JUNIPER_VP = 0xb7
254 DLT_LAPB_WITH_DIR = 0xcf
255 DLT_LAPD = 0xcb
256 DLT_LIN = 0xd4
257 DLT_LINUX_EVDEV = 0xd8
258 DLT_LINUX_IRDA = 0x90
259 DLT_LINUX_LAPD = 0xb1
260 DLT_LINUX_SLL = 0x71
261 DLT_LOOP = 0x6c
262 DLT_LTALK = 0x72
263 DLT_MFR = 0xb6
264 DLT_MOST = 0xd3
265 DLT_MPLS = 0xdb
266 DLT_MTP2 = 0x8c
267 DLT_MTP2_WITH_PHDR = 0x8b
268 DLT_MTP3 = 0x8d
269 DLT_NULL = 0x0
270 DLT_PCI_EXP = 0x7d
271 DLT_PFLOG = 0x75
272 DLT_PFSYNC = 0x12
273 DLT_PPI = 0xc0
274 DLT_PPP = 0x9
275 DLT_PPP_BSDOS = 0xe
276 DLT_PPP_ETHER = 0x33
277 DLT_PPP_PPPD = 0xa6
278 DLT_PPP_SERIAL = 0x32
279 DLT_PPP_WITH_DIR = 0xcc
280 DLT_PRISM_HEADER = 0x77
281 DLT_PRONET = 0x4
282 DLT_RAIF1 = 0xc6
283 DLT_RAW = 0xc
284 DLT_RAWAF_MASK = 0x2240000
285 DLT_RIO = 0x7c
286 DLT_SCCP = 0x8e
287 DLT_SITA = 0xc4
288 DLT_SLIP = 0x8
289 DLT_SLIP_BSDOS = 0xd
290 DLT_SUNATM = 0x7b
291 DLT_SYMANTEC_FIREWALL = 0x63
292 DLT_TZSP = 0x80
293 DLT_USB = 0xba
294 DLT_USB_LINUX = 0xbd
295 DLT_USB_LINUX_MMAPPED = 0xdc
296 DLT_WIHART = 0xdf
297 DLT_X2E_SERIAL = 0xd5
298 DLT_X2E_XORAYA = 0xd6
299 DT_BLK = 0x6
300 DT_CHR = 0x2
301 DT_DIR = 0x4
302 DT_FIFO = 0x1
303 DT_LNK = 0xa
304 DT_REG = 0x8
305 DT_SOCK = 0xc
306 DT_UNKNOWN = 0x0
307 DT_WHT = 0xe
308 ECHO = 0x8
309 ECHOCTL = 0x40
310 ECHOE = 0x2
311 ECHOK = 0x4
312 ECHOKE = 0x1
313 ECHONL = 0x10
314 ECHOPRT = 0x20
315 EMUL_LINUX = 0x1
316 EMUL_LINUX32 = 0x5
317 EMUL_MAXID = 0x6
318 EN_SW_CTL_INF = 0x1000
319 EN_SW_CTL_PREC = 0x300
320 EN_SW_CTL_ROUND = 0xc00
321 EN_SW_DATACHAIN = 0x80
322 EN_SW_DENORM = 0x2
323 EN_SW_INVOP = 0x1
324 EN_SW_OVERFLOW = 0x8
325 EN_SW_PRECLOSS = 0x20
326 EN_SW_UNDERFLOW = 0x10
327 EN_SW_ZERODIV = 0x4
328 ETHERCAP_JUMBO_MTU = 0x4
329 ETHERCAP_VLAN_HWTAGGING = 0x2
330 ETHERCAP_VLAN_MTU = 0x1
331 ETHERMIN = 0x2e
332 ETHERMTU = 0x5dc
333 ETHERMTU_JUMBO = 0x2328
334 ETHERTYPE_8023 = 0x4
335 ETHERTYPE_AARP = 0x80f3
336 ETHERTYPE_ACCTON = 0x8390
337 ETHERTYPE_AEONIC = 0x8036
338 ETHERTYPE_ALPHA = 0x814a
339 ETHERTYPE_AMBER = 0x6008
340 ETHERTYPE_AMOEBA = 0x8145
341 ETHERTYPE_APOLLO = 0x80f7
342 ETHERTYPE_APOLLODOMAIN = 0x8019
343 ETHERTYPE_APPLETALK = 0x809b
344 ETHERTYPE_APPLITEK = 0x80c7
345 ETHERTYPE_ARGONAUT = 0x803a
346 ETHERTYPE_ARP = 0x806
347 ETHERTYPE_AT = 0x809b
348 ETHERTYPE_ATALK = 0x809b
349 ETHERTYPE_ATOMIC = 0x86df
350 ETHERTYPE_ATT = 0x8069
351 ETHERTYPE_ATTSTANFORD = 0x8008
352 ETHERTYPE_AUTOPHON = 0x806a
353 ETHERTYPE_AXIS = 0x8856
354 ETHERTYPE_BCLOOP = 0x9003
355 ETHERTYPE_BOFL = 0x8102
356 ETHERTYPE_CABLETRON = 0x7034
357 ETHERTYPE_CHAOS = 0x804
358 ETHERTYPE_COMDESIGN = 0x806c
359 ETHERTYPE_COMPUGRAPHIC = 0x806d
360 ETHERTYPE_COUNTERPOINT = 0x8062
361 ETHERTYPE_CRONUS = 0x8004
362 ETHERTYPE_CRONUSVLN = 0x8003
363 ETHERTYPE_DCA = 0x1234
364 ETHERTYPE_DDE = 0x807b
365 ETHERTYPE_DEBNI = 0xaaaa
366 ETHERTYPE_DECAM = 0x8048
367 ETHERTYPE_DECCUST = 0x6006
368 ETHERTYPE_DECDIAG = 0x6005
369 ETHERTYPE_DECDNS = 0x803c
370 ETHERTYPE_DECDTS = 0x803e
371 ETHERTYPE_DECEXPER = 0x6000
372 ETHERTYPE_DECLAST = 0x8041
373 ETHERTYPE_DECLTM = 0x803f
374 ETHERTYPE_DECMUMPS = 0x6009
375 ETHERTYPE_DECNETBIOS = 0x8040
376 ETHERTYPE_DELTACON = 0x86de
377 ETHERTYPE_DIDDLE = 0x4321
378 ETHERTYPE_DLOG1 = 0x660
379 ETHERTYPE_DLOG2 = 0x661
380 ETHERTYPE_DN = 0x6003
381 ETHERTYPE_DOGFIGHT = 0x1989
382 ETHERTYPE_DSMD = 0x8039
383 ETHERTYPE_ECMA = 0x803
384 ETHERTYPE_ENCRYPT = 0x803d
385 ETHERTYPE_ES = 0x805d
386 ETHERTYPE_EXCELAN = 0x8010
387 ETHERTYPE_EXPERDATA = 0x8049
388 ETHERTYPE_FLIP = 0x8146
389 ETHERTYPE_FLOWCONTROL = 0x8808
390 ETHERTYPE_FRARP = 0x808
391 ETHERTYPE_GENDYN = 0x8068
392 ETHERTYPE_HAYES = 0x8130
393 ETHERTYPE_HIPPI_FP = 0x8180
394 ETHERTYPE_HITACHI = 0x8820
395 ETHERTYPE_HP = 0x8005
396 ETHERTYPE_IEEEPUP = 0xa00
397 ETHERTYPE_IEEEPUPAT = 0xa01
398 ETHERTYPE_IMLBL = 0x4c42
399 ETHERTYPE_IMLBLDIAG = 0x424c
400 ETHERTYPE_IP = 0x800
401 ETHERTYPE_IPAS = 0x876c
402 ETHERTYPE_IPV6 = 0x86dd
403 ETHERTYPE_IPX = 0x8137
404 ETHERTYPE_IPXNEW = 0x8037
405 ETHERTYPE_KALPANA = 0x8582
406 ETHERTYPE_LANBRIDGE = 0x8038
407 ETHERTYPE_LANPROBE = 0x8888
408 ETHERTYPE_LAT = 0x6004
409 ETHERTYPE_LBACK = 0x9000
410 ETHERTYPE_LITTLE = 0x8060
411 ETHERTYPE_LOGICRAFT = 0x8148
412 ETHERTYPE_LOOPBACK = 0x9000
413 ETHERTYPE_MATRA = 0x807a
414 ETHERTYPE_MAX = 0xffff
415 ETHERTYPE_MERIT = 0x807c
416 ETHERTYPE_MICP = 0x873a
417 ETHERTYPE_MOPDL = 0x6001
418 ETHERTYPE_MOPRC = 0x6002
419 ETHERTYPE_MOTOROLA = 0x818d
420 ETHERTYPE_MPLS = 0x8847
421 ETHERTYPE_MPLS_MCAST = 0x8848
422 ETHERTYPE_MUMPS = 0x813f
423 ETHERTYPE_NBPCC = 0x3c04
424 ETHERTYPE_NBPCLAIM = 0x3c09
425 ETHERTYPE_NBPCLREQ = 0x3c05
426 ETHERTYPE_NBPCLRSP = 0x3c06
427 ETHERTYPE_NBPCREQ = 0x3c02
428 ETHERTYPE_NBPCRSP = 0x3c03
429 ETHERTYPE_NBPDG = 0x3c07
430 ETHERTYPE_NBPDGB = 0x3c08
431 ETHERTYPE_NBPDLTE = 0x3c0a
432 ETHERTYPE_NBPRAR = 0x3c0c
433 ETHERTYPE_NBPRAS = 0x3c0b
434 ETHERTYPE_NBPRST = 0x3c0d
435 ETHERTYPE_NBPSCD = 0x3c01
436 ETHERTYPE_NBPVCD = 0x3c00
437 ETHERTYPE_NBS = 0x802
438 ETHERTYPE_NCD = 0x8149
439 ETHERTYPE_NESTAR = 0x8006
440 ETHERTYPE_NETBEUI = 0x8191
441 ETHERTYPE_NOVELL = 0x8138
442 ETHERTYPE_NS = 0x600
443 ETHERTYPE_NSAT = 0x601
444 ETHERTYPE_NSCOMPAT = 0x807
445 ETHERTYPE_NTRAILER = 0x10
446 ETHERTYPE_OS9 = 0x7007
447 ETHERTYPE_OS9NET = 0x7009
448 ETHERTYPE_PACER = 0x80c6
449 ETHERTYPE_PAE = 0x888e
450 ETHERTYPE_PCS = 0x4242
451 ETHERTYPE_PLANNING = 0x8044
452 ETHERTYPE_PPP = 0x880b
453 ETHERTYPE_PPPOE = 0x8864
454 ETHERTYPE_PPPOEDISC = 0x8863
455 ETHERTYPE_PRIMENTS = 0x7031
456 ETHERTYPE_PUP = 0x200
457 ETHERTYPE_PUPAT = 0x200
458 ETHERTYPE_RACAL = 0x7030
459 ETHERTYPE_RATIONAL = 0x8150
460 ETHERTYPE_RAWFR = 0x6559
461 ETHERTYPE_RCL = 0x1995
462 ETHERTYPE_RDP = 0x8739
463 ETHERTYPE_RETIX = 0x80f2
464 ETHERTYPE_REVARP = 0x8035
465 ETHERTYPE_SCA = 0x6007
466 ETHERTYPE_SECTRA = 0x86db
467 ETHERTYPE_SECUREDATA = 0x876d
468 ETHERTYPE_SGITW = 0x817e
469 ETHERTYPE_SG_BOUNCE = 0x8016
470 ETHERTYPE_SG_DIAG = 0x8013
471 ETHERTYPE_SG_NETGAMES = 0x8014
472 ETHERTYPE_SG_RESV = 0x8015
473 ETHERTYPE_SIMNET = 0x5208
474 ETHERTYPE_SLOWPROTOCOLS = 0x8809
475 ETHERTYPE_SNA = 0x80d5
476 ETHERTYPE_SNMP = 0x814c
477 ETHERTYPE_SONIX = 0xfaf5
478 ETHERTYPE_SPIDER = 0x809f
479 ETHERTYPE_SPRITE = 0x500
480 ETHERTYPE_STP = 0x8181
481 ETHERTYPE_TALARIS = 0x812b
482 ETHERTYPE_TALARISMC = 0x852b
483 ETHERTYPE_TCPCOMP = 0x876b
484 ETHERTYPE_TCPSM = 0x9002
485 ETHERTYPE_TEC = 0x814f
486 ETHERTYPE_TIGAN = 0x802f
487 ETHERTYPE_TRAIL = 0x1000
488 ETHERTYPE_TRANSETHER = 0x6558
489 ETHERTYPE_TYMSHARE = 0x802e
490 ETHERTYPE_UBBST = 0x7005
491 ETHERTYPE_UBDEBUG = 0x900
492 ETHERTYPE_UBDIAGLOOP = 0x7002
493 ETHERTYPE_UBDL = 0x7000
494 ETHERTYPE_UBNIU = 0x7001
495 ETHERTYPE_UBNMC = 0x7003
496 ETHERTYPE_VALID = 0x1600
497 ETHERTYPE_VARIAN = 0x80dd
498 ETHERTYPE_VAXELN = 0x803b
499 ETHERTYPE_VEECO = 0x8067
500 ETHERTYPE_VEXP = 0x805b
501 ETHERTYPE_VGLAB = 0x8131
502 ETHERTYPE_VINES = 0xbad
503 ETHERTYPE_VINESECHO = 0xbaf
504 ETHERTYPE_VINESLOOP = 0xbae
505 ETHERTYPE_VITAL = 0xff00
506 ETHERTYPE_VLAN = 0x8100
507 ETHERTYPE_VLTLMAN = 0x8080
508 ETHERTYPE_VPROD = 0x805c
509 ETHERTYPE_VURESERVED = 0x8147
510 ETHERTYPE_WATERLOO = 0x8130
511 ETHERTYPE_WELLFLEET = 0x8103
512 ETHERTYPE_X25 = 0x805
513 ETHERTYPE_X75 = 0x801
514 ETHERTYPE_XNSSM = 0x9001
515 ETHERTYPE_XTP = 0x817d
516 ETHER_ADDR_LEN = 0x6
517 ETHER_CRC_LEN = 0x4
518 ETHER_CRC_POLY_BE = 0x4c11db6
519 ETHER_CRC_POLY_LE = 0xedb88320
520 ETHER_HDR_LEN = 0xe
521 ETHER_MAX_LEN = 0x5ee
522 ETHER_MAX_LEN_JUMBO = 0x233a
523 ETHER_MIN_LEN = 0x40
524 ETHER_PPPOE_ENCAP_LEN = 0x8
525 ETHER_TYPE_LEN = 0x2
526 ETHER_VLAN_ENCAP_LEN = 0x4
527 EVFILT_AIO = 0x2
528 EVFILT_PROC = 0x4
529 EVFILT_READ = 0x0
530 EVFILT_SIGNAL = 0x5
531 EVFILT_SYSCOUNT = 0x7
532 EVFILT_TIMER = 0x6
533 EVFILT_VNODE = 0x3
534 EVFILT_WRITE = 0x1
535 EV_ADD = 0x1
536 EV_CLEAR = 0x20
537 EV_DELETE = 0x2
538 EV_DISABLE = 0x8
539 EV_ENABLE = 0x4
540 EV_EOF = 0x8000
541 EV_ERROR = 0x4000
542 EV_FLAG1 = 0x2000
543 EV_ONESHOT = 0x10
544 EV_SYSFLAGS = 0xf000
545 EXTA = 0x4b00
546 EXTB = 0x9600
547 EXTPROC = 0x800
548 FD_CLOEXEC = 0x1
549 FD_SETSIZE = 0x100
550 FLUSHO = 0x800000
551 F_CLOSEM = 0xa
552 F_DUPFD = 0x0
553 F_DUPFD_CLOEXEC = 0xc
554 F_FSCTL = -0x80000000
555 F_FSDIRMASK = 0x70000000
556 F_FSIN = 0x10000000
557 F_FSINOUT = 0x30000000
558 F_FSOUT = 0x20000000
559 F_FSPRIV = 0x8000
560 F_FSVOID = 0x40000000
561 F_GETFD = 0x1
562 F_GETFL = 0x3
563 F_GETLK = 0x7
564 F_GETNOSIGPIPE = 0xd
565 F_GETOWN = 0x5
566 F_MAXFD = 0xb
567 F_OK = 0x0
568 F_PARAM_MASK = 0xfff
569 F_PARAM_MAX = 0xfff
570 F_RDLCK = 0x1
571 F_SETFD = 0x2
572 F_SETFL = 0x4
573 F_SETLK = 0x8
574 F_SETLKW = 0x9
575 F_SETNOSIGPIPE = 0xe
576 F_SETOWN = 0x6
577 F_UNLCK = 0x2
578 F_WRLCK = 0x3
579 HUPCL = 0x4000
580 ICANON = 0x100
581 ICMP6_FILTER = 0x12
582 ICRNL = 0x100
583 IEXTEN = 0x400
584 IFAN_ARRIVAL = 0x0
585 IFAN_DEPARTURE = 0x1
586 IFA_ROUTE = 0x1
587 IFF_ALLMULTI = 0x200
588 IFF_BROADCAST = 0x2
589 IFF_CANTCHANGE = 0x8f52
590 IFF_DEBUG = 0x4
591 IFF_LINK0 = 0x1000
592 IFF_LINK1 = 0x2000
593 IFF_LINK2 = 0x4000
594 IFF_LOOPBACK = 0x8
595 IFF_MULTICAST = 0x8000
596 IFF_NOARP = 0x80
597 IFF_NOTRAILERS = 0x20
598 IFF_OACTIVE = 0x400
599 IFF_POINTOPOINT = 0x10
600 IFF_PROMISC = 0x100
601 IFF_RUNNING = 0x40
602 IFF_SIMPLEX = 0x800
603 IFF_UP = 0x1
604 IFNAMSIZ = 0x10
605 IFT_1822 = 0x2
606 IFT_A12MPPSWITCH = 0x82
607 IFT_AAL2 = 0xbb
608 IFT_AAL5 = 0x31
609 IFT_ADSL = 0x5e
610 IFT_AFLANE8023 = 0x3b
611 IFT_AFLANE8025 = 0x3c
612 IFT_ARAP = 0x58
613 IFT_ARCNET = 0x23
614 IFT_ARCNETPLUS = 0x24
615 IFT_ASYNC = 0x54
616 IFT_ATM = 0x25
617 IFT_ATMDXI = 0x69
618 IFT_ATMFUNI = 0x6a
619 IFT_ATMIMA = 0x6b
620 IFT_ATMLOGICAL = 0x50
621 IFT_ATMRADIO = 0xbd
622 IFT_ATMSUBINTERFACE = 0x86
623 IFT_ATMVCIENDPT = 0xc2
624 IFT_ATMVIRTUAL = 0x95
625 IFT_BGPPOLICYACCOUNTING = 0xa2
626 IFT_BRIDGE = 0xd1
627 IFT_BSC = 0x53
628 IFT_CARP = 0xf8
629 IFT_CCTEMUL = 0x3d
630 IFT_CEPT = 0x13
631 IFT_CES = 0x85
632 IFT_CHANNEL = 0x46
633 IFT_CNR = 0x55
634 IFT_COFFEE = 0x84
635 IFT_COMPOSITELINK = 0x9b
636 IFT_DCN = 0x8d
637 IFT_DIGITALPOWERLINE = 0x8a
638 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
639 IFT_DLSW = 0x4a
640 IFT_DOCSCABLEDOWNSTREAM = 0x80
641 IFT_DOCSCABLEMACLAYER = 0x7f
642 IFT_DOCSCABLEUPSTREAM = 0x81
643 IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd
644 IFT_DS0 = 0x51
645 IFT_DS0BUNDLE = 0x52
646 IFT_DS1FDL = 0xaa
647 IFT_DS3 = 0x1e
648 IFT_DTM = 0x8c
649 IFT_DVBASILN = 0xac
650 IFT_DVBASIOUT = 0xad
651 IFT_DVBRCCDOWNSTREAM = 0x93
652 IFT_DVBRCCMACLAYER = 0x92
653 IFT_DVBRCCUPSTREAM = 0x94
654 IFT_ECONET = 0xce
655 IFT_EON = 0x19
656 IFT_EPLRS = 0x57
657 IFT_ESCON = 0x49
658 IFT_ETHER = 0x6
659 IFT_FAITH = 0xf2
660 IFT_FAST = 0x7d
661 IFT_FASTETHER = 0x3e
662 IFT_FASTETHERFX = 0x45
663 IFT_FDDI = 0xf
664 IFT_FIBRECHANNEL = 0x38
665 IFT_FRAMERELAYINTERCONNECT = 0x3a
666 IFT_FRAMERELAYMPI = 0x5c
667 IFT_FRDLCIENDPT = 0xc1
668 IFT_FRELAY = 0x20
669 IFT_FRELAYDCE = 0x2c
670 IFT_FRF16MFRBUNDLE = 0xa3
671 IFT_FRFORWARD = 0x9e
672 IFT_G703AT2MB = 0x43
673 IFT_G703AT64K = 0x42
674 IFT_GIF = 0xf0
675 IFT_GIGABITETHERNET = 0x75
676 IFT_GR303IDT = 0xb2
677 IFT_GR303RDT = 0xb1
678 IFT_H323GATEKEEPER = 0xa4
679 IFT_H323PROXY = 0xa5
680 IFT_HDH1822 = 0x3
681 IFT_HDLC = 0x76
682 IFT_HDSL2 = 0xa8
683 IFT_HIPERLAN2 = 0xb7
684 IFT_HIPPI = 0x2f
685 IFT_HIPPIINTERFACE = 0x39
686 IFT_HOSTPAD = 0x5a
687 IFT_HSSI = 0x2e
688 IFT_HY = 0xe
689 IFT_IBM370PARCHAN = 0x48
690 IFT_IDSL = 0x9a
691 IFT_IEEE1394 = 0x90
692 IFT_IEEE80211 = 0x47
693 IFT_IEEE80212 = 0x37
694 IFT_IEEE8023ADLAG = 0xa1
695 IFT_IFGSN = 0x91
696 IFT_IMT = 0xbe
697 IFT_INFINIBAND = 0xc7
698 IFT_INTERLEAVE = 0x7c
699 IFT_IP = 0x7e
700 IFT_IPFORWARD = 0x8e
701 IFT_IPOVERATM = 0x72
702 IFT_IPOVERCDLC = 0x6d
703 IFT_IPOVERCLAW = 0x6e
704 IFT_IPSWITCH = 0x4e
705 IFT_ISDN = 0x3f
706 IFT_ISDNBASIC = 0x14
707 IFT_ISDNPRIMARY = 0x15
708 IFT_ISDNS = 0x4b
709 IFT_ISDNU = 0x4c
710 IFT_ISO88022LLC = 0x29
711 IFT_ISO88023 = 0x7
712 IFT_ISO88024 = 0x8
713 IFT_ISO88025 = 0x9
714 IFT_ISO88025CRFPINT = 0x62
715 IFT_ISO88025DTR = 0x56
716 IFT_ISO88025FIBER = 0x73
717 IFT_ISO88026 = 0xa
718 IFT_ISUP = 0xb3
719 IFT_L2VLAN = 0x87
720 IFT_L3IPVLAN = 0x88
721 IFT_L3IPXVLAN = 0x89
722 IFT_LAPB = 0x10
723 IFT_LAPD = 0x4d
724 IFT_LAPF = 0x77
725 IFT_LINEGROUP = 0xd2
726 IFT_LOCALTALK = 0x2a
727 IFT_LOOP = 0x18
728 IFT_MEDIAMAILOVERIP = 0x8b
729 IFT_MFSIGLINK = 0xa7
730 IFT_MIOX25 = 0x26
731 IFT_MODEM = 0x30
732 IFT_MPC = 0x71
733 IFT_MPLS = 0xa6
734 IFT_MPLSTUNNEL = 0x96
735 IFT_MSDSL = 0x8f
736 IFT_MVL = 0xbf
737 IFT_MYRINET = 0x63
738 IFT_NFAS = 0xaf
739 IFT_NSIP = 0x1b
740 IFT_OPTICALCHANNEL = 0xc3
741 IFT_OPTICALTRANSPORT = 0xc4
742 IFT_OTHER = 0x1
743 IFT_P10 = 0xc
744 IFT_P80 = 0xd
745 IFT_PARA = 0x22
746 IFT_PFLOG = 0xf5
747 IFT_PFSYNC = 0xf6
748 IFT_PLC = 0xae
749 IFT_PON155 = 0xcf
750 IFT_PON622 = 0xd0
751 IFT_POS = 0xab
752 IFT_PPP = 0x17
753 IFT_PPPMULTILINKBUNDLE = 0x6c
754 IFT_PROPATM = 0xc5
755 IFT_PROPBWAP2MP = 0xb8
756 IFT_PROPCNLS = 0x59
757 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
758 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
759 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
760 IFT_PROPMUX = 0x36
761 IFT_PROPVIRTUAL = 0x35
762 IFT_PROPWIRELESSP2P = 0x9d
763 IFT_PTPSERIAL = 0x16
764 IFT_PVC = 0xf1
765 IFT_Q2931 = 0xc9
766 IFT_QLLC = 0x44
767 IFT_RADIOMAC = 0xbc
768 IFT_RADSL = 0x5f
769 IFT_REACHDSL = 0xc0
770 IFT_RFC1483 = 0x9f
771 IFT_RS232 = 0x21
772 IFT_RSRB = 0x4f
773 IFT_SDLC = 0x11
774 IFT_SDSL = 0x60
775 IFT_SHDSL = 0xa9
776 IFT_SIP = 0x1f
777 IFT_SIPSIG = 0xcc
778 IFT_SIPTG = 0xcb
779 IFT_SLIP = 0x1c
780 IFT_SMDSDXI = 0x2b
781 IFT_SMDSICIP = 0x34
782 IFT_SONET = 0x27
783 IFT_SONETOVERHEADCHANNEL = 0xb9
784 IFT_SONETPATH = 0x32
785 IFT_SONETVT = 0x33
786 IFT_SRP = 0x97
787 IFT_SS7SIGLINK = 0x9c
788 IFT_STACKTOSTACK = 0x6f
789 IFT_STARLAN = 0xb
790 IFT_STF = 0xd7
791 IFT_T1 = 0x12
792 IFT_TDLC = 0x74
793 IFT_TELINK = 0xc8
794 IFT_TERMPAD = 0x5b
795 IFT_TR008 = 0xb0
796 IFT_TRANSPHDLC = 0x7b
797 IFT_TUNNEL = 0x83
798 IFT_ULTRA = 0x1d
799 IFT_USB = 0xa0
800 IFT_V11 = 0x40
801 IFT_V35 = 0x2d
802 IFT_V36 = 0x41
803 IFT_V37 = 0x78
804 IFT_VDSL = 0x61
805 IFT_VIRTUALIPADDRESS = 0x70
806 IFT_VIRTUALTG = 0xca
807 IFT_VOICEDID = 0xd5
808 IFT_VOICEEM = 0x64
809 IFT_VOICEEMFGD = 0xd3
810 IFT_VOICEENCAP = 0x67
811 IFT_VOICEFGDEANA = 0xd4
812 IFT_VOICEFXO = 0x65
813 IFT_VOICEFXS = 0x66
814 IFT_VOICEOVERATM = 0x98
815 IFT_VOICEOVERCABLE = 0xc6
816 IFT_VOICEOVERFRAMERELAY = 0x99
817 IFT_VOICEOVERIP = 0x68
818 IFT_X213 = 0x5d
819 IFT_X25 = 0x5
820 IFT_X25DDN = 0x4
821 IFT_X25HUNTGROUP = 0x7a
822 IFT_X25MLP = 0x79
823 IFT_X25PLE = 0x28
824 IFT_XETHER = 0x1a
825 IGNBRK = 0x1
826 IGNCR = 0x80
827 IGNPAR = 0x4
828 IMAXBEL = 0x2000
829 INLCR = 0x40
830 INPCK = 0x10
831 IN_CLASSA_HOST = 0xffffff
832 IN_CLASSA_MAX = 0x80
833 IN_CLASSA_NET = 0xff000000
834 IN_CLASSA_NSHIFT = 0x18
835 IN_CLASSB_HOST = 0xffff
836 IN_CLASSB_MAX = 0x10000
837 IN_CLASSB_NET = 0xffff0000
838 IN_CLASSB_NSHIFT = 0x10
839 IN_CLASSC_HOST = 0xff
840 IN_CLASSC_NET = 0xffffff00
841 IN_CLASSC_NSHIFT = 0x8
842 IN_CLASSD_HOST = 0xfffffff
843 IN_CLASSD_NET = 0xf0000000
844 IN_CLASSD_NSHIFT = 0x1c
845 IN_LOOPBACKNET = 0x7f
846 IPPROTO_AH = 0x33
847 IPPROTO_CARP = 0x70
848 IPPROTO_DONE = 0x101
849 IPPROTO_DSTOPTS = 0x3c
850 IPPROTO_EGP = 0x8
851 IPPROTO_ENCAP = 0x62
852 IPPROTO_EON = 0x50
853 IPPROTO_ESP = 0x32
854 IPPROTO_ETHERIP = 0x61
855 IPPROTO_FRAGMENT = 0x2c
856 IPPROTO_GGP = 0x3
857 IPPROTO_GRE = 0x2f
858 IPPROTO_HOPOPTS = 0x0
859 IPPROTO_ICMP = 0x1
860 IPPROTO_ICMPV6 = 0x3a
861 IPPROTO_IDP = 0x16
862 IPPROTO_IGMP = 0x2
863 IPPROTO_IP = 0x0
864 IPPROTO_IPCOMP = 0x6c
865 IPPROTO_IPIP = 0x4
866 IPPROTO_IPV4 = 0x4
867 IPPROTO_IPV6 = 0x29
868 IPPROTO_IPV6_ICMP = 0x3a
869 IPPROTO_MAX = 0x100
870 IPPROTO_MAXID = 0x34
871 IPPROTO_MOBILE = 0x37
872 IPPROTO_NONE = 0x3b
873 IPPROTO_PFSYNC = 0xf0
874 IPPROTO_PIM = 0x67
875 IPPROTO_PUP = 0xc
876 IPPROTO_RAW = 0xff
877 IPPROTO_ROUTING = 0x2b
878 IPPROTO_RSVP = 0x2e
879 IPPROTO_TCP = 0x6
880 IPPROTO_TP = 0x1d
881 IPPROTO_UDP = 0x11
882 IPPROTO_VRRP = 0x70
883 IPV6_CHECKSUM = 0x1a
884 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
885 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
886 IPV6_DEFHLIM = 0x40
887 IPV6_DONTFRAG = 0x3e
888 IPV6_DSTOPTS = 0x32
889 IPV6_FAITH = 0x1d
890 IPV6_FLOWINFO_MASK = 0xffffff0f
891 IPV6_FLOWLABEL_MASK = 0xffff0f00
892 IPV6_FRAGTTL = 0x78
893 IPV6_HLIMDEC = 0x1
894 IPV6_HOPLIMIT = 0x2f
895 IPV6_HOPOPTS = 0x31
896 IPV6_IPSEC_POLICY = 0x1c
897 IPV6_JOIN_GROUP = 0xc
898 IPV6_LEAVE_GROUP = 0xd
899 IPV6_MAXHLIM = 0xff
900 IPV6_MAXPACKET = 0xffff
901 IPV6_MMTU = 0x500
902 IPV6_MULTICAST_HOPS = 0xa
903 IPV6_MULTICAST_IF = 0x9
904 IPV6_MULTICAST_LOOP = 0xb
905 IPV6_NEXTHOP = 0x30
906 IPV6_PATHMTU = 0x2c
907 IPV6_PKTINFO = 0x2e
908 IPV6_PORTRANGE = 0xe
909 IPV6_PORTRANGE_DEFAULT = 0x0
910 IPV6_PORTRANGE_HIGH = 0x1
911 IPV6_PORTRANGE_LOW = 0x2
912 IPV6_RECVDSTOPTS = 0x28
913 IPV6_RECVHOPLIMIT = 0x25
914 IPV6_RECVHOPOPTS = 0x27
915 IPV6_RECVPATHMTU = 0x2b
916 IPV6_RECVPKTINFO = 0x24
917 IPV6_RECVRTHDR = 0x26
918 IPV6_RECVTCLASS = 0x39
919 IPV6_RTHDR = 0x33
920 IPV6_RTHDRDSTOPTS = 0x23
921 IPV6_RTHDR_LOOSE = 0x0
922 IPV6_RTHDR_STRICT = 0x1
923 IPV6_RTHDR_TYPE_0 = 0x0
924 IPV6_SOCKOPT_RESERVED1 = 0x3
925 IPV6_TCLASS = 0x3d
926 IPV6_UNICAST_HOPS = 0x4
927 IPV6_USE_MIN_MTU = 0x2a
928 IPV6_V6ONLY = 0x1b
929 IPV6_VERSION = 0x60
930 IPV6_VERSION_MASK = 0xf0
931 IP_ADD_MEMBERSHIP = 0xc
932 IP_DEFAULT_MULTICAST_LOOP = 0x1
933 IP_DEFAULT_MULTICAST_TTL = 0x1
934 IP_DF = 0x4000
935 IP_DROP_MEMBERSHIP = 0xd
936 IP_EF = 0x8000
937 IP_ERRORMTU = 0x15
938 IP_HDRINCL = 0x2
939 IP_IPSEC_POLICY = 0x16
940 IP_MAXPACKET = 0xffff
941 IP_MAX_MEMBERSHIPS = 0x14
942 IP_MF = 0x2000
943 IP_MINFRAGSIZE = 0x45
944 IP_MINTTL = 0x18
945 IP_MSS = 0x240
946 IP_MULTICAST_IF = 0x9
947 IP_MULTICAST_LOOP = 0xb
948 IP_MULTICAST_TTL = 0xa
949 IP_OFFMASK = 0x1fff
950 IP_OPTIONS = 0x1
951 IP_PORTRANGE = 0x13
952 IP_PORTRANGE_DEFAULT = 0x0
953 IP_PORTRANGE_HIGH = 0x1
954 IP_PORTRANGE_LOW = 0x2
955 IP_RECVDSTADDR = 0x7
956 IP_RECVIF = 0x14
957 IP_RECVOPTS = 0x5
958 IP_RECVRETOPTS = 0x6
959 IP_RECVTTL = 0x17
960 IP_RETOPTS = 0x8
961 IP_RF = 0x8000
962 IP_TOS = 0x3
963 IP_TTL = 0x4
964 ISIG = 0x80
965 ISTRIP = 0x20
966 IXANY = 0x800
967 IXOFF = 0x400
968 IXON = 0x200
969 LOCK_EX = 0x2
970 LOCK_NB = 0x4
971 LOCK_SH = 0x1
972 LOCK_UN = 0x8
973 MADV_DONTNEED = 0x4
974 MADV_FREE = 0x6
975 MADV_NORMAL = 0x0
976 MADV_RANDOM = 0x1
977 MADV_SEQUENTIAL = 0x2
978 MADV_SPACEAVAIL = 0x5
979 MADV_WILLNEED = 0x3
980 MAP_ALIGNMENT_16MB = 0x18000000
981 MAP_ALIGNMENT_1TB = 0x28000000
982 MAP_ALIGNMENT_256TB = 0x30000000
983 MAP_ALIGNMENT_4GB = 0x20000000
984 MAP_ALIGNMENT_64KB = 0x10000000
985 MAP_ALIGNMENT_64PB = 0x38000000
986 MAP_ALIGNMENT_MASK = -0x1000000
987 MAP_ALIGNMENT_SHIFT = 0x18
988 MAP_ANON = 0x1000
989 MAP_FILE = 0x0
990 MAP_FIXED = 0x10
991 MAP_HASSEMAPHORE = 0x200
992 MAP_INHERIT = 0x80
993 MAP_INHERIT_COPY = 0x1
994 MAP_INHERIT_DEFAULT = 0x1
995 MAP_INHERIT_DONATE_COPY = 0x3
996 MAP_INHERIT_NONE = 0x2
997 MAP_INHERIT_SHARE = 0x0
998 MAP_NORESERVE = 0x40
999 MAP_PRIVATE = 0x2
1000 MAP_RENAME = 0x20
1001 MAP_SHARED = 0x1
1002 MAP_STACK = 0x2000
1003 MAP_TRYFIXED = 0x400
1004 MAP_WIRED = 0x800
1005 MCL_CURRENT = 0x1
1006 MCL_FUTURE = 0x2
1007 MSG_BCAST = 0x100
1008 MSG_CMSG_CLOEXEC = 0x800
1009 MSG_CONTROLMBUF = 0x2000000
1010 MSG_CTRUNC = 0x20
1011 MSG_DONTROUTE = 0x4
1012 MSG_DONTWAIT = 0x80
1013 MSG_EOR = 0x8
1014 MSG_IOVUSRSPACE = 0x4000000
1015 MSG_LENUSRSPACE = 0x8000000
1016 MSG_MCAST = 0x200
1017 MSG_NAMEMBUF = 0x1000000
1018 MSG_NBIO = 0x1000
1019 MSG_NOSIGNAL = 0x400
1020 MSG_OOB = 0x1
1021 MSG_PEEK = 0x2
1022 MSG_TRUNC = 0x10
1023 MSG_USERFLAGS = 0xffffff
1024 MSG_WAITALL = 0x40
1025 MS_ASYNC = 0x1
1026 MS_INVALIDATE = 0x2
1027 MS_SYNC = 0x4
1028 NAME_MAX = 0x1ff
1029 NET_RT_DUMP = 0x1
1030 NET_RT_FLAGS = 0x2
1031 NET_RT_IFLIST = 0x5
1032 NET_RT_MAXID = 0x6
1033 NET_RT_OIFLIST = 0x4
1034 NET_RT_OOIFLIST = 0x3
1035 NOFLSH = 0x80000000
1036 NOTE_ATTRIB = 0x8
1037 NOTE_CHILD = 0x4
1038 NOTE_DELETE = 0x1
1039 NOTE_EXEC = 0x20000000
1040 NOTE_EXIT = 0x80000000
1041 NOTE_EXTEND = 0x4
1042 NOTE_FORK = 0x40000000
1043 NOTE_LINK = 0x10
1044 NOTE_LOWAT = 0x1
1045 NOTE_PCTRLMASK = 0xf0000000
1046 NOTE_PDATAMASK = 0xfffff
1047 NOTE_RENAME = 0x20
1048 NOTE_REVOKE = 0x40
1049 NOTE_TRACK = 0x1
1050 NOTE_TRACKERR = 0x2
1051 NOTE_WRITE = 0x2
1052 OCRNL = 0x10
1053 OFIOGETBMAP = 0xc004667a
1054 ONLCR = 0x2
1055 ONLRET = 0x40
1056 ONOCR = 0x20
1057 ONOEOT = 0x8
1058 OPOST = 0x1
1059 O_ACCMODE = 0x3
1060 O_ALT_IO = 0x40000
1061 O_APPEND = 0x8
1062 O_ASYNC = 0x40
1063 O_CLOEXEC = 0x400000
1064 O_CREAT = 0x200
1065 O_DIRECT = 0x80000
1066 O_DIRECTORY = 0x200000
1067 O_DSYNC = 0x10000
1068 O_EXCL = 0x800
1069 O_EXLOCK = 0x20
1070 O_FSYNC = 0x80
1071 O_NDELAY = 0x4
1072 O_NOCTTY = 0x8000
1073 O_NOFOLLOW = 0x100
1074 O_NONBLOCK = 0x4
1075 O_NOSIGPIPE = 0x1000000
1076 O_RDONLY = 0x0
1077 O_RDWR = 0x2
1078 O_RSYNC = 0x20000
1079 O_SHLOCK = 0x10
1080 O_SYNC = 0x80
1081 O_TRUNC = 0x400
1082 O_WRONLY = 0x1
1083 PARENB = 0x1000
1084 PARMRK = 0x8
1085 PARODD = 0x2000
1086 PENDIN = 0x20000000
1087 PRIO_PGRP = 0x1
1088 PRIO_PROCESS = 0x0
1089 PRIO_USER = 0x2
1090 PRI_IOFLUSH = 0x7c
1091 PROT_EXEC = 0x4
1092 PROT_NONE = 0x0
1093 PROT_READ = 0x1
1094 PROT_WRITE = 0x2
1095 RLIMIT_AS = 0xa
1096 RLIMIT_CORE = 0x4
1097 RLIMIT_CPU = 0x0
1098 RLIMIT_DATA = 0x2
1099 RLIMIT_FSIZE = 0x1
1100 RLIMIT_NOFILE = 0x8
1101 RLIMIT_STACK = 0x3
1102 RLIM_INFINITY = 0x7fffffffffffffff
1103 RTAX_AUTHOR = 0x6
1104 RTAX_BRD = 0x7
1105 RTAX_DST = 0x0
1106 RTAX_GATEWAY = 0x1
1107 RTAX_GENMASK = 0x3
1108 RTAX_IFA = 0x5
1109 RTAX_IFP = 0x4
1110 RTAX_MAX = 0x9
1111 RTAX_NETMASK = 0x2
1112 RTAX_TAG = 0x8
1113 RTA_AUTHOR = 0x40
1114 RTA_BRD = 0x80
1115 RTA_DST = 0x1
1116 RTA_GATEWAY = 0x2
1117 RTA_GENMASK = 0x8
1118 RTA_IFA = 0x20
1119 RTA_IFP = 0x10
1120 RTA_NETMASK = 0x4
1121 RTA_TAG = 0x100
1122 RTF_ANNOUNCE = 0x20000
1123 RTF_BLACKHOLE = 0x1000
1124 RTF_CLONED = 0x2000
1125 RTF_CLONING = 0x100
1126 RTF_DONE = 0x40
1127 RTF_DYNAMIC = 0x10
1128 RTF_GATEWAY = 0x2
1129 RTF_HOST = 0x4
1130 RTF_LLINFO = 0x400
1131 RTF_MASK = 0x80
1132 RTF_MODIFIED = 0x20
1133 RTF_PROTO1 = 0x8000
1134 RTF_PROTO2 = 0x4000
1135 RTF_REJECT = 0x8
1136 RTF_SRC = 0x10000
1137 RTF_STATIC = 0x800
1138 RTF_UP = 0x1
1139 RTF_XRESOLVE = 0x200
1140 RTM_ADD = 0x1
1141 RTM_CHANGE = 0x3
1142 RTM_CHGADDR = 0x15
1143 RTM_DELADDR = 0xd
1144 RTM_DELETE = 0x2
1145 RTM_GET = 0x4
1146 RTM_IEEE80211 = 0x11
1147 RTM_IFANNOUNCE = 0x10
1148 RTM_IFINFO = 0x14
1149 RTM_LLINFO_UPD = 0x13
1150 RTM_LOCK = 0x8
1151 RTM_LOSING = 0x5
1152 RTM_MISS = 0x7
1153 RTM_NEWADDR = 0xc
1154 RTM_OIFINFO = 0xf
1155 RTM_OLDADD = 0x9
1156 RTM_OLDDEL = 0xa
1157 RTM_OOIFINFO = 0xe
1158 RTM_REDIRECT = 0x6
1159 RTM_RESOLVE = 0xb
1160 RTM_RTTUNIT = 0xf4240
1161 RTM_SETGATE = 0x12
1162 RTM_VERSION = 0x4
1163 RTV_EXPIRE = 0x4
1164 RTV_HOPCOUNT = 0x2
1165 RTV_MTU = 0x1
1166 RTV_RPIPE = 0x8
1167 RTV_RTT = 0x40
1168 RTV_RTTVAR = 0x80
1169 RTV_SPIPE = 0x10
1170 RTV_SSTHRESH = 0x20
1171 RUSAGE_CHILDREN = -0x1
1172 RUSAGE_SELF = 0x0
1173 SCM_CREDS = 0x4
1174 SCM_RIGHTS = 0x1
1175 SCM_TIMESTAMP = 0x8
1176 SHUT_RD = 0x0
1177 SHUT_RDWR = 0x2
1178 SHUT_WR = 0x1
1179 SIOCADDMULTI = 0x80906931
1180 SIOCADDRT = 0x8030720a
1181 SIOCAIFADDR = 0x8040691a
1182 SIOCALIFADDR = 0x8118691c
1183 SIOCATMARK = 0x40047307
1184 SIOCDELMULTI = 0x80906932
1185 SIOCDELRT = 0x8030720b
1186 SIOCDIFADDR = 0x80906919
1187 SIOCDIFPHYADDR = 0x80906949
1188 SIOCDLIFADDR = 0x8118691e
1189 SIOCGDRVSPEC = 0xc01c697b
1190 SIOCGETPFSYNC = 0xc09069f8
1191 SIOCGETSGCNT = 0xc0147534
1192 SIOCGETVIFCNT = 0xc0147533
1193 SIOCGHIWAT = 0x40047301
1194 SIOCGIFADDR = 0xc0906921
1195 SIOCGIFADDRPREF = 0xc0946920
1196 SIOCGIFALIAS = 0xc040691b
1197 SIOCGIFBRDADDR = 0xc0906923
1198 SIOCGIFCAP = 0xc0206976
1199 SIOCGIFCONF = 0xc0086926
1200 SIOCGIFDATA = 0xc0946985
1201 SIOCGIFDLT = 0xc0906977
1202 SIOCGIFDSTADDR = 0xc0906922
1203 SIOCGIFFLAGS = 0xc0906911
1204 SIOCGIFGENERIC = 0xc090693a
1205 SIOCGIFMEDIA = 0xc0286936
1206 SIOCGIFMETRIC = 0xc0906917
1207 SIOCGIFMTU = 0xc090697e
1208 SIOCGIFNETMASK = 0xc0906925
1209 SIOCGIFPDSTADDR = 0xc0906948
1210 SIOCGIFPSRCADDR = 0xc0906947
1211 SIOCGLIFADDR = 0xc118691d
1212 SIOCGLIFPHYADDR = 0xc118694b
1213 SIOCGLINKSTR = 0xc01c6987
1214 SIOCGLOWAT = 0x40047303
1215 SIOCGPGRP = 0x40047309
1216 SIOCGVH = 0xc0906983
1217 SIOCIFCREATE = 0x8090697a
1218 SIOCIFDESTROY = 0x80906979
1219 SIOCIFGCLONERS = 0xc00c6978
1220 SIOCINITIFADDR = 0xc0446984
1221 SIOCSDRVSPEC = 0x801c697b
1222 SIOCSETPFSYNC = 0x809069f7
1223 SIOCSHIWAT = 0x80047300
1224 SIOCSIFADDR = 0x8090690c
1225 SIOCSIFADDRPREF = 0x8094691f
1226 SIOCSIFBRDADDR = 0x80906913
1227 SIOCSIFCAP = 0x80206975
1228 SIOCSIFDSTADDR = 0x8090690e
1229 SIOCSIFFLAGS = 0x80906910
1230 SIOCSIFGENERIC = 0x80906939
1231 SIOCSIFMEDIA = 0xc0906935
1232 SIOCSIFMETRIC = 0x80906918
1233 SIOCSIFMTU = 0x8090697f
1234 SIOCSIFNETMASK = 0x80906916
1235 SIOCSIFPHYADDR = 0x80406946
1236 SIOCSLIFPHYADDR = 0x8118694a
1237 SIOCSLINKSTR = 0x801c6988
1238 SIOCSLOWAT = 0x80047302
1239 SIOCSPGRP = 0x80047308
1240 SIOCSVH = 0xc0906982
1241 SIOCZIFDATA = 0xc0946986
1242 SOCK_CLOEXEC = 0x10000000
1243 SOCK_DGRAM = 0x2
1244 SOCK_FLAGS_MASK = 0xf0000000
1245 SOCK_NONBLOCK = 0x20000000
1246 SOCK_NOSIGPIPE = 0x40000000
1247 SOCK_RAW = 0x3
1248 SOCK_RDM = 0x4
1249 SOCK_SEQPACKET = 0x5
1250 SOCK_STREAM = 0x1
1251 SOL_SOCKET = 0xffff
1252 SOMAXCONN = 0x80
1253 SO_ACCEPTCONN = 0x2
1254 SO_ACCEPTFILTER = 0x1000
1255 SO_BROADCAST = 0x20
1256 SO_DEBUG = 0x1
1257 SO_DONTROUTE = 0x10
1258 SO_ERROR = 0x1007
1259 SO_KEEPALIVE = 0x8
1260 SO_LINGER = 0x80
1261 SO_NOHEADER = 0x100a
1262 SO_NOSIGPIPE = 0x800
1263 SO_OOBINLINE = 0x100
1264 SO_OVERFLOWED = 0x1009
1265 SO_RCVBUF = 0x1002
1266 SO_RCVLOWAT = 0x1004
1267 SO_RCVTIMEO = 0x100c
1268 SO_REUSEADDR = 0x4
1269 SO_REUSEPORT = 0x200
1270 SO_SNDBUF = 0x1001
1271 SO_SNDLOWAT = 0x1003
1272 SO_SNDTIMEO = 0x100b
1273 SO_TIMESTAMP = 0x2000
1274 SO_TYPE = 0x1008
1275 SO_USELOOPBACK = 0x40
1276 SYSCTL_VERSION = 0x1000000
1277 SYSCTL_VERS_0 = 0x0
1278 SYSCTL_VERS_1 = 0x1000000
1279 SYSCTL_VERS_MASK = 0xff000000
1280 S_ARCH1 = 0x10000
1281 S_ARCH2 = 0x20000
1282 S_BLKSIZE = 0x200
1283 S_IEXEC = 0x40
1284 S_IFBLK = 0x6000
1285 S_IFCHR = 0x2000
1286 S_IFDIR = 0x4000
1287 S_IFIFO = 0x1000
1288 S_IFLNK = 0xa000
1289 S_IFMT = 0xf000
1290 S_IFREG = 0x8000
1291 S_IFSOCK = 0xc000
1292 S_IFWHT = 0xe000
1293 S_IREAD = 0x100
1294 S_IRGRP = 0x20
1295 S_IROTH = 0x4
1296 S_IRUSR = 0x100
1297 S_IRWXG = 0x38
1298 S_IRWXO = 0x7
1299 S_IRWXU = 0x1c0
1300 S_ISGID = 0x400
1301 S_ISTXT = 0x200
1302 S_ISUID = 0x800
1303 S_ISVTX = 0x200
1304 S_IWGRP = 0x10
1305 S_IWOTH = 0x2
1306 S_IWRITE = 0x80
1307 S_IWUSR = 0x80
1308 S_IXGRP = 0x8
1309 S_IXOTH = 0x1
1310 S_IXUSR = 0x40
1311 S_LOGIN_SET = 0x1
1312 TCIFLUSH = 0x1
1313 TCIOFLUSH = 0x3
1314 TCOFLUSH = 0x2
1315 TCP_CONGCTL = 0x20
1316 TCP_KEEPCNT = 0x6
1317 TCP_KEEPIDLE = 0x3
1318 TCP_KEEPINIT = 0x7
1319 TCP_KEEPINTVL = 0x5
1320 TCP_MAXBURST = 0x4
1321 TCP_MAXSEG = 0x2
1322 TCP_MAXWIN = 0xffff
1323 TCP_MAX_WINSHIFT = 0xe
1324 TCP_MD5SIG = 0x10
1325 TCP_MINMSS = 0xd8
1326 TCP_MSS = 0x218
1327 TCP_NODELAY = 0x1
1328 TCSAFLUSH = 0x2
1329 TIOCCBRK = 0x2000747a
1330 TIOCCDTR = 0x20007478
1331 TIOCCONS = 0x80047462
1332 TIOCDCDTIMESTAMP = 0x400c7458
1333 TIOCDRAIN = 0x2000745e
1334 TIOCEXCL = 0x2000740d
1335 TIOCEXT = 0x80047460
1336 TIOCFLAG_CDTRCTS = 0x10
1337 TIOCFLAG_CLOCAL = 0x2
1338 TIOCFLAG_CRTSCTS = 0x4
1339 TIOCFLAG_MDMBUF = 0x8
1340 TIOCFLAG_SOFTCAR = 0x1
1341 TIOCFLUSH = 0x80047410
1342 TIOCGETA = 0x402c7413
1343 TIOCGETD = 0x4004741a
1344 TIOCGFLAGS = 0x4004745d
1345 TIOCGLINED = 0x40207442
1346 TIOCGPGRP = 0x40047477
1347 TIOCGQSIZE = 0x40047481
1348 TIOCGRANTPT = 0x20007447
1349 TIOCGSID = 0x40047463
1350 TIOCGSIZE = 0x40087468
1351 TIOCGWINSZ = 0x40087468
1352 TIOCMBIC = 0x8004746b
1353 TIOCMBIS = 0x8004746c
1354 TIOCMGET = 0x4004746a
1355 TIOCMSET = 0x8004746d
1356 TIOCM_CAR = 0x40
1357 TIOCM_CD = 0x40
1358 TIOCM_CTS = 0x20
1359 TIOCM_DSR = 0x100
1360 TIOCM_DTR = 0x2
1361 TIOCM_LE = 0x1
1362 TIOCM_RI = 0x80
1363 TIOCM_RNG = 0x80
1364 TIOCM_RTS = 0x4
1365 TIOCM_SR = 0x10
1366 TIOCM_ST = 0x8
1367 TIOCNOTTY = 0x20007471
1368 TIOCNXCL = 0x2000740e
1369 TIOCOUTQ = 0x40047473
1370 TIOCPKT = 0x80047470
1371 TIOCPKT_DATA = 0x0
1372 TIOCPKT_DOSTOP = 0x20
1373 TIOCPKT_FLUSHREAD = 0x1
1374 TIOCPKT_FLUSHWRITE = 0x2
1375 TIOCPKT_IOCTL = 0x40
1376 TIOCPKT_NOSTOP = 0x10
1377 TIOCPKT_START = 0x8
1378 TIOCPKT_STOP = 0x4
1379 TIOCPTMGET = 0x40287446
1380 TIOCPTSNAME = 0x40287448
1381 TIOCRCVFRAME = 0x80047445
1382 TIOCREMOTE = 0x80047469
1383 TIOCSBRK = 0x2000747b
1384 TIOCSCTTY = 0x20007461
1385 TIOCSDTR = 0x20007479
1386 TIOCSETA = 0x802c7414
1387 TIOCSETAF = 0x802c7416
1388 TIOCSETAW = 0x802c7415
1389 TIOCSETD = 0x8004741b
1390 TIOCSFLAGS = 0x8004745c
1391 TIOCSIG = 0x2000745f
1392 TIOCSLINED = 0x80207443
1393 TIOCSPGRP = 0x80047476
1394 TIOCSQSIZE = 0x80047480
1395 TIOCSSIZE = 0x80087467
1396 TIOCSTART = 0x2000746e
1397 TIOCSTAT = 0x80047465
1398 TIOCSTI = 0x80017472
1399 TIOCSTOP = 0x2000746f
1400 TIOCSWINSZ = 0x80087467
1401 TIOCUCNTL = 0x80047466
1402 TIOCXMTFRAME = 0x80047444
1403 TOSTOP = 0x400000
1404 VDISCARD = 0xf
1405 VDSUSP = 0xb
1406 VEOF = 0x0
1407 VEOL = 0x1
1408 VEOL2 = 0x2
1409 VERASE = 0x3
1410 VINTR = 0x8
1411 VKILL = 0x5
1412 VLNEXT = 0xe
1413 VMIN = 0x10
1414 VQUIT = 0x9
1415 VREPRINT = 0x6
1416 VSTART = 0xc
1417 VSTATUS = 0x12
1418 VSTOP = 0xd
1419 VSUSP = 0xa
1420 VTIME = 0x11
1421 VWERASE = 0x4
1422 WALL = 0x8
1423 WALLSIG = 0x8
1424 WALTSIG = 0x4
1425 WCLONE = 0x4
1426 WCOREFLAG = 0x80
1427 WEXITED = 0x20
1428 WNOHANG = 0x1
1429 WNOWAIT = 0x10000
1430 WNOZOMBIE = 0x20000
1431 WOPTSCHECKED = 0x40000
1432 WSTOPPED = 0x7f
1433 WUNTRACED = 0x2
1434 )
1435
1436
1437 const (
1438 E2BIG = Errno(0x7)
1439 EACCES = Errno(0xd)
1440 EADDRINUSE = Errno(0x30)
1441 EADDRNOTAVAIL = Errno(0x31)
1442 EAFNOSUPPORT = Errno(0x2f)
1443 EAGAIN = Errno(0x23)
1444 EALREADY = Errno(0x25)
1445 EAUTH = Errno(0x50)
1446 EBADF = Errno(0x9)
1447 EBADMSG = Errno(0x58)
1448 EBADRPC = Errno(0x48)
1449 EBUSY = Errno(0x10)
1450 ECANCELED = Errno(0x57)
1451 ECHILD = Errno(0xa)
1452 ECONNABORTED = Errno(0x35)
1453 ECONNREFUSED = Errno(0x3d)
1454 ECONNRESET = Errno(0x36)
1455 EDEADLK = Errno(0xb)
1456 EDESTADDRREQ = Errno(0x27)
1457 EDOM = Errno(0x21)
1458 EDQUOT = Errno(0x45)
1459 EEXIST = Errno(0x11)
1460 EFAULT = Errno(0xe)
1461 EFBIG = Errno(0x1b)
1462 EFTYPE = Errno(0x4f)
1463 EHOSTDOWN = Errno(0x40)
1464 EHOSTUNREACH = Errno(0x41)
1465 EIDRM = Errno(0x52)
1466 EILSEQ = Errno(0x55)
1467 EINPROGRESS = Errno(0x24)
1468 EINTR = Errno(0x4)
1469 EINVAL = Errno(0x16)
1470 EIO = Errno(0x5)
1471 EISCONN = Errno(0x38)
1472 EISDIR = Errno(0x15)
1473 ELAST = Errno(0x60)
1474 ELOOP = Errno(0x3e)
1475 EMFILE = Errno(0x18)
1476 EMLINK = Errno(0x1f)
1477 EMSGSIZE = Errno(0x28)
1478 EMULTIHOP = Errno(0x5e)
1479 ENAMETOOLONG = Errno(0x3f)
1480 ENEEDAUTH = Errno(0x51)
1481 ENETDOWN = Errno(0x32)
1482 ENETRESET = Errno(0x34)
1483 ENETUNREACH = Errno(0x33)
1484 ENFILE = Errno(0x17)
1485 ENOATTR = Errno(0x5d)
1486 ENOBUFS = Errno(0x37)
1487 ENODATA = Errno(0x59)
1488 ENODEV = Errno(0x13)
1489 ENOENT = Errno(0x2)
1490 ENOEXEC = Errno(0x8)
1491 ENOLCK = Errno(0x4d)
1492 ENOLINK = Errno(0x5f)
1493 ENOMEM = Errno(0xc)
1494 ENOMSG = Errno(0x53)
1495 ENOPROTOOPT = Errno(0x2a)
1496 ENOSPC = Errno(0x1c)
1497 ENOSR = Errno(0x5a)
1498 ENOSTR = Errno(0x5b)
1499 ENOSYS = Errno(0x4e)
1500 ENOTBLK = Errno(0xf)
1501 ENOTCONN = Errno(0x39)
1502 ENOTDIR = Errno(0x14)
1503 ENOTEMPTY = Errno(0x42)
1504 ENOTSOCK = Errno(0x26)
1505 ENOTSUP = Errno(0x56)
1506 ENOTTY = Errno(0x19)
1507 ENXIO = Errno(0x6)
1508 EOPNOTSUPP = Errno(0x2d)
1509 EOVERFLOW = Errno(0x54)
1510 EPERM = Errno(0x1)
1511 EPFNOSUPPORT = Errno(0x2e)
1512 EPIPE = Errno(0x20)
1513 EPROCLIM = Errno(0x43)
1514 EPROCUNAVAIL = Errno(0x4c)
1515 EPROGMISMATCH = Errno(0x4b)
1516 EPROGUNAVAIL = Errno(0x4a)
1517 EPROTO = Errno(0x60)
1518 EPROTONOSUPPORT = Errno(0x2b)
1519 EPROTOTYPE = Errno(0x29)
1520 ERANGE = Errno(0x22)
1521 EREMOTE = Errno(0x47)
1522 EROFS = Errno(0x1e)
1523 ERPCMISMATCH = Errno(0x49)
1524 ESHUTDOWN = Errno(0x3a)
1525 ESOCKTNOSUPPORT = Errno(0x2c)
1526 ESPIPE = Errno(0x1d)
1527 ESRCH = Errno(0x3)
1528 ESTALE = Errno(0x46)
1529 ETIME = Errno(0x5c)
1530 ETIMEDOUT = Errno(0x3c)
1531 ETOOMANYREFS = Errno(0x3b)
1532 ETXTBSY = Errno(0x1a)
1533 EUSERS = Errno(0x44)
1534 EWOULDBLOCK = Errno(0x23)
1535 EXDEV = Errno(0x12)
1536 )
1537
1538
1539 const (
1540 SIGABRT = Signal(0x6)
1541 SIGALRM = Signal(0xe)
1542 SIGBUS = Signal(0xa)
1543 SIGCHLD = Signal(0x14)
1544 SIGCONT = Signal(0x13)
1545 SIGEMT = Signal(0x7)
1546 SIGFPE = Signal(0x8)
1547 SIGHUP = Signal(0x1)
1548 SIGILL = Signal(0x4)
1549 SIGINFO = Signal(0x1d)
1550 SIGINT = Signal(0x2)
1551 SIGIO = Signal(0x17)
1552 SIGIOT = Signal(0x6)
1553 SIGKILL = Signal(0x9)
1554 SIGPIPE = Signal(0xd)
1555 SIGPROF = Signal(0x1b)
1556 SIGPWR = Signal(0x20)
1557 SIGQUIT = Signal(0x3)
1558 SIGSEGV = Signal(0xb)
1559 SIGSTOP = Signal(0x11)
1560 SIGSYS = Signal(0xc)
1561 SIGTERM = Signal(0xf)
1562 SIGTRAP = Signal(0x5)
1563 SIGTSTP = Signal(0x12)
1564 SIGTTIN = Signal(0x15)
1565 SIGTTOU = Signal(0x16)
1566 SIGURG = Signal(0x10)
1567 SIGUSR1 = Signal(0x1e)
1568 SIGUSR2 = Signal(0x1f)
1569 SIGVTALRM = Signal(0x1a)
1570 SIGWINCH = Signal(0x1c)
1571 SIGXCPU = Signal(0x18)
1572 SIGXFSZ = Signal(0x19)
1573 )
1574
1575
1576 var errors = [...]string{
1577 1: "operation not permitted",
1578 2: "no such file or directory",
1579 3: "no such process",
1580 4: "interrupted system call",
1581 5: "input/output error",
1582 6: "device not configured",
1583 7: "argument list too long",
1584 8: "exec format error",
1585 9: "bad file descriptor",
1586 10: "no child processes",
1587 11: "resource deadlock avoided",
1588 12: "cannot allocate memory",
1589 13: "permission denied",
1590 14: "bad address",
1591 15: "block device required",
1592 16: "device busy",
1593 17: "file exists",
1594 18: "cross-device link",
1595 19: "operation not supported by device",
1596 20: "not a directory",
1597 21: "is a directory",
1598 22: "invalid argument",
1599 23: "too many open files in system",
1600 24: "too many open files",
1601 25: "inappropriate ioctl for device",
1602 26: "text file busy",
1603 27: "file too large",
1604 28: "no space left on device",
1605 29: "illegal seek",
1606 30: "read-only file system",
1607 31: "too many links",
1608 32: "broken pipe",
1609 33: "numerical argument out of domain",
1610 34: "result too large or too small",
1611 35: "resource temporarily unavailable",
1612 36: "operation now in progress",
1613 37: "operation already in progress",
1614 38: "socket operation on non-socket",
1615 39: "destination address required",
1616 40: "message too long",
1617 41: "protocol wrong type for socket",
1618 42: "protocol option not available",
1619 43: "protocol not supported",
1620 44: "socket type not supported",
1621 45: "operation not supported",
1622 46: "protocol family not supported",
1623 47: "address family not supported by protocol family",
1624 48: "address already in use",
1625 49: "can't assign requested address",
1626 50: "network is down",
1627 51: "network is unreachable",
1628 52: "network dropped connection on reset",
1629 53: "software caused connection abort",
1630 54: "connection reset by peer",
1631 55: "no buffer space available",
1632 56: "socket is already connected",
1633 57: "socket is not connected",
1634 58: "can't send after socket shutdown",
1635 59: "too many references: can't splice",
1636 60: "connection timed out",
1637 61: "connection refused",
1638 62: "too many levels of symbolic links",
1639 63: "file name too long",
1640 64: "host is down",
1641 65: "no route to host",
1642 66: "directory not empty",
1643 67: "too many processes",
1644 68: "too many users",
1645 69: "disc quota exceeded",
1646 70: "stale NFS file handle",
1647 71: "too many levels of remote in path",
1648 72: "RPC struct is bad",
1649 73: "RPC version wrong",
1650 74: "RPC prog. not avail",
1651 75: "program version wrong",
1652 76: "bad procedure for program",
1653 77: "no locks available",
1654 78: "function not implemented",
1655 79: "inappropriate file type or format",
1656 80: "authentication error",
1657 81: "need authenticator",
1658 82: "identifier removed",
1659 83: "no message of desired type",
1660 84: "value too large to be stored in data type",
1661 85: "illegal byte sequence",
1662 86: "not supported",
1663 87: "operation Canceled",
1664 88: "bad or Corrupt message",
1665 89: "no message available",
1666 90: "no STREAM resources",
1667 91: "not a STREAM",
1668 92: "STREAM ioctl timeout",
1669 93: "attribute not found",
1670 94: "multihop attempted",
1671 95: "link has been severed",
1672 96: "protocol error",
1673 }
1674
1675
1676 var signals = [...]string{
1677 1: "hangup",
1678 2: "interrupt",
1679 3: "quit",
1680 4: "illegal instruction",
1681 5: "trace/BPT trap",
1682 6: "abort trap",
1683 7: "EMT trap",
1684 8: "floating point exception",
1685 9: "killed",
1686 10: "bus error",
1687 11: "segmentation fault",
1688 12: "bad system call",
1689 13: "broken pipe",
1690 14: "alarm clock",
1691 15: "terminated",
1692 16: "urgent I/O condition",
1693 17: "stopped (signal)",
1694 18: "stopped",
1695 19: "continued",
1696 20: "child exited",
1697 21: "stopped (tty input)",
1698 22: "stopped (tty output)",
1699 23: "I/O possible",
1700 24: "cputime limit exceeded",
1701 25: "filesize limit exceeded",
1702 26: "virtual timer expired",
1703 27: "profiling timer expired",
1704 28: "window size changes",
1705 29: "information request",
1706 30: "user defined signal 1",
1707 31: "user defined signal 2",
1708 32: "power fail/restart",
1709 }
1710
View as plain text