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