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