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