github.com/go-xe2/third@v1.0.3/golang.org/x/sys/unix/zerrors_aix_ppc64.go (about) 1 // mkerrors.sh -maix64 2 // Code generated by the command above; see README.md. DO NOT EDIT. 3 4 // +build ppc64,aix 5 6 // Created by cgo -godefs - DO NOT EDIT 7 // cgo -godefs -- -maix64 _const.go 8 9 package unix 10 11 import "syscall" 12 13 const ( 14 AF_APPLETALK = 0x10 15 AF_BYPASS = 0x19 16 AF_CCITT = 0xa 17 AF_CHAOS = 0x5 18 AF_DATAKIT = 0x9 19 AF_DECnet = 0xc 20 AF_DLI = 0xd 21 AF_ECMA = 0x8 22 AF_HYLINK = 0xf 23 AF_IMPLINK = 0x3 24 AF_INET = 0x2 25 AF_INET6 = 0x18 26 AF_INTF = 0x14 27 AF_ISO = 0x7 28 AF_LAT = 0xe 29 AF_LINK = 0x12 30 AF_LOCAL = 0x1 31 AF_MAX = 0x1e 32 AF_NDD = 0x17 33 AF_NETWARE = 0x16 34 AF_NS = 0x6 35 AF_OSI = 0x7 36 AF_PUP = 0x4 37 AF_RIF = 0x15 38 AF_ROUTE = 0x11 39 AF_SNA = 0xb 40 AF_UNIX = 0x1 41 AF_UNSPEC = 0x0 42 ALTWERASE = 0x400000 43 ARPHRD_802_3 = 0x6 44 ARPHRD_802_5 = 0x6 45 ARPHRD_ETHER = 0x1 46 ARPHRD_FDDI = 0x1 47 B0 = 0x0 48 B110 = 0x3 49 B1200 = 0x9 50 B134 = 0x4 51 B150 = 0x5 52 B1800 = 0xa 53 B19200 = 0xe 54 B200 = 0x6 55 B2400 = 0xb 56 B300 = 0x7 57 B38400 = 0xf 58 B4800 = 0xc 59 B50 = 0x1 60 B600 = 0x8 61 B75 = 0x2 62 B9600 = 0xd 63 BRKINT = 0x2 64 BS0 = 0x0 65 BS1 = 0x1000 66 BSDLY = 0x1000 67 CAP_AACCT = 0x6 68 CAP_ARM_APPLICATION = 0x5 69 CAP_BYPASS_RAC_VMM = 0x3 70 CAP_CLEAR = 0x0 71 CAP_CREDENTIALS = 0x7 72 CAP_EFFECTIVE = 0x1 73 CAP_EWLM_AGENT = 0x4 74 CAP_INHERITABLE = 0x2 75 CAP_MAXIMUM = 0x7 76 CAP_NUMA_ATTACH = 0x2 77 CAP_PERMITTED = 0x3 78 CAP_PROPAGATE = 0x1 79 CAP_PROPOGATE = 0x1 80 CAP_SET = 0x1 81 CBAUD = 0xf 82 CFLUSH = 0xf 83 CIBAUD = 0xf0000 84 CLOCAL = 0x800 85 CLOCK_MONOTONIC = 0xa 86 CLOCK_PROCESS_CPUTIME_ID = 0xb 87 CLOCK_REALTIME = 0x9 88 CLOCK_THREAD_CPUTIME_ID = 0xc 89 CR0 = 0x0 90 CR1 = 0x100 91 CR2 = 0x200 92 CR3 = 0x300 93 CRDLY = 0x300 94 CREAD = 0x80 95 CS5 = 0x0 96 CS6 = 0x10 97 CS7 = 0x20 98 CS8 = 0x30 99 CSIOCGIFCONF = -0x3fef96dc 100 CSIZE = 0x30 101 CSMAP_DIR = "/usr/lib/nls/csmap/" 102 CSTART = '\021' 103 CSTOP = '\023' 104 CSTOPB = 0x40 105 CSUSP = 0x1a 106 ECHO = 0x8 107 ECHOCTL = 0x20000 108 ECHOE = 0x10 109 ECHOK = 0x20 110 ECHOKE = 0x80000 111 ECHONL = 0x40 112 ECHOPRT = 0x40000 113 ECH_ICMPID = 0x2 114 ETHERNET_CSMACD = 0x6 115 EVENP = 0x80 116 EXCONTINUE = 0x0 117 EXDLOK = 0x3 118 EXIO = 0x2 119 EXPGIO = 0x0 120 EXRESUME = 0x2 121 EXRETURN = 0x1 122 EXSIG = 0x4 123 EXTA = 0xe 124 EXTB = 0xf 125 EXTRAP = 0x1 126 EYEC_RTENTRYA = 0x257274656e747241 127 EYEC_RTENTRYF = 0x257274656e747246 128 E_ACC = 0x0 129 FD_CLOEXEC = 0x1 130 FD_SETSIZE = 0xfffe 131 FF0 = 0x0 132 FF1 = 0x2000 133 FFDLY = 0x2000 134 FLUSHBAND = 0x40 135 FLUSHLOW = 0x8 136 FLUSHO = 0x100000 137 FLUSHR = 0x1 138 FLUSHRW = 0x3 139 FLUSHW = 0x2 140 F_CLOSEM = 0xa 141 F_DUP2FD = 0xe 142 F_DUPFD = 0x0 143 F_GETFD = 0x1 144 F_GETFL = 0x3 145 F_GETLK = 0xb 146 F_GETLK64 = 0xb 147 F_GETOWN = 0x8 148 F_LOCK = 0x1 149 F_OK = 0x0 150 F_RDLCK = 0x1 151 F_SETFD = 0x2 152 F_SETFL = 0x4 153 F_SETLK = 0xc 154 F_SETLK64 = 0xc 155 F_SETLKW = 0xd 156 F_SETLKW64 = 0xd 157 F_SETOWN = 0x9 158 F_TEST = 0x3 159 F_TLOCK = 0x2 160 F_TSTLK = 0xf 161 F_ULOCK = 0x0 162 F_UNLCK = 0x3 163 F_WRLCK = 0x2 164 HUPCL = 0x400 165 IBSHIFT = 0x10 166 ICANON = 0x2 167 ICMP6_FILTER = 0x26 168 ICMP6_SEC_SEND_DEL = 0x46 169 ICMP6_SEC_SEND_GET = 0x47 170 ICMP6_SEC_SEND_SET = 0x44 171 ICMP6_SEC_SEND_SET_CGA_ADDR = 0x45 172 ICRNL = 0x100 173 IEXTEN = 0x200000 174 IFA_FIRSTALIAS = 0x2000 175 IFA_ROUTE = 0x1 176 IFF_64BIT = 0x4000000 177 IFF_ALLCAST = 0x20000 178 IFF_ALLMULTI = 0x200 179 IFF_BPF = 0x8000000 180 IFF_BRIDGE = 0x40000 181 IFF_BROADCAST = 0x2 182 IFF_CANTCHANGE = 0x80c52 183 IFF_CHECKSUM_OFFLOAD = 0x10000000 184 IFF_D1 = 0x8000 185 IFF_D2 = 0x4000 186 IFF_D3 = 0x2000 187 IFF_D4 = 0x1000 188 IFF_DEBUG = 0x4 189 IFF_DEVHEALTH = 0x4000 190 IFF_DO_HW_LOOPBACK = 0x10000 191 IFF_GROUP_ROUTING = 0x2000000 192 IFF_IFBUFMGT = 0x800000 193 IFF_LINK0 = 0x100000 194 IFF_LINK1 = 0x200000 195 IFF_LINK2 = 0x400000 196 IFF_LOOPBACK = 0x8 197 IFF_MULTICAST = 0x80000 198 IFF_NOARP = 0x80 199 IFF_NOECHO = 0x800 200 IFF_NOTRAILERS = 0x20 201 IFF_OACTIVE = 0x400 202 IFF_POINTOPOINT = 0x10 203 IFF_PROMISC = 0x100 204 IFF_PSEG = 0x40000000 205 IFF_RUNNING = 0x40 206 IFF_SIMPLEX = 0x800 207 IFF_SNAP = 0x8000 208 IFF_TCP_DISABLE_CKSUM = 0x20000000 209 IFF_TCP_NOCKSUM = 0x1000000 210 IFF_UP = 0x1 211 IFF_VIPA = 0x80000000 212 IFNAMSIZ = 0x10 213 IFO_FLUSH = 0x1 214 IFT_1822 = 0x2 215 IFT_AAL5 = 0x31 216 IFT_ARCNET = 0x23 217 IFT_ARCNETPLUS = 0x24 218 IFT_ATM = 0x25 219 IFT_CEPT = 0x13 220 IFT_CLUSTER = 0x3e 221 IFT_DS3 = 0x1e 222 IFT_EON = 0x19 223 IFT_ETHER = 0x6 224 IFT_FCS = 0x3a 225 IFT_FDDI = 0xf 226 IFT_FRELAY = 0x20 227 IFT_FRELAYDCE = 0x2c 228 IFT_GIFTUNNEL = 0x3c 229 IFT_HDH1822 = 0x3 230 IFT_HF = 0x3d 231 IFT_HIPPI = 0x2f 232 IFT_HSSI = 0x2e 233 IFT_HY = 0xe 234 IFT_IB = 0xc7 235 IFT_ISDNBASIC = 0x14 236 IFT_ISDNPRIMARY = 0x15 237 IFT_ISO88022LLC = 0x29 238 IFT_ISO88023 = 0x7 239 IFT_ISO88024 = 0x8 240 IFT_ISO88025 = 0x9 241 IFT_ISO88026 = 0xa 242 IFT_LAPB = 0x10 243 IFT_LOCALTALK = 0x2a 244 IFT_LOOP = 0x18 245 IFT_MIOX25 = 0x26 246 IFT_MODEM = 0x30 247 IFT_NSIP = 0x1b 248 IFT_OTHER = 0x1 249 IFT_P10 = 0xc 250 IFT_P80 = 0xd 251 IFT_PARA = 0x22 252 IFT_PPP = 0x17 253 IFT_PROPMUX = 0x36 254 IFT_PROPVIRTUAL = 0x35 255 IFT_PTPSERIAL = 0x16 256 IFT_RS232 = 0x21 257 IFT_SDLC = 0x11 258 IFT_SIP = 0x1f 259 IFT_SLIP = 0x1c 260 IFT_SMDSDXI = 0x2b 261 IFT_SMDSICIP = 0x34 262 IFT_SN = 0x38 263 IFT_SONET = 0x27 264 IFT_SONETPATH = 0x32 265 IFT_SONETVT = 0x33 266 IFT_SP = 0x39 267 IFT_STARLAN = 0xb 268 IFT_T1 = 0x12 269 IFT_TUNNEL = 0x3b 270 IFT_ULTRA = 0x1d 271 IFT_V35 = 0x2d 272 IFT_VIPA = 0x37 273 IFT_X25 = 0x5 274 IFT_X25DDN = 0x4 275 IFT_X25PLE = 0x28 276 IFT_XETHER = 0x1a 277 IGNBRK = 0x1 278 IGNCR = 0x80 279 IGNPAR = 0x4 280 IMAXBEL = 0x10000 281 INLCR = 0x40 282 INPCK = 0x10 283 IN_CLASSA_HOST = 0xffffff 284 IN_CLASSA_MAX = 0x80 285 IN_CLASSA_NET = 0xff000000 286 IN_CLASSA_NSHIFT = 0x18 287 IN_CLASSB_HOST = 0xffff 288 IN_CLASSB_MAX = 0x10000 289 IN_CLASSB_NET = 0xffff0000 290 IN_CLASSB_NSHIFT = 0x10 291 IN_CLASSC_HOST = 0xff 292 IN_CLASSC_NET = 0xffffff00 293 IN_CLASSC_NSHIFT = 0x8 294 IN_CLASSD_HOST = 0xfffffff 295 IN_CLASSD_NET = 0xf0000000 296 IN_CLASSD_NSHIFT = 0x1c 297 IN_LOOPBACKNET = 0x7f 298 IN_USE = 0x1 299 IPPROTO_AH = 0x33 300 IPPROTO_BIP = 0x53 301 IPPROTO_DSTOPTS = 0x3c 302 IPPROTO_EGP = 0x8 303 IPPROTO_EON = 0x50 304 IPPROTO_ESP = 0x32 305 IPPROTO_FRAGMENT = 0x2c 306 IPPROTO_GGP = 0x3 307 IPPROTO_GIF = 0x8c 308 IPPROTO_GRE = 0x2f 309 IPPROTO_HOPOPTS = 0x0 310 IPPROTO_ICMP = 0x1 311 IPPROTO_ICMPV6 = 0x3a 312 IPPROTO_IDP = 0x16 313 IPPROTO_IGMP = 0x2 314 IPPROTO_IP = 0x0 315 IPPROTO_IPIP = 0x4 316 IPPROTO_IPV6 = 0x29 317 IPPROTO_LOCAL = 0x3f 318 IPPROTO_MAX = 0x100 319 IPPROTO_MH = 0x87 320 IPPROTO_NONE = 0x3b 321 IPPROTO_PUP = 0xc 322 IPPROTO_QOS = 0x2d 323 IPPROTO_RAW = 0xff 324 IPPROTO_ROUTING = 0x2b 325 IPPROTO_RSVP = 0x2e 326 IPPROTO_SCTP = 0x84 327 IPPROTO_TCP = 0x6 328 IPPROTO_TP = 0x1d 329 IPPROTO_UDP = 0x11 330 IPV6_ADDRFORM = 0x16 331 IPV6_ADDR_PREFERENCES = 0x4a 332 IPV6_ADD_MEMBERSHIP = 0xc 333 IPV6_AIXRAWSOCKET = 0x39 334 IPV6_CHECKSUM = 0x27 335 IPV6_DONTFRAG = 0x2d 336 IPV6_DROP_MEMBERSHIP = 0xd 337 IPV6_DSTOPTS = 0x36 338 IPV6_FLOWINFO_FLOWLABEL = 0xffffff 339 IPV6_FLOWINFO_PRIFLOW = 0xfffffff 340 IPV6_FLOWINFO_PRIORITY = 0xf000000 341 IPV6_FLOWINFO_SRFLAG = 0x10000000 342 IPV6_FLOWINFO_VERSION = 0xf0000000 343 IPV6_HOPLIMIT = 0x28 344 IPV6_HOPOPTS = 0x34 345 IPV6_JOIN_GROUP = 0xc 346 IPV6_LEAVE_GROUP = 0xd 347 IPV6_MIPDSTOPTS = 0x36 348 IPV6_MULTICAST_HOPS = 0xa 349 IPV6_MULTICAST_IF = 0x9 350 IPV6_MULTICAST_LOOP = 0xb 351 IPV6_NEXTHOP = 0x30 352 IPV6_NOPROBE = 0x1c 353 IPV6_PATHMTU = 0x2e 354 IPV6_PKTINFO = 0x21 355 IPV6_PKTOPTIONS = 0x24 356 IPV6_PRIORITY_10 = 0xa000000 357 IPV6_PRIORITY_11 = 0xb000000 358 IPV6_PRIORITY_12 = 0xc000000 359 IPV6_PRIORITY_13 = 0xd000000 360 IPV6_PRIORITY_14 = 0xe000000 361 IPV6_PRIORITY_15 = 0xf000000 362 IPV6_PRIORITY_8 = 0x8000000 363 IPV6_PRIORITY_9 = 0x9000000 364 IPV6_PRIORITY_BULK = 0x4000000 365 IPV6_PRIORITY_CONTROL = 0x7000000 366 IPV6_PRIORITY_FILLER = 0x1000000 367 IPV6_PRIORITY_INTERACTIVE = 0x6000000 368 IPV6_PRIORITY_RESERVED1 = 0x3000000 369 IPV6_PRIORITY_RESERVED2 = 0x5000000 370 IPV6_PRIORITY_UNATTENDED = 0x2000000 371 IPV6_PRIORITY_UNCHARACTERIZED = 0x0 372 IPV6_RECVDSTOPTS = 0x38 373 IPV6_RECVHOPLIMIT = 0x29 374 IPV6_RECVHOPOPTS = 0x35 375 IPV6_RECVHOPS = 0x22 376 IPV6_RECVIF = 0x1e 377 IPV6_RECVPATHMTU = 0x2f 378 IPV6_RECVPKTINFO = 0x23 379 IPV6_RECVRTHDR = 0x33 380 IPV6_RECVSRCRT = 0x1d 381 IPV6_RECVTCLASS = 0x2a 382 IPV6_RTHDR = 0x32 383 IPV6_RTHDRDSTOPTS = 0x37 384 IPV6_RTHDR_TYPE_0 = 0x0 385 IPV6_RTHDR_TYPE_2 = 0x2 386 IPV6_SENDIF = 0x1f 387 IPV6_SRFLAG_LOOSE = 0x0 388 IPV6_SRFLAG_STRICT = 0x10000000 389 IPV6_TCLASS = 0x2b 390 IPV6_TOKEN_LENGTH = 0x40 391 IPV6_UNICAST_HOPS = 0x4 392 IPV6_USE_MIN_MTU = 0x2c 393 IPV6_V6ONLY = 0x25 394 IPV6_VERSION = 0x60000000 395 IP_ADDRFORM = 0x16 396 IP_ADD_MEMBERSHIP = 0xc 397 IP_ADD_SOURCE_MEMBERSHIP = 0x3c 398 IP_BLOCK_SOURCE = 0x3a 399 IP_BROADCAST_IF = 0x10 400 IP_CACHE_LINE_SIZE = 0x80 401 IP_DEFAULT_MULTICAST_LOOP = 0x1 402 IP_DEFAULT_MULTICAST_TTL = 0x1 403 IP_DF = 0x4000 404 IP_DHCPMODE = 0x11 405 IP_DONTFRAG = 0x19 406 IP_DROP_MEMBERSHIP = 0xd 407 IP_DROP_SOURCE_MEMBERSHIP = 0x3d 408 IP_FINDPMTU = 0x1a 409 IP_HDRINCL = 0x2 410 IP_INC_MEMBERSHIPS = 0x14 411 IP_INIT_MEMBERSHIP = 0x14 412 IP_MAXPACKET = 0xffff 413 IP_MF = 0x2000 414 IP_MSS = 0x240 415 IP_MULTICAST_HOPS = 0xa 416 IP_MULTICAST_IF = 0x9 417 IP_MULTICAST_LOOP = 0xb 418 IP_MULTICAST_TTL = 0xa 419 IP_OPT = 0x1b 420 IP_OPTIONS = 0x1 421 IP_PMTUAGE = 0x1b 422 IP_RECVDSTADDR = 0x7 423 IP_RECVIF = 0x14 424 IP_RECVIFINFO = 0xf 425 IP_RECVINTERFACE = 0x20 426 IP_RECVMACHDR = 0xe 427 IP_RECVOPTS = 0x5 428 IP_RECVRETOPTS = 0x6 429 IP_RECVTTL = 0x22 430 IP_RETOPTS = 0x8 431 IP_SOURCE_FILTER = 0x48 432 IP_TOS = 0x3 433 IP_TTL = 0x4 434 IP_UNBLOCK_SOURCE = 0x3b 435 IP_UNICAST_HOPS = 0x4 436 ISIG = 0x1 437 ISTRIP = 0x20 438 IUCLC = 0x800 439 IXANY = 0x1000 440 IXOFF = 0x400 441 IXON = 0x200 442 I_FLUSH = 0x20005305 443 LNOFLSH = 0x8000 444 LOCK_EX = 0x2 445 LOCK_NB = 0x4 446 LOCK_SH = 0x1 447 LOCK_UN = 0x8 448 MADV_DONTNEED = 0x4 449 MADV_NORMAL = 0x0 450 MADV_RANDOM = 0x1 451 MADV_SEQUENTIAL = 0x2 452 MADV_SPACEAVAIL = 0x5 453 MADV_WILLNEED = 0x3 454 MAP_ANON = 0x10 455 MAP_ANONYMOUS = 0x10 456 MAP_FILE = 0x0 457 MAP_FIXED = 0x100 458 MAP_PRIVATE = 0x2 459 MAP_SHARED = 0x1 460 MAP_TYPE = 0xf0 461 MAP_VARIABLE = 0x0 462 MCL_CURRENT = 0x100 463 MCL_FUTURE = 0x200 464 MSG_ANY = 0x4 465 MSG_ARGEXT = 0x400 466 MSG_BAND = 0x2 467 MSG_COMPAT = 0x8000 468 MSG_CTRUNC = 0x20 469 MSG_DONTROUTE = 0x4 470 MSG_EOR = 0x8 471 MSG_HIPRI = 0x1 472 MSG_MAXIOVLEN = 0x10 473 MSG_MPEG2 = 0x80 474 MSG_NONBLOCK = 0x4000 475 MSG_NOSIGNAL = 0x100 476 MSG_OOB = 0x1 477 MSG_PEEK = 0x2 478 MSG_TRUNC = 0x10 479 MSG_WAITALL = 0x40 480 MSG_WAITFORONE = 0x200 481 MS_ASYNC = 0x10 482 MS_EINTR = 0x80 483 MS_INVALIDATE = 0x40 484 MS_PER_SEC = 0x3e8 485 MS_SYNC = 0x20 486 NL0 = 0x0 487 NL1 = 0x4000 488 NL2 = 0x8000 489 NL3 = 0xc000 490 NLDLY = 0x4000 491 NOFLSH = 0x80 492 NOFLUSH = 0x80000000 493 OCRNL = 0x8 494 OFDEL = 0x80 495 OFILL = 0x40 496 OLCUC = 0x2 497 ONLCR = 0x4 498 ONLRET = 0x20 499 ONOCR = 0x10 500 ONOEOT = 0x80000 501 OPOST = 0x1 502 OXTABS = 0x40000 503 O_ACCMODE = 0x23 504 O_APPEND = 0x8 505 O_CIO = 0x80 506 O_CIOR = 0x800000000 507 O_CLOEXEC = 0x800000 508 O_CREAT = 0x100 509 O_DEFER = 0x2000 510 O_DELAY = 0x4000 511 O_DIRECT = 0x8000000 512 O_DIRECTORY = 0x80000 513 O_DSYNC = 0x400000 514 O_EFSOFF = 0x400000000 515 O_EFSON = 0x200000000 516 O_EXCL = 0x400 517 O_EXEC = 0x20 518 O_LARGEFILE = 0x4000000 519 O_NDELAY = 0x8000 520 O_NOCACHE = 0x100000 521 O_NOCTTY = 0x800 522 O_NOFOLLOW = 0x1000000 523 O_NONBLOCK = 0x4 524 O_NONE = 0x3 525 O_NSHARE = 0x10000 526 O_RAW = 0x100000000 527 O_RDONLY = 0x0 528 O_RDWR = 0x2 529 O_RSHARE = 0x1000 530 O_RSYNC = 0x200000 531 O_SEARCH = 0x20 532 O_SNAPSHOT = 0x40 533 O_SYNC = 0x10 534 O_TRUNC = 0x200 535 O_TTY_INIT = 0x0 536 O_WRONLY = 0x1 537 PARENB = 0x100 538 PAREXT = 0x100000 539 PARMRK = 0x8 540 PARODD = 0x200 541 PENDIN = 0x20000000 542 PRIO_PGRP = 0x1 543 PRIO_PROCESS = 0x0 544 PRIO_USER = 0x2 545 PROT_EXEC = 0x4 546 PROT_NONE = 0x0 547 PROT_READ = 0x1 548 PROT_WRITE = 0x2 549 PR_64BIT = 0x20 550 PR_ADDR = 0x2 551 PR_ARGEXT = 0x400 552 PR_ATOMIC = 0x1 553 PR_CONNREQUIRED = 0x4 554 PR_FASTHZ = 0x5 555 PR_INP = 0x40 556 PR_INTRLEVEL = 0x8000 557 PR_MLS = 0x100 558 PR_MLS_1_LABEL = 0x200 559 PR_NOEOR = 0x4000 560 PR_RIGHTS = 0x10 561 PR_SLOWHZ = 0x2 562 PR_WANTRCVD = 0x8 563 RLIMIT_AS = 0x6 564 RLIMIT_CORE = 0x4 565 RLIMIT_CPU = 0x0 566 RLIMIT_DATA = 0x2 567 RLIMIT_FSIZE = 0x1 568 RLIMIT_NOFILE = 0x7 569 RLIMIT_NPROC = 0x9 570 RLIMIT_RSS = 0x5 571 RLIMIT_STACK = 0x3 572 RLIM_INFINITY = 0x7fffffffffffffff 573 RTAX_AUTHOR = 0x6 574 RTAX_BRD = 0x7 575 RTAX_DST = 0x0 576 RTAX_GATEWAY = 0x1 577 RTAX_GENMASK = 0x3 578 RTAX_IFA = 0x5 579 RTAX_IFP = 0x4 580 RTAX_MAX = 0x8 581 RTAX_NETMASK = 0x2 582 RTA_AUTHOR = 0x40 583 RTA_BRD = 0x80 584 RTA_DOWNSTREAM = 0x100 585 RTA_DST = 0x1 586 RTA_GATEWAY = 0x2 587 RTA_GENMASK = 0x8 588 RTA_IFA = 0x20 589 RTA_IFP = 0x10 590 RTA_NETMASK = 0x4 591 RTC_IA64 = 0x3 592 RTC_POWER = 0x1 593 RTC_POWER_PC = 0x2 594 RTF_ACTIVE_DGD = 0x1000000 595 RTF_BCE = 0x80000 596 RTF_BLACKHOLE = 0x1000 597 RTF_BROADCAST = 0x400000 598 RTF_BUL = 0x2000 599 RTF_CLONE = 0x10000 600 RTF_CLONED = 0x20000 601 RTF_CLONING = 0x100 602 RTF_DONE = 0x40 603 RTF_DYNAMIC = 0x10 604 RTF_FREE_IN_PROG = 0x4000000 605 RTF_GATEWAY = 0x2 606 RTF_HOST = 0x4 607 RTF_LLINFO = 0x400 608 RTF_LOCAL = 0x200000 609 RTF_MASK = 0x80 610 RTF_MODIFIED = 0x20 611 RTF_MULTICAST = 0x800000 612 RTF_PERMANENT6 = 0x8000000 613 RTF_PINNED = 0x100000 614 RTF_PROTO1 = 0x8000 615 RTF_PROTO2 = 0x4000 616 RTF_PROTO3 = 0x40000 617 RTF_REJECT = 0x8 618 RTF_SMALLMTU = 0x40000 619 RTF_STATIC = 0x800 620 RTF_STOPSRCH = 0x2000000 621 RTF_UNREACHABLE = 0x10000000 622 RTF_UP = 0x1 623 RTF_XRESOLVE = 0x200 624 RTM_ADD = 0x1 625 RTM_CHANGE = 0x3 626 RTM_DELADDR = 0xd 627 RTM_DELETE = 0x2 628 RTM_EXPIRE = 0xf 629 RTM_GET = 0x4 630 RTM_GETNEXT = 0x11 631 RTM_IFINFO = 0xe 632 RTM_LOCK = 0x8 633 RTM_LOSING = 0x5 634 RTM_MISS = 0x7 635 RTM_NEWADDR = 0xc 636 RTM_OLDADD = 0x9 637 RTM_OLDDEL = 0xa 638 RTM_REDIRECT = 0x6 639 RTM_RESOLVE = 0xb 640 RTM_RTLOST = 0x10 641 RTM_RTTUNIT = 0xf4240 642 RTM_SAMEADDR = 0x12 643 RTM_SET = 0x13 644 RTM_VERSION = 0x2 645 RTM_VERSION_GR = 0x4 646 RTM_VERSION_GR_COMPAT = 0x3 647 RTM_VERSION_POLICY = 0x5 648 RTM_VERSION_POLICY_EXT = 0x6 649 RTM_VERSION_POLICY_PRFN = 0x7 650 RTV_EXPIRE = 0x4 651 RTV_HOPCOUNT = 0x2 652 RTV_MTU = 0x1 653 RTV_RPIPE = 0x8 654 RTV_RTT = 0x40 655 RTV_RTTVAR = 0x80 656 RTV_SPIPE = 0x10 657 RTV_SSTHRESH = 0x20 658 RUSAGE_CHILDREN = -0x1 659 RUSAGE_SELF = 0x0 660 RUSAGE_THREAD = 0x1 661 SCM_RIGHTS = 0x1 662 SHUT_RD = 0x0 663 SHUT_RDWR = 0x2 664 SHUT_WR = 0x1 665 SIGMAX64 = 0xff 666 SIGQUEUE_MAX = 0x20 667 SIOCADDIFVIPA = 0x20006942 668 SIOCADDMTU = -0x7ffb9690 669 SIOCADDMULTI = -0x7fdf96cf 670 SIOCADDNETID = -0x7fd796a9 671 SIOCADDRT = -0x7fc78df6 672 SIOCAIFADDR = -0x7fbf96e6 673 SIOCATMARK = 0x40047307 674 SIOCDARP = -0x7fb396e0 675 SIOCDELIFVIPA = 0x20006943 676 SIOCDELMTU = -0x7ffb968f 677 SIOCDELMULTI = -0x7fdf96ce 678 SIOCDELPMTU = -0x7fd78ff6 679 SIOCDELRT = -0x7fc78df5 680 SIOCDIFADDR = -0x7fd796e7 681 SIOCDNETOPT = -0x3ffe9680 682 SIOCDX25XLATE = -0x7fd7969b 683 SIOCFIFADDR = -0x7fdf966d 684 SIOCGARP = -0x3fb396da 685 SIOCGETMTUS = 0x2000696f 686 SIOCGETSGCNT = -0x3feb8acc 687 SIOCGETVIFCNT = -0x3feb8acd 688 SIOCGHIWAT = 0x40047301 689 SIOCGIFADDR = -0x3fd796df 690 SIOCGIFADDRS = 0x2000698c 691 SIOCGIFBAUDRATE = -0x3fd79693 692 SIOCGIFBRDADDR = -0x3fd796dd 693 SIOCGIFCONF = -0x3fef96bb 694 SIOCGIFCONFGLOB = -0x3fef9670 695 SIOCGIFDSTADDR = -0x3fd796de 696 SIOCGIFFLAGS = -0x3fd796ef 697 SIOCGIFGIDLIST = 0x20006968 698 SIOCGIFHWADDR = -0x3fab966b 699 SIOCGIFMETRIC = -0x3fd796e9 700 SIOCGIFMTU = -0x3fd796aa 701 SIOCGIFNETMASK = -0x3fd796db 702 SIOCGIFOPTIONS = -0x3fd796d6 703 SIOCGISNO = -0x3fd79695 704 SIOCGLOADF = -0x3ffb967e 705 SIOCGLOWAT = 0x40047303 706 SIOCGNETOPT = -0x3ffe96a5 707 SIOCGNETOPT1 = -0x3fdf967f 708 SIOCGNMTUS = 0x2000696e 709 SIOCGPGRP = 0x40047309 710 SIOCGSIZIFCONF = 0x4004696a 711 SIOCGSRCFILTER = -0x3fe796cb 712 SIOCGTUNEPHASE = -0x3ffb9676 713 SIOCGX25XLATE = -0x3fd7969c 714 SIOCIFATTACH = -0x7fdf9699 715 SIOCIFDETACH = -0x7fdf969a 716 SIOCIFGETPKEY = -0x7fdf969b 717 SIOCIF_ATM_DARP = -0x7fdf9683 718 SIOCIF_ATM_DUMPARP = -0x7fdf9685 719 SIOCIF_ATM_GARP = -0x7fdf9682 720 SIOCIF_ATM_IDLE = -0x7fdf9686 721 SIOCIF_ATM_SARP = -0x7fdf9681 722 SIOCIF_ATM_SNMPARP = -0x7fdf9687 723 SIOCIF_ATM_SVC = -0x7fdf9684 724 SIOCIF_ATM_UBR = -0x7fdf9688 725 SIOCIF_DEVHEALTH = -0x7ffb966c 726 SIOCIF_IB_ARP_INCOMP = -0x7fdf9677 727 SIOCIF_IB_ARP_TIMER = -0x7fdf9678 728 SIOCIF_IB_CLEAR_PINFO = -0x3fdf966f 729 SIOCIF_IB_DEL_ARP = -0x7fdf967f 730 SIOCIF_IB_DEL_PINFO = -0x3fdf9670 731 SIOCIF_IB_DUMP_ARP = -0x7fdf9680 732 SIOCIF_IB_GET_ARP = -0x7fdf967e 733 SIOCIF_IB_GET_INFO = -0x3f879675 734 SIOCIF_IB_GET_STATS = -0x3f879672 735 SIOCIF_IB_NOTIFY_ADDR_REM = -0x3f87966a 736 SIOCIF_IB_RESET_STATS = -0x3f879671 737 SIOCIF_IB_RESIZE_CQ = -0x7fdf9679 738 SIOCIF_IB_SET_ARP = -0x7fdf967d 739 SIOCIF_IB_SET_PKEY = -0x7fdf967c 740 SIOCIF_IB_SET_PORT = -0x7fdf967b 741 SIOCIF_IB_SET_QKEY = -0x7fdf9676 742 SIOCIF_IB_SET_QSIZE = -0x7fdf967a 743 SIOCLISTIFVIPA = 0x20006944 744 SIOCSARP = -0x7fb396e2 745 SIOCSHIWAT = 0xffffffff80047300 746 SIOCSIFADDR = -0x7fd796f4 747 SIOCSIFADDRORI = -0x7fdb9673 748 SIOCSIFBRDADDR = -0x7fd796ed 749 SIOCSIFDSTADDR = -0x7fd796f2 750 SIOCSIFFLAGS = -0x7fd796f0 751 SIOCSIFGIDLIST = 0x20006969 752 SIOCSIFMETRIC = -0x7fd796e8 753 SIOCSIFMTU = -0x7fd796a8 754 SIOCSIFNETDUMP = -0x7fd796e4 755 SIOCSIFNETMASK = -0x7fd796ea 756 SIOCSIFOPTIONS = -0x7fd796d7 757 SIOCSIFSUBCHAN = -0x7fd796e5 758 SIOCSISNO = -0x7fd79694 759 SIOCSLOADF = -0x3ffb967d 760 SIOCSLOWAT = 0xffffffff80047302 761 SIOCSNETOPT = -0x7ffe96a6 762 SIOCSPGRP = 0xffffffff80047308 763 SIOCSX25XLATE = -0x7fd7969d 764 SOCK_CONN_DGRAM = 0x6 765 SOCK_DGRAM = 0x2 766 SOCK_RAW = 0x3 767 SOCK_RDM = 0x4 768 SOCK_SEQPACKET = 0x5 769 SOCK_STREAM = 0x1 770 SOL_SOCKET = 0xffff 771 SOMAXCONN = 0x400 772 SO_ACCEPTCONN = 0x2 773 SO_AUDIT = 0x8000 774 SO_BROADCAST = 0x20 775 SO_CKSUMRECV = 0x800 776 SO_DEBUG = 0x1 777 SO_DONTROUTE = 0x10 778 SO_ERROR = 0x1007 779 SO_KEEPALIVE = 0x8 780 SO_KERNACCEPT = 0x2000 781 SO_LINGER = 0x80 782 SO_NOMULTIPATH = 0x4000 783 SO_NOREUSEADDR = 0x1000 784 SO_OOBINLINE = 0x100 785 SO_PEERID = 0x1009 786 SO_RCVBUF = 0x1002 787 SO_RCVLOWAT = 0x1004 788 SO_RCVTIMEO = 0x1006 789 SO_REUSEADDR = 0x4 790 SO_REUSEPORT = 0x200 791 SO_SNDBUF = 0x1001 792 SO_SNDLOWAT = 0x1003 793 SO_SNDTIMEO = 0x1005 794 SO_TIMESTAMPNS = 0x100a 795 SO_TYPE = 0x1008 796 SO_USELOOPBACK = 0x40 797 SO_USE_IFBUFS = 0x400 798 S_BANDURG = 0x400 799 S_EMODFMT = 0x3c000000 800 S_ENFMT = 0x400 801 S_ERROR = 0x100 802 S_HANGUP = 0x200 803 S_HIPRI = 0x2 804 S_ICRYPTO = 0x80000 805 S_IEXEC = 0x40 806 S_IFBLK = 0x6000 807 S_IFCHR = 0x2000 808 S_IFDIR = 0x4000 809 S_IFIFO = 0x1000 810 S_IFJOURNAL = 0x10000 811 S_IFLNK = 0xa000 812 S_IFMPX = 0x2200 813 S_IFMT = 0xf000 814 S_IFPDIR = 0x4000000 815 S_IFPSDIR = 0x8000000 816 S_IFPSSDIR = 0xc000000 817 S_IFREG = 0x8000 818 S_IFSOCK = 0xc000 819 S_IFSYSEA = 0x30000000 820 S_INPUT = 0x1 821 S_IREAD = 0x100 822 S_IRGRP = 0x20 823 S_IROTH = 0x4 824 S_IRUSR = 0x100 825 S_IRWXG = 0x38 826 S_IRWXO = 0x7 827 S_IRWXU = 0x1c0 828 S_ISGID = 0x400 829 S_ISUID = 0x800 830 S_ISVTX = 0x200 831 S_ITCB = 0x1000000 832 S_ITP = 0x800000 833 S_IWGRP = 0x10 834 S_IWOTH = 0x2 835 S_IWRITE = 0x80 836 S_IWUSR = 0x80 837 S_IXACL = 0x2000000 838 S_IXATTR = 0x40000 839 S_IXGRP = 0x8 840 S_IXINTERFACE = 0x100000 841 S_IXMOD = 0x40000000 842 S_IXOTH = 0x1 843 S_IXUSR = 0x40 844 S_MSG = 0x8 845 S_OUTPUT = 0x4 846 S_RDBAND = 0x20 847 S_RDNORM = 0x10 848 S_RESERVED1 = 0x20000 849 S_RESERVED2 = 0x200000 850 S_RESERVED3 = 0x400000 851 S_RESERVED4 = 0x80000000 852 S_RESFMT1 = 0x10000000 853 S_RESFMT10 = 0x34000000 854 S_RESFMT11 = 0x38000000 855 S_RESFMT12 = 0x3c000000 856 S_RESFMT2 = 0x14000000 857 S_RESFMT3 = 0x18000000 858 S_RESFMT4 = 0x1c000000 859 S_RESFMT5 = 0x20000000 860 S_RESFMT6 = 0x24000000 861 S_RESFMT7 = 0x28000000 862 S_RESFMT8 = 0x2c000000 863 S_WRBAND = 0x80 864 S_WRNORM = 0x40 865 TAB0 = 0x0 866 TAB1 = 0x400 867 TAB2 = 0x800 868 TAB3 = 0xc00 869 TABDLY = 0xc00 870 TCFLSH = 0x540c 871 TCGETA = 0x5405 872 TCGETS = 0x5401 873 TCIFLUSH = 0x0 874 TCIOFF = 0x2 875 TCIOFLUSH = 0x2 876 TCION = 0x3 877 TCOFLUSH = 0x1 878 TCOOFF = 0x0 879 TCOON = 0x1 880 TCP_24DAYS_WORTH_OF_SLOWTICKS = 0x3f4800 881 TCP_ACLADD = 0x23 882 TCP_ACLBIND = 0x26 883 TCP_ACLCLEAR = 0x22 884 TCP_ACLDEL = 0x24 885 TCP_ACLDENY = 0x8 886 TCP_ACLFLUSH = 0x21 887 TCP_ACLGID = 0x1 888 TCP_ACLLS = 0x25 889 TCP_ACLSUBNET = 0x4 890 TCP_ACLUID = 0x2 891 TCP_CWND_DF = 0x16 892 TCP_CWND_IF = 0x15 893 TCP_DELAY_ACK_FIN = 0x2 894 TCP_DELAY_ACK_SYN = 0x1 895 TCP_FASTNAME = 0x101080a 896 TCP_KEEPCNT = 0x13 897 TCP_KEEPIDLE = 0x11 898 TCP_KEEPINTVL = 0x12 899 TCP_LSPRIV = 0x29 900 TCP_LUID = 0x20 901 TCP_MAXBURST = 0x8 902 TCP_MAXDF = 0x64 903 TCP_MAXIF = 0x64 904 TCP_MAXSEG = 0x2 905 TCP_MAXWIN = 0xffff 906 TCP_MAXWINDOWSCALE = 0xe 907 TCP_MAX_SACK = 0x4 908 TCP_MSS = 0x5b4 909 TCP_NODELAY = 0x1 910 TCP_NODELAYACK = 0x14 911 TCP_NOREDUCE_CWND_EXIT_FRXMT = 0x19 912 TCP_NOREDUCE_CWND_IN_FRXMT = 0x18 913 TCP_NOTENTER_SSTART = 0x17 914 TCP_OPT = 0x19 915 TCP_RFC1323 = 0x4 916 TCP_SETPRIV = 0x27 917 TCP_STDURG = 0x10 918 TCP_TIMESTAMP_OPTLEN = 0xc 919 TCP_UNSETPRIV = 0x28 920 TCSAFLUSH = 0x2 921 TCSBRK = 0x5409 922 TCSETA = 0x5406 923 TCSETAF = 0x5408 924 TCSETAW = 0x5407 925 TCSETS = 0x5402 926 TCSETSF = 0x5404 927 TCSETSW = 0x5403 928 TCXONC = 0x540b 929 TIOC = 0x5400 930 TIOCCBRK = 0x2000747a 931 TIOCCDTR = 0x20007478 932 TIOCCONS = 0xffffffff80047462 933 TIOCEXCL = 0x2000740d 934 TIOCFLUSH = 0xffffffff80047410 935 TIOCGETC = 0x40067412 936 TIOCGETD = 0x40047400 937 TIOCGETP = 0x40067408 938 TIOCGLTC = 0x40067474 939 TIOCGPGRP = 0x40047477 940 TIOCGSID = 0x40047448 941 TIOCGSIZE = 0x40087468 942 TIOCGWINSZ = 0x40087468 943 TIOCHPCL = 0x20007402 944 TIOCLBIC = 0xffffffff8004747e 945 TIOCLBIS = 0xffffffff8004747f 946 TIOCLGET = 0x4004747c 947 TIOCLSET = 0xffffffff8004747d 948 TIOCMBIC = 0xffffffff8004746b 949 TIOCMBIS = 0xffffffff8004746c 950 TIOCMGET = 0x4004746a 951 TIOCMIWAIT = 0xffffffff80047464 952 TIOCMODG = 0x40047403 953 TIOCMODS = 0xffffffff80047404 954 TIOCMSET = 0xffffffff8004746d 955 TIOCM_CAR = 0x40 956 TIOCM_CD = 0x40 957 TIOCM_CTS = 0x20 958 TIOCM_DSR = 0x100 959 TIOCM_DTR = 0x2 960 TIOCM_LE = 0x1 961 TIOCM_RI = 0x80 962 TIOCM_RNG = 0x80 963 TIOCM_RTS = 0x4 964 TIOCM_SR = 0x10 965 TIOCM_ST = 0x8 966 TIOCNOTTY = 0x20007471 967 TIOCNXCL = 0x2000740e 968 TIOCOUTQ = 0x40047473 969 TIOCPKT = 0xffffffff80047470 970 TIOCPKT_DATA = 0x0 971 TIOCPKT_DOSTOP = 0x20 972 TIOCPKT_FLUSHREAD = 0x1 973 TIOCPKT_FLUSHWRITE = 0x2 974 TIOCPKT_NOSTOP = 0x10 975 TIOCPKT_START = 0x8 976 TIOCPKT_STOP = 0x4 977 TIOCREMOTE = 0xffffffff80047469 978 TIOCSBRK = 0x2000747b 979 TIOCSDTR = 0x20007479 980 TIOCSETC = 0xffffffff80067411 981 TIOCSETD = 0xffffffff80047401 982 TIOCSETN = 0xffffffff8006740a 983 TIOCSETP = 0xffffffff80067409 984 TIOCSLTC = 0xffffffff80067475 985 TIOCSPGRP = 0xffffffff80047476 986 TIOCSSIZE = 0xffffffff80087467 987 TIOCSTART = 0x2000746e 988 TIOCSTI = 0xffffffff80017472 989 TIOCSTOP = 0x2000746f 990 TIOCSWINSZ = 0xffffffff80087467 991 TIOCUCNTL = 0xffffffff80047466 992 TOSTOP = 0x10000 993 UTIME_NOW = -0x2 994 UTIME_OMIT = -0x3 995 VDISCRD = 0xc 996 VDSUSP = 0xa 997 VEOF = 0x4 998 VEOL = 0x5 999 VEOL2 = 0x6 1000 VERASE = 0x2 1001 VINTR = 0x0 1002 VKILL = 0x3 1003 VLNEXT = 0xe 1004 VMIN = 0x4 1005 VQUIT = 0x1 1006 VREPRINT = 0xb 1007 VSTART = 0x7 1008 VSTOP = 0x8 1009 VSTRT = 0x7 1010 VSUSP = 0x9 1011 VT0 = 0x0 1012 VT1 = 0x8000 1013 VTDELAY = 0x2000 1014 VTDLY = 0x8000 1015 VTIME = 0x5 1016 VWERSE = 0xd 1017 WPARSTART = 0x1 1018 WPARSTOP = 0x2 1019 WPARTTYNAME = "Global" 1020 XCASE = 0x4 1021 XTABS = 0xc00 1022 _FDATAFLUSH = 0x2000000000 1023 ) 1024 1025 // Errors 1026 const ( 1027 E2BIG = syscall.Errno(0x7) 1028 EACCES = syscall.Errno(0xd) 1029 EADDRINUSE = syscall.Errno(0x43) 1030 EADDRNOTAVAIL = syscall.Errno(0x44) 1031 EAFNOSUPPORT = syscall.Errno(0x42) 1032 EAGAIN = syscall.Errno(0xb) 1033 EALREADY = syscall.Errno(0x38) 1034 EBADF = syscall.Errno(0x9) 1035 EBADMSG = syscall.Errno(0x78) 1036 EBUSY = syscall.Errno(0x10) 1037 ECANCELED = syscall.Errno(0x75) 1038 ECHILD = syscall.Errno(0xa) 1039 ECHRNG = syscall.Errno(0x25) 1040 ECLONEME = syscall.Errno(0x52) 1041 ECONNABORTED = syscall.Errno(0x48) 1042 ECONNREFUSED = syscall.Errno(0x4f) 1043 ECONNRESET = syscall.Errno(0x49) 1044 ECORRUPT = syscall.Errno(0x59) 1045 EDEADLK = syscall.Errno(0x2d) 1046 EDESTADDREQ = syscall.Errno(0x3a) 1047 EDESTADDRREQ = syscall.Errno(0x3a) 1048 EDIST = syscall.Errno(0x35) 1049 EDOM = syscall.Errno(0x21) 1050 EDQUOT = syscall.Errno(0x58) 1051 EEXIST = syscall.Errno(0x11) 1052 EFAULT = syscall.Errno(0xe) 1053 EFBIG = syscall.Errno(0x1b) 1054 EFORMAT = syscall.Errno(0x30) 1055 EHOSTDOWN = syscall.Errno(0x50) 1056 EHOSTUNREACH = syscall.Errno(0x51) 1057 EIDRM = syscall.Errno(0x24) 1058 EILSEQ = syscall.Errno(0x74) 1059 EINPROGRESS = syscall.Errno(0x37) 1060 EINTR = syscall.Errno(0x4) 1061 EINVAL = syscall.Errno(0x16) 1062 EIO = syscall.Errno(0x5) 1063 EISCONN = syscall.Errno(0x4b) 1064 EISDIR = syscall.Errno(0x15) 1065 EL2HLT = syscall.Errno(0x2c) 1066 EL2NSYNC = syscall.Errno(0x26) 1067 EL3HLT = syscall.Errno(0x27) 1068 EL3RST = syscall.Errno(0x28) 1069 ELNRNG = syscall.Errno(0x29) 1070 ELOOP = syscall.Errno(0x55) 1071 EMEDIA = syscall.Errno(0x6e) 1072 EMFILE = syscall.Errno(0x18) 1073 EMLINK = syscall.Errno(0x1f) 1074 EMSGSIZE = syscall.Errno(0x3b) 1075 EMULTIHOP = syscall.Errno(0x7d) 1076 ENAMETOOLONG = syscall.Errno(0x56) 1077 ENETDOWN = syscall.Errno(0x45) 1078 ENETRESET = syscall.Errno(0x47) 1079 ENETUNREACH = syscall.Errno(0x46) 1080 ENFILE = syscall.Errno(0x17) 1081 ENOATTR = syscall.Errno(0x70) 1082 ENOBUFS = syscall.Errno(0x4a) 1083 ENOCONNECT = syscall.Errno(0x32) 1084 ENOCSI = syscall.Errno(0x2b) 1085 ENODATA = syscall.Errno(0x7a) 1086 ENODEV = syscall.Errno(0x13) 1087 ENOENT = syscall.Errno(0x2) 1088 ENOEXEC = syscall.Errno(0x8) 1089 ENOLCK = syscall.Errno(0x31) 1090 ENOLINK = syscall.Errno(0x7e) 1091 ENOMEM = syscall.Errno(0xc) 1092 ENOMSG = syscall.Errno(0x23) 1093 ENOPROTOOPT = syscall.Errno(0x3d) 1094 ENOSPC = syscall.Errno(0x1c) 1095 ENOSR = syscall.Errno(0x76) 1096 ENOSTR = syscall.Errno(0x7b) 1097 ENOSYS = syscall.Errno(0x6d) 1098 ENOTBLK = syscall.Errno(0xf) 1099 ENOTCONN = syscall.Errno(0x4c) 1100 ENOTDIR = syscall.Errno(0x14) 1101 ENOTEMPTY = syscall.Errno(0x11) 1102 ENOTREADY = syscall.Errno(0x2e) 1103 ENOTRECOVERABLE = syscall.Errno(0x5e) 1104 ENOTRUST = syscall.Errno(0x72) 1105 ENOTSOCK = syscall.Errno(0x39) 1106 ENOTSUP = syscall.Errno(0x7c) 1107 ENOTTY = syscall.Errno(0x19) 1108 ENXIO = syscall.Errno(0x6) 1109 EOPNOTSUPP = syscall.Errno(0x40) 1110 EOVERFLOW = syscall.Errno(0x7f) 1111 EOWNERDEAD = syscall.Errno(0x5f) 1112 EPERM = syscall.Errno(0x1) 1113 EPFNOSUPPORT = syscall.Errno(0x41) 1114 EPIPE = syscall.Errno(0x20) 1115 EPROCLIM = syscall.Errno(0x53) 1116 EPROTO = syscall.Errno(0x79) 1117 EPROTONOSUPPORT = syscall.Errno(0x3e) 1118 EPROTOTYPE = syscall.Errno(0x3c) 1119 ERANGE = syscall.Errno(0x22) 1120 EREMOTE = syscall.Errno(0x5d) 1121 ERESTART = syscall.Errno(0x52) 1122 EROFS = syscall.Errno(0x1e) 1123 ESAD = syscall.Errno(0x71) 1124 ESHUTDOWN = syscall.Errno(0x4d) 1125 ESOCKTNOSUPPORT = syscall.Errno(0x3f) 1126 ESOFT = syscall.Errno(0x6f) 1127 ESPIPE = syscall.Errno(0x1d) 1128 ESRCH = syscall.Errno(0x3) 1129 ESTALE = syscall.Errno(0x34) 1130 ESYSERROR = syscall.Errno(0x5a) 1131 ETIME = syscall.Errno(0x77) 1132 ETIMEDOUT = syscall.Errno(0x4e) 1133 ETOOMANYREFS = syscall.Errno(0x73) 1134 ETXTBSY = syscall.Errno(0x1a) 1135 EUNATCH = syscall.Errno(0x2a) 1136 EUSERS = syscall.Errno(0x54) 1137 EWOULDBLOCK = syscall.Errno(0xb) 1138 EWRPROTECT = syscall.Errno(0x2f) 1139 EXDEV = syscall.Errno(0x12) 1140 ) 1141 1142 // Signals 1143 const ( 1144 SIGABRT = syscall.Signal(0x6) 1145 SIGAIO = syscall.Signal(0x17) 1146 SIGALRM = syscall.Signal(0xe) 1147 SIGALRM1 = syscall.Signal(0x26) 1148 SIGBUS = syscall.Signal(0xa) 1149 SIGCAPI = syscall.Signal(0x31) 1150 SIGCHLD = syscall.Signal(0x14) 1151 SIGCLD = syscall.Signal(0x14) 1152 SIGCONT = syscall.Signal(0x13) 1153 SIGCPUFAIL = syscall.Signal(0x3b) 1154 SIGDANGER = syscall.Signal(0x21) 1155 SIGEMT = syscall.Signal(0x7) 1156 SIGFPE = syscall.Signal(0x8) 1157 SIGGRANT = syscall.Signal(0x3c) 1158 SIGHUP = syscall.Signal(0x1) 1159 SIGILL = syscall.Signal(0x4) 1160 SIGINT = syscall.Signal(0x2) 1161 SIGIO = syscall.Signal(0x17) 1162 SIGIOINT = syscall.Signal(0x10) 1163 SIGIOT = syscall.Signal(0x6) 1164 SIGKAP = syscall.Signal(0x3c) 1165 SIGKILL = syscall.Signal(0x9) 1166 SIGLOST = syscall.Signal(0x6) 1167 SIGMAX = syscall.Signal(0xff) 1168 SIGMAX32 = syscall.Signal(0x3f) 1169 SIGMIGRATE = syscall.Signal(0x23) 1170 SIGMSG = syscall.Signal(0x1b) 1171 SIGPIPE = syscall.Signal(0xd) 1172 SIGPOLL = syscall.Signal(0x17) 1173 SIGPRE = syscall.Signal(0x24) 1174 SIGPROF = syscall.Signal(0x20) 1175 SIGPTY = syscall.Signal(0x17) 1176 SIGPWR = syscall.Signal(0x1d) 1177 SIGQUIT = syscall.Signal(0x3) 1178 SIGRECONFIG = syscall.Signal(0x3a) 1179 SIGRETRACT = syscall.Signal(0x3d) 1180 SIGSAK = syscall.Signal(0x3f) 1181 SIGSEGV = syscall.Signal(0xb) 1182 SIGSOUND = syscall.Signal(0x3e) 1183 SIGSTOP = syscall.Signal(0x11) 1184 SIGSYS = syscall.Signal(0xc) 1185 SIGSYSERROR = syscall.Signal(0x30) 1186 SIGTALRM = syscall.Signal(0x26) 1187 SIGTERM = syscall.Signal(0xf) 1188 SIGTRAP = syscall.Signal(0x5) 1189 SIGTSTP = syscall.Signal(0x12) 1190 SIGTTIN = syscall.Signal(0x15) 1191 SIGTTOU = syscall.Signal(0x16) 1192 SIGURG = syscall.Signal(0x10) 1193 SIGUSR1 = syscall.Signal(0x1e) 1194 SIGUSR2 = syscall.Signal(0x1f) 1195 SIGVIRT = syscall.Signal(0x25) 1196 SIGVTALRM = syscall.Signal(0x22) 1197 SIGWAITING = syscall.Signal(0x27) 1198 SIGWINCH = syscall.Signal(0x1c) 1199 SIGXCPU = syscall.Signal(0x18) 1200 SIGXFSZ = syscall.Signal(0x19) 1201 ) 1202 1203 // Error table 1204 var errorList = [...]struct { 1205 num syscall.Errno 1206 name string 1207 desc string 1208 }{ 1209 {1, "EPERM", "not owner"}, 1210 {2, "ENOENT", "no such file or directory"}, 1211 {3, "ESRCH", "no such process"}, 1212 {4, "EINTR", "interrupted system call"}, 1213 {5, "EIO", "I/O error"}, 1214 {6, "ENXIO", "no such device or address"}, 1215 {7, "E2BIG", "arg list too long"}, 1216 {8, "ENOEXEC", "exec format error"}, 1217 {9, "EBADF", "bad file number"}, 1218 {10, "ECHILD", "no child processes"}, 1219 {11, "EWOULDBLOCK", "resource temporarily unavailable"}, 1220 {12, "ENOMEM", "not enough space"}, 1221 {13, "EACCES", "permission denied"}, 1222 {14, "EFAULT", "bad address"}, 1223 {15, "ENOTBLK", "block device required"}, 1224 {16, "EBUSY", "device busy"}, 1225 {17, "ENOTEMPTY", "file exists"}, 1226 {18, "EXDEV", "cross-device link"}, 1227 {19, "ENODEV", "no such device"}, 1228 {20, "ENOTDIR", "not a directory"}, 1229 {21, "EISDIR", "is a directory"}, 1230 {22, "EINVAL", "invalid argument"}, 1231 {23, "ENFILE", "file table overflow"}, 1232 {24, "EMFILE", "too many open files"}, 1233 {25, "ENOTTY", "not a typewriter"}, 1234 {26, "ETXTBSY", "text file busy"}, 1235 {27, "EFBIG", "file too large"}, 1236 {28, "ENOSPC", "no space left on device"}, 1237 {29, "ESPIPE", "illegal seek"}, 1238 {30, "EROFS", "read-only file system"}, 1239 {31, "EMLINK", "too many links"}, 1240 {32, "EPIPE", "broken pipe"}, 1241 {33, "EDOM", "argument out of domain"}, 1242 {34, "ERANGE", "result too large"}, 1243 {35, "ENOMSG", "no message of desired type"}, 1244 {36, "EIDRM", "identifier removed"}, 1245 {37, "ECHRNG", "channel number out of range"}, 1246 {38, "EL2NSYNC", "level 2 not synchronized"}, 1247 {39, "EL3HLT", "level 3 halted"}, 1248 {40, "EL3RST", "level 3 reset"}, 1249 {41, "ELNRNG", "link number out of range"}, 1250 {42, "EUNATCH", "protocol driver not attached"}, 1251 {43, "ENOCSI", "no CSI structure available"}, 1252 {44, "EL2HLT", "level 2 halted"}, 1253 {45, "EDEADLK", "deadlock condition if locked"}, 1254 {46, "ENOTREADY", "device not ready"}, 1255 {47, "EWRPROTECT", "write-protected media"}, 1256 {48, "EFORMAT", "unformatted or incompatible media"}, 1257 {49, "ENOLCK", "no locks available"}, 1258 {50, "ENOCONNECT", "cannot Establish Connection"}, 1259 {52, "ESTALE", "missing file or filesystem"}, 1260 {53, "EDIST", "requests blocked by Administrator"}, 1261 {55, "EINPROGRESS", "operation now in progress"}, 1262 {56, "EALREADY", "operation already in progress"}, 1263 {57, "ENOTSOCK", "socket operation on non-socket"}, 1264 {58, "EDESTADDREQ", "destination address required"}, 1265 {59, "EMSGSIZE", "message too long"}, 1266 {60, "EPROTOTYPE", "protocol wrong type for socket"}, 1267 {61, "ENOPROTOOPT", "protocol not available"}, 1268 {62, "EPROTONOSUPPORT", "protocol not supported"}, 1269 {63, "ESOCKTNOSUPPORT", "socket type not supported"}, 1270 {64, "EOPNOTSUPP", "operation not supported on socket"}, 1271 {65, "EPFNOSUPPORT", "protocol family not supported"}, 1272 {66, "EAFNOSUPPORT", "addr family not supported by protocol"}, 1273 {67, "EADDRINUSE", "address already in use"}, 1274 {68, "EADDRNOTAVAIL", "can't assign requested address"}, 1275 {69, "ENETDOWN", "network is down"}, 1276 {70, "ENETUNREACH", "network is unreachable"}, 1277 {71, "ENETRESET", "network dropped connection on reset"}, 1278 {72, "ECONNABORTED", "software caused connection abort"}, 1279 {73, "ECONNRESET", "connection reset by peer"}, 1280 {74, "ENOBUFS", "no buffer space available"}, 1281 {75, "EISCONN", "socket is already connected"}, 1282 {76, "ENOTCONN", "socket is not connected"}, 1283 {77, "ESHUTDOWN", "can't send after socket shutdown"}, 1284 {78, "ETIMEDOUT", "connection timed out"}, 1285 {79, "ECONNREFUSED", "connection refused"}, 1286 {80, "EHOSTDOWN", "host is down"}, 1287 {81, "EHOSTUNREACH", "no route to host"}, 1288 {82, "ERESTART", "restart the system call"}, 1289 {83, "EPROCLIM", "too many processes"}, 1290 {84, "EUSERS", "too many users"}, 1291 {85, "ELOOP", "too many levels of symbolic links"}, 1292 {86, "ENAMETOOLONG", "file name too long"}, 1293 {88, "EDQUOT", "disk quota exceeded"}, 1294 {89, "ECORRUPT", "invalid file system control data detected"}, 1295 {90, "ESYSERROR", "for future use "}, 1296 {93, "EREMOTE", "item is not local to host"}, 1297 {94, "ENOTRECOVERABLE", "state not recoverable "}, 1298 {95, "EOWNERDEAD", "previous owner died "}, 1299 {109, "ENOSYS", "function not implemented"}, 1300 {110, "EMEDIA", "media surface error"}, 1301 {111, "ESOFT", "I/O completed, but needs relocation"}, 1302 {112, "ENOATTR", "no attribute found"}, 1303 {113, "ESAD", "security Authentication Denied"}, 1304 {114, "ENOTRUST", "not a Trusted Program"}, 1305 {115, "ETOOMANYREFS", "too many references: can't splice"}, 1306 {116, "EILSEQ", "invalid wide character"}, 1307 {117, "ECANCELED", "asynchronous I/O cancelled"}, 1308 {118, "ENOSR", "out of STREAMS resources"}, 1309 {119, "ETIME", "system call timed out"}, 1310 {120, "EBADMSG", "next message has wrong type"}, 1311 {121, "EPROTO", "error in protocol"}, 1312 {122, "ENODATA", "no message on stream head read q"}, 1313 {123, "ENOSTR", "fd not associated with a stream"}, 1314 {124, "ENOTSUP", "unsupported attribute value"}, 1315 {125, "EMULTIHOP", "multihop is not allowed"}, 1316 {126, "ENOLINK", "the server link has been severed"}, 1317 {127, "EOVERFLOW", "value too large to be stored in data type"}, 1318 } 1319 1320 // Signal table 1321 var signalList = [...]struct { 1322 num syscall.Signal 1323 name string 1324 desc string 1325 }{ 1326 {1, "SIGHUP", "hangup"}, 1327 {2, "SIGINT", "interrupt"}, 1328 {3, "SIGQUIT", "quit"}, 1329 {4, "SIGILL", "illegal instruction"}, 1330 {5, "SIGTRAP", "trace/BPT trap"}, 1331 {6, "SIGIOT", "IOT/Abort trap"}, 1332 {7, "SIGEMT", "EMT trap"}, 1333 {8, "SIGFPE", "floating point exception"}, 1334 {9, "SIGKILL", "killed"}, 1335 {10, "SIGBUS", "bus error"}, 1336 {11, "SIGSEGV", "segmentation fault"}, 1337 {12, "SIGSYS", "bad system call"}, 1338 {13, "SIGPIPE", "broken pipe"}, 1339 {14, "SIGALRM", "alarm clock"}, 1340 {15, "SIGTERM", "terminated"}, 1341 {16, "SIGURG", "urgent I/O condition"}, 1342 {17, "SIGSTOP", "stopped (signal)"}, 1343 {18, "SIGTSTP", "stopped"}, 1344 {19, "SIGCONT", "continued"}, 1345 {20, "SIGCHLD", "child exited"}, 1346 {21, "SIGTTIN", "stopped (tty input)"}, 1347 {22, "SIGTTOU", "stopped (tty output)"}, 1348 {23, "SIGIO", "I/O possible/complete"}, 1349 {24, "SIGXCPU", "cputime limit exceeded"}, 1350 {25, "SIGXFSZ", "filesize limit exceeded"}, 1351 {27, "SIGMSG", "input device data"}, 1352 {28, "SIGWINCH", "window size changes"}, 1353 {29, "SIGPWR", "power-failure"}, 1354 {30, "SIGUSR1", "user defined signal 1"}, 1355 {31, "SIGUSR2", "user defined signal 2"}, 1356 {32, "SIGPROF", "profiling timer expired"}, 1357 {33, "SIGDANGER", "paging space low"}, 1358 {34, "SIGVTALRM", "virtual timer expired"}, 1359 {35, "SIGMIGRATE", "signal 35"}, 1360 {36, "SIGPRE", "signal 36"}, 1361 {37, "SIGVIRT", "signal 37"}, 1362 {38, "SIGTALRM", "signal 38"}, 1363 {39, "SIGWAITING", "signal 39"}, 1364 {48, "SIGSYSERROR", "signal 48"}, 1365 {49, "SIGCAPI", "signal 49"}, 1366 {58, "SIGRECONFIG", "signal 58"}, 1367 {59, "SIGCPUFAIL", "CPU Failure Predicted"}, 1368 {60, "SIGGRANT", "monitor mode granted"}, 1369 {61, "SIGRETRACT", "monitor mode retracted"}, 1370 {62, "SIGSOUND", "sound completed"}, 1371 {63, "SIGMAX32", "secure attention"}, 1372 {255, "SIGMAX", "signal 255"}, 1373 }