Source file
src/syscall/zerrors_linux_amd64.go
1
2
3
4
5
6
7
8
9 package syscall
10
11 const (
12 AF_ALG = 0x26
13 AF_APPLETALK = 0x5
14 AF_ASH = 0x12
15 AF_ATMPVC = 0x8
16 AF_ATMSVC = 0x14
17 AF_AX25 = 0x3
18 AF_BLUETOOTH = 0x1f
19 AF_BRIDGE = 0x7
20 AF_CAIF = 0x25
21 AF_CAN = 0x1d
22 AF_DECnet = 0xc
23 AF_ECONET = 0x13
24 AF_FILE = 0x1
25 AF_IEEE802154 = 0x24
26 AF_INET = 0x2
27 AF_INET6 = 0xa
28 AF_IPX = 0x4
29 AF_IRDA = 0x17
30 AF_ISDN = 0x22
31 AF_IUCV = 0x20
32 AF_KEY = 0xf
33 AF_LLC = 0x1a
34 AF_LOCAL = 0x1
35 AF_MAX = 0x27
36 AF_NETBEUI = 0xd
37 AF_NETLINK = 0x10
38 AF_NETROM = 0x6
39 AF_PACKET = 0x11
40 AF_PHONET = 0x23
41 AF_PPPOX = 0x18
42 AF_RDS = 0x15
43 AF_ROSE = 0xb
44 AF_ROUTE = 0x10
45 AF_RXRPC = 0x21
46 AF_SECURITY = 0xe
47 AF_SNA = 0x16
48 AF_TIPC = 0x1e
49 AF_UNIX = 0x1
50 AF_UNSPEC = 0x0
51 AF_WANPIPE = 0x19
52 AF_X25 = 0x9
53 ARPHRD_ADAPT = 0x108
54 ARPHRD_APPLETLK = 0x8
55 ARPHRD_ARCNET = 0x7
56 ARPHRD_ASH = 0x30d
57 ARPHRD_ATM = 0x13
58 ARPHRD_AX25 = 0x3
59 ARPHRD_BIF = 0x307
60 ARPHRD_CHAOS = 0x5
61 ARPHRD_CISCO = 0x201
62 ARPHRD_CSLIP = 0x101
63 ARPHRD_CSLIP6 = 0x103
64 ARPHRD_DDCMP = 0x205
65 ARPHRD_DLCI = 0xf
66 ARPHRD_ECONET = 0x30e
67 ARPHRD_EETHER = 0x2
68 ARPHRD_ETHER = 0x1
69 ARPHRD_EUI64 = 0x1b
70 ARPHRD_FCAL = 0x311
71 ARPHRD_FCFABRIC = 0x313
72 ARPHRD_FCPL = 0x312
73 ARPHRD_FCPP = 0x310
74 ARPHRD_FDDI = 0x306
75 ARPHRD_FRAD = 0x302
76 ARPHRD_HDLC = 0x201
77 ARPHRD_HIPPI = 0x30c
78 ARPHRD_HWX25 = 0x110
79 ARPHRD_IEEE1394 = 0x18
80 ARPHRD_IEEE802 = 0x6
81 ARPHRD_IEEE80211 = 0x321
82 ARPHRD_IEEE80211_PRISM = 0x322
83 ARPHRD_IEEE80211_RADIOTAP = 0x323
84 ARPHRD_IEEE802154 = 0x324
85 ARPHRD_IEEE802154_PHY = 0x325
86 ARPHRD_IEEE802_TR = 0x320
87 ARPHRD_INFINIBAND = 0x20
88 ARPHRD_IPDDP = 0x309
89 ARPHRD_IPGRE = 0x30a
90 ARPHRD_IRDA = 0x30f
91 ARPHRD_LAPB = 0x204
92 ARPHRD_LOCALTLK = 0x305
93 ARPHRD_LOOPBACK = 0x304
94 ARPHRD_METRICOM = 0x17
95 ARPHRD_NETROM = 0x0
96 ARPHRD_NONE = 0xfffe
97 ARPHRD_PIMREG = 0x30b
98 ARPHRD_PPP = 0x200
99 ARPHRD_PRONET = 0x4
100 ARPHRD_RAWHDLC = 0x206
101 ARPHRD_ROSE = 0x10e
102 ARPHRD_RSRVD = 0x104
103 ARPHRD_SIT = 0x308
104 ARPHRD_SKIP = 0x303
105 ARPHRD_SLIP = 0x100
106 ARPHRD_SLIP6 = 0x102
107 ARPHRD_TUNNEL = 0x300
108 ARPHRD_TUNNEL6 = 0x301
109 ARPHRD_VOID = 0xffff
110 ARPHRD_X25 = 0x10f
111 BPF_A = 0x10
112 BPF_ABS = 0x20
113 BPF_ADD = 0x0
114 BPF_ALU = 0x4
115 BPF_AND = 0x50
116 BPF_B = 0x10
117 BPF_DIV = 0x30
118 BPF_H = 0x8
119 BPF_IMM = 0x0
120 BPF_IND = 0x40
121 BPF_JA = 0x0
122 BPF_JEQ = 0x10
123 BPF_JGE = 0x30
124 BPF_JGT = 0x20
125 BPF_JMP = 0x5
126 BPF_JSET = 0x40
127 BPF_K = 0x0
128 BPF_LD = 0x0
129 BPF_LDX = 0x1
130 BPF_LEN = 0x80
131 BPF_LSH = 0x60
132 BPF_MAJOR_VERSION = 0x1
133 BPF_MAXINSNS = 0x1000
134 BPF_MEM = 0x60
135 BPF_MEMWORDS = 0x10
136 BPF_MINOR_VERSION = 0x1
137 BPF_MISC = 0x7
138 BPF_MSH = 0xa0
139 BPF_MUL = 0x20
140 BPF_NEG = 0x80
141 BPF_OR = 0x40
142 BPF_RET = 0x6
143 BPF_RSH = 0x70
144 BPF_ST = 0x2
145 BPF_STX = 0x3
146 BPF_SUB = 0x10
147 BPF_TAX = 0x0
148 BPF_TXA = 0x80
149 BPF_W = 0x0
150 BPF_X = 0x8
151 DT_BLK = 0x6
152 DT_CHR = 0x2
153 DT_DIR = 0x4
154 DT_FIFO = 0x1
155 DT_LNK = 0xa
156 DT_REG = 0x8
157 DT_SOCK = 0xc
158 DT_UNKNOWN = 0x0
159 DT_WHT = 0xe
160 EPOLLERR = 0x8
161 EPOLLET = -0x80000000
162 EPOLLHUP = 0x10
163 EPOLLIN = 0x1
164 EPOLLMSG = 0x400
165 EPOLLONESHOT = 0x40000000
166 EPOLLOUT = 0x4
167 EPOLLPRI = 0x2
168 EPOLLRDBAND = 0x80
169 EPOLLRDHUP = 0x2000
170 EPOLLRDNORM = 0x40
171 EPOLLWRBAND = 0x200
172 EPOLLWRNORM = 0x100
173 EPOLL_CLOEXEC = 0x80000
174 EPOLL_CTL_ADD = 0x1
175 EPOLL_CTL_DEL = 0x2
176 EPOLL_CTL_MOD = 0x3
177 EPOLL_NONBLOCK = 0x800
178 ETH_P_1588 = 0x88f7
179 ETH_P_8021Q = 0x8100
180 ETH_P_802_2 = 0x4
181 ETH_P_802_3 = 0x1
182 ETH_P_AARP = 0x80f3
183 ETH_P_ALL = 0x3
184 ETH_P_AOE = 0x88a2
185 ETH_P_ARCNET = 0x1a
186 ETH_P_ARP = 0x806
187 ETH_P_ATALK = 0x809b
188 ETH_P_ATMFATE = 0x8884
189 ETH_P_ATMMPOA = 0x884c
190 ETH_P_AX25 = 0x2
191 ETH_P_BPQ = 0x8ff
192 ETH_P_CAIF = 0xf7
193 ETH_P_CAN = 0xc
194 ETH_P_CONTROL = 0x16
195 ETH_P_CUST = 0x6006
196 ETH_P_DDCMP = 0x6
197 ETH_P_DEC = 0x6000
198 ETH_P_DIAG = 0x6005
199 ETH_P_DNA_DL = 0x6001
200 ETH_P_DNA_RC = 0x6002
201 ETH_P_DNA_RT = 0x6003
202 ETH_P_DSA = 0x1b
203 ETH_P_ECONET = 0x18
204 ETH_P_EDSA = 0xdada
205 ETH_P_FCOE = 0x8906
206 ETH_P_FIP = 0x8914
207 ETH_P_HDLC = 0x19
208 ETH_P_IEEE802154 = 0xf6
209 ETH_P_IEEEPUP = 0xa00
210 ETH_P_IEEEPUPAT = 0xa01
211 ETH_P_IP = 0x800
212 ETH_P_IPV6 = 0x86dd
213 ETH_P_IPX = 0x8137
214 ETH_P_IRDA = 0x17
215 ETH_P_LAT = 0x6004
216 ETH_P_LINK_CTL = 0x886c
217 ETH_P_LOCALTALK = 0x9
218 ETH_P_LOOP = 0x60
219 ETH_P_MOBITEX = 0x15
220 ETH_P_MPLS_MC = 0x8848
221 ETH_P_MPLS_UC = 0x8847
222 ETH_P_PAE = 0x888e
223 ETH_P_PAUSE = 0x8808
224 ETH_P_PHONET = 0xf5
225 ETH_P_PPPTALK = 0x10
226 ETH_P_PPP_DISC = 0x8863
227 ETH_P_PPP_MP = 0x8
228 ETH_P_PPP_SES = 0x8864
229 ETH_P_PUP = 0x200
230 ETH_P_PUPAT = 0x201
231 ETH_P_RARP = 0x8035
232 ETH_P_SCA = 0x6007
233 ETH_P_SLOW = 0x8809
234 ETH_P_SNAP = 0x5
235 ETH_P_TEB = 0x6558
236 ETH_P_TIPC = 0x88ca
237 ETH_P_TRAILER = 0x1c
238 ETH_P_TR_802_2 = 0x11
239 ETH_P_WAN_PPP = 0x7
240 ETH_P_WCCP = 0x883e
241 ETH_P_X25 = 0x805
242 FD_CLOEXEC = 0x1
243 FD_SETSIZE = 0x400
244 F_DUPFD = 0x0
245 F_DUPFD_CLOEXEC = 0x406
246 F_EXLCK = 0x4
247 F_GETFD = 0x1
248 F_GETFL = 0x3
249 F_GETLEASE = 0x401
250 F_GETLK = 0x5
251 F_GETLK64 = 0x5
252 F_GETOWN = 0x9
253 F_GETOWN_EX = 0x10
254 F_GETPIPE_SZ = 0x408
255 F_GETSIG = 0xb
256 F_LOCK = 0x1
257 F_NOTIFY = 0x402
258 F_OK = 0x0
259 F_RDLCK = 0x0
260 F_SETFD = 0x2
261 F_SETFL = 0x4
262 F_SETLEASE = 0x400
263 F_SETLK = 0x6
264 F_SETLK64 = 0x6
265 F_SETLKW = 0x7
266 F_SETLKW64 = 0x7
267 F_SETOWN = 0x8
268 F_SETOWN_EX = 0xf
269 F_SETPIPE_SZ = 0x407
270 F_SETSIG = 0xa
271 F_SHLCK = 0x8
272 F_TEST = 0x3
273 F_TLOCK = 0x2
274 F_ULOCK = 0x0
275 F_UNLCK = 0x2
276 F_WRLCK = 0x1
277 ICMPV6_FILTER = 0x1
278 IFA_F_DADFAILED = 0x8
279 IFA_F_DEPRECATED = 0x20
280 IFA_F_HOMEADDRESS = 0x10
281 IFA_F_NODAD = 0x2
282 IFA_F_OPTIMISTIC = 0x4
283 IFA_F_PERMANENT = 0x80
284 IFA_F_SECONDARY = 0x1
285 IFA_F_TEMPORARY = 0x1
286 IFA_F_TENTATIVE = 0x40
287 IFA_MAX = 0x7
288 IFF_ALLMULTI = 0x200
289 IFF_AUTOMEDIA = 0x4000
290 IFF_BROADCAST = 0x2
291 IFF_DEBUG = 0x4
292 IFF_DYNAMIC = 0x8000
293 IFF_LOOPBACK = 0x8
294 IFF_MASTER = 0x400
295 IFF_MULTICAST = 0x1000
296 IFF_NOARP = 0x80
297 IFF_NOTRAILERS = 0x20
298 IFF_NO_PI = 0x1000
299 IFF_ONE_QUEUE = 0x2000
300 IFF_POINTOPOINT = 0x10
301 IFF_PORTSEL = 0x2000
302 IFF_PROMISC = 0x100
303 IFF_RUNNING = 0x40
304 IFF_SLAVE = 0x800
305 IFF_TAP = 0x2
306 IFF_TUN = 0x1
307 IFF_TUN_EXCL = 0x8000
308 IFF_UP = 0x1
309 IFF_VNET_HDR = 0x4000
310 IFNAMSIZ = 0x10
311 IN_ACCESS = 0x1
312 IN_ALL_EVENTS = 0xfff
313 IN_ATTRIB = 0x4
314 IN_CLASSA_HOST = 0xffffff
315 IN_CLASSA_MAX = 0x80
316 IN_CLASSA_NET = 0xff000000
317 IN_CLASSA_NSHIFT = 0x18
318 IN_CLASSB_HOST = 0xffff
319 IN_CLASSB_MAX = 0x10000
320 IN_CLASSB_NET = 0xffff0000
321 IN_CLASSB_NSHIFT = 0x10
322 IN_CLASSC_HOST = 0xff
323 IN_CLASSC_NET = 0xffffff00
324 IN_CLASSC_NSHIFT = 0x8
325 IN_CLOEXEC = 0x80000
326 IN_CLOSE = 0x18
327 IN_CLOSE_NOWRITE = 0x10
328 IN_CLOSE_WRITE = 0x8
329 IN_CREATE = 0x100
330 IN_DELETE = 0x200
331 IN_DELETE_SELF = 0x400
332 IN_DONT_FOLLOW = 0x2000000
333 IN_EXCL_UNLINK = 0x4000000
334 IN_IGNORED = 0x8000
335 IN_ISDIR = 0x40000000
336 IN_LOOPBACKNET = 0x7f
337 IN_MASK_ADD = 0x20000000
338 IN_MODIFY = 0x2
339 IN_MOVE = 0xc0
340 IN_MOVED_FROM = 0x40
341 IN_MOVED_TO = 0x80
342 IN_MOVE_SELF = 0x800
343 IN_NONBLOCK = 0x800
344 IN_ONESHOT = 0x80000000
345 IN_ONLYDIR = 0x1000000
346 IN_OPEN = 0x20
347 IN_Q_OVERFLOW = 0x4000
348 IN_UNMOUNT = 0x2000
349 IPPROTO_AH = 0x33
350 IPPROTO_COMP = 0x6c
351 IPPROTO_DCCP = 0x21
352 IPPROTO_DSTOPTS = 0x3c
353 IPPROTO_EGP = 0x8
354 IPPROTO_ENCAP = 0x62
355 IPPROTO_ESP = 0x32
356 IPPROTO_FRAGMENT = 0x2c
357 IPPROTO_GRE = 0x2f
358 IPPROTO_HOPOPTS = 0x0
359 IPPROTO_ICMP = 0x1
360 IPPROTO_ICMPV6 = 0x3a
361 IPPROTO_IDP = 0x16
362 IPPROTO_IGMP = 0x2
363 IPPROTO_IP = 0x0
364 IPPROTO_IPIP = 0x4
365 IPPROTO_IPV6 = 0x29
366 IPPROTO_MTP = 0x5c
367 IPPROTO_NONE = 0x3b
368 IPPROTO_PIM = 0x67
369 IPPROTO_PUP = 0xc
370 IPPROTO_RAW = 0xff
371 IPPROTO_ROUTING = 0x2b
372 IPPROTO_RSVP = 0x2e
373 IPPROTO_SCTP = 0x84
374 IPPROTO_TCP = 0x6
375 IPPROTO_TP = 0x1d
376 IPPROTO_UDP = 0x11
377 IPPROTO_UDPLITE = 0x88
378 IPV6_2292DSTOPTS = 0x4
379 IPV6_2292HOPLIMIT = 0x8
380 IPV6_2292HOPOPTS = 0x3
381 IPV6_2292PKTINFO = 0x2
382 IPV6_2292PKTOPTIONS = 0x6
383 IPV6_2292RTHDR = 0x5
384 IPV6_ADDRFORM = 0x1
385 IPV6_ADD_MEMBERSHIP = 0x14
386 IPV6_AUTHHDR = 0xa
387 IPV6_CHECKSUM = 0x7
388 IPV6_DROP_MEMBERSHIP = 0x15
389 IPV6_DSTOPTS = 0x3b
390 IPV6_HOPLIMIT = 0x34
391 IPV6_HOPOPTS = 0x36
392 IPV6_IPSEC_POLICY = 0x22
393 IPV6_JOIN_ANYCAST = 0x1b
394 IPV6_JOIN_GROUP = 0x14
395 IPV6_LEAVE_ANYCAST = 0x1c
396 IPV6_LEAVE_GROUP = 0x15
397 IPV6_MTU = 0x18
398 IPV6_MTU_DISCOVER = 0x17
399 IPV6_MULTICAST_HOPS = 0x12
400 IPV6_MULTICAST_IF = 0x11
401 IPV6_MULTICAST_LOOP = 0x13
402 IPV6_NEXTHOP = 0x9
403 IPV6_PKTINFO = 0x32
404 IPV6_PMTUDISC_DO = 0x2
405 IPV6_PMTUDISC_DONT = 0x0
406 IPV6_PMTUDISC_PROBE = 0x3
407 IPV6_PMTUDISC_WANT = 0x1
408 IPV6_RECVDSTOPTS = 0x3a
409 IPV6_RECVERR = 0x19
410 IPV6_RECVHOPLIMIT = 0x33
411 IPV6_RECVHOPOPTS = 0x35
412 IPV6_RECVPKTINFO = 0x31
413 IPV6_RECVRTHDR = 0x38
414 IPV6_RECVTCLASS = 0x42
415 IPV6_ROUTER_ALERT = 0x16
416 IPV6_RTHDR = 0x39
417 IPV6_RTHDRDSTOPTS = 0x37
418 IPV6_RTHDR_LOOSE = 0x0
419 IPV6_RTHDR_STRICT = 0x1
420 IPV6_RTHDR_TYPE_0 = 0x0
421 IPV6_RXDSTOPTS = 0x3b
422 IPV6_RXHOPOPTS = 0x36
423 IPV6_TCLASS = 0x43
424 IPV6_UNICAST_HOPS = 0x10
425 IPV6_V6ONLY = 0x1a
426 IPV6_XFRM_POLICY = 0x23
427 IP_ADD_MEMBERSHIP = 0x23
428 IP_ADD_SOURCE_MEMBERSHIP = 0x27
429 IP_BLOCK_SOURCE = 0x26
430 IP_DEFAULT_MULTICAST_LOOP = 0x1
431 IP_DEFAULT_MULTICAST_TTL = 0x1
432 IP_DF = 0x4000
433 IP_DROP_MEMBERSHIP = 0x24
434 IP_DROP_SOURCE_MEMBERSHIP = 0x28
435 IP_FREEBIND = 0xf
436 IP_HDRINCL = 0x3
437 IP_IPSEC_POLICY = 0x10
438 IP_MAXPACKET = 0xffff
439 IP_MAX_MEMBERSHIPS = 0x14
440 IP_MF = 0x2000
441 IP_MINTTL = 0x15
442 IP_MSFILTER = 0x29
443 IP_MSS = 0x240
444 IP_MTU = 0xe
445 IP_MTU_DISCOVER = 0xa
446 IP_MULTICAST_IF = 0x20
447 IP_MULTICAST_LOOP = 0x22
448 IP_MULTICAST_TTL = 0x21
449 IP_OFFMASK = 0x1fff
450 IP_OPTIONS = 0x4
451 IP_ORIGDSTADDR = 0x14
452 IP_PASSSEC = 0x12
453 IP_PKTINFO = 0x8
454 IP_PKTOPTIONS = 0x9
455 IP_PMTUDISC = 0xa
456 IP_PMTUDISC_DO = 0x2
457 IP_PMTUDISC_DONT = 0x0
458 IP_PMTUDISC_PROBE = 0x3
459 IP_PMTUDISC_WANT = 0x1
460 IP_RECVERR = 0xb
461 IP_RECVOPTS = 0x6
462 IP_RECVORIGDSTADDR = 0x14
463 IP_RECVRETOPTS = 0x7
464 IP_RECVTOS = 0xd
465 IP_RECVTTL = 0xc
466 IP_RETOPTS = 0x7
467 IP_RF = 0x8000
468 IP_ROUTER_ALERT = 0x5
469 IP_TOS = 0x1
470 IP_TRANSPARENT = 0x13
471 IP_TTL = 0x2
472 IP_UNBLOCK_SOURCE = 0x25
473 IP_XFRM_POLICY = 0x11
474 LINUX_REBOOT_CMD_CAD_OFF = 0x0
475 LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
476 LINUX_REBOOT_CMD_HALT = 0xcdef0123
477 LINUX_REBOOT_CMD_KEXEC = 0x45584543
478 LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc
479 LINUX_REBOOT_CMD_RESTART = 0x1234567
480 LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4
481 LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2
482 LINUX_REBOOT_MAGIC1 = 0xfee1dead
483 LINUX_REBOOT_MAGIC2 = 0x28121969
484 LOCK_EX = 0x2
485 LOCK_NB = 0x4
486 LOCK_SH = 0x1
487 LOCK_UN = 0x8
488 MADV_DOFORK = 0xb
489 MADV_DONTFORK = 0xa
490 MADV_DONTNEED = 0x4
491 MADV_HUGEPAGE = 0xe
492 MADV_HWPOISON = 0x64
493 MADV_MERGEABLE = 0xc
494 MADV_NOHUGEPAGE = 0xf
495 MADV_NORMAL = 0x0
496 MADV_RANDOM = 0x1
497 MADV_REMOVE = 0x9
498 MADV_SEQUENTIAL = 0x2
499 MADV_UNMERGEABLE = 0xd
500 MADV_WILLNEED = 0x3
501 MAP_32BIT = 0x40
502 MAP_ANON = 0x20
503 MAP_ANONYMOUS = 0x20
504 MAP_DENYWRITE = 0x800
505 MAP_EXECUTABLE = 0x1000
506 MAP_FILE = 0x0
507 MAP_FIXED = 0x10
508 MAP_GROWSDOWN = 0x100
509 MAP_HUGETLB = 0x40000
510 MAP_LOCKED = 0x2000
511 MAP_NONBLOCK = 0x10000
512 MAP_NORESERVE = 0x4000
513 MAP_POPULATE = 0x8000
514 MAP_PRIVATE = 0x2
515 MAP_SHARED = 0x1
516 MAP_STACK = 0x20000
517 MAP_TYPE = 0xf
518 MCL_CURRENT = 0x1
519 MCL_FUTURE = 0x2
520 MNT_DETACH = 0x2
521 MNT_EXPIRE = 0x4
522 MNT_FORCE = 0x1
523 MSG_CMSG_CLOEXEC = 0x40000000
524 MSG_CONFIRM = 0x800
525 MSG_CTRUNC = 0x8
526 MSG_DONTROUTE = 0x4
527 MSG_DONTWAIT = 0x40
528 MSG_EOR = 0x80
529 MSG_ERRQUEUE = 0x2000
530 MSG_FASTOPEN = 0x20000000
531 MSG_FIN = 0x200
532 MSG_MORE = 0x8000
533 MSG_NOSIGNAL = 0x4000
534 MSG_OOB = 0x1
535 MSG_PEEK = 0x2
536 MSG_PROXY = 0x10
537 MSG_RST = 0x1000
538 MSG_SYN = 0x400
539 MSG_TRUNC = 0x20
540 MSG_TRYHARD = 0x4
541 MSG_WAITALL = 0x100
542 MSG_WAITFORONE = 0x10000
543 MS_ACTIVE = 0x40000000
544 MS_ASYNC = 0x1
545 MS_BIND = 0x1000
546 MS_DIRSYNC = 0x80
547 MS_INVALIDATE = 0x2
548 MS_I_VERSION = 0x800000
549 MS_KERNMOUNT = 0x400000
550 MS_MANDLOCK = 0x40
551 MS_MGC_MSK = 0xffff0000
552 MS_MGC_VAL = 0xc0ed0000
553 MS_MOVE = 0x2000
554 MS_NOATIME = 0x400
555 MS_NODEV = 0x4
556 MS_NODIRATIME = 0x800
557 MS_NOEXEC = 0x8
558 MS_NOSUID = 0x2
559 MS_NOUSER = -0x80000000
560 MS_POSIXACL = 0x10000
561 MS_PRIVATE = 0x40000
562 MS_RDONLY = 0x1
563 MS_REC = 0x4000
564 MS_RELATIME = 0x200000
565 MS_REMOUNT = 0x20
566 MS_RMT_MASK = 0x800051
567 MS_SHARED = 0x100000
568 MS_SILENT = 0x8000
569 MS_SLAVE = 0x80000
570 MS_STRICTATIME = 0x1000000
571 MS_SYNC = 0x4
572 MS_SYNCHRONOUS = 0x10
573 MS_UNBINDABLE = 0x20000
574 NAME_MAX = 0xff
575 NETLINK_ADD_MEMBERSHIP = 0x1
576 NETLINK_AUDIT = 0x9
577 NETLINK_BROADCAST_ERROR = 0x4
578 NETLINK_CONNECTOR = 0xb
579 NETLINK_DNRTMSG = 0xe
580 NETLINK_DROP_MEMBERSHIP = 0x2
581 NETLINK_ECRYPTFS = 0x13
582 NETLINK_FIB_LOOKUP = 0xa
583 NETLINK_FIREWALL = 0x3
584 NETLINK_GENERIC = 0x10
585 NETLINK_INET_DIAG = 0x4
586 NETLINK_IP6_FW = 0xd
587 NETLINK_ISCSI = 0x8
588 NETLINK_KOBJECT_UEVENT = 0xf
589 NETLINK_NETFILTER = 0xc
590 NETLINK_NFLOG = 0x5
591 NETLINK_NO_ENOBUFS = 0x5
592 NETLINK_PKTINFO = 0x3
593 NETLINK_ROUTE = 0x0
594 NETLINK_SCSITRANSPORT = 0x12
595 NETLINK_SELINUX = 0x7
596 NETLINK_UNUSED = 0x1
597 NETLINK_USERSOCK = 0x2
598 NETLINK_XFRM = 0x6
599 NLA_ALIGNTO = 0x4
600 NLA_F_NESTED = 0x8000
601 NLA_F_NET_BYTEORDER = 0x4000
602 NLA_HDRLEN = 0x4
603 NLMSG_ALIGNTO = 0x4
604 NLMSG_DONE = 0x3
605 NLMSG_ERROR = 0x2
606 NLMSG_HDRLEN = 0x10
607 NLMSG_MIN_TYPE = 0x10
608 NLMSG_NOOP = 0x1
609 NLMSG_OVERRUN = 0x4
610 NLM_F_ACK = 0x4
611 NLM_F_APPEND = 0x800
612 NLM_F_ATOMIC = 0x400
613 NLM_F_CREATE = 0x400
614 NLM_F_DUMP = 0x300
615 NLM_F_ECHO = 0x8
616 NLM_F_EXCL = 0x200
617 NLM_F_MATCH = 0x200
618 NLM_F_MULTI = 0x2
619 NLM_F_REPLACE = 0x100
620 NLM_F_REQUEST = 0x1
621 NLM_F_ROOT = 0x100
622 O_ACCMODE = 0x3
623 O_APPEND = 0x400
624 O_ASYNC = 0x2000
625 O_CLOEXEC = 0x80000
626 O_CREAT = 0x40
627 O_DIRECT = 0x4000
628 O_DIRECTORY = 0x10000
629 O_DSYNC = 0x1000
630 O_EXCL = 0x80
631 O_FSYNC = 0x101000
632 O_LARGEFILE = 0x0
633 O_NDELAY = 0x800
634 O_NOATIME = 0x40000
635 O_NOCTTY = 0x100
636 O_NOFOLLOW = 0x20000
637 O_NONBLOCK = 0x800
638 O_RDONLY = 0x0
639 O_RDWR = 0x2
640 O_RSYNC = 0x101000
641 O_SYNC = 0x101000
642 O_TRUNC = 0x200
643 O_WRONLY = 0x1
644 PACKET_ADD_MEMBERSHIP = 0x1
645 PACKET_BROADCAST = 0x1
646 PACKET_DROP_MEMBERSHIP = 0x2
647 PACKET_FASTROUTE = 0x6
648 PACKET_HOST = 0x0
649 PACKET_LOOPBACK = 0x5
650 PACKET_MR_ALLMULTI = 0x2
651 PACKET_MR_MULTICAST = 0x0
652 PACKET_MR_PROMISC = 0x1
653 PACKET_MULTICAST = 0x2
654 PACKET_OTHERHOST = 0x3
655 PACKET_OUTGOING = 0x4
656 PACKET_RECV_OUTPUT = 0x3
657 PACKET_RX_RING = 0x5
658 PACKET_STATISTICS = 0x6
659 PRIO_PGRP = 0x1
660 PRIO_PROCESS = 0x0
661 PRIO_USER = 0x2
662 PROT_EXEC = 0x4
663 PROT_GROWSDOWN = 0x1000000
664 PROT_GROWSUP = 0x2000000
665 PROT_NONE = 0x0
666 PROT_READ = 0x1
667 PROT_WRITE = 0x2
668 PR_CAPBSET_DROP = 0x18
669 PR_CAPBSET_READ = 0x17
670 PR_ENDIAN_BIG = 0x0
671 PR_ENDIAN_LITTLE = 0x1
672 PR_ENDIAN_PPC_LITTLE = 0x2
673 PR_FPEMU_NOPRINT = 0x1
674 PR_FPEMU_SIGFPE = 0x2
675 PR_FP_EXC_ASYNC = 0x2
676 PR_FP_EXC_DISABLED = 0x0
677 PR_FP_EXC_DIV = 0x10000
678 PR_FP_EXC_INV = 0x100000
679 PR_FP_EXC_NONRECOV = 0x1
680 PR_FP_EXC_OVF = 0x20000
681 PR_FP_EXC_PRECISE = 0x3
682 PR_FP_EXC_RES = 0x80000
683 PR_FP_EXC_SW_ENABLE = 0x80
684 PR_FP_EXC_UND = 0x40000
685 PR_GET_DUMPABLE = 0x3
686 PR_GET_ENDIAN = 0x13
687 PR_GET_FPEMU = 0x9
688 PR_GET_FPEXC = 0xb
689 PR_GET_KEEPCAPS = 0x7
690 PR_GET_NAME = 0x10
691 PR_GET_PDEATHSIG = 0x2
692 PR_GET_SECCOMP = 0x15
693 PR_GET_SECUREBITS = 0x1b
694 PR_GET_TIMERSLACK = 0x1e
695 PR_GET_TIMING = 0xd
696 PR_GET_TSC = 0x19
697 PR_GET_UNALIGN = 0x5
698 PR_MCE_KILL = 0x21
699 PR_MCE_KILL_CLEAR = 0x0
700 PR_MCE_KILL_DEFAULT = 0x2
701 PR_MCE_KILL_EARLY = 0x1
702 PR_MCE_KILL_GET = 0x22
703 PR_MCE_KILL_LATE = 0x0
704 PR_MCE_KILL_SET = 0x1
705 PR_SET_DUMPABLE = 0x4
706 PR_SET_ENDIAN = 0x14
707 PR_SET_FPEMU = 0xa
708 PR_SET_FPEXC = 0xc
709 PR_SET_KEEPCAPS = 0x8
710 PR_SET_NAME = 0xf
711 PR_SET_PDEATHSIG = 0x1
712 PR_SET_PTRACER = 0x59616d61
713 PR_SET_SECCOMP = 0x16
714 PR_SET_SECUREBITS = 0x1c
715 PR_SET_TIMERSLACK = 0x1d
716 PR_SET_TIMING = 0xe
717 PR_SET_TSC = 0x1a
718 PR_SET_UNALIGN = 0x6
719 PR_TASK_PERF_EVENTS_DISABLE = 0x1f
720 PR_TASK_PERF_EVENTS_ENABLE = 0x20
721 PR_TIMING_STATISTICAL = 0x0
722 PR_TIMING_TIMESTAMP = 0x1
723 PR_TSC_ENABLE = 0x1
724 PR_TSC_SIGSEGV = 0x2
725 PR_UNALIGN_NOPRINT = 0x1
726 PR_UNALIGN_SIGBUS = 0x2
727 PTRACE_ARCH_PRCTL = 0x1e
728 PTRACE_ATTACH = 0x10
729 PTRACE_CONT = 0x7
730 PTRACE_DETACH = 0x11
731 PTRACE_EVENT_CLONE = 0x3
732 PTRACE_EVENT_EXEC = 0x4
733 PTRACE_EVENT_EXIT = 0x6
734 PTRACE_EVENT_FORK = 0x1
735 PTRACE_EVENT_VFORK = 0x2
736 PTRACE_EVENT_VFORK_DONE = 0x5
737 PTRACE_GETEVENTMSG = 0x4201
738 PTRACE_GETFPREGS = 0xe
739 PTRACE_GETFPXREGS = 0x12
740 PTRACE_GETREGS = 0xc
741 PTRACE_GETREGSET = 0x4204
742 PTRACE_GETSIGINFO = 0x4202
743 PTRACE_GET_THREAD_AREA = 0x19
744 PTRACE_KILL = 0x8
745 PTRACE_OLDSETOPTIONS = 0x15
746 PTRACE_O_MASK = 0x7f
747 PTRACE_O_TRACECLONE = 0x8
748 PTRACE_O_TRACEEXEC = 0x10
749 PTRACE_O_TRACEEXIT = 0x40
750 PTRACE_O_TRACEFORK = 0x2
751 PTRACE_O_TRACESYSGOOD = 0x1
752 PTRACE_O_TRACEVFORK = 0x4
753 PTRACE_O_TRACEVFORKDONE = 0x20
754 PTRACE_PEEKDATA = 0x2
755 PTRACE_PEEKTEXT = 0x1
756 PTRACE_PEEKUSR = 0x3
757 PTRACE_POKEDATA = 0x5
758 PTRACE_POKETEXT = 0x4
759 PTRACE_POKEUSR = 0x6
760 PTRACE_SETFPREGS = 0xf
761 PTRACE_SETFPXREGS = 0x13
762 PTRACE_SETOPTIONS = 0x4200
763 PTRACE_SETREGS = 0xd
764 PTRACE_SETREGSET = 0x4205
765 PTRACE_SETSIGINFO = 0x4203
766 PTRACE_SET_THREAD_AREA = 0x1a
767 PTRACE_SINGLEBLOCK = 0x21
768 PTRACE_SINGLESTEP = 0x9
769 PTRACE_SYSCALL = 0x18
770 PTRACE_SYSEMU = 0x1f
771 PTRACE_SYSEMU_SINGLESTEP = 0x20
772 PTRACE_TRACEME = 0x0
773 RLIMIT_AS = 0x9
774 RLIMIT_CORE = 0x4
775 RLIMIT_CPU = 0x0
776 RLIMIT_DATA = 0x2
777 RLIMIT_FSIZE = 0x1
778 RLIMIT_NOFILE = 0x7
779 RLIMIT_STACK = 0x3
780 RLIM_INFINITY = -0x1
781 RTAX_ADVMSS = 0x8
782 RTAX_CWND = 0x7
783 RTAX_FEATURES = 0xc
784 RTAX_FEATURE_ALLFRAG = 0x8
785 RTAX_FEATURE_ECN = 0x1
786 RTAX_FEATURE_SACK = 0x2
787 RTAX_FEATURE_TIMESTAMP = 0x4
788 RTAX_HOPLIMIT = 0xa
789 RTAX_INITCWND = 0xb
790 RTAX_INITRWND = 0xe
791 RTAX_LOCK = 0x1
792 RTAX_MAX = 0xe
793 RTAX_MTU = 0x2
794 RTAX_REORDERING = 0x9
795 RTAX_RTO_MIN = 0xd
796 RTAX_RTT = 0x4
797 RTAX_RTTVAR = 0x5
798 RTAX_SSTHRESH = 0x6
799 RTAX_UNSPEC = 0x0
800 RTAX_WINDOW = 0x3
801 RTA_ALIGNTO = 0x4
802 RTA_MAX = 0x10
803 RTCF_DIRECTSRC = 0x4000000
804 RTCF_DOREDIRECT = 0x1000000
805 RTCF_LOG = 0x2000000
806 RTCF_MASQ = 0x400000
807 RTCF_NAT = 0x800000
808 RTCF_VALVE = 0x200000
809 RTF_ADDRCLASSMASK = 0xf8000000
810 RTF_ADDRCONF = 0x40000
811 RTF_ALLONLINK = 0x20000
812 RTF_BROADCAST = 0x10000000
813 RTF_CACHE = 0x1000000
814 RTF_DEFAULT = 0x10000
815 RTF_DYNAMIC = 0x10
816 RTF_FLOW = 0x2000000
817 RTF_GATEWAY = 0x2
818 RTF_HOST = 0x4
819 RTF_INTERFACE = 0x40000000
820 RTF_IRTT = 0x100
821 RTF_LINKRT = 0x100000
822 RTF_LOCAL = 0x80000000
823 RTF_MODIFIED = 0x20
824 RTF_MSS = 0x40
825 RTF_MTU = 0x40
826 RTF_MULTICAST = 0x20000000
827 RTF_NAT = 0x8000000
828 RTF_NOFORWARD = 0x1000
829 RTF_NONEXTHOP = 0x200000
830 RTF_NOPMTUDISC = 0x4000
831 RTF_POLICY = 0x4000000
832 RTF_REINSTATE = 0x8
833 RTF_REJECT = 0x200
834 RTF_STATIC = 0x400
835 RTF_THROW = 0x2000
836 RTF_UP = 0x1
837 RTF_WINDOW = 0x80
838 RTF_XRESOLVE = 0x800
839 RTM_BASE = 0x10
840 RTM_DELACTION = 0x31
841 RTM_DELADDR = 0x15
842 RTM_DELADDRLABEL = 0x49
843 RTM_DELLINK = 0x11
844 RTM_DELNEIGH = 0x1d
845 RTM_DELQDISC = 0x25
846 RTM_DELROUTE = 0x19
847 RTM_DELRULE = 0x21
848 RTM_DELTCLASS = 0x29
849 RTM_DELTFILTER = 0x2d
850 RTM_F_CLONED = 0x200
851 RTM_F_EQUALIZE = 0x400
852 RTM_F_NOTIFY = 0x100
853 RTM_F_PREFIX = 0x800
854 RTM_GETACTION = 0x32
855 RTM_GETADDR = 0x16
856 RTM_GETADDRLABEL = 0x4a
857 RTM_GETANYCAST = 0x3e
858 RTM_GETDCB = 0x4e
859 RTM_GETLINK = 0x12
860 RTM_GETMULTICAST = 0x3a
861 RTM_GETNEIGH = 0x1e
862 RTM_GETNEIGHTBL = 0x42
863 RTM_GETQDISC = 0x26
864 RTM_GETROUTE = 0x1a
865 RTM_GETRULE = 0x22
866 RTM_GETTCLASS = 0x2a
867 RTM_GETTFILTER = 0x2e
868 RTM_MAX = 0x4f
869 RTM_NEWACTION = 0x30
870 RTM_NEWADDR = 0x14
871 RTM_NEWADDRLABEL = 0x48
872 RTM_NEWLINK = 0x10
873 RTM_NEWNDUSEROPT = 0x44
874 RTM_NEWNEIGH = 0x1c
875 RTM_NEWNEIGHTBL = 0x40
876 RTM_NEWPREFIX = 0x34
877 RTM_NEWQDISC = 0x24
878 RTM_NEWROUTE = 0x18
879 RTM_NEWRULE = 0x20
880 RTM_NEWTCLASS = 0x28
881 RTM_NEWTFILTER = 0x2c
882 RTM_NR_FAMILIES = 0x10
883 RTM_NR_MSGTYPES = 0x40
884 RTM_SETDCB = 0x4f
885 RTM_SETLINK = 0x13
886 RTM_SETNEIGHTBL = 0x43
887 RTNH_ALIGNTO = 0x4
888 RTNH_F_DEAD = 0x1
889 RTNH_F_ONLINK = 0x4
890 RTNH_F_PERVASIVE = 0x2
891 RTN_MAX = 0xb
892 RTPROT_BIRD = 0xc
893 RTPROT_BOOT = 0x3
894 RTPROT_DHCP = 0x10
895 RTPROT_DNROUTED = 0xd
896 RTPROT_GATED = 0x8
897 RTPROT_KERNEL = 0x2
898 RTPROT_MRT = 0xa
899 RTPROT_NTK = 0xf
900 RTPROT_RA = 0x9
901 RTPROT_REDIRECT = 0x1
902 RTPROT_STATIC = 0x4
903 RTPROT_UNSPEC = 0x0
904 RTPROT_XORP = 0xe
905 RTPROT_ZEBRA = 0xb
906 RT_CLASS_DEFAULT = 0xfd
907 RT_CLASS_LOCAL = 0xff
908 RT_CLASS_MAIN = 0xfe
909 RT_CLASS_MAX = 0xff
910 RT_CLASS_UNSPEC = 0x0
911 RUSAGE_CHILDREN = -0x1
912 RUSAGE_SELF = 0x0
913 RUSAGE_THREAD = 0x1
914 SCM_CREDENTIALS = 0x2
915 SCM_RIGHTS = 0x1
916 SCM_TIMESTAMP = 0x1d
917 SCM_TIMESTAMPING = 0x25
918 SCM_TIMESTAMPNS = 0x23
919 SHUT_RD = 0x0
920 SHUT_RDWR = 0x2
921 SHUT_WR = 0x1
922 SIOCADDDLCI = 0x8980
923 SIOCADDMULTI = 0x8931
924 SIOCADDRT = 0x890b
925 SIOCATMARK = 0x8905
926 SIOCDARP = 0x8953
927 SIOCDELDLCI = 0x8981
928 SIOCDELMULTI = 0x8932
929 SIOCDELRT = 0x890c
930 SIOCDEVPRIVATE = 0x89f0
931 SIOCDIFADDR = 0x8936
932 SIOCDRARP = 0x8960
933 SIOCGARP = 0x8954
934 SIOCGIFADDR = 0x8915
935 SIOCGIFBR = 0x8940
936 SIOCGIFBRDADDR = 0x8919
937 SIOCGIFCONF = 0x8912
938 SIOCGIFCOUNT = 0x8938
939 SIOCGIFDSTADDR = 0x8917
940 SIOCGIFENCAP = 0x8925
941 SIOCGIFFLAGS = 0x8913
942 SIOCGIFHWADDR = 0x8927
943 SIOCGIFINDEX = 0x8933
944 SIOCGIFMAP = 0x8970
945 SIOCGIFMEM = 0x891f
946 SIOCGIFMETRIC = 0x891d
947 SIOCGIFMTU = 0x8921
948 SIOCGIFNAME = 0x8910
949 SIOCGIFNETMASK = 0x891b
950 SIOCGIFPFLAGS = 0x8935
951 SIOCGIFSLAVE = 0x8929
952 SIOCGIFTXQLEN = 0x8942
953 SIOCGPGRP = 0x8904
954 SIOCGRARP = 0x8961
955 SIOCGSTAMP = 0x8906
956 SIOCGSTAMPNS = 0x8907
957 SIOCPROTOPRIVATE = 0x89e0
958 SIOCRTMSG = 0x890d
959 SIOCSARP = 0x8955
960 SIOCSIFADDR = 0x8916
961 SIOCSIFBR = 0x8941
962 SIOCSIFBRDADDR = 0x891a
963 SIOCSIFDSTADDR = 0x8918
964 SIOCSIFENCAP = 0x8926
965 SIOCSIFFLAGS = 0x8914
966 SIOCSIFHWADDR = 0x8924
967 SIOCSIFHWBROADCAST = 0x8937
968 SIOCSIFLINK = 0x8911
969 SIOCSIFMAP = 0x8971
970 SIOCSIFMEM = 0x8920
971 SIOCSIFMETRIC = 0x891e
972 SIOCSIFMTU = 0x8922
973 SIOCSIFNAME = 0x8923
974 SIOCSIFNETMASK = 0x891c
975 SIOCSIFPFLAGS = 0x8934
976 SIOCSIFSLAVE = 0x8930
977 SIOCSIFTXQLEN = 0x8943
978 SIOCSPGRP = 0x8902
979 SIOCSRARP = 0x8962
980 SOCK_CLOEXEC = 0x80000
981 SOCK_DCCP = 0x6
982 SOCK_DGRAM = 0x2
983 SOCK_NONBLOCK = 0x800
984 SOCK_PACKET = 0xa
985 SOCK_RAW = 0x3
986 SOCK_RDM = 0x4
987 SOCK_SEQPACKET = 0x5
988 SOCK_STREAM = 0x1
989 SOL_AAL = 0x109
990 SOL_ATM = 0x108
991 SOL_DECNET = 0x105
992 SOL_ICMPV6 = 0x3a
993 SOL_IP = 0x0
994 SOL_IPV6 = 0x29
995 SOL_IRDA = 0x10a
996 SOL_PACKET = 0x107
997 SOL_RAW = 0xff
998 SOL_SOCKET = 0x1
999 SOL_TCP = 0x6
1000 SOL_X25 = 0x106
1001 SOMAXCONN = 0x80
1002 SO_ACCEPTCONN = 0x1e
1003 SO_ATTACH_FILTER = 0x1a
1004 SO_BINDTODEVICE = 0x19
1005 SO_BROADCAST = 0x6
1006 SO_BSDCOMPAT = 0xe
1007 SO_DEBUG = 0x1
1008 SO_DETACH_FILTER = 0x1b
1009 SO_DOMAIN = 0x27
1010 SO_DONTROUTE = 0x5
1011 SO_ERROR = 0x4
1012 SO_KEEPALIVE = 0x9
1013 SO_LINGER = 0xd
1014 SO_MARK = 0x24
1015 SO_NO_CHECK = 0xb
1016 SO_OOBINLINE = 0xa
1017 SO_PASSCRED = 0x10
1018 SO_PASSSEC = 0x22
1019 SO_PEERCRED = 0x11
1020 SO_PEERNAME = 0x1c
1021 SO_PEERSEC = 0x1f
1022 SO_PRIORITY = 0xc
1023 SO_PROTOCOL = 0x26
1024 SO_RCVBUF = 0x8
1025 SO_RCVBUFFORCE = 0x21
1026 SO_RCVLOWAT = 0x12
1027 SO_RCVTIMEO = 0x14
1028 SO_REUSEADDR = 0x2
1029 SO_RXQ_OVFL = 0x28
1030 SO_SECURITY_AUTHENTICATION = 0x16
1031 SO_SECURITY_ENCRYPTION_NETWORK = 0x18
1032 SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17
1033 SO_SNDBUF = 0x7
1034 SO_SNDBUFFORCE = 0x20
1035 SO_SNDLOWAT = 0x13
1036 SO_SNDTIMEO = 0x15
1037 SO_TIMESTAMP = 0x1d
1038 SO_TIMESTAMPING = 0x25
1039 SO_TIMESTAMPNS = 0x23
1040 SO_TYPE = 0x3
1041 S_BLKSIZE = 0x200
1042 S_IEXEC = 0x40
1043 S_IFBLK = 0x6000
1044 S_IFCHR = 0x2000
1045 S_IFDIR = 0x4000
1046 S_IFIFO = 0x1000
1047 S_IFLNK = 0xa000
1048 S_IFMT = 0xf000
1049 S_IFREG = 0x8000
1050 S_IFSOCK = 0xc000
1051 S_IREAD = 0x100
1052 S_IRGRP = 0x20
1053 S_IROTH = 0x4
1054 S_IRUSR = 0x100
1055 S_IRWXG = 0x38
1056 S_IRWXO = 0x7
1057 S_IRWXU = 0x1c0
1058 S_ISGID = 0x400
1059 S_ISUID = 0x800
1060 S_ISVTX = 0x200
1061 S_IWGRP = 0x10
1062 S_IWOTH = 0x2
1063 S_IWRITE = 0x80
1064 S_IWUSR = 0x80
1065 S_IXGRP = 0x8
1066 S_IXOTH = 0x1
1067 S_IXUSR = 0x40
1068 TCIFLUSH = 0x0
1069 TCIOFLUSH = 0x2
1070 TCOFLUSH = 0x1
1071 TCP_CONGESTION = 0xd
1072 TCP_CORK = 0x3
1073 TCP_DEFER_ACCEPT = 0x9
1074 TCP_INFO = 0xb
1075 TCP_KEEPCNT = 0x6
1076 TCP_KEEPIDLE = 0x4
1077 TCP_KEEPINTVL = 0x5
1078 TCP_LINGER2 = 0x8
1079 TCP_MAXSEG = 0x2
1080 TCP_MAXWIN = 0xffff
1081 TCP_MAX_WINSHIFT = 0xe
1082 TCP_MD5SIG = 0xe
1083 TCP_MD5SIG_MAXKEYLEN = 0x50
1084 TCP_MSS = 0x200
1085 TCP_NODELAY = 0x1
1086 TCP_QUICKACK = 0xc
1087 TCP_SYNCNT = 0x7
1088 TCP_WINDOW_CLAMP = 0xa
1089 TIOCCBRK = 0x5428
1090 TIOCCONS = 0x541d
1091 TIOCEXCL = 0x540c
1092 TIOCGDEV = 0x80045432
1093 TIOCGETD = 0x5424
1094 TIOCGICOUNT = 0x545d
1095 TIOCGLCKTRMIOS = 0x5456
1096 TIOCGPGRP = 0x540f
1097 TIOCGPTN = 0x80045430
1098 TIOCGRS485 = 0x542e
1099 TIOCGSERIAL = 0x541e
1100 TIOCGSID = 0x5429
1101 TIOCGSOFTCAR = 0x5419
1102 TIOCGWINSZ = 0x5413
1103 TIOCINQ = 0x541b
1104 TIOCLINUX = 0x541c
1105 TIOCMBIC = 0x5417
1106 TIOCMBIS = 0x5416
1107 TIOCMGET = 0x5415
1108 TIOCMIWAIT = 0x545c
1109 TIOCMSET = 0x5418
1110 TIOCM_CAR = 0x40
1111 TIOCM_CD = 0x40
1112 TIOCM_CTS = 0x20
1113 TIOCM_DSR = 0x100
1114 TIOCM_DTR = 0x2
1115 TIOCM_LE = 0x1
1116 TIOCM_RI = 0x80
1117 TIOCM_RNG = 0x80
1118 TIOCM_RTS = 0x4
1119 TIOCM_SR = 0x10
1120 TIOCM_ST = 0x8
1121 TIOCNOTTY = 0x5422
1122 TIOCNXCL = 0x540d
1123 TIOCOUTQ = 0x5411
1124 TIOCPKT = 0x5420
1125 TIOCPKT_DATA = 0x0
1126 TIOCPKT_DOSTOP = 0x20
1127 TIOCPKT_FLUSHREAD = 0x1
1128 TIOCPKT_FLUSHWRITE = 0x2
1129 TIOCPKT_IOCTL = 0x40
1130 TIOCPKT_NOSTOP = 0x10
1131 TIOCPKT_START = 0x8
1132 TIOCPKT_STOP = 0x4
1133 TIOCSBRK = 0x5427
1134 TIOCSCTTY = 0x540e
1135 TIOCSERCONFIG = 0x5453
1136 TIOCSERGETLSR = 0x5459
1137 TIOCSERGETMULTI = 0x545a
1138 TIOCSERGSTRUCT = 0x5458
1139 TIOCSERGWILD = 0x5454
1140 TIOCSERSETMULTI = 0x545b
1141 TIOCSERSWILD = 0x5455
1142 TIOCSER_TEMT = 0x1
1143 TIOCSETD = 0x5423
1144 TIOCSIG = 0x40045436
1145 TIOCSLCKTRMIOS = 0x5457
1146 TIOCSPGRP = 0x5410
1147 TIOCSPTLCK = 0x40045431
1148 TIOCSRS485 = 0x542f
1149 TIOCSSERIAL = 0x541f
1150 TIOCSSOFTCAR = 0x541a
1151 TIOCSTI = 0x5412
1152 TIOCSWINSZ = 0x5414
1153 TUNATTACHFILTER = 0x401054d5
1154 TUNDETACHFILTER = 0x401054d6
1155 TUNGETFEATURES = 0x800454cf
1156 TUNGETIFF = 0x800454d2
1157 TUNGETSNDBUF = 0x800454d3
1158 TUNGETVNETHDRSZ = 0x800454d7
1159 TUNSETDEBUG = 0x400454c9
1160 TUNSETGROUP = 0x400454ce
1161 TUNSETIFF = 0x400454ca
1162 TUNSETLINK = 0x400454cd
1163 TUNSETNOCSUM = 0x400454c8
1164 TUNSETOFFLOAD = 0x400454d0
1165 TUNSETOWNER = 0x400454cc
1166 TUNSETPERSIST = 0x400454cb
1167 TUNSETSNDBUF = 0x400454d4
1168 TUNSETTXFILTER = 0x400454d1
1169 TUNSETVNETHDRSZ = 0x400454d8
1170 WALL = 0x40000000
1171 WCLONE = 0x80000000
1172 WCONTINUED = 0x8
1173 WEXITED = 0x4
1174 WNOHANG = 0x1
1175 WNOTHREAD = 0x20000000
1176 WNOWAIT = 0x1000000
1177 WORDSIZE = 0x40
1178 WSTOPPED = 0x2
1179 WUNTRACED = 0x2
1180 )
1181
1182
1183 const (
1184 E2BIG = Errno(0x7)
1185 EACCES = Errno(0xd)
1186 EADDRINUSE = Errno(0x62)
1187 EADDRNOTAVAIL = Errno(0x63)
1188 EADV = Errno(0x44)
1189 EAFNOSUPPORT = Errno(0x61)
1190 EAGAIN = Errno(0xb)
1191 EALREADY = Errno(0x72)
1192 EBADE = Errno(0x34)
1193 EBADF = Errno(0x9)
1194 EBADFD = Errno(0x4d)
1195 EBADMSG = Errno(0x4a)
1196 EBADR = Errno(0x35)
1197 EBADRQC = Errno(0x38)
1198 EBADSLT = Errno(0x39)
1199 EBFONT = Errno(0x3b)
1200 EBUSY = Errno(0x10)
1201 ECANCELED = Errno(0x7d)
1202 ECHILD = Errno(0xa)
1203 ECHRNG = Errno(0x2c)
1204 ECOMM = Errno(0x46)
1205 ECONNABORTED = Errno(0x67)
1206 ECONNREFUSED = Errno(0x6f)
1207 ECONNRESET = Errno(0x68)
1208 EDEADLK = Errno(0x23)
1209 EDEADLOCK = Errno(0x23)
1210 EDESTADDRREQ = Errno(0x59)
1211 EDOM = Errno(0x21)
1212 EDOTDOT = Errno(0x49)
1213 EDQUOT = Errno(0x7a)
1214 EEXIST = Errno(0x11)
1215 EFAULT = Errno(0xe)
1216 EFBIG = Errno(0x1b)
1217 EHOSTDOWN = Errno(0x70)
1218 EHOSTUNREACH = Errno(0x71)
1219 EIDRM = Errno(0x2b)
1220 EILSEQ = Errno(0x54)
1221 EINPROGRESS = Errno(0x73)
1222 EINTR = Errno(0x4)
1223 EINVAL = Errno(0x16)
1224 EIO = Errno(0x5)
1225 EISCONN = Errno(0x6a)
1226 EISDIR = Errno(0x15)
1227 EISNAM = Errno(0x78)
1228 EKEYEXPIRED = Errno(0x7f)
1229 EKEYREJECTED = Errno(0x81)
1230 EKEYREVOKED = Errno(0x80)
1231 EL2HLT = Errno(0x33)
1232 EL2NSYNC = Errno(0x2d)
1233 EL3HLT = Errno(0x2e)
1234 EL3RST = Errno(0x2f)
1235 ELIBACC = Errno(0x4f)
1236 ELIBBAD = Errno(0x50)
1237 ELIBEXEC = Errno(0x53)
1238 ELIBMAX = Errno(0x52)
1239 ELIBSCN = Errno(0x51)
1240 ELNRNG = Errno(0x30)
1241 ELOOP = Errno(0x28)
1242 EMEDIUMTYPE = Errno(0x7c)
1243 EMFILE = Errno(0x18)
1244 EMLINK = Errno(0x1f)
1245 EMSGSIZE = Errno(0x5a)
1246 EMULTIHOP = Errno(0x48)
1247 ENAMETOOLONG = Errno(0x24)
1248 ENAVAIL = Errno(0x77)
1249 ENETDOWN = Errno(0x64)
1250 ENETRESET = Errno(0x66)
1251 ENETUNREACH = Errno(0x65)
1252 ENFILE = Errno(0x17)
1253 ENOANO = Errno(0x37)
1254 ENOBUFS = Errno(0x69)
1255 ENOCSI = Errno(0x32)
1256 ENODATA = Errno(0x3d)
1257 ENODEV = Errno(0x13)
1258 ENOENT = Errno(0x2)
1259 ENOEXEC = Errno(0x8)
1260 ENOKEY = Errno(0x7e)
1261 ENOLCK = Errno(0x25)
1262 ENOLINK = Errno(0x43)
1263 ENOMEDIUM = Errno(0x7b)
1264 ENOMEM = Errno(0xc)
1265 ENOMSG = Errno(0x2a)
1266 ENONET = Errno(0x40)
1267 ENOPKG = Errno(0x41)
1268 ENOPROTOOPT = Errno(0x5c)
1269 ENOSPC = Errno(0x1c)
1270 ENOSR = Errno(0x3f)
1271 ENOSTR = Errno(0x3c)
1272 ENOSYS = Errno(0x26)
1273 ENOTBLK = Errno(0xf)
1274 ENOTCONN = Errno(0x6b)
1275 ENOTDIR = Errno(0x14)
1276 ENOTEMPTY = Errno(0x27)
1277 ENOTNAM = Errno(0x76)
1278 ENOTRECOVERABLE = Errno(0x83)
1279 ENOTSOCK = Errno(0x58)
1280 ENOTSUP = Errno(0x5f)
1281 ENOTTY = Errno(0x19)
1282 ENOTUNIQ = Errno(0x4c)
1283 ENXIO = Errno(0x6)
1284 EOPNOTSUPP = Errno(0x5f)
1285 EOVERFLOW = Errno(0x4b)
1286 EOWNERDEAD = Errno(0x82)
1287 EPERM = Errno(0x1)
1288 EPFNOSUPPORT = Errno(0x60)
1289 EPIPE = Errno(0x20)
1290 EPROTO = Errno(0x47)
1291 EPROTONOSUPPORT = Errno(0x5d)
1292 EPROTOTYPE = Errno(0x5b)
1293 ERANGE = Errno(0x22)
1294 EREMCHG = Errno(0x4e)
1295 EREMOTE = Errno(0x42)
1296 EREMOTEIO = Errno(0x79)
1297 ERESTART = Errno(0x55)
1298 ERFKILL = Errno(0x84)
1299 EROFS = Errno(0x1e)
1300 ESHUTDOWN = Errno(0x6c)
1301 ESOCKTNOSUPPORT = Errno(0x5e)
1302 ESPIPE = Errno(0x1d)
1303 ESRCH = Errno(0x3)
1304 ESRMNT = Errno(0x45)
1305 ESTALE = Errno(0x74)
1306 ESTRPIPE = Errno(0x56)
1307 ETIME = Errno(0x3e)
1308 ETIMEDOUT = Errno(0x6e)
1309 ETOOMANYREFS = Errno(0x6d)
1310 ETXTBSY = Errno(0x1a)
1311 EUCLEAN = Errno(0x75)
1312 EUNATCH = Errno(0x31)
1313 EUSERS = Errno(0x57)
1314 EWOULDBLOCK = Errno(0xb)
1315 EXDEV = Errno(0x12)
1316 EXFULL = Errno(0x36)
1317 )
1318
1319
1320 const (
1321 SIGABRT = Signal(0x6)
1322 SIGALRM = Signal(0xe)
1323 SIGBUS = Signal(0x7)
1324 SIGCHLD = Signal(0x11)
1325 SIGCLD = Signal(0x11)
1326 SIGCONT = Signal(0x12)
1327 SIGFPE = Signal(0x8)
1328 SIGHUP = Signal(0x1)
1329 SIGILL = Signal(0x4)
1330 SIGINT = Signal(0x2)
1331 SIGIO = Signal(0x1d)
1332 SIGIOT = Signal(0x6)
1333 SIGKILL = Signal(0x9)
1334 SIGPIPE = Signal(0xd)
1335 SIGPOLL = Signal(0x1d)
1336 SIGPROF = Signal(0x1b)
1337 SIGPWR = Signal(0x1e)
1338 SIGQUIT = Signal(0x3)
1339 SIGSEGV = Signal(0xb)
1340 SIGSTKFLT = Signal(0x10)
1341 SIGSTOP = Signal(0x13)
1342 SIGSYS = Signal(0x1f)
1343 SIGTERM = Signal(0xf)
1344 SIGTRAP = Signal(0x5)
1345 SIGTSTP = Signal(0x14)
1346 SIGTTIN = Signal(0x15)
1347 SIGTTOU = Signal(0x16)
1348 SIGUNUSED = Signal(0x1f)
1349 SIGURG = Signal(0x17)
1350 SIGUSR1 = Signal(0xa)
1351 SIGUSR2 = Signal(0xc)
1352 SIGVTALRM = Signal(0x1a)
1353 SIGWINCH = Signal(0x1c)
1354 SIGXCPU = Signal(0x18)
1355 SIGXFSZ = Signal(0x19)
1356 )
1357
1358
1359 var errors = [...]string{
1360 1: "operation not permitted",
1361 2: "no such file or directory",
1362 3: "no such process",
1363 4: "interrupted system call",
1364 5: "input/output error",
1365 6: "no such device or address",
1366 7: "argument list too long",
1367 8: "exec format error",
1368 9: "bad file descriptor",
1369 10: "no child processes",
1370 11: "resource temporarily unavailable",
1371 12: "cannot allocate memory",
1372 13: "permission denied",
1373 14: "bad address",
1374 15: "block device required",
1375 16: "device or resource busy",
1376 17: "file exists",
1377 18: "invalid cross-device link",
1378 19: "no such device",
1379 20: "not a directory",
1380 21: "is a directory",
1381 22: "invalid argument",
1382 23: "too many open files in system",
1383 24: "too many open files",
1384 25: "inappropriate ioctl for device",
1385 26: "text file busy",
1386 27: "file too large",
1387 28: "no space left on device",
1388 29: "illegal seek",
1389 30: "read-only file system",
1390 31: "too many links",
1391 32: "broken pipe",
1392 33: "numerical argument out of domain",
1393 34: "numerical result out of range",
1394 35: "resource deadlock avoided",
1395 36: "file name too long",
1396 37: "no locks available",
1397 38: "function not implemented",
1398 39: "directory not empty",
1399 40: "too many levels of symbolic links",
1400 42: "no message of desired type",
1401 43: "identifier removed",
1402 44: "channel number out of range",
1403 45: "level 2 not synchronized",
1404 46: "level 3 halted",
1405 47: "level 3 reset",
1406 48: "link number out of range",
1407 49: "protocol driver not attached",
1408 50: "no CSI structure available",
1409 51: "level 2 halted",
1410 52: "invalid exchange",
1411 53: "invalid request descriptor",
1412 54: "exchange full",
1413 55: "no anode",
1414 56: "invalid request code",
1415 57: "invalid slot",
1416 59: "bad font file format",
1417 60: "device not a stream",
1418 61: "no data available",
1419 62: "timer expired",
1420 63: "out of streams resources",
1421 64: "machine is not on the network",
1422 65: "package not installed",
1423 66: "object is remote",
1424 67: "link has been severed",
1425 68: "advertise error",
1426 69: "srmount error",
1427 70: "communication error on send",
1428 71: "protocol error",
1429 72: "multihop attempted",
1430 73: "RFS specific error",
1431 74: "bad message",
1432 75: "value too large for defined data type",
1433 76: "name not unique on network",
1434 77: "file descriptor in bad state",
1435 78: "remote address changed",
1436 79: "can not access a needed shared library",
1437 80: "accessing a corrupted shared library",
1438 81: ".lib section in a.out corrupted",
1439 82: "attempting to link in too many shared libraries",
1440 83: "cannot exec a shared library directly",
1441 84: "invalid or incomplete multibyte or wide character",
1442 85: "interrupted system call should be restarted",
1443 86: "streams pipe error",
1444 87: "too many users",
1445 88: "socket operation on non-socket",
1446 89: "destination address required",
1447 90: "message too long",
1448 91: "protocol wrong type for socket",
1449 92: "protocol not available",
1450 93: "protocol not supported",
1451 94: "socket type not supported",
1452 95: "operation not supported",
1453 96: "protocol family not supported",
1454 97: "address family not supported by protocol",
1455 98: "address already in use",
1456 99: "cannot assign requested address",
1457 100: "network is down",
1458 101: "network is unreachable",
1459 102: "network dropped connection on reset",
1460 103: "software caused connection abort",
1461 104: "connection reset by peer",
1462 105: "no buffer space available",
1463 106: "transport endpoint is already connected",
1464 107: "transport endpoint is not connected",
1465 108: "cannot send after transport endpoint shutdown",
1466 109: "too many references: cannot splice",
1467 110: "connection timed out",
1468 111: "connection refused",
1469 112: "host is down",
1470 113: "no route to host",
1471 114: "operation already in progress",
1472 115: "operation now in progress",
1473 116: "stale NFS file handle",
1474 117: "structure needs cleaning",
1475 118: "not a XENIX named type file",
1476 119: "no XENIX semaphores available",
1477 120: "is a named type file",
1478 121: "remote I/O error",
1479 122: "disk quota exceeded",
1480 123: "no medium found",
1481 124: "wrong medium type",
1482 125: "operation canceled",
1483 126: "required key not available",
1484 127: "key has expired",
1485 128: "key has been revoked",
1486 129: "key was rejected by service",
1487 130: "owner died",
1488 131: "state not recoverable",
1489 132: "operation not possible due to RF-kill",
1490 }
1491
1492
1493 var signals = [...]string{
1494 1: "hangup",
1495 2: "interrupt",
1496 3: "quit",
1497 4: "illegal instruction",
1498 5: "trace/breakpoint trap",
1499 6: "aborted",
1500 7: "bus error",
1501 8: "floating point exception",
1502 9: "killed",
1503 10: "user defined signal 1",
1504 11: "segmentation fault",
1505 12: "user defined signal 2",
1506 13: "broken pipe",
1507 14: "alarm clock",
1508 15: "terminated",
1509 16: "stack fault",
1510 17: "child exited",
1511 18: "continued",
1512 19: "stopped (signal)",
1513 20: "stopped",
1514 21: "stopped (tty input)",
1515 22: "stopped (tty output)",
1516 23: "urgent I/O condition",
1517 24: "CPU time limit exceeded",
1518 25: "file size limit exceeded",
1519 26: "virtual timer expired",
1520 27: "profiling timer expired",
1521 28: "window changed",
1522 29: "I/O possible",
1523 30: "power failure",
1524 31: "bad system call",
1525 }
1526
View as plain text