Source file
src/syscall/zerrors_dragonfly_amd64.go
1
2
3
4
5
6
7
8
9 package syscall
10
11 const (
12 AF_APPLETALK = 0x10
13 AF_ATM = 0x1e
14 AF_BLUETOOTH = 0x21
15 AF_CCITT = 0xa
16 AF_CHAOS = 0x5
17 AF_CNT = 0x15
18 AF_COIP = 0x14
19 AF_DATAKIT = 0x9
20 AF_DECnet = 0xc
21 AF_DLI = 0xd
22 AF_E164 = 0x1a
23 AF_ECMA = 0x8
24 AF_HYLINK = 0xf
25 AF_IEEE80211 = 0x23
26 AF_IMPLINK = 0x3
27 AF_INET = 0x2
28 AF_INET6 = 0x1c
29 AF_IPX = 0x17
30 AF_ISDN = 0x1a
31 AF_ISO = 0x7
32 AF_LAT = 0xe
33 AF_LINK = 0x12
34 AF_LOCAL = 0x1
35 AF_MAX = 0x24
36 AF_MPLS = 0x22
37 AF_NATM = 0x1d
38 AF_NETGRAPH = 0x20
39 AF_NS = 0x6
40 AF_OSI = 0x7
41 AF_PUP = 0x4
42 AF_ROUTE = 0x11
43 AF_SIP = 0x18
44 AF_SNA = 0xb
45 AF_UNIX = 0x1
46 AF_UNSPEC = 0x0
47 B0 = 0x0
48 B110 = 0x6e
49 B115200 = 0x1c200
50 B1200 = 0x4b0
51 B134 = 0x86
52 B14400 = 0x3840
53 B150 = 0x96
54 B1800 = 0x708
55 B19200 = 0x4b00
56 B200 = 0xc8
57 B230400 = 0x38400
58 B2400 = 0x960
59 B28800 = 0x7080
60 B300 = 0x12c
61 B38400 = 0x9600
62 B4800 = 0x12c0
63 B50 = 0x32
64 B57600 = 0xe100
65 B600 = 0x258
66 B7200 = 0x1c20
67 B75 = 0x4b
68 B76800 = 0x12c00
69 B9600 = 0x2580
70 BIOCFLUSH = 0x20004268
71 BIOCGBLEN = 0x40044266
72 BIOCGDLT = 0x4004426a
73 BIOCGDLTLIST = 0xc0104279
74 BIOCGETIF = 0x4020426b
75 BIOCGHDRCMPLT = 0x40044274
76 BIOCGRSIG = 0x40044272
77 BIOCGRTIMEOUT = 0x4010426e
78 BIOCGSEESENT = 0x40044276
79 BIOCGSTATS = 0x4008426f
80 BIOCIMMEDIATE = 0x80044270
81 BIOCLOCK = 0x2000427a
82 BIOCPROMISC = 0x20004269
83 BIOCSBLEN = 0xc0044266
84 BIOCSDLT = 0x80044278
85 BIOCSETF = 0x80104267
86 BIOCSETIF = 0x8020426c
87 BIOCSETWF = 0x8010427b
88 BIOCSHDRCMPLT = 0x80044275
89 BIOCSRSIG = 0x80044273
90 BIOCSRTIMEOUT = 0x8010426d
91 BIOCSSEESENT = 0x80044277
92 BIOCVERSION = 0x40044271
93 BPF_A = 0x10
94 BPF_ABS = 0x20
95 BPF_ADD = 0x0
96 BPF_ALIGNMENT = 0x8
97 BPF_ALU = 0x4
98 BPF_AND = 0x50
99 BPF_B = 0x10
100 BPF_DEFAULTBUFSIZE = 0x1000
101 BPF_DIV = 0x30
102 BPF_H = 0x8
103 BPF_IMM = 0x0
104 BPF_IND = 0x40
105 BPF_JA = 0x0
106 BPF_JEQ = 0x10
107 BPF_JGE = 0x30
108 BPF_JGT = 0x20
109 BPF_JMP = 0x5
110 BPF_JSET = 0x40
111 BPF_K = 0x0
112 BPF_LD = 0x0
113 BPF_LDX = 0x1
114 BPF_LEN = 0x80
115 BPF_LSH = 0x60
116 BPF_MAJOR_VERSION = 0x1
117 BPF_MAXBUFSIZE = 0x80000
118 BPF_MAXINSNS = 0x200
119 BPF_MAX_CLONES = 0x80
120 BPF_MEM = 0x60
121 BPF_MEMWORDS = 0x10
122 BPF_MINBUFSIZE = 0x20
123 BPF_MINOR_VERSION = 0x1
124 BPF_MISC = 0x7
125 BPF_MSH = 0xa0
126 BPF_MUL = 0x20
127 BPF_NEG = 0x80
128 BPF_OR = 0x40
129 BPF_RELEASE = 0x30bb6
130 BPF_RET = 0x6
131 BPF_RSH = 0x70
132 BPF_ST = 0x2
133 BPF_STX = 0x3
134 BPF_SUB = 0x10
135 BPF_TAX = 0x0
136 BPF_TXA = 0x80
137 BPF_W = 0x0
138 BPF_X = 0x8
139 BRKINT = 0x2
140 CFLUSH = 0xf
141 CLOCAL = 0x8000
142 CREAD = 0x800
143 CS5 = 0x0
144 CS6 = 0x100
145 CS7 = 0x200
146 CS8 = 0x300
147 CSIZE = 0x300
148 CSTART = 0x11
149 CSTATUS = 0x14
150 CSTOP = 0x13
151 CSTOPB = 0x400
152 CSUSP = 0x1a
153 CTL_MAXNAME = 0xc
154 CTL_NET = 0x4
155 DLT_A429 = 0xb8
156 DLT_A653_ICM = 0xb9
157 DLT_AIRONET_HEADER = 0x78
158 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a
159 DLT_ARCNET = 0x7
160 DLT_ARCNET_LINUX = 0x81
161 DLT_ATM_CLIP = 0x13
162 DLT_ATM_RFC1483 = 0xb
163 DLT_AURORA = 0x7e
164 DLT_AX25 = 0x3
165 DLT_AX25_KISS = 0xca
166 DLT_BACNET_MS_TP = 0xa5
167 DLT_BLUETOOTH_HCI_H4 = 0xbb
168 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9
169 DLT_CAN20B = 0xbe
170 DLT_CHAOS = 0x5
171 DLT_CHDLC = 0x68
172 DLT_CISCO_IOS = 0x76
173 DLT_C_HDLC = 0x68
174 DLT_C_HDLC_WITH_DIR = 0xcd
175 DLT_DOCSIS = 0x8f
176 DLT_ECONET = 0x73
177 DLT_EN10MB = 0x1
178 DLT_EN3MB = 0x2
179 DLT_ENC = 0x6d
180 DLT_ERF = 0xc5
181 DLT_ERF_ETH = 0xaf
182 DLT_ERF_POS = 0xb0
183 DLT_FDDI = 0xa
184 DLT_FLEXRAY = 0xd2
185 DLT_FRELAY = 0x6b
186 DLT_FRELAY_WITH_DIR = 0xce
187 DLT_GCOM_SERIAL = 0xad
188 DLT_GCOM_T1E1 = 0xac
189 DLT_GPF_F = 0xab
190 DLT_GPF_T = 0xaa
191 DLT_GPRS_LLC = 0xa9
192 DLT_HHDLC = 0x79
193 DLT_IBM_SN = 0x92
194 DLT_IBM_SP = 0x91
195 DLT_IEEE802 = 0x6
196 DLT_IEEE802_11 = 0x69
197 DLT_IEEE802_11_RADIO = 0x7f
198 DLT_IEEE802_11_RADIO_AVS = 0xa3
199 DLT_IEEE802_15_4 = 0xc3
200 DLT_IEEE802_15_4_LINUX = 0xbf
201 DLT_IEEE802_15_4_NONASK_PHY = 0xd7
202 DLT_IEEE802_16_MAC_CPS = 0xbc
203 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1
204 DLT_IPFILTER = 0x74
205 DLT_IPMB = 0xc7
206 DLT_IPMB_LINUX = 0xd1
207 DLT_IP_OVER_FC = 0x7a
208 DLT_JUNIPER_ATM1 = 0x89
209 DLT_JUNIPER_ATM2 = 0x87
210 DLT_JUNIPER_CHDLC = 0xb5
211 DLT_JUNIPER_ES = 0x84
212 DLT_JUNIPER_ETHER = 0xb2
213 DLT_JUNIPER_FRELAY = 0xb4
214 DLT_JUNIPER_GGSN = 0x85
215 DLT_JUNIPER_ISM = 0xc2
216 DLT_JUNIPER_MFR = 0x86
217 DLT_JUNIPER_MLFR = 0x83
218 DLT_JUNIPER_MLPPP = 0x82
219 DLT_JUNIPER_MONITOR = 0xa4
220 DLT_JUNIPER_PIC_PEER = 0xae
221 DLT_JUNIPER_PPP = 0xb3
222 DLT_JUNIPER_PPPOE = 0xa7
223 DLT_JUNIPER_PPPOE_ATM = 0xa8
224 DLT_JUNIPER_SERVICES = 0x88
225 DLT_JUNIPER_ST = 0xc8
226 DLT_JUNIPER_VP = 0xb7
227 DLT_LAPB_WITH_DIR = 0xcf
228 DLT_LAPD = 0xcb
229 DLT_LIN = 0xd4
230 DLT_LINUX_IRDA = 0x90
231 DLT_LINUX_LAPD = 0xb1
232 DLT_LINUX_SLL = 0x71
233 DLT_LOOP = 0x6c
234 DLT_LTALK = 0x72
235 DLT_MFR = 0xb6
236 DLT_MOST = 0xd3
237 DLT_MTP2 = 0x8c
238 DLT_MTP2_WITH_PHDR = 0x8b
239 DLT_MTP3 = 0x8d
240 DLT_NULL = 0x0
241 DLT_PCI_EXP = 0x7d
242 DLT_PFLOG = 0x75
243 DLT_PFSYNC = 0x12
244 DLT_PPI = 0xc0
245 DLT_PPP = 0x9
246 DLT_PPP_BSDOS = 0x10
247 DLT_PPP_ETHER = 0x33
248 DLT_PPP_PPPD = 0xa6
249 DLT_PPP_SERIAL = 0x32
250 DLT_PPP_WITH_DIR = 0xcc
251 DLT_PRISM_HEADER = 0x77
252 DLT_PRONET = 0x4
253 DLT_RAIF1 = 0xc6
254 DLT_RAW = 0xc
255 DLT_REDBACK_SMARTEDGE = 0x20
256 DLT_RIO = 0x7c
257 DLT_SCCP = 0x8e
258 DLT_SITA = 0xc4
259 DLT_SLIP = 0x8
260 DLT_SLIP_BSDOS = 0xf
261 DLT_SUNATM = 0x7b
262 DLT_SYMANTEC_FIREWALL = 0x63
263 DLT_TZSP = 0x80
264 DLT_USB = 0xba
265 DLT_USB_LINUX = 0xbd
266 DLT_X2E_SERIAL = 0xd5
267 DLT_X2E_XORAYA = 0xd6
268 DT_BLK = 0x6
269 DT_CHR = 0x2
270 DT_DBF = 0xf
271 DT_DIR = 0x4
272 DT_FIFO = 0x1
273 DT_LNK = 0xa
274 DT_REG = 0x8
275 DT_SOCK = 0xc
276 DT_UNKNOWN = 0x0
277 DT_WHT = 0xe
278 ECHO = 0x8
279 ECHOCTL = 0x40
280 ECHOE = 0x2
281 ECHOK = 0x4
282 ECHOKE = 0x1
283 ECHONL = 0x10
284 ECHOPRT = 0x20
285 EVFILT_AIO = -0x3
286 EVFILT_EXCEPT = -0x8
287 EVFILT_MARKER = 0xf
288 EVFILT_PROC = -0x5
289 EVFILT_READ = -0x1
290 EVFILT_SIGNAL = -0x6
291 EVFILT_SYSCOUNT = 0x8
292 EVFILT_TIMER = -0x7
293 EVFILT_VNODE = -0x4
294 EVFILT_WRITE = -0x2
295 EV_ADD = 0x1
296 EV_CLEAR = 0x20
297 EV_DELETE = 0x2
298 EV_DISABLE = 0x8
299 EV_ENABLE = 0x4
300 EV_EOF = 0x8000
301 EV_ERROR = 0x4000
302 EV_FLAG1 = 0x2000
303 EV_NODATA = 0x1000
304 EV_ONESHOT = 0x10
305 EV_SYSFLAGS = 0xf000
306 EXTA = 0x4b00
307 EXTB = 0x9600
308 EXTEXIT_LWP = 0x10000
309 EXTEXIT_PROC = 0x0
310 EXTEXIT_SETINT = 0x1
311 EXTEXIT_SIMPLE = 0x0
312 EXTPROC = 0x800
313 FD_CLOEXEC = 0x1
314 FD_SETSIZE = 0x400
315 FLUSHO = 0x800000
316 F_DUP2FD = 0xa
317 F_DUP2FD_CLOEXEC = 0x12
318 F_DUPFD = 0x0
319 F_DUPFD_CLOEXEC = 0x11
320 F_GETFD = 0x1
321 F_GETFL = 0x3
322 F_GETLK = 0x7
323 F_GETOWN = 0x5
324 F_OK = 0x0
325 F_RDLCK = 0x1
326 F_SETFD = 0x2
327 F_SETFL = 0x4
328 F_SETLK = 0x8
329 F_SETLKW = 0x9
330 F_SETOWN = 0x6
331 F_UNLCK = 0x2
332 F_WRLCK = 0x3
333 HUPCL = 0x4000
334 ICANON = 0x100
335 ICMP6_FILTER = 0x12
336 ICRNL = 0x100
337 IEXTEN = 0x400
338 IFAN_ARRIVAL = 0x0
339 IFAN_DEPARTURE = 0x1
340 IFF_ALLMULTI = 0x200
341 IFF_ALTPHYS = 0x4000
342 IFF_BROADCAST = 0x2
343 IFF_CANTCHANGE = 0x118e72
344 IFF_DEBUG = 0x4
345 IFF_LINK0 = 0x1000
346 IFF_LINK1 = 0x2000
347 IFF_LINK2 = 0x4000
348 IFF_LOOPBACK = 0x8
349 IFF_MONITOR = 0x40000
350 IFF_MULTICAST = 0x8000
351 IFF_NOARP = 0x80
352 IFF_NPOLLING = 0x100000
353 IFF_OACTIVE = 0x400
354 IFF_OACTIVE_COMPAT = 0x400
355 IFF_POINTOPOINT = 0x10
356 IFF_POLLING = 0x10000
357 IFF_POLLING_COMPAT = 0x10000
358 IFF_PPROMISC = 0x20000
359 IFF_PROMISC = 0x100
360 IFF_RUNNING = 0x40
361 IFF_SIMPLEX = 0x800
362 IFF_SMART = 0x20
363 IFF_STATICARP = 0x80000
364 IFF_UP = 0x1
365 IFNAMSIZ = 0x10
366 IFT_1822 = 0x2
367 IFT_A12MPPSWITCH = 0x82
368 IFT_AAL2 = 0xbb
369 IFT_AAL5 = 0x31
370 IFT_ADSL = 0x5e
371 IFT_AFLANE8023 = 0x3b
372 IFT_AFLANE8025 = 0x3c
373 IFT_ARAP = 0x58
374 IFT_ARCNET = 0x23
375 IFT_ARCNETPLUS = 0x24
376 IFT_ASYNC = 0x54
377 IFT_ATM = 0x25
378 IFT_ATMDXI = 0x69
379 IFT_ATMFUNI = 0x6a
380 IFT_ATMIMA = 0x6b
381 IFT_ATMLOGICAL = 0x50
382 IFT_ATMRADIO = 0xbd
383 IFT_ATMSUBINTERFACE = 0x86
384 IFT_ATMVCIENDPT = 0xc2
385 IFT_ATMVIRTUAL = 0x95
386 IFT_BGPPOLICYACCOUNTING = 0xa2
387 IFT_BRIDGE = 0xd1
388 IFT_BSC = 0x53
389 IFT_CARP = 0xf8
390 IFT_CCTEMUL = 0x3d
391 IFT_CEPT = 0x13
392 IFT_CES = 0x85
393 IFT_CHANNEL = 0x46
394 IFT_CNR = 0x55
395 IFT_COFFEE = 0x84
396 IFT_COMPOSITELINK = 0x9b
397 IFT_DCN = 0x8d
398 IFT_DIGITALPOWERLINE = 0x8a
399 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba
400 IFT_DLSW = 0x4a
401 IFT_DOCSCABLEDOWNSTREAM = 0x80
402 IFT_DOCSCABLEMACLAYER = 0x7f
403 IFT_DOCSCABLEUPSTREAM = 0x81
404 IFT_DS0 = 0x51
405 IFT_DS0BUNDLE = 0x52
406 IFT_DS1FDL = 0xaa
407 IFT_DS3 = 0x1e
408 IFT_DTM = 0x8c
409 IFT_DVBASILN = 0xac
410 IFT_DVBASIOUT = 0xad
411 IFT_DVBRCCDOWNSTREAM = 0x93
412 IFT_DVBRCCMACLAYER = 0x92
413 IFT_DVBRCCUPSTREAM = 0x94
414 IFT_ENC = 0xf4
415 IFT_EON = 0x19
416 IFT_EPLRS = 0x57
417 IFT_ESCON = 0x49
418 IFT_ETHER = 0x6
419 IFT_FAITH = 0xf2
420 IFT_FAST = 0x7d
421 IFT_FASTETHER = 0x3e
422 IFT_FASTETHERFX = 0x45
423 IFT_FDDI = 0xf
424 IFT_FIBRECHANNEL = 0x38
425 IFT_FRAMERELAYINTERCONNECT = 0x3a
426 IFT_FRAMERELAYMPI = 0x5c
427 IFT_FRDLCIENDPT = 0xc1
428 IFT_FRELAY = 0x20
429 IFT_FRELAYDCE = 0x2c
430 IFT_FRF16MFRBUNDLE = 0xa3
431 IFT_FRFORWARD = 0x9e
432 IFT_G703AT2MB = 0x43
433 IFT_G703AT64K = 0x42
434 IFT_GIF = 0xf0
435 IFT_GIGABITETHERNET = 0x75
436 IFT_GR303IDT = 0xb2
437 IFT_GR303RDT = 0xb1
438 IFT_H323GATEKEEPER = 0xa4
439 IFT_H323PROXY = 0xa5
440 IFT_HDH1822 = 0x3
441 IFT_HDLC = 0x76
442 IFT_HDSL2 = 0xa8
443 IFT_HIPERLAN2 = 0xb7
444 IFT_HIPPI = 0x2f
445 IFT_HIPPIINTERFACE = 0x39
446 IFT_HOSTPAD = 0x5a
447 IFT_HSSI = 0x2e
448 IFT_HY = 0xe
449 IFT_IBM370PARCHAN = 0x48
450 IFT_IDSL = 0x9a
451 IFT_IEEE1394 = 0x90
452 IFT_IEEE80211 = 0x47
453 IFT_IEEE80212 = 0x37
454 IFT_IEEE8023ADLAG = 0xa1
455 IFT_IFGSN = 0x91
456 IFT_IMT = 0xbe
457 IFT_INTERLEAVE = 0x7c
458 IFT_IP = 0x7e
459 IFT_IPFORWARD = 0x8e
460 IFT_IPOVERATM = 0x72
461 IFT_IPOVERCDLC = 0x6d
462 IFT_IPOVERCLAW = 0x6e
463 IFT_IPSWITCH = 0x4e
464 IFT_ISDN = 0x3f
465 IFT_ISDNBASIC = 0x14
466 IFT_ISDNPRIMARY = 0x15
467 IFT_ISDNS = 0x4b
468 IFT_ISDNU = 0x4c
469 IFT_ISO88022LLC = 0x29
470 IFT_ISO88023 = 0x7
471 IFT_ISO88024 = 0x8
472 IFT_ISO88025 = 0x9
473 IFT_ISO88025CRFPINT = 0x62
474 IFT_ISO88025DTR = 0x56
475 IFT_ISO88025FIBER = 0x73
476 IFT_ISO88026 = 0xa
477 IFT_ISUP = 0xb3
478 IFT_L2VLAN = 0x87
479 IFT_L3IPVLAN = 0x88
480 IFT_L3IPXVLAN = 0x89
481 IFT_LAPB = 0x10
482 IFT_LAPD = 0x4d
483 IFT_LAPF = 0x77
484 IFT_LOCALTALK = 0x2a
485 IFT_LOOP = 0x18
486 IFT_MEDIAMAILOVERIP = 0x8b
487 IFT_MFSIGLINK = 0xa7
488 IFT_MIOX25 = 0x26
489 IFT_MODEM = 0x30
490 IFT_MPC = 0x71
491 IFT_MPLS = 0xa6
492 IFT_MPLSTUNNEL = 0x96
493 IFT_MSDSL = 0x8f
494 IFT_MVL = 0xbf
495 IFT_MYRINET = 0x63
496 IFT_NFAS = 0xaf
497 IFT_NSIP = 0x1b
498 IFT_OPTICALCHANNEL = 0xc3
499 IFT_OPTICALTRANSPORT = 0xc4
500 IFT_OTHER = 0x1
501 IFT_P10 = 0xc
502 IFT_P80 = 0xd
503 IFT_PARA = 0x22
504 IFT_PFLOG = 0xf5
505 IFT_PFSYNC = 0xf6
506 IFT_PLC = 0xae
507 IFT_POS = 0xab
508 IFT_PPP = 0x17
509 IFT_PPPMULTILINKBUNDLE = 0x6c
510 IFT_PROPBWAP2MP = 0xb8
511 IFT_PROPCNLS = 0x59
512 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5
513 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4
514 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6
515 IFT_PROPMUX = 0x36
516 IFT_PROPVIRTUAL = 0x35
517 IFT_PROPWIRELESSP2P = 0x9d
518 IFT_PTPSERIAL = 0x16
519 IFT_PVC = 0xf1
520 IFT_QLLC = 0x44
521 IFT_RADIOMAC = 0xbc
522 IFT_RADSL = 0x5f
523 IFT_REACHDSL = 0xc0
524 IFT_RFC1483 = 0x9f
525 IFT_RS232 = 0x21
526 IFT_RSRB = 0x4f
527 IFT_SDLC = 0x11
528 IFT_SDSL = 0x60
529 IFT_SHDSL = 0xa9
530 IFT_SIP = 0x1f
531 IFT_SLIP = 0x1c
532 IFT_SMDSDXI = 0x2b
533 IFT_SMDSICIP = 0x34
534 IFT_SONET = 0x27
535 IFT_SONETOVERHEADCHANNEL = 0xb9
536 IFT_SONETPATH = 0x32
537 IFT_SONETVT = 0x33
538 IFT_SRP = 0x97
539 IFT_SS7SIGLINK = 0x9c
540 IFT_STACKTOSTACK = 0x6f
541 IFT_STARLAN = 0xb
542 IFT_STF = 0xf3
543 IFT_T1 = 0x12
544 IFT_TDLC = 0x74
545 IFT_TERMPAD = 0x5b
546 IFT_TR008 = 0xb0
547 IFT_TRANSPHDLC = 0x7b
548 IFT_TUNNEL = 0x83
549 IFT_ULTRA = 0x1d
550 IFT_USB = 0xa0
551 IFT_V11 = 0x40
552 IFT_V35 = 0x2d
553 IFT_V36 = 0x41
554 IFT_V37 = 0x78
555 IFT_VDSL = 0x61
556 IFT_VIRTUALIPADDRESS = 0x70
557 IFT_VOICEEM = 0x64
558 IFT_VOICEENCAP = 0x67
559 IFT_VOICEFXO = 0x65
560 IFT_VOICEFXS = 0x66
561 IFT_VOICEOVERATM = 0x98
562 IFT_VOICEOVERFRAMERELAY = 0x99
563 IFT_VOICEOVERIP = 0x68
564 IFT_X213 = 0x5d
565 IFT_X25 = 0x5
566 IFT_X25DDN = 0x4
567 IFT_X25HUNTGROUP = 0x7a
568 IFT_X25MLP = 0x79
569 IFT_X25PLE = 0x28
570 IFT_XETHER = 0x1a
571 IGNBRK = 0x1
572 IGNCR = 0x80
573 IGNPAR = 0x4
574 IMAXBEL = 0x2000
575 INLCR = 0x40
576 INPCK = 0x10
577 IN_CLASSA_HOST = 0xffffff
578 IN_CLASSA_MAX = 0x80
579 IN_CLASSA_NET = 0xff000000
580 IN_CLASSA_NSHIFT = 0x18
581 IN_CLASSB_HOST = 0xffff
582 IN_CLASSB_MAX = 0x10000
583 IN_CLASSB_NET = 0xffff0000
584 IN_CLASSB_NSHIFT = 0x10
585 IN_CLASSC_HOST = 0xff
586 IN_CLASSC_NET = 0xffffff00
587 IN_CLASSC_NSHIFT = 0x8
588 IN_CLASSD_HOST = 0xfffffff
589 IN_CLASSD_NET = 0xf0000000
590 IN_CLASSD_NSHIFT = 0x1c
591 IN_LOOPBACKNET = 0x7f
592 IPPROTO_3PC = 0x22
593 IPPROTO_ADFS = 0x44
594 IPPROTO_AH = 0x33
595 IPPROTO_AHIP = 0x3d
596 IPPROTO_APES = 0x63
597 IPPROTO_ARGUS = 0xd
598 IPPROTO_AX25 = 0x5d
599 IPPROTO_BHA = 0x31
600 IPPROTO_BLT = 0x1e
601 IPPROTO_BRSATMON = 0x4c
602 IPPROTO_CARP = 0x70
603 IPPROTO_CFTP = 0x3e
604 IPPROTO_CHAOS = 0x10
605 IPPROTO_CMTP = 0x26
606 IPPROTO_CPHB = 0x49
607 IPPROTO_CPNX = 0x48
608 IPPROTO_DDP = 0x25
609 IPPROTO_DGP = 0x56
610 IPPROTO_DIVERT = 0xfe
611 IPPROTO_DONE = 0x101
612 IPPROTO_DSTOPTS = 0x3c
613 IPPROTO_EGP = 0x8
614 IPPROTO_EMCON = 0xe
615 IPPROTO_ENCAP = 0x62
616 IPPROTO_EON = 0x50
617 IPPROTO_ESP = 0x32
618 IPPROTO_ETHERIP = 0x61
619 IPPROTO_FRAGMENT = 0x2c
620 IPPROTO_GGP = 0x3
621 IPPROTO_GMTP = 0x64
622 IPPROTO_GRE = 0x2f
623 IPPROTO_HELLO = 0x3f
624 IPPROTO_HMP = 0x14
625 IPPROTO_HOPOPTS = 0x0
626 IPPROTO_ICMP = 0x1
627 IPPROTO_ICMPV6 = 0x3a
628 IPPROTO_IDP = 0x16
629 IPPROTO_IDPR = 0x23
630 IPPROTO_IDRP = 0x2d
631 IPPROTO_IGMP = 0x2
632 IPPROTO_IGP = 0x55
633 IPPROTO_IGRP = 0x58
634 IPPROTO_IL = 0x28
635 IPPROTO_INLSP = 0x34
636 IPPROTO_INP = 0x20
637 IPPROTO_IP = 0x0
638 IPPROTO_IPCOMP = 0x6c
639 IPPROTO_IPCV = 0x47
640 IPPROTO_IPEIP = 0x5e
641 IPPROTO_IPIP = 0x4
642 IPPROTO_IPPC = 0x43
643 IPPROTO_IPV4 = 0x4
644 IPPROTO_IPV6 = 0x29
645 IPPROTO_IRTP = 0x1c
646 IPPROTO_KRYPTOLAN = 0x41
647 IPPROTO_LARP = 0x5b
648 IPPROTO_LEAF1 = 0x19
649 IPPROTO_LEAF2 = 0x1a
650 IPPROTO_MAX = 0x100
651 IPPROTO_MAXID = 0x34
652 IPPROTO_MEAS = 0x13
653 IPPROTO_MHRP = 0x30
654 IPPROTO_MICP = 0x5f
655 IPPROTO_MOBILE = 0x37
656 IPPROTO_MTP = 0x5c
657 IPPROTO_MUX = 0x12
658 IPPROTO_ND = 0x4d
659 IPPROTO_NHRP = 0x36
660 IPPROTO_NONE = 0x3b
661 IPPROTO_NSP = 0x1f
662 IPPROTO_NVPII = 0xb
663 IPPROTO_OSPFIGP = 0x59
664 IPPROTO_PFSYNC = 0xf0
665 IPPROTO_PGM = 0x71
666 IPPROTO_PIGP = 0x9
667 IPPROTO_PIM = 0x67
668 IPPROTO_PRM = 0x15
669 IPPROTO_PUP = 0xc
670 IPPROTO_PVP = 0x4b
671 IPPROTO_RAW = 0xff
672 IPPROTO_RCCMON = 0xa
673 IPPROTO_RDP = 0x1b
674 IPPROTO_ROUTING = 0x2b
675 IPPROTO_RSVP = 0x2e
676 IPPROTO_RVD = 0x42
677 IPPROTO_SATEXPAK = 0x40
678 IPPROTO_SATMON = 0x45
679 IPPROTO_SCCSP = 0x60
680 IPPROTO_SCTP = 0x84
681 IPPROTO_SDRP = 0x2a
682 IPPROTO_SEP = 0x21
683 IPPROTO_SKIP = 0x39
684 IPPROTO_SRPC = 0x5a
685 IPPROTO_ST = 0x7
686 IPPROTO_SVMTP = 0x52
687 IPPROTO_SWIPE = 0x35
688 IPPROTO_TCF = 0x57
689 IPPROTO_TCP = 0x6
690 IPPROTO_TLSP = 0x38
691 IPPROTO_TP = 0x1d
692 IPPROTO_TPXX = 0x27
693 IPPROTO_TRUNK1 = 0x17
694 IPPROTO_TRUNK2 = 0x18
695 IPPROTO_TTP = 0x54
696 IPPROTO_UDP = 0x11
697 IPPROTO_UNKNOWN = 0x102
698 IPPROTO_VINES = 0x53
699 IPPROTO_VISA = 0x46
700 IPPROTO_VMTP = 0x51
701 IPPROTO_WBEXPAK = 0x4f
702 IPPROTO_WBMON = 0x4e
703 IPPROTO_WSN = 0x4a
704 IPPROTO_XNET = 0xf
705 IPPROTO_XTP = 0x24
706 IPV6_AUTOFLOWLABEL = 0x3b
707 IPV6_BINDV6ONLY = 0x1b
708 IPV6_CHECKSUM = 0x1a
709 IPV6_DEFAULT_MULTICAST_HOPS = 0x1
710 IPV6_DEFAULT_MULTICAST_LOOP = 0x1
711 IPV6_DEFHLIM = 0x40
712 IPV6_DONTFRAG = 0x3e
713 IPV6_DSTOPTS = 0x32
714 IPV6_FAITH = 0x1d
715 IPV6_FLOWINFO_MASK = 0xffffff0f
716 IPV6_FLOWLABEL_MASK = 0xffff0f00
717 IPV6_FRAGTTL = 0x78
718 IPV6_FW_ADD = 0x1e
719 IPV6_FW_DEL = 0x1f
720 IPV6_FW_FLUSH = 0x20
721 IPV6_FW_GET = 0x22
722 IPV6_FW_ZERO = 0x21
723 IPV6_HLIMDEC = 0x1
724 IPV6_HOPLIMIT = 0x2f
725 IPV6_HOPOPTS = 0x31
726 IPV6_IPSEC_POLICY = 0x1c
727 IPV6_JOIN_GROUP = 0xc
728 IPV6_LEAVE_GROUP = 0xd
729 IPV6_MAXHLIM = 0xff
730 IPV6_MAXPACKET = 0xffff
731 IPV6_MMTU = 0x500
732 IPV6_MSFILTER = 0x4a
733 IPV6_MULTICAST_HOPS = 0xa
734 IPV6_MULTICAST_IF = 0x9
735 IPV6_MULTICAST_LOOP = 0xb
736 IPV6_NEXTHOP = 0x30
737 IPV6_PATHMTU = 0x2c
738 IPV6_PKTINFO = 0x2e
739 IPV6_PKTOPTIONS = 0x34
740 IPV6_PORTRANGE = 0xe
741 IPV6_PORTRANGE_DEFAULT = 0x0
742 IPV6_PORTRANGE_HIGH = 0x1
743 IPV6_PORTRANGE_LOW = 0x2
744 IPV6_PREFER_TEMPADDR = 0x3f
745 IPV6_RECVDSTOPTS = 0x28
746 IPV6_RECVHOPLIMIT = 0x25
747 IPV6_RECVHOPOPTS = 0x27
748 IPV6_RECVPATHMTU = 0x2b
749 IPV6_RECVPKTINFO = 0x24
750 IPV6_RECVRTHDR = 0x26
751 IPV6_RECVTCLASS = 0x39
752 IPV6_RTHDR = 0x33
753 IPV6_RTHDRDSTOPTS = 0x23
754 IPV6_RTHDR_LOOSE = 0x0
755 IPV6_RTHDR_STRICT = 0x1
756 IPV6_RTHDR_TYPE_0 = 0x0
757 IPV6_SOCKOPT_RESERVED1 = 0x3
758 IPV6_TCLASS = 0x3d
759 IPV6_UNICAST_HOPS = 0x4
760 IPV6_USE_MIN_MTU = 0x2a
761 IPV6_V6ONLY = 0x1b
762 IPV6_VERSION = 0x60
763 IPV6_VERSION_MASK = 0xf0
764 IP_ADD_MEMBERSHIP = 0xc
765 IP_DEFAULT_MULTICAST_LOOP = 0x1
766 IP_DEFAULT_MULTICAST_TTL = 0x1
767 IP_DF = 0x4000
768 IP_DROP_MEMBERSHIP = 0xd
769 IP_DUMMYNET_CONFIGURE = 0x3c
770 IP_DUMMYNET_DEL = 0x3d
771 IP_DUMMYNET_FLUSH = 0x3e
772 IP_DUMMYNET_GET = 0x40
773 IP_FAITH = 0x16
774 IP_FW_ADD = 0x32
775 IP_FW_DEL = 0x33
776 IP_FW_FLUSH = 0x34
777 IP_FW_GET = 0x36
778 IP_FW_RESETLOG = 0x37
779 IP_FW_ZERO = 0x35
780 IP_HDRINCL = 0x2
781 IP_IPSEC_POLICY = 0x15
782 IP_MAXPACKET = 0xffff
783 IP_MAX_MEMBERSHIPS = 0x14
784 IP_MF = 0x2000
785 IP_MINTTL = 0x42
786 IP_MSS = 0x240
787 IP_MULTICAST_IF = 0x9
788 IP_MULTICAST_LOOP = 0xb
789 IP_MULTICAST_TTL = 0xa
790 IP_MULTICAST_VIF = 0xe
791 IP_OFFMASK = 0x1fff
792 IP_OPTIONS = 0x1
793 IP_PORTRANGE = 0x13
794 IP_PORTRANGE_DEFAULT = 0x0
795 IP_PORTRANGE_HIGH = 0x1
796 IP_PORTRANGE_LOW = 0x2
797 IP_RECVDSTADDR = 0x7
798 IP_RECVIF = 0x14
799 IP_RECVOPTS = 0x5
800 IP_RECVRETOPTS = 0x6
801 IP_RECVTTL = 0x41
802 IP_RETOPTS = 0x8
803 IP_RF = 0x8000
804 IP_RSVP_OFF = 0x10
805 IP_RSVP_ON = 0xf
806 IP_RSVP_VIF_OFF = 0x12
807 IP_RSVP_VIF_ON = 0x11
808 IP_TOS = 0x3
809 IP_TTL = 0x4
810 ISIG = 0x80
811 ISTRIP = 0x20
812 IXANY = 0x800
813 IXOFF = 0x400
814 IXON = 0x200
815 LOCK_EX = 0x2
816 LOCK_NB = 0x4
817 LOCK_SH = 0x1
818 LOCK_UN = 0x8
819 MADV_AUTOSYNC = 0x7
820 MADV_CONTROL_END = 0xb
821 MADV_CONTROL_START = 0xa
822 MADV_CORE = 0x9
823 MADV_DONTNEED = 0x4
824 MADV_FREE = 0x5
825 MADV_INVAL = 0xa
826 MADV_NOCORE = 0x8
827 MADV_NORMAL = 0x0
828 MADV_NOSYNC = 0x6
829 MADV_RANDOM = 0x1
830 MADV_SEQUENTIAL = 0x2
831 MADV_SETMAP = 0xb
832 MADV_WILLNEED = 0x3
833 MAP_ANON = 0x1000
834 MAP_COPY = 0x2
835 MAP_FILE = 0x0
836 MAP_FIXED = 0x10
837 MAP_HASSEMAPHORE = 0x200
838 MAP_INHERIT = 0x80
839 MAP_NOCORE = 0x20000
840 MAP_NOEXTEND = 0x100
841 MAP_NORESERVE = 0x40
842 MAP_NOSYNC = 0x800
843 MAP_PRIVATE = 0x2
844 MAP_RENAME = 0x20
845 MAP_SHARED = 0x1
846 MAP_SIZEALIGN = 0x40000
847 MAP_STACK = 0x400
848 MAP_TRYFIXED = 0x10000
849 MAP_VPAGETABLE = 0x2000
850 MCL_CURRENT = 0x1
851 MCL_FUTURE = 0x2
852 MSG_CMSG_CLOEXEC = 0x1000
853 MSG_CTRUNC = 0x20
854 MSG_DONTROUTE = 0x4
855 MSG_DONTWAIT = 0x80
856 MSG_EOF = 0x100
857 MSG_EOR = 0x8
858 MSG_FBLOCKING = 0x10000
859 MSG_FMASK = 0xffff0000
860 MSG_FNONBLOCKING = 0x20000
861 MSG_NOSIGNAL = 0x400
862 MSG_NOTIFICATION = 0x200
863 MSG_OOB = 0x1
864 MSG_PEEK = 0x2
865 MSG_SYNC = 0x800
866 MSG_TRUNC = 0x10
867 MSG_WAITALL = 0x40
868 MS_ASYNC = 0x1
869 MS_INVALIDATE = 0x2
870 MS_SYNC = 0x0
871 NAME_MAX = 0xff
872 NET_RT_DUMP = 0x1
873 NET_RT_FLAGS = 0x2
874 NET_RT_IFLIST = 0x3
875 NET_RT_MAXID = 0x4
876 NOFLSH = 0x80000000
877 NOTE_ATTRIB = 0x8
878 NOTE_CHILD = 0x4
879 NOTE_DELETE = 0x1
880 NOTE_EXEC = 0x20000000
881 NOTE_EXIT = 0x80000000
882 NOTE_EXTEND = 0x4
883 NOTE_FORK = 0x40000000
884 NOTE_LINK = 0x10
885 NOTE_LOWAT = 0x1
886 NOTE_OOB = 0x2
887 NOTE_PCTRLMASK = 0xf0000000
888 NOTE_PDATAMASK = 0xfffff
889 NOTE_RENAME = 0x20
890 NOTE_REVOKE = 0x40
891 NOTE_TRACK = 0x1
892 NOTE_TRACKERR = 0x2
893 NOTE_WRITE = 0x2
894 OCRNL = 0x10
895 ONLCR = 0x2
896 ONLRET = 0x40
897 ONOCR = 0x20
898 ONOEOT = 0x8
899 OPOST = 0x1
900 O_ACCMODE = 0x3
901 O_APPEND = 0x8
902 O_ASYNC = 0x40
903 O_CLOEXEC = 0x20000
904 O_CREAT = 0x200
905 O_DIRECT = 0x10000
906 O_DIRECTORY = 0x8000000
907 O_EXCL = 0x800
908 O_EXLOCK = 0x20
909 O_FAPPEND = 0x100000
910 O_FASYNCWRITE = 0x800000
911 O_FBLOCKING = 0x40000
912 O_FBUFFERED = 0x2000000
913 O_FMASK = 0x7fc0000
914 O_FNONBLOCKING = 0x80000
915 O_FOFFSET = 0x200000
916 O_FSYNC = 0x80
917 O_FSYNCWRITE = 0x400000
918 O_FUNBUFFERED = 0x1000000
919 O_MAPONREAD = 0x4000000
920 O_NDELAY = 0x4
921 O_NOCTTY = 0x8000
922 O_NOFOLLOW = 0x100
923 O_NONBLOCK = 0x4
924 O_RDONLY = 0x0
925 O_RDWR = 0x2
926 O_SHLOCK = 0x10
927 O_SYNC = 0x80
928 O_TRUNC = 0x400
929 O_WRONLY = 0x1
930 PARENB = 0x1000
931 PARMRK = 0x8
932 PARODD = 0x2000
933 PENDIN = 0x20000000
934 PRIO_PGRP = 0x1
935 PRIO_PROCESS = 0x0
936 PRIO_USER = 0x2
937 PROT_EXEC = 0x4
938 PROT_NONE = 0x0
939 PROT_READ = 0x1
940 PROT_WRITE = 0x2
941 RLIMIT_AS = 0xa
942 RLIMIT_CORE = 0x4
943 RLIMIT_CPU = 0x0
944 RLIMIT_DATA = 0x2
945 RLIMIT_FSIZE = 0x1
946 RLIMIT_NOFILE = 0x8
947 RLIMIT_STACK = 0x3
948 RLIM_INFINITY = 0x7fffffffffffffff
949 RTAX_AUTHOR = 0x6
950 RTAX_BRD = 0x7
951 RTAX_DST = 0x0
952 RTAX_GATEWAY = 0x1
953 RTAX_GENMASK = 0x3
954 RTAX_IFA = 0x5
955 RTAX_IFP = 0x4
956 RTAX_MAX = 0xb
957 RTAX_MPLS1 = 0x8
958 RTAX_MPLS2 = 0x9
959 RTAX_MPLS3 = 0xa
960 RTAX_NETMASK = 0x2
961 RTA_AUTHOR = 0x40
962 RTA_BRD = 0x80
963 RTA_DST = 0x1
964 RTA_GATEWAY = 0x2
965 RTA_GENMASK = 0x8
966 RTA_IFA = 0x20
967 RTA_IFP = 0x10
968 RTA_MPLS1 = 0x100
969 RTA_MPLS2 = 0x200
970 RTA_MPLS3 = 0x400
971 RTA_NETMASK = 0x4
972 RTF_BLACKHOLE = 0x1000
973 RTF_BROADCAST = 0x400000
974 RTF_CLONING = 0x100
975 RTF_DONE = 0x40
976 RTF_DYNAMIC = 0x10
977 RTF_GATEWAY = 0x2
978 RTF_HOST = 0x4
979 RTF_LLINFO = 0x400
980 RTF_LOCAL = 0x200000
981 RTF_MODIFIED = 0x20
982 RTF_MPLSOPS = 0x1000000
983 RTF_MULTICAST = 0x800000
984 RTF_PINNED = 0x100000
985 RTF_PRCLONING = 0x10000
986 RTF_PROTO1 = 0x8000
987 RTF_PROTO2 = 0x4000
988 RTF_PROTO3 = 0x40000
989 RTF_REJECT = 0x8
990 RTF_STATIC = 0x800
991 RTF_UP = 0x1
992 RTF_WASCLONED = 0x20000
993 RTF_XRESOLVE = 0x200
994 RTM_ADD = 0x1
995 RTM_CHANGE = 0x3
996 RTM_DELADDR = 0xd
997 RTM_DELETE = 0x2
998 RTM_DELMADDR = 0x10
999 RTM_GET = 0x4
1000 RTM_IEEE80211 = 0x12
1001 RTM_IFANNOUNCE = 0x11
1002 RTM_IFINFO = 0xe
1003 RTM_LOCK = 0x8
1004 RTM_LOSING = 0x5
1005 RTM_MISS = 0x7
1006 RTM_NEWADDR = 0xc
1007 RTM_NEWMADDR = 0xf
1008 RTM_OLDADD = 0x9
1009 RTM_OLDDEL = 0xa
1010 RTM_REDIRECT = 0x6
1011 RTM_RESOLVE = 0xb
1012 RTM_RTTUNIT = 0xf4240
1013 RTM_VERSION = 0x6
1014 RTV_EXPIRE = 0x4
1015 RTV_HOPCOUNT = 0x2
1016 RTV_IWCAPSEGS = 0x400
1017 RTV_IWMAXSEGS = 0x200
1018 RTV_MSL = 0x100
1019 RTV_MTU = 0x1
1020 RTV_RPIPE = 0x8
1021 RTV_RTT = 0x40
1022 RTV_RTTVAR = 0x80
1023 RTV_SPIPE = 0x10
1024 RTV_SSTHRESH = 0x20
1025 RUSAGE_CHILDREN = -0x1
1026 RUSAGE_SELF = 0x0
1027 SCM_CREDS = 0x3
1028 SCM_RIGHTS = 0x1
1029 SCM_TIMESTAMP = 0x2
1030 SHUT_RD = 0x0
1031 SHUT_RDWR = 0x2
1032 SHUT_WR = 0x1
1033 SIOCADDMULTI = 0x80206931
1034 SIOCADDRT = 0x8040720a
1035 SIOCAIFADDR = 0x8040691a
1036 SIOCALIFADDR = 0x8118691b
1037 SIOCATMARK = 0x40047307
1038 SIOCDELMULTI = 0x80206932
1039 SIOCDELRT = 0x8040720b
1040 SIOCDIFADDR = 0x80206919
1041 SIOCDIFPHYADDR = 0x80206949
1042 SIOCDLIFADDR = 0x8118691d
1043 SIOCGDRVSPEC = 0xc028697b
1044 SIOCGETSGCNT = 0xc0207210
1045 SIOCGETVIFCNT = 0xc028720f
1046 SIOCGHIWAT = 0x40047301
1047 SIOCGIFADDR = 0xc0206921
1048 SIOCGIFBRDADDR = 0xc0206923
1049 SIOCGIFCAP = 0xc020691f
1050 SIOCGIFCONF = 0xc0106924
1051 SIOCGIFDATA = 0xc0206926
1052 SIOCGIFDSTADDR = 0xc0206922
1053 SIOCGIFFLAGS = 0xc0206911
1054 SIOCGIFGENERIC = 0xc020693a
1055 SIOCGIFGMEMB = 0xc028698a
1056 SIOCGIFINDEX = 0xc0206920
1057 SIOCGIFMEDIA = 0xc0306938
1058 SIOCGIFMETRIC = 0xc0206917
1059 SIOCGIFMTU = 0xc0206933
1060 SIOCGIFNETMASK = 0xc0206925
1061 SIOCGIFPDSTADDR = 0xc0206948
1062 SIOCGIFPHYS = 0xc0206935
1063 SIOCGIFPOLLCPU = 0xc020697e
1064 SIOCGIFPSRCADDR = 0xc0206947
1065 SIOCGIFSTATUS = 0xc331693b
1066 SIOCGIFTSOLEN = 0xc0206980
1067 SIOCGLIFADDR = 0xc118691c
1068 SIOCGLIFPHYADDR = 0xc118694b
1069 SIOCGLOWAT = 0x40047303
1070 SIOCGPGRP = 0x40047309
1071 SIOCGPRIVATE_0 = 0xc0206950
1072 SIOCGPRIVATE_1 = 0xc0206951
1073 SIOCIFCREATE = 0xc020697a
1074 SIOCIFCREATE2 = 0xc020697c
1075 SIOCIFDESTROY = 0x80206979
1076 SIOCIFGCLONERS = 0xc0106978
1077 SIOCSDRVSPEC = 0x8028697b
1078 SIOCSHIWAT = 0x80047300
1079 SIOCSIFADDR = 0x8020690c
1080 SIOCSIFBRDADDR = 0x80206913
1081 SIOCSIFCAP = 0x8020691e
1082 SIOCSIFDSTADDR = 0x8020690e
1083 SIOCSIFFLAGS = 0x80206910
1084 SIOCSIFGENERIC = 0x80206939
1085 SIOCSIFLLADDR = 0x8020693c
1086 SIOCSIFMEDIA = 0xc0206937
1087 SIOCSIFMETRIC = 0x80206918
1088 SIOCSIFMTU = 0x80206934
1089 SIOCSIFNAME = 0x80206928
1090 SIOCSIFNETMASK = 0x80206916
1091 SIOCSIFPHYADDR = 0x80406946
1092 SIOCSIFPHYS = 0x80206936
1093 SIOCSIFPOLLCPU = 0x8020697d
1094 SIOCSIFTSOLEN = 0x8020697f
1095 SIOCSLIFPHYADDR = 0x8118694a
1096 SIOCSLOWAT = 0x80047302
1097 SIOCSPGRP = 0x80047308
1098 SOCK_CLOEXEC = 0x10000000
1099 SOCK_DGRAM = 0x2
1100 SOCK_MAXADDRLEN = 0xff
1101 SOCK_NONBLOCK = 0x20000000
1102 SOCK_RAW = 0x3
1103 SOCK_RDM = 0x4
1104 SOCK_SEQPACKET = 0x5
1105 SOCK_STREAM = 0x1
1106 SOL_SOCKET = 0xffff
1107 SOMAXCONN = 0x80
1108 SO_ACCEPTCONN = 0x2
1109 SO_ACCEPTFILTER = 0x1000
1110 SO_BROADCAST = 0x20
1111 SO_DEBUG = 0x1
1112 SO_DONTROUTE = 0x10
1113 SO_ERROR = 0x1007
1114 SO_KEEPALIVE = 0x8
1115 SO_LINGER = 0x80
1116 SO_NOSIGPIPE = 0x800
1117 SO_OOBINLINE = 0x100
1118 SO_RCVBUF = 0x1002
1119 SO_RCVLOWAT = 0x1004
1120 SO_RCVTIMEO = 0x1006
1121 SO_REUSEADDR = 0x4
1122 SO_REUSEPORT = 0x200
1123 SO_SNDBUF = 0x1001
1124 SO_SNDLOWAT = 0x1003
1125 SO_SNDSPACE = 0x100a
1126 SO_SNDTIMEO = 0x1005
1127 SO_TIMESTAMP = 0x400
1128 SO_TYPE = 0x1008
1129 SO_USELOOPBACK = 0x40
1130 TCIFLUSH = 0x1
1131 TCIOFLUSH = 0x3
1132 TCOFLUSH = 0x2
1133 TCP_FASTKEEP = 0x80
1134 TCP_KEEPCNT = 0x400
1135 TCP_KEEPIDLE = 0x100
1136 TCP_KEEPINIT = 0x20
1137 TCP_KEEPINTVL = 0x200
1138 TCP_MAXBURST = 0x4
1139 TCP_MAXHLEN = 0x3c
1140 TCP_MAXOLEN = 0x28
1141 TCP_MAXSEG = 0x2
1142 TCP_MAXWIN = 0xffff
1143 TCP_MAX_WINSHIFT = 0xe
1144 TCP_MINMSS = 0x100
1145 TCP_MIN_WINSHIFT = 0x5
1146 TCP_MSS = 0x200
1147 TCP_NODELAY = 0x1
1148 TCP_NOOPT = 0x8
1149 TCP_NOPUSH = 0x4
1150 TCP_SIGNATURE_ENABLE = 0x10
1151 TCSAFLUSH = 0x2
1152 TIOCCBRK = 0x2000747a
1153 TIOCCDTR = 0x20007478
1154 TIOCCONS = 0x80047462
1155 TIOCDCDTIMESTAMP = 0x40107458
1156 TIOCDRAIN = 0x2000745e
1157 TIOCEXCL = 0x2000740d
1158 TIOCEXT = 0x80047460
1159 TIOCFLUSH = 0x80047410
1160 TIOCGDRAINWAIT = 0x40047456
1161 TIOCGETA = 0x402c7413
1162 TIOCGETD = 0x4004741a
1163 TIOCGPGRP = 0x40047477
1164 TIOCGSID = 0x40047463
1165 TIOCGSIZE = 0x40087468
1166 TIOCGWINSZ = 0x40087468
1167 TIOCISPTMASTER = 0x20007455
1168 TIOCMBIC = 0x8004746b
1169 TIOCMBIS = 0x8004746c
1170 TIOCMGDTRWAIT = 0x4004745a
1171 TIOCMGET = 0x4004746a
1172 TIOCMODG = 0x40047403
1173 TIOCMODS = 0x80047404
1174 TIOCMSDTRWAIT = 0x8004745b
1175 TIOCMSET = 0x8004746d
1176 TIOCM_CAR = 0x40
1177 TIOCM_CD = 0x40
1178 TIOCM_CTS = 0x20
1179 TIOCM_DSR = 0x100
1180 TIOCM_DTR = 0x2
1181 TIOCM_LE = 0x1
1182 TIOCM_RI = 0x80
1183 TIOCM_RNG = 0x80
1184 TIOCM_RTS = 0x4
1185 TIOCM_SR = 0x10
1186 TIOCM_ST = 0x8
1187 TIOCNOTTY = 0x20007471
1188 TIOCNXCL = 0x2000740e
1189 TIOCOUTQ = 0x40047473
1190 TIOCPKT = 0x80047470
1191 TIOCPKT_DATA = 0x0
1192 TIOCPKT_DOSTOP = 0x20
1193 TIOCPKT_FLUSHREAD = 0x1
1194 TIOCPKT_FLUSHWRITE = 0x2
1195 TIOCPKT_IOCTL = 0x40
1196 TIOCPKT_NOSTOP = 0x10
1197 TIOCPKT_START = 0x8
1198 TIOCPKT_STOP = 0x4
1199 TIOCREMOTE = 0x80047469
1200 TIOCSBRK = 0x2000747b
1201 TIOCSCTTY = 0x20007461
1202 TIOCSDRAINWAIT = 0x80047457
1203 TIOCSDTR = 0x20007479
1204 TIOCSETA = 0x802c7414
1205 TIOCSETAF = 0x802c7416
1206 TIOCSETAW = 0x802c7415
1207 TIOCSETD = 0x8004741b
1208 TIOCSIG = 0x2000745f
1209 TIOCSPGRP = 0x80047476
1210 TIOCSSIZE = 0x80087467
1211 TIOCSTART = 0x2000746e
1212 TIOCSTAT = 0x20007465
1213 TIOCSTI = 0x80017472
1214 TIOCSTOP = 0x2000746f
1215 TIOCSWINSZ = 0x80087467
1216 TIOCTIMESTAMP = 0x40107459
1217 TIOCUCNTL = 0x80047466
1218 TOSTOP = 0x400000
1219 VCHECKPT = 0x13
1220 VDISCARD = 0xf
1221 VDSUSP = 0xb
1222 VEOF = 0x0
1223 VEOL = 0x1
1224 VEOL2 = 0x2
1225 VERASE = 0x3
1226 VERASE2 = 0x7
1227 VINTR = 0x8
1228 VKILL = 0x5
1229 VLNEXT = 0xe
1230 VMIN = 0x10
1231 VQUIT = 0x9
1232 VREPRINT = 0x6
1233 VSTART = 0xc
1234 VSTATUS = 0x12
1235 VSTOP = 0xd
1236 VSUSP = 0xa
1237 VTIME = 0x11
1238 VWERASE = 0x4
1239 WCONTINUED = 0x4
1240 WCOREFLAG = 0x80
1241 WEXITED = 0x10
1242 WLINUXCLONE = 0x80000000
1243 WNOHANG = 0x1
1244 WNOWAIT = 0x8
1245 WSTOPPED = 0x7f
1246 WUNTRACED = 0x2
1247 )
1248
1249
1250 const (
1251 E2BIG = Errno(0x7)
1252 EACCES = Errno(0xd)
1253 EADDRINUSE = Errno(0x30)
1254 EADDRNOTAVAIL = Errno(0x31)
1255 EAFNOSUPPORT = Errno(0x2f)
1256 EAGAIN = Errno(0x23)
1257 EALREADY = Errno(0x25)
1258 EASYNC = Errno(0x63)
1259 EAUTH = Errno(0x50)
1260 EBADF = Errno(0x9)
1261 EBADMSG = Errno(0x59)
1262 EBADRPC = Errno(0x48)
1263 EBUSY = Errno(0x10)
1264 ECANCELED = Errno(0x55)
1265 ECHILD = Errno(0xa)
1266 ECONNABORTED = Errno(0x35)
1267 ECONNREFUSED = Errno(0x3d)
1268 ECONNRESET = Errno(0x36)
1269 EDEADLK = Errno(0xb)
1270 EDESTADDRREQ = Errno(0x27)
1271 EDOM = Errno(0x21)
1272 EDOOFUS = Errno(0x58)
1273 EDQUOT = Errno(0x45)
1274 EEXIST = Errno(0x11)
1275 EFAULT = Errno(0xe)
1276 EFBIG = Errno(0x1b)
1277 EFTYPE = Errno(0x4f)
1278 EHOSTDOWN = Errno(0x40)
1279 EHOSTUNREACH = Errno(0x41)
1280 EIDRM = Errno(0x52)
1281 EILSEQ = Errno(0x56)
1282 EINPROGRESS = Errno(0x24)
1283 EINTR = Errno(0x4)
1284 EINVAL = Errno(0x16)
1285 EIO = Errno(0x5)
1286 EISCONN = Errno(0x38)
1287 EISDIR = Errno(0x15)
1288 ELAST = Errno(0x63)
1289 ELOOP = Errno(0x3e)
1290 EMFILE = Errno(0x18)
1291 EMLINK = Errno(0x1f)
1292 EMSGSIZE = Errno(0x28)
1293 EMULTIHOP = Errno(0x5a)
1294 ENAMETOOLONG = Errno(0x3f)
1295 ENEEDAUTH = Errno(0x51)
1296 ENETDOWN = Errno(0x32)
1297 ENETRESET = Errno(0x34)
1298 ENETUNREACH = Errno(0x33)
1299 ENFILE = Errno(0x17)
1300 ENOATTR = Errno(0x57)
1301 ENOBUFS = Errno(0x37)
1302 ENODEV = Errno(0x13)
1303 ENOENT = Errno(0x2)
1304 ENOEXEC = Errno(0x8)
1305 ENOLCK = Errno(0x4d)
1306 ENOLINK = Errno(0x5b)
1307 ENOMEDIUM = Errno(0x5d)
1308 ENOMEM = Errno(0xc)
1309 ENOMSG = Errno(0x53)
1310 ENOPROTOOPT = Errno(0x2a)
1311 ENOSPC = Errno(0x1c)
1312 ENOSYS = Errno(0x4e)
1313 ENOTBLK = Errno(0xf)
1314 ENOTCONN = Errno(0x39)
1315 ENOTDIR = Errno(0x14)
1316 ENOTEMPTY = Errno(0x42)
1317 ENOTSOCK = Errno(0x26)
1318 ENOTSUP = Errno(0x2d)
1319 ENOTTY = Errno(0x19)
1320 ENXIO = Errno(0x6)
1321 EOPNOTSUPP = Errno(0x2d)
1322 EOVERFLOW = Errno(0x54)
1323 EPERM = Errno(0x1)
1324 EPFNOSUPPORT = Errno(0x2e)
1325 EPIPE = Errno(0x20)
1326 EPROCLIM = Errno(0x43)
1327 EPROCUNAVAIL = Errno(0x4c)
1328 EPROGMISMATCH = Errno(0x4b)
1329 EPROGUNAVAIL = Errno(0x4a)
1330 EPROTO = Errno(0x5c)
1331 EPROTONOSUPPORT = Errno(0x2b)
1332 EPROTOTYPE = Errno(0x29)
1333 ERANGE = Errno(0x22)
1334 EREMOTE = Errno(0x47)
1335 EROFS = Errno(0x1e)
1336 ERPCMISMATCH = Errno(0x49)
1337 ESHUTDOWN = Errno(0x3a)
1338 ESOCKTNOSUPPORT = Errno(0x2c)
1339 ESPIPE = Errno(0x1d)
1340 ESRCH = Errno(0x3)
1341 ESTALE = Errno(0x46)
1342 ETIMEDOUT = Errno(0x3c)
1343 ETOOMANYREFS = Errno(0x3b)
1344 ETXTBSY = Errno(0x1a)
1345 EUNUSED94 = Errno(0x5e)
1346 EUNUSED95 = Errno(0x5f)
1347 EUNUSED96 = Errno(0x60)
1348 EUNUSED97 = Errno(0x61)
1349 EUNUSED98 = Errno(0x62)
1350 EUSERS = Errno(0x44)
1351 EWOULDBLOCK = Errno(0x23)
1352 EXDEV = Errno(0x12)
1353 )
1354
1355
1356 const (
1357 SIGABRT = Signal(0x6)
1358 SIGALRM = Signal(0xe)
1359 SIGBUS = Signal(0xa)
1360 SIGCHLD = Signal(0x14)
1361 SIGCKPT = Signal(0x21)
1362 SIGCKPTEXIT = Signal(0x22)
1363 SIGCONT = Signal(0x13)
1364 SIGEMT = Signal(0x7)
1365 SIGFPE = Signal(0x8)
1366 SIGHUP = Signal(0x1)
1367 SIGILL = Signal(0x4)
1368 SIGINFO = Signal(0x1d)
1369 SIGINT = Signal(0x2)
1370 SIGIO = Signal(0x17)
1371 SIGIOT = Signal(0x6)
1372 SIGKILL = Signal(0x9)
1373 SIGPIPE = Signal(0xd)
1374 SIGPROF = Signal(0x1b)
1375 SIGQUIT = Signal(0x3)
1376 SIGSEGV = Signal(0xb)
1377 SIGSTOP = Signal(0x11)
1378 SIGSYS = Signal(0xc)
1379 SIGTERM = Signal(0xf)
1380 SIGTHR = Signal(0x20)
1381 SIGTRAP = Signal(0x5)
1382 SIGTSTP = Signal(0x12)
1383 SIGTTIN = Signal(0x15)
1384 SIGTTOU = Signal(0x16)
1385 SIGURG = Signal(0x10)
1386 SIGUSR1 = Signal(0x1e)
1387 SIGUSR2 = Signal(0x1f)
1388 SIGVTALRM = Signal(0x1a)
1389 SIGWINCH = Signal(0x1c)
1390 SIGXCPU = Signal(0x18)
1391 SIGXFSZ = Signal(0x19)
1392 )
1393
1394
1395 var errors = [...]string{
1396 1: "operation not permitted",
1397 2: "no such file or directory",
1398 3: "no such process",
1399 4: "interrupted system call",
1400 5: "input/output error",
1401 6: "device not configured",
1402 7: "argument list too long",
1403 8: "exec format error",
1404 9: "bad file descriptor",
1405 10: "no child processes",
1406 11: "resource deadlock avoided",
1407 12: "cannot allocate memory",
1408 13: "permission denied",
1409 14: "bad address",
1410 15: "block device required",
1411 16: "device busy",
1412 17: "file exists",
1413 18: "cross-device link",
1414 19: "operation not supported by device",
1415 20: "not a directory",
1416 21: "is a directory",
1417 22: "invalid argument",
1418 23: "too many open files in system",
1419 24: "too many open files",
1420 25: "inappropriate ioctl for device",
1421 26: "text file busy",
1422 27: "file too large",
1423 28: "no space left on device",
1424 29: "illegal seek",
1425 30: "read-only file system",
1426 31: "too many links",
1427 32: "broken pipe",
1428 33: "numerical argument out of domain",
1429 34: "result too large",
1430 35: "resource temporarily unavailable",
1431 36: "operation now in progress",
1432 37: "operation already in progress",
1433 38: "socket operation on non-socket",
1434 39: "destination address required",
1435 40: "message too long",
1436 41: "protocol wrong type for socket",
1437 42: "protocol not available",
1438 43: "protocol not supported",
1439 44: "socket type not supported",
1440 45: "operation not supported",
1441 46: "protocol family not supported",
1442 47: "address family not supported by protocol family",
1443 48: "address already in use",
1444 49: "can't assign requested address",
1445 50: "network is down",
1446 51: "network is unreachable",
1447 52: "network dropped connection on reset",
1448 53: "software caused connection abort",
1449 54: "connection reset by peer",
1450 55: "no buffer space available",
1451 56: "socket is already connected",
1452 57: "socket is not connected",
1453 58: "can't send after socket shutdown",
1454 59: "too many references: can't splice",
1455 60: "operation timed out",
1456 61: "connection refused",
1457 62: "too many levels of symbolic links",
1458 63: "file name too long",
1459 64: "host is down",
1460 65: "no route to host",
1461 66: "directory not empty",
1462 67: "too many processes",
1463 68: "too many users",
1464 69: "disc quota exceeded",
1465 70: "stale NFS file handle",
1466 71: "too many levels of remote in path",
1467 72: "RPC struct is bad",
1468 73: "RPC version wrong",
1469 74: "RPC prog. not avail",
1470 75: "program version wrong",
1471 76: "bad procedure for program",
1472 77: "no locks available",
1473 78: "function not implemented",
1474 79: "inappropriate file type or format",
1475 80: "authentication error",
1476 81: "need authenticator",
1477 82: "identifier removed",
1478 83: "no message of desired type",
1479 84: "value too large to be stored in data type",
1480 85: "operation canceled",
1481 86: "illegal byte sequence",
1482 87: "attribute not found",
1483 88: "programming error",
1484 89: "bad message",
1485 90: "multihop attempted",
1486 91: "link has been severed",
1487 92: "protocol error",
1488 93: "no medium found",
1489 94: "unknown error: 94",
1490 95: "unknown error: 95",
1491 96: "unknown error: 96",
1492 97: "unknown error: 97",
1493 98: "unknown error: 98",
1494 99: "unknown error: 99",
1495 }
1496
1497
1498 var signals = [...]string{
1499 1: "hangup",
1500 2: "interrupt",
1501 3: "quit",
1502 4: "illegal instruction",
1503 5: "trace/BPT trap",
1504 6: "abort trap",
1505 7: "EMT trap",
1506 8: "floating point exception",
1507 9: "killed",
1508 10: "bus error",
1509 11: "segmentation fault",
1510 12: "bad system call",
1511 13: "broken pipe",
1512 14: "alarm clock",
1513 15: "terminated",
1514 16: "urgent I/O condition",
1515 17: "suspended (signal)",
1516 18: "suspended",
1517 19: "continued",
1518 20: "child exited",
1519 21: "stopped (tty input)",
1520 22: "stopped (tty output)",
1521 23: "I/O possible",
1522 24: "cputime limit exceeded",
1523 25: "filesize limit exceeded",
1524 26: "virtual timer expired",
1525 27: "profiling timer expired",
1526 28: "window size changes",
1527 29: "information request",
1528 30: "user defined signal 1",
1529 31: "user defined signal 2",
1530 32: "thread Scheduler",
1531 33: "checkPoint",
1532 34: "checkPointExit",
1533 }
1534
View as plain text