github.com/mangodowner/go-gm@v0.0.0-20180818020936-8baa2bd4408c/src/syscall/zerrors_linux_mips.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 package syscall 8 9 const ( 10 AF_ALG = 0x26 11 AF_APPLETALK = 0x5 12 AF_ASH = 0x12 13 AF_ATMPVC = 0x8 14 AF_ATMSVC = 0x14 15 AF_AX25 = 0x3 16 AF_BLUETOOTH = 0x1f 17 AF_BRIDGE = 0x7 18 AF_CAIF = 0x25 19 AF_CAN = 0x1d 20 AF_DECnet = 0xc 21 AF_ECONET = 0x13 22 AF_FILE = 0x1 23 AF_IEEE802154 = 0x24 24 AF_INET = 0x2 25 AF_INET6 = 0xa 26 AF_IPX = 0x4 27 AF_IRDA = 0x17 28 AF_ISDN = 0x22 29 AF_IUCV = 0x20 30 AF_KEY = 0xf 31 AF_LLC = 0x1a 32 AF_LOCAL = 0x1 33 AF_MAX = 0x29 34 AF_NETBEUI = 0xd 35 AF_NETLINK = 0x10 36 AF_NETROM = 0x6 37 AF_NFC = 0x27 38 AF_PACKET = 0x11 39 AF_PHONET = 0x23 40 AF_PPPOX = 0x18 41 AF_RDS = 0x15 42 AF_ROSE = 0xb 43 AF_ROUTE = 0x10 44 AF_RXRPC = 0x21 45 AF_SECURITY = 0xe 46 AF_SNA = 0x16 47 AF_TIPC = 0x1e 48 AF_UNIX = 0x1 49 AF_UNSPEC = 0x0 50 AF_VSOCK = 0x28 51 AF_WANPIPE = 0x19 52 AF_X25 = 0x9 53 ARPHRD_6LOWPAN = 0x339 54 ARPHRD_ADAPT = 0x108 55 ARPHRD_APPLETLK = 0x8 56 ARPHRD_ARCNET = 0x7 57 ARPHRD_ASH = 0x30d 58 ARPHRD_ATM = 0x13 59 ARPHRD_AX25 = 0x3 60 ARPHRD_BIF = 0x307 61 ARPHRD_CAIF = 0x336 62 ARPHRD_CAN = 0x118 63 ARPHRD_CHAOS = 0x5 64 ARPHRD_CISCO = 0x201 65 ARPHRD_CSLIP = 0x101 66 ARPHRD_CSLIP6 = 0x103 67 ARPHRD_DDCMP = 0x205 68 ARPHRD_DLCI = 0xf 69 ARPHRD_ECONET = 0x30e 70 ARPHRD_EETHER = 0x2 71 ARPHRD_ETHER = 0x1 72 ARPHRD_EUI64 = 0x1b 73 ARPHRD_FCAL = 0x311 74 ARPHRD_FCFABRIC = 0x313 75 ARPHRD_FCPL = 0x312 76 ARPHRD_FCPP = 0x310 77 ARPHRD_FDDI = 0x306 78 ARPHRD_FRAD = 0x302 79 ARPHRD_HDLC = 0x201 80 ARPHRD_HIPPI = 0x30c 81 ARPHRD_HWX25 = 0x110 82 ARPHRD_IEEE1394 = 0x18 83 ARPHRD_IEEE802 = 0x6 84 ARPHRD_IEEE80211 = 0x321 85 ARPHRD_IEEE80211_PRISM = 0x322 86 ARPHRD_IEEE80211_RADIOTAP = 0x323 87 ARPHRD_IEEE802154 = 0x324 88 ARPHRD_IEEE802154_MONITOR = 0x325 89 ARPHRD_IEEE802_TR = 0x320 90 ARPHRD_INFINIBAND = 0x20 91 ARPHRD_IP6GRE = 0x337 92 ARPHRD_IPDDP = 0x309 93 ARPHRD_IPGRE = 0x30a 94 ARPHRD_IRDA = 0x30f 95 ARPHRD_LAPB = 0x204 96 ARPHRD_LOCALTLK = 0x305 97 ARPHRD_LOOPBACK = 0x304 98 ARPHRD_METRICOM = 0x17 99 ARPHRD_NETLINK = 0x338 100 ARPHRD_NETROM = 0x0 101 ARPHRD_NONE = 0xfffe 102 ARPHRD_PHONET = 0x334 103 ARPHRD_PHONET_PIPE = 0x335 104 ARPHRD_PIMREG = 0x30b 105 ARPHRD_PPP = 0x200 106 ARPHRD_PRONET = 0x4 107 ARPHRD_RAWHDLC = 0x206 108 ARPHRD_ROSE = 0x10e 109 ARPHRD_RSRVD = 0x104 110 ARPHRD_SIT = 0x308 111 ARPHRD_SKIP = 0x303 112 ARPHRD_SLIP = 0x100 113 ARPHRD_SLIP6 = 0x102 114 ARPHRD_TUNNEL = 0x300 115 ARPHRD_TUNNEL6 = 0x301 116 ARPHRD_VOID = 0xffff 117 ARPHRD_X25 = 0x10f 118 B0 = 0x0 119 B1000000 = 0x1008 120 B110 = 0x3 121 B115200 = 0x1002 122 B1152000 = 0x1009 123 B1200 = 0x9 124 B134 = 0x4 125 B150 = 0x5 126 B1500000 = 0x100a 127 B1800 = 0xa 128 B19200 = 0xe 129 B200 = 0x6 130 B2000000 = 0x100b 131 B230400 = 0x1003 132 B2400 = 0xb 133 B2500000 = 0x100c 134 B300 = 0x7 135 B3000000 = 0x100d 136 B3500000 = 0x100e 137 B38400 = 0xf 138 B4000000 = 0x100f 139 B460800 = 0x1004 140 B4800 = 0xc 141 B50 = 0x1 142 B500000 = 0x1005 143 B57600 = 0x1001 144 B576000 = 0x1006 145 B600 = 0x8 146 B75 = 0x2 147 B921600 = 0x1007 148 B9600 = 0xd 149 BPF_A = 0x10 150 BPF_ABS = 0x20 151 BPF_ADD = 0x0 152 BPF_ALU = 0x4 153 BPF_AND = 0x50 154 BPF_B = 0x10 155 BPF_DIV = 0x30 156 BPF_H = 0x8 157 BPF_IMM = 0x0 158 BPF_IND = 0x40 159 BPF_JA = 0x0 160 BPF_JEQ = 0x10 161 BPF_JGE = 0x30 162 BPF_JGT = 0x20 163 BPF_JMP = 0x5 164 BPF_JSET = 0x40 165 BPF_K = 0x0 166 BPF_LD = 0x0 167 BPF_LDX = 0x1 168 BPF_LEN = 0x80 169 BPF_LSH = 0x60 170 BPF_MAJOR_VERSION = 0x1 171 BPF_MAXINSNS = 0x1000 172 BPF_MEM = 0x60 173 BPF_MEMWORDS = 0x10 174 BPF_MINOR_VERSION = 0x1 175 BPF_MISC = 0x7 176 BPF_MOD = 0x90 177 BPF_MSH = 0xa0 178 BPF_MUL = 0x20 179 BPF_NEG = 0x80 180 BPF_OR = 0x40 181 BPF_RET = 0x6 182 BPF_RSH = 0x70 183 BPF_ST = 0x2 184 BPF_STX = 0x3 185 BPF_SUB = 0x10 186 BPF_TAX = 0x0 187 BPF_TXA = 0x80 188 BPF_W = 0x0 189 BPF_X = 0x8 190 BPF_XOR = 0xa0 191 BRKINT = 0x2 192 CFLUSH = 0xf 193 CLOCAL = 0x800 194 CLONE_CHILD_CLEARTID = 0x200000 195 CLONE_CHILD_SETTID = 0x1000000 196 CLONE_DETACHED = 0x400000 197 CLONE_FILES = 0x400 198 CLONE_FS = 0x200 199 CLONE_IO = 0x80000000 200 CLONE_NEWIPC = 0x8000000 201 CLONE_NEWNET = 0x40000000 202 CLONE_NEWNS = 0x20000 203 CLONE_NEWPID = 0x20000000 204 CLONE_NEWUSER = 0x10000000 205 CLONE_NEWUTS = 0x4000000 206 CLONE_PARENT = 0x8000 207 CLONE_PARENT_SETTID = 0x100000 208 CLONE_PTRACE = 0x2000 209 CLONE_SETTLS = 0x80000 210 CLONE_SIGHAND = 0x800 211 CLONE_SYSVSEM = 0x40000 212 CLONE_THREAD = 0x10000 213 CLONE_UNTRACED = 0x800000 214 CLONE_VFORK = 0x4000 215 CLONE_VM = 0x100 216 CREAD = 0x80 217 CS5 = 0x0 218 CS6 = 0x10 219 CS7 = 0x20 220 CS8 = 0x30 221 CSIGNAL = 0xff 222 CSIZE = 0x30 223 CSTART = 0x11 224 CSTATUS = 0x0 225 CSTOP = 0x13 226 CSTOPB = 0x40 227 CSUSP = 0x1a 228 DT_BLK = 0x6 229 DT_CHR = 0x2 230 DT_DIR = 0x4 231 DT_FIFO = 0x1 232 DT_LNK = 0xa 233 DT_REG = 0x8 234 DT_SOCK = 0xc 235 DT_UNKNOWN = 0x0 236 DT_WHT = 0xe 237 ECHO = 0x8 238 ECHOCTL = 0x200 239 ECHOE = 0x10 240 ECHOK = 0x20 241 ECHOKE = 0x800 242 ECHONL = 0x40 243 ECHOPRT = 0x400 244 ENCODING_DEFAULT = 0x0 245 ENCODING_FM_MARK = 0x3 246 ENCODING_FM_SPACE = 0x4 247 ENCODING_MANCHESTER = 0x5 248 ENCODING_NRZ = 0x1 249 ENCODING_NRZI = 0x2 250 EPOLLERR = 0x8 251 EPOLLET = 0x80000000 252 EPOLLHUP = 0x10 253 EPOLLIN = 0x1 254 EPOLLMSG = 0x400 255 EPOLLONESHOT = 0x40000000 256 EPOLLOUT = 0x4 257 EPOLLPRI = 0x2 258 EPOLLRDBAND = 0x80 259 EPOLLRDHUP = 0x2000 260 EPOLLRDNORM = 0x40 261 EPOLLWAKEUP = 0x20000000 262 EPOLLWRBAND = 0x200 263 EPOLLWRNORM = 0x100 264 EPOLL_CLOEXEC = 0x80000 265 EPOLL_CTL_ADD = 0x1 266 EPOLL_CTL_DEL = 0x2 267 EPOLL_CTL_MOD = 0x3 268 ETH_P_1588 = 0x88f7 269 ETH_P_8021AD = 0x88a8 270 ETH_P_8021AH = 0x88e7 271 ETH_P_8021Q = 0x8100 272 ETH_P_80221 = 0x8917 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_LOOPBACK = 0x9000 318 ETH_P_MOBITEX = 0x15 319 ETH_P_MPLS_MC = 0x8848 320 ETH_P_MPLS_UC = 0x8847 321 ETH_P_MVRP = 0x88f5 322 ETH_P_PAE = 0x888e 323 ETH_P_PAUSE = 0x8808 324 ETH_P_PHONET = 0xf5 325 ETH_P_PPPTALK = 0x10 326 ETH_P_PPP_DISC = 0x8863 327 ETH_P_PPP_MP = 0x8 328 ETH_P_PPP_SES = 0x8864 329 ETH_P_PRP = 0x88fb 330 ETH_P_PUP = 0x200 331 ETH_P_PUPAT = 0x201 332 ETH_P_QINQ1 = 0x9100 333 ETH_P_QINQ2 = 0x9200 334 ETH_P_QINQ3 = 0x9300 335 ETH_P_RARP = 0x8035 336 ETH_P_SCA = 0x6007 337 ETH_P_SLOW = 0x8809 338 ETH_P_SNAP = 0x5 339 ETH_P_TDLS = 0x890d 340 ETH_P_TEB = 0x6558 341 ETH_P_TIPC = 0x88ca 342 ETH_P_TRAILER = 0x1c 343 ETH_P_TR_802_2 = 0x11 344 ETH_P_WAN_PPP = 0x7 345 ETH_P_WCCP = 0x883e 346 ETH_P_X25 = 0x805 347 EXTA = 0xe 348 EXTB = 0xf 349 EXTPROC = 0x10000 350 FD_CLOEXEC = 0x1 351 FD_SETSIZE = 0x400 352 FLUSHO = 0x2000 353 F_DUPFD = 0x0 354 F_DUPFD_CLOEXEC = 0x406 355 F_EXLCK = 0x4 356 F_GETFD = 0x1 357 F_GETFL = 0x3 358 F_GETLEASE = 0x401 359 F_GETLK = 0x21 360 F_GETLK64 = 0x21 361 F_GETOWN = 0x17 362 F_GETOWN_EX = 0x10 363 F_GETPIPE_SZ = 0x408 364 F_GETSIG = 0xb 365 F_LOCK = 0x1 366 F_NOTIFY = 0x402 367 F_OK = 0x0 368 F_RDLCK = 0x0 369 F_SETFD = 0x2 370 F_SETFL = 0x4 371 F_SETLEASE = 0x400 372 F_SETLK = 0x22 373 F_SETLK64 = 0x22 374 F_SETLKW = 0x23 375 F_SETLKW64 = 0x23 376 F_SETOWN = 0x18 377 F_SETOWN_EX = 0xf 378 F_SETPIPE_SZ = 0x407 379 F_SETSIG = 0xa 380 F_SHLCK = 0x8 381 F_TEST = 0x3 382 F_TLOCK = 0x2 383 F_ULOCK = 0x0 384 F_UNLCK = 0x2 385 F_WRLCK = 0x1 386 HUPCL = 0x400 387 ICANON = 0x2 388 ICMPV6_FILTER = 0x1 389 ICRNL = 0x100 390 IEXTEN = 0x100 391 IFA_F_DADFAILED = 0x8 392 IFA_F_DEPRECATED = 0x20 393 IFA_F_HOMEADDRESS = 0x10 394 IFA_F_MANAGETEMPADDR = 0x100 395 IFA_F_NODAD = 0x2 396 IFA_F_NOPREFIXROUTE = 0x200 397 IFA_F_OPTIMISTIC = 0x4 398 IFA_F_PERMANENT = 0x80 399 IFA_F_SECONDARY = 0x1 400 IFA_F_TEMPORARY = 0x1 401 IFA_F_TENTATIVE = 0x40 402 IFA_MAX = 0x8 403 IFF_ALLMULTI = 0x200 404 IFF_ATTACH_QUEUE = 0x200 405 IFF_AUTOMEDIA = 0x4000 406 IFF_BROADCAST = 0x2 407 IFF_DEBUG = 0x4 408 IFF_DETACH_QUEUE = 0x400 409 IFF_DORMANT = 0x20000 410 IFF_DYNAMIC = 0x8000 411 IFF_ECHO = 0x40000 412 IFF_LOOPBACK = 0x8 413 IFF_LOWER_UP = 0x10000 414 IFF_MASTER = 0x400 415 IFF_MULTICAST = 0x1000 416 IFF_MULTI_QUEUE = 0x100 417 IFF_NOARP = 0x80 418 IFF_NOFILTER = 0x1000 419 IFF_NOTRAILERS = 0x20 420 IFF_NO_PI = 0x1000 421 IFF_ONE_QUEUE = 0x2000 422 IFF_PERSIST = 0x800 423 IFF_POINTOPOINT = 0x10 424 IFF_PORTSEL = 0x2000 425 IFF_PROMISC = 0x100 426 IFF_RUNNING = 0x40 427 IFF_SLAVE = 0x800 428 IFF_TAP = 0x2 429 IFF_TUN = 0x1 430 IFF_TUN_EXCL = 0x8000 431 IFF_UP = 0x1 432 IFF_VNET_HDR = 0x4000 433 IFF_VOLATILE = 0x70c5a 434 IFNAMSIZ = 0x10 435 IGNBRK = 0x1 436 IGNCR = 0x80 437 IGNPAR = 0x4 438 IMAXBEL = 0x2000 439 INLCR = 0x40 440 INPCK = 0x10 441 IN_ACCESS = 0x1 442 IN_ALL_EVENTS = 0xfff 443 IN_ATTRIB = 0x4 444 IN_CLASSA_HOST = 0xffffff 445 IN_CLASSA_MAX = 0x80 446 IN_CLASSA_NET = 0xff000000 447 IN_CLASSA_NSHIFT = 0x18 448 IN_CLASSB_HOST = 0xffff 449 IN_CLASSB_MAX = 0x10000 450 IN_CLASSB_NET = 0xffff0000 451 IN_CLASSB_NSHIFT = 0x10 452 IN_CLASSC_HOST = 0xff 453 IN_CLASSC_NET = 0xffffff00 454 IN_CLASSC_NSHIFT = 0x8 455 IN_CLOEXEC = 0x80000 456 IN_CLOSE = 0x18 457 IN_CLOSE_NOWRITE = 0x10 458 IN_CLOSE_WRITE = 0x8 459 IN_CREATE = 0x100 460 IN_DELETE = 0x200 461 IN_DELETE_SELF = 0x400 462 IN_DONT_FOLLOW = 0x2000000 463 IN_EXCL_UNLINK = 0x4000000 464 IN_IGNORED = 0x8000 465 IN_ISDIR = 0x40000000 466 IN_LOOPBACKNET = 0x7f 467 IN_MASK_ADD = 0x20000000 468 IN_MODIFY = 0x2 469 IN_MOVE = 0xc0 470 IN_MOVED_FROM = 0x40 471 IN_MOVED_TO = 0x80 472 IN_MOVE_SELF = 0x800 473 IN_NONBLOCK = 0x80 474 IN_ONESHOT = 0x80000000 475 IN_ONLYDIR = 0x1000000 476 IN_OPEN = 0x20 477 IN_Q_OVERFLOW = 0x4000 478 IN_UNMOUNT = 0x2000 479 IPPROTO_AH = 0x33 480 IPPROTO_BEETPH = 0x5e 481 IPPROTO_COMP = 0x6c 482 IPPROTO_DCCP = 0x21 483 IPPROTO_DSTOPTS = 0x3c 484 IPPROTO_EGP = 0x8 485 IPPROTO_ENCAP = 0x62 486 IPPROTO_ESP = 0x32 487 IPPROTO_FRAGMENT = 0x2c 488 IPPROTO_GRE = 0x2f 489 IPPROTO_HOPOPTS = 0x0 490 IPPROTO_ICMP = 0x1 491 IPPROTO_ICMPV6 = 0x3a 492 IPPROTO_IDP = 0x16 493 IPPROTO_IGMP = 0x2 494 IPPROTO_IP = 0x0 495 IPPROTO_IPIP = 0x4 496 IPPROTO_IPV6 = 0x29 497 IPPROTO_MH = 0x87 498 IPPROTO_MTP = 0x5c 499 IPPROTO_NONE = 0x3b 500 IPPROTO_PIM = 0x67 501 IPPROTO_PUP = 0xc 502 IPPROTO_RAW = 0xff 503 IPPROTO_ROUTING = 0x2b 504 IPPROTO_RSVP = 0x2e 505 IPPROTO_SCTP = 0x84 506 IPPROTO_TCP = 0x6 507 IPPROTO_TP = 0x1d 508 IPPROTO_UDP = 0x11 509 IPPROTO_UDPLITE = 0x88 510 IPV6_2292DSTOPTS = 0x4 511 IPV6_2292HOPLIMIT = 0x8 512 IPV6_2292HOPOPTS = 0x3 513 IPV6_2292PKTINFO = 0x2 514 IPV6_2292PKTOPTIONS = 0x6 515 IPV6_2292RTHDR = 0x5 516 IPV6_ADDRFORM = 0x1 517 IPV6_ADD_MEMBERSHIP = 0x14 518 IPV6_AUTHHDR = 0xa 519 IPV6_CHECKSUM = 0x7 520 IPV6_DROP_MEMBERSHIP = 0x15 521 IPV6_DSTOPTS = 0x3b 522 IPV6_HOPLIMIT = 0x34 523 IPV6_HOPOPTS = 0x36 524 IPV6_IPSEC_POLICY = 0x22 525 IPV6_JOIN_ANYCAST = 0x1b 526 IPV6_JOIN_GROUP = 0x14 527 IPV6_LEAVE_ANYCAST = 0x1c 528 IPV6_LEAVE_GROUP = 0x15 529 IPV6_MTU = 0x18 530 IPV6_MTU_DISCOVER = 0x17 531 IPV6_MULTICAST_HOPS = 0x12 532 IPV6_MULTICAST_IF = 0x11 533 IPV6_MULTICAST_LOOP = 0x13 534 IPV6_NEXTHOP = 0x9 535 IPV6_PKTINFO = 0x32 536 IPV6_PMTUDISC_DO = 0x2 537 IPV6_PMTUDISC_DONT = 0x0 538 IPV6_PMTUDISC_PROBE = 0x3 539 IPV6_PMTUDISC_WANT = 0x1 540 IPV6_RECVDSTOPTS = 0x3a 541 IPV6_RECVERR = 0x19 542 IPV6_RECVHOPLIMIT = 0x33 543 IPV6_RECVHOPOPTS = 0x35 544 IPV6_RECVPKTINFO = 0x31 545 IPV6_RECVRTHDR = 0x38 546 IPV6_RECVTCLASS = 0x42 547 IPV6_ROUTER_ALERT = 0x16 548 IPV6_RTHDR = 0x39 549 IPV6_RTHDRDSTOPTS = 0x37 550 IPV6_RTHDR_LOOSE = 0x0 551 IPV6_RTHDR_STRICT = 0x1 552 IPV6_RTHDR_TYPE_0 = 0x0 553 IPV6_RXDSTOPTS = 0x3b 554 IPV6_RXHOPOPTS = 0x36 555 IPV6_TCLASS = 0x43 556 IPV6_UNICAST_HOPS = 0x10 557 IPV6_V6ONLY = 0x1a 558 IPV6_XFRM_POLICY = 0x23 559 IP_ADD_MEMBERSHIP = 0x23 560 IP_ADD_SOURCE_MEMBERSHIP = 0x27 561 IP_BLOCK_SOURCE = 0x26 562 IP_DEFAULT_MULTICAST_LOOP = 0x1 563 IP_DEFAULT_MULTICAST_TTL = 0x1 564 IP_DF = 0x4000 565 IP_DROP_MEMBERSHIP = 0x24 566 IP_DROP_SOURCE_MEMBERSHIP = 0x28 567 IP_FREEBIND = 0xf 568 IP_HDRINCL = 0x3 569 IP_IPSEC_POLICY = 0x10 570 IP_MAXPACKET = 0xffff 571 IP_MAX_MEMBERSHIPS = 0x14 572 IP_MF = 0x2000 573 IP_MINTTL = 0x15 574 IP_MSFILTER = 0x29 575 IP_MSS = 0x240 576 IP_MTU = 0xe 577 IP_MTU_DISCOVER = 0xa 578 IP_MULTICAST_ALL = 0x31 579 IP_MULTICAST_IF = 0x20 580 IP_MULTICAST_LOOP = 0x22 581 IP_MULTICAST_TTL = 0x21 582 IP_OFFMASK = 0x1fff 583 IP_OPTIONS = 0x4 584 IP_ORIGDSTADDR = 0x14 585 IP_PASSSEC = 0x12 586 IP_PKTINFO = 0x8 587 IP_PKTOPTIONS = 0x9 588 IP_PMTUDISC = 0xa 589 IP_PMTUDISC_DO = 0x2 590 IP_PMTUDISC_DONT = 0x0 591 IP_PMTUDISC_PROBE = 0x3 592 IP_PMTUDISC_WANT = 0x1 593 IP_RECVERR = 0xb 594 IP_RECVOPTS = 0x6 595 IP_RECVORIGDSTADDR = 0x14 596 IP_RECVRETOPTS = 0x7 597 IP_RECVTOS = 0xd 598 IP_RECVTTL = 0xc 599 IP_RETOPTS = 0x7 600 IP_RF = 0x8000 601 IP_ROUTER_ALERT = 0x5 602 IP_TOS = 0x1 603 IP_TRANSPARENT = 0x13 604 IP_TTL = 0x2 605 IP_UNBLOCK_SOURCE = 0x25 606 IP_UNICAST_IF = 0x32 607 IP_XFRM_POLICY = 0x11 608 ISIG = 0x1 609 ISTRIP = 0x20 610 IUTF8 = 0x4000 611 IXANY = 0x800 612 IXOFF = 0x1000 613 IXON = 0x400 614 LINUX_REBOOT_CMD_CAD_OFF = 0x0 615 LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef 616 LINUX_REBOOT_CMD_HALT = 0xcdef0123 617 LINUX_REBOOT_CMD_KEXEC = 0x45584543 618 LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc 619 LINUX_REBOOT_CMD_RESTART = 0x1234567 620 LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4 621 LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2 622 LINUX_REBOOT_MAGIC1 = 0xfee1dead 623 LINUX_REBOOT_MAGIC2 = 0x28121969 624 LOCK_EX = 0x2 625 LOCK_NB = 0x4 626 LOCK_SH = 0x1 627 LOCK_UN = 0x8 628 MADV_DODUMP = 0x11 629 MADV_DOFORK = 0xb 630 MADV_DONTDUMP = 0x10 631 MADV_DONTFORK = 0xa 632 MADV_DONTNEED = 0x4 633 MADV_HUGEPAGE = 0xe 634 MADV_HWPOISON = 0x64 635 MADV_MERGEABLE = 0xc 636 MADV_NOHUGEPAGE = 0xf 637 MADV_NORMAL = 0x0 638 MADV_RANDOM = 0x1 639 MADV_REMOVE = 0x9 640 MADV_SEQUENTIAL = 0x2 641 MADV_UNMERGEABLE = 0xd 642 MADV_WILLNEED = 0x3 643 MAP_ANON = 0x800 644 MAP_ANONYMOUS = 0x800 645 MAP_DENYWRITE = 0x2000 646 MAP_EXECUTABLE = 0x4000 647 MAP_FILE = 0x0 648 MAP_FIXED = 0x10 649 MAP_GROWSDOWN = 0x1000 650 MAP_HUGETLB = 0x80000 651 MAP_HUGE_MASK = 0x3f 652 MAP_HUGE_SHIFT = 0x1a 653 MAP_LOCKED = 0x8000 654 MAP_NONBLOCK = 0x20000 655 MAP_NORESERVE = 0x400 656 MAP_POPULATE = 0x10000 657 MAP_PRIVATE = 0x2 658 MAP_RENAME = 0x800 659 MAP_SHARED = 0x1 660 MAP_STACK = 0x40000 661 MAP_TYPE = 0xf 662 MCL_CURRENT = 0x1 663 MCL_FUTURE = 0x2 664 MNT_DETACH = 0x2 665 MNT_EXPIRE = 0x4 666 MNT_FORCE = 0x1 667 MSG_CMSG_CLOEXEC = 0x40000000 668 MSG_CONFIRM = 0x800 669 MSG_CTRUNC = 0x8 670 MSG_DONTROUTE = 0x4 671 MSG_DONTWAIT = 0x40 672 MSG_EOR = 0x80 673 MSG_ERRQUEUE = 0x2000 674 MSG_FASTOPEN = 0x20000000 675 MSG_FIN = 0x200 676 MSG_MORE = 0x8000 677 MSG_NOSIGNAL = 0x4000 678 MSG_OOB = 0x1 679 MSG_PEEK = 0x2 680 MSG_PROXY = 0x10 681 MSG_RST = 0x1000 682 MSG_SYN = 0x400 683 MSG_TRUNC = 0x20 684 MSG_TRYHARD = 0x4 685 MSG_WAITALL = 0x100 686 MSG_WAITFORONE = 0x10000 687 MS_ACTIVE = 0x40000000 688 MS_ASYNC = 0x1 689 MS_BIND = 0x1000 690 MS_DIRSYNC = 0x80 691 MS_INVALIDATE = 0x2 692 MS_I_VERSION = 0x800000 693 MS_KERNMOUNT = 0x400000 694 MS_MANDLOCK = 0x40 695 MS_MGC_MSK = 0xffff0000 696 MS_MGC_VAL = 0xc0ed0000 697 MS_MOVE = 0x2000 698 MS_NOATIME = 0x400 699 MS_NODEV = 0x4 700 MS_NODIRATIME = 0x800 701 MS_NOEXEC = 0x8 702 MS_NOSUID = 0x2 703 MS_NOUSER = -0x80000000 704 MS_POSIXACL = 0x10000 705 MS_PRIVATE = 0x40000 706 MS_RDONLY = 0x1 707 MS_REC = 0x4000 708 MS_RELATIME = 0x200000 709 MS_REMOUNT = 0x20 710 MS_RMT_MASK = 0x800051 711 MS_SHARED = 0x100000 712 MS_SILENT = 0x8000 713 MS_SLAVE = 0x80000 714 MS_STRICTATIME = 0x1000000 715 MS_SYNC = 0x4 716 MS_SYNCHRONOUS = 0x10 717 MS_UNBINDABLE = 0x20000 718 NAME_MAX = 0xff 719 NETLINK_ADD_MEMBERSHIP = 0x1 720 NETLINK_AUDIT = 0x9 721 NETLINK_BROADCAST_ERROR = 0x4 722 NETLINK_CONNECTOR = 0xb 723 NETLINK_CRYPTO = 0x15 724 NETLINK_DNRTMSG = 0xe 725 NETLINK_DROP_MEMBERSHIP = 0x2 726 NETLINK_ECRYPTFS = 0x13 727 NETLINK_FIB_LOOKUP = 0xa 728 NETLINK_FIREWALL = 0x3 729 NETLINK_GENERIC = 0x10 730 NETLINK_INET_DIAG = 0x4 731 NETLINK_IP6_FW = 0xd 732 NETLINK_ISCSI = 0x8 733 NETLINK_KOBJECT_UEVENT = 0xf 734 NETLINK_NETFILTER = 0xc 735 NETLINK_NFLOG = 0x5 736 NETLINK_NO_ENOBUFS = 0x5 737 NETLINK_PKTINFO = 0x3 738 NETLINK_RDMA = 0x14 739 NETLINK_ROUTE = 0x0 740 NETLINK_RX_RING = 0x6 741 NETLINK_SCSITRANSPORT = 0x12 742 NETLINK_SELINUX = 0x7 743 NETLINK_SOCK_DIAG = 0x4 744 NETLINK_TX_RING = 0x7 745 NETLINK_UNUSED = 0x1 746 NETLINK_USERSOCK = 0x2 747 NETLINK_XFRM = 0x6 748 NLA_ALIGNTO = 0x4 749 NLA_F_NESTED = 0x8000 750 NLA_F_NET_BYTEORDER = 0x4000 751 NLA_HDRLEN = 0x4 752 NLMSG_ALIGNTO = 0x4 753 NLMSG_DONE = 0x3 754 NLMSG_ERROR = 0x2 755 NLMSG_HDRLEN = 0x10 756 NLMSG_MIN_TYPE = 0x10 757 NLMSG_NOOP = 0x1 758 NLMSG_OVERRUN = 0x4 759 NLM_F_ACK = 0x4 760 NLM_F_APPEND = 0x800 761 NLM_F_ATOMIC = 0x400 762 NLM_F_CREATE = 0x400 763 NLM_F_DUMP = 0x300 764 NLM_F_DUMP_INTR = 0x10 765 NLM_F_ECHO = 0x8 766 NLM_F_EXCL = 0x200 767 NLM_F_MATCH = 0x200 768 NLM_F_MULTI = 0x2 769 NLM_F_REPLACE = 0x100 770 NLM_F_REQUEST = 0x1 771 NLM_F_ROOT = 0x100 772 NOFLSH = 0x80 773 OCRNL = 0x8 774 OFDEL = 0x80 775 OFILL = 0x40 776 ONLCR = 0x4 777 ONLRET = 0x20 778 ONOCR = 0x10 779 OPOST = 0x1 780 O_ACCMODE = 0x3 781 O_APPEND = 0x8 782 O_ASYNC = 0x1000 783 O_CLOEXEC = 0x80000 784 O_CREAT = 0x100 785 O_DIRECT = 0x8000 786 O_DIRECTORY = 0x10000 787 O_DSYNC = 0x10 788 O_EXCL = 0x400 789 O_FSYNC = 0x4010 790 O_LARGEFILE = 0x2000 791 O_NDELAY = 0x80 792 O_NOATIME = 0x40000 793 O_NOCTTY = 0x800 794 O_NOFOLLOW = 0x20000 795 O_NONBLOCK = 0x80 796 O_PATH = 0x200000 797 O_RDONLY = 0x0 798 O_RDWR = 0x2 799 O_RSYNC = 0x4010 800 O_SYNC = 0x4010 801 O_TMPFILE = 0x410000 802 O_TRUNC = 0x200 803 O_WRONLY = 0x1 804 PACKET_ADD_MEMBERSHIP = 0x1 805 PACKET_AUXDATA = 0x8 806 PACKET_BROADCAST = 0x1 807 PACKET_COPY_THRESH = 0x7 808 PACKET_DROP_MEMBERSHIP = 0x2 809 PACKET_FANOUT = 0x12 810 PACKET_FANOUT_CPU = 0x2 811 PACKET_FANOUT_FLAG_DEFRAG = 0x8000 812 PACKET_FANOUT_FLAG_ROLLOVER = 0x1000 813 PACKET_FANOUT_HASH = 0x0 814 PACKET_FANOUT_LB = 0x1 815 PACKET_FANOUT_QM = 0x5 816 PACKET_FANOUT_RND = 0x4 817 PACKET_FANOUT_ROLLOVER = 0x3 818 PACKET_FASTROUTE = 0x6 819 PACKET_HDRLEN = 0xb 820 PACKET_HOST = 0x0 821 PACKET_KERNEL = 0x7 822 PACKET_LOOPBACK = 0x5 823 PACKET_LOSS = 0xe 824 PACKET_MR_ALLMULTI = 0x2 825 PACKET_MR_MULTICAST = 0x0 826 PACKET_MR_PROMISC = 0x1 827 PACKET_MR_UNICAST = 0x3 828 PACKET_MULTICAST = 0x2 829 PACKET_ORIGDEV = 0x9 830 PACKET_OTHERHOST = 0x3 831 PACKET_OUTGOING = 0x4 832 PACKET_QDISC_BYPASS = 0x14 833 PACKET_RECV_OUTPUT = 0x3 834 PACKET_RESERVE = 0xc 835 PACKET_RX_RING = 0x5 836 PACKET_STATISTICS = 0x6 837 PACKET_TIMESTAMP = 0x11 838 PACKET_TX_HAS_OFF = 0x13 839 PACKET_TX_RING = 0xd 840 PACKET_TX_TIMESTAMP = 0x10 841 PACKET_USER = 0x6 842 PACKET_VERSION = 0xa 843 PACKET_VNET_HDR = 0xf 844 PARENB = 0x100 845 PARITY_CRC16_PR0 = 0x2 846 PARITY_CRC16_PR0_CCITT = 0x4 847 PARITY_CRC16_PR1 = 0x3 848 PARITY_CRC16_PR1_CCITT = 0x5 849 PARITY_CRC32_PR0_CCITT = 0x6 850 PARITY_CRC32_PR1_CCITT = 0x7 851 PARITY_DEFAULT = 0x0 852 PARITY_NONE = 0x1 853 PARMRK = 0x8 854 PARODD = 0x200 855 PENDIN = 0x4000 856 PRIO_PGRP = 0x1 857 PRIO_PROCESS = 0x0 858 PRIO_USER = 0x2 859 PROT_EXEC = 0x4 860 PROT_GROWSDOWN = 0x1000000 861 PROT_GROWSUP = 0x2000000 862 PROT_NONE = 0x0 863 PROT_READ = 0x1 864 PROT_WRITE = 0x2 865 PR_CAPBSET_DROP = 0x18 866 PR_CAPBSET_READ = 0x17 867 PR_ENDIAN_BIG = 0x0 868 PR_ENDIAN_LITTLE = 0x1 869 PR_ENDIAN_PPC_LITTLE = 0x2 870 PR_FPEMU_NOPRINT = 0x1 871 PR_FPEMU_SIGFPE = 0x2 872 PR_FP_EXC_ASYNC = 0x2 873 PR_FP_EXC_DISABLED = 0x0 874 PR_FP_EXC_DIV = 0x10000 875 PR_FP_EXC_INV = 0x100000 876 PR_FP_EXC_NONRECOV = 0x1 877 PR_FP_EXC_OVF = 0x20000 878 PR_FP_EXC_PRECISE = 0x3 879 PR_FP_EXC_RES = 0x80000 880 PR_FP_EXC_SW_ENABLE = 0x80 881 PR_FP_EXC_UND = 0x40000 882 PR_GET_CHILD_SUBREAPER = 0x25 883 PR_GET_DUMPABLE = 0x3 884 PR_GET_ENDIAN = 0x13 885 PR_GET_FPEMU = 0x9 886 PR_GET_FPEXC = 0xb 887 PR_GET_KEEPCAPS = 0x7 888 PR_GET_NAME = 0x10 889 PR_GET_NO_NEW_PRIVS = 0x27 890 PR_GET_PDEATHSIG = 0x2 891 PR_GET_SECCOMP = 0x15 892 PR_GET_SECUREBITS = 0x1b 893 PR_GET_THP_DISABLE = 0x2a 894 PR_GET_TID_ADDRESS = 0x28 895 PR_GET_TIMERSLACK = 0x1e 896 PR_GET_TIMING = 0xd 897 PR_GET_TSC = 0x19 898 PR_GET_UNALIGN = 0x5 899 PR_MCE_KILL = 0x21 900 PR_MCE_KILL_CLEAR = 0x0 901 PR_MCE_KILL_DEFAULT = 0x2 902 PR_MCE_KILL_EARLY = 0x1 903 PR_MCE_KILL_GET = 0x22 904 PR_MCE_KILL_LATE = 0x0 905 PR_MCE_KILL_SET = 0x1 906 PR_SET_CHILD_SUBREAPER = 0x24 907 PR_SET_DUMPABLE = 0x4 908 PR_SET_ENDIAN = 0x14 909 PR_SET_FPEMU = 0xa 910 PR_SET_FPEXC = 0xc 911 PR_SET_KEEPCAPS = 0x8 912 PR_SET_MM = 0x23 913 PR_SET_MM_ARG_END = 0x9 914 PR_SET_MM_ARG_START = 0x8 915 PR_SET_MM_AUXV = 0xc 916 PR_SET_MM_BRK = 0x7 917 PR_SET_MM_END_CODE = 0x2 918 PR_SET_MM_END_DATA = 0x4 919 PR_SET_MM_ENV_END = 0xb 920 PR_SET_MM_ENV_START = 0xa 921 PR_SET_MM_EXE_FILE = 0xd 922 PR_SET_MM_START_BRK = 0x6 923 PR_SET_MM_START_CODE = 0x1 924 PR_SET_MM_START_DATA = 0x3 925 PR_SET_MM_START_STACK = 0x5 926 PR_SET_NAME = 0xf 927 PR_SET_NO_NEW_PRIVS = 0x26 928 PR_SET_PDEATHSIG = 0x1 929 PR_SET_PTRACER = 0x59616d61 930 PR_SET_PTRACER_ANY = 0xffffffff 931 PR_SET_SECCOMP = 0x16 932 PR_SET_SECUREBITS = 0x1c 933 PR_SET_THP_DISABLE = 0x29 934 PR_SET_TIMERSLACK = 0x1d 935 PR_SET_TIMING = 0xe 936 PR_SET_TSC = 0x1a 937 PR_SET_UNALIGN = 0x6 938 PR_TASK_PERF_EVENTS_DISABLE = 0x1f 939 PR_TASK_PERF_EVENTS_ENABLE = 0x20 940 PR_TIMING_STATISTICAL = 0x0 941 PR_TIMING_TIMESTAMP = 0x1 942 PR_TSC_ENABLE = 0x1 943 PR_TSC_SIGSEGV = 0x2 944 PR_UNALIGN_NOPRINT = 0x1 945 PR_UNALIGN_SIGBUS = 0x2 946 PTRACE_ATTACH = 0x10 947 PTRACE_CONT = 0x7 948 PTRACE_DETACH = 0x11 949 PTRACE_EVENT_CLONE = 0x3 950 PTRACE_EVENT_EXEC = 0x4 951 PTRACE_EVENT_EXIT = 0x6 952 PTRACE_EVENT_FORK = 0x1 953 PTRACE_EVENT_SECCOMP = 0x7 954 PTRACE_EVENT_STOP = 0x80 955 PTRACE_EVENT_VFORK = 0x2 956 PTRACE_EVENT_VFORK_DONE = 0x5 957 PTRACE_GETEVENTMSG = 0x4201 958 PTRACE_GETFPREGS = 0xe 959 PTRACE_GETREGS = 0xc 960 PTRACE_GETREGSET = 0x4204 961 PTRACE_GETSIGINFO = 0x4202 962 PTRACE_GETSIGMASK = 0x420a 963 PTRACE_GET_THREAD_AREA = 0x19 964 PTRACE_GET_THREAD_AREA_3264 = 0xc4 965 PTRACE_GET_WATCH_REGS = 0xd0 966 PTRACE_INTERRUPT = 0x4207 967 PTRACE_KILL = 0x8 968 PTRACE_LISTEN = 0x4208 969 PTRACE_OLDSETOPTIONS = 0x15 970 PTRACE_O_EXITKILL = 0x100000 971 PTRACE_O_MASK = 0x1000ff 972 PTRACE_O_TRACECLONE = 0x8 973 PTRACE_O_TRACEEXEC = 0x10 974 PTRACE_O_TRACEEXIT = 0x40 975 PTRACE_O_TRACEFORK = 0x2 976 PTRACE_O_TRACESECCOMP = 0x80 977 PTRACE_O_TRACESYSGOOD = 0x1 978 PTRACE_O_TRACEVFORK = 0x4 979 PTRACE_O_TRACEVFORKDONE = 0x20 980 PTRACE_PEEKDATA = 0x2 981 PTRACE_PEEKDATA_3264 = 0xc1 982 PTRACE_PEEKSIGINFO = 0x4209 983 PTRACE_PEEKSIGINFO_SHARED = 0x1 984 PTRACE_PEEKTEXT = 0x1 985 PTRACE_PEEKTEXT_3264 = 0xc0 986 PTRACE_PEEKUSR = 0x3 987 PTRACE_POKEDATA = 0x5 988 PTRACE_POKEDATA_3264 = 0xc3 989 PTRACE_POKETEXT = 0x4 990 PTRACE_POKETEXT_3264 = 0xc2 991 PTRACE_POKEUSR = 0x6 992 PTRACE_SEIZE = 0x4206 993 PTRACE_SETFPREGS = 0xf 994 PTRACE_SETOPTIONS = 0x4200 995 PTRACE_SETREGS = 0xd 996 PTRACE_SETREGSET = 0x4205 997 PTRACE_SETSIGINFO = 0x4203 998 PTRACE_SETSIGMASK = 0x420b 999 PTRACE_SET_THREAD_AREA = 0x1a 1000 PTRACE_SET_WATCH_REGS = 0xd1 1001 PTRACE_SINGLESTEP = 0x9 1002 PTRACE_SYSCALL = 0x18 1003 PTRACE_TRACEME = 0x0 1004 RLIMIT_AS = 0x6 1005 RLIMIT_CORE = 0x4 1006 RLIMIT_CPU = 0x0 1007 RLIMIT_DATA = 0x2 1008 RLIMIT_FSIZE = 0x1 1009 RLIMIT_NOFILE = 0x5 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 = 0x40047307 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 = 0x40047309 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 = 0x80047308 1218 SIOCSRARP = 0x8962 1219 SOCK_CLOEXEC = 0x80000 1220 SOCK_DCCP = 0x6 1221 SOCK_DGRAM = 0x1 1222 SOCK_NONBLOCK = 0x80 1223 SOCK_PACKET = 0xa 1224 SOCK_RAW = 0x3 1225 SOCK_RDM = 0x4 1226 SOCK_SEQPACKET = 0x5 1227 SOCK_STREAM = 0x2 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 = 0xffff 1238 SOL_TCP = 0x6 1239 SOL_X25 = 0x106 1240 SOMAXCONN = 0x80 1241 SO_ACCEPTCONN = 0x1009 1242 SO_ATTACH_FILTER = 0x1a 1243 SO_BINDTODEVICE = 0x19 1244 SO_BPF_EXTENSIONS = 0x30 1245 SO_BROADCAST = 0x20 1246 SO_BSDCOMPAT = 0xe 1247 SO_BUSY_POLL = 0x2e 1248 SO_DEBUG = 0x1 1249 SO_DETACH_FILTER = 0x1b 1250 SO_DOMAIN = 0x1029 1251 SO_DONTROUTE = 0x10 1252 SO_ERROR = 0x1007 1253 SO_GET_FILTER = 0x1a 1254 SO_KEEPALIVE = 0x8 1255 SO_LINGER = 0x80 1256 SO_LOCK_FILTER = 0x2c 1257 SO_MARK = 0x24 1258 SO_MAX_PACING_RATE = 0x2f 1259 SO_NOFCS = 0x2b 1260 SO_NO_CHECK = 0xb 1261 SO_OOBINLINE = 0x100 1262 SO_PASSCRED = 0x11 1263 SO_PASSSEC = 0x22 1264 SO_PEEK_OFF = 0x2a 1265 SO_PEERCRED = 0x12 1266 SO_PEERNAME = 0x1c 1267 SO_PEERSEC = 0x1e 1268 SO_PRIORITY = 0xc 1269 SO_PROTOCOL = 0x1028 1270 SO_RCVBUF = 0x1002 1271 SO_RCVBUFFORCE = 0x21 1272 SO_RCVLOWAT = 0x1004 1273 SO_RCVTIMEO = 0x1006 1274 SO_REUSEADDR = 0x4 1275 SO_REUSEPORT = 0x200 1276 SO_RXQ_OVFL = 0x28 1277 SO_SECURITY_AUTHENTICATION = 0x16 1278 SO_SECURITY_ENCRYPTION_NETWORK = 0x18 1279 SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17 1280 SO_SELECT_ERR_QUEUE = 0x2d 1281 SO_SNDBUF = 0x1001 1282 SO_SNDBUFFORCE = 0x1f 1283 SO_SNDLOWAT = 0x1003 1284 SO_SNDTIMEO = 0x1005 1285 SO_STYLE = 0x1008 1286 SO_TIMESTAMP = 0x1d 1287 SO_TIMESTAMPING = 0x25 1288 SO_TIMESTAMPNS = 0x23 1289 SO_TYPE = 0x1008 1290 SO_WIFI_STATUS = 0x29 1291 S_BLKSIZE = 0x200 1292 S_IEXEC = 0x40 1293 S_IFBLK = 0x6000 1294 S_IFCHR = 0x2000 1295 S_IFDIR = 0x4000 1296 S_IFIFO = 0x1000 1297 S_IFLNK = 0xa000 1298 S_IFMT = 0xf000 1299 S_IFREG = 0x8000 1300 S_IFSOCK = 0xc000 1301 S_IREAD = 0x100 1302 S_IRGRP = 0x20 1303 S_IROTH = 0x4 1304 S_IRUSR = 0x100 1305 S_IRWXG = 0x38 1306 S_IRWXO = 0x7 1307 S_IRWXU = 0x1c0 1308 S_ISGID = 0x400 1309 S_ISUID = 0x800 1310 S_ISVTX = 0x200 1311 S_IWGRP = 0x10 1312 S_IWOTH = 0x2 1313 S_IWRITE = 0x80 1314 S_IWUSR = 0x80 1315 S_IXGRP = 0x8 1316 S_IXOTH = 0x1 1317 S_IXUSR = 0x40 1318 TCFLSH = 0x5407 1319 TCIFLUSH = 0x0 1320 TCIOFLUSH = 0x2 1321 TCOFLUSH = 0x1 1322 TCP_CONGESTION = 0xd 1323 TCP_COOKIE_IN_ALWAYS = 0x1 1324 TCP_COOKIE_MAX = 0x10 1325 TCP_COOKIE_MIN = 0x8 1326 TCP_COOKIE_OUT_NEVER = 0x2 1327 TCP_COOKIE_PAIR_SIZE = 0x20 1328 TCP_COOKIE_TRANSACTIONS = 0xf 1329 TCP_CORK = 0x3 1330 TCP_DEFER_ACCEPT = 0x9 1331 TCP_FASTOPEN = 0x17 1332 TCP_INFO = 0xb 1333 TCP_KEEPCNT = 0x6 1334 TCP_KEEPIDLE = 0x4 1335 TCP_KEEPINTVL = 0x5 1336 TCP_LINGER2 = 0x8 1337 TCP_MAXSEG = 0x2 1338 TCP_MAXWIN = 0xffff 1339 TCP_MAX_WINSHIFT = 0xe 1340 TCP_MD5SIG = 0xe 1341 TCP_MD5SIG_MAXKEYLEN = 0x50 1342 TCP_MSS = 0x200 1343 TCP_MSS_DEFAULT = 0x218 1344 TCP_MSS_DESIRED = 0x4c4 1345 TCP_NODELAY = 0x1 1346 TCP_QUEUE_SEQ = 0x15 1347 TCP_QUICKACK = 0xc 1348 TCP_REPAIR = 0x13 1349 TCP_REPAIR_OPTIONS = 0x16 1350 TCP_REPAIR_QUEUE = 0x14 1351 TCP_SYNCNT = 0x7 1352 TCP_S_DATA_IN = 0x4 1353 TCP_S_DATA_OUT = 0x8 1354 TCP_THIN_DUPACK = 0x11 1355 TCP_THIN_LINEAR_TIMEOUTS = 0x10 1356 TCP_TIMESTAMP = 0x18 1357 TCP_USER_TIMEOUT = 0x12 1358 TCP_WINDOW_CLAMP = 0xa 1359 TCSAFLUSH = 0x5410 1360 TIOCCBRK = 0x5428 1361 TIOCCONS = 0x80047478 1362 TIOCEXCL = 0x740d 1363 TIOCGDEV = 0x40045432 1364 TIOCGETD = 0x7400 1365 TIOCGETP = 0x7408 1366 TIOCGEXCL = 0x40045440 1367 TIOCGICOUNT = 0x5492 1368 TIOCGLCKTRMIOS = 0x548b 1369 TIOCGLTC = 0x7474 1370 TIOCGPGRP = 0x40047477 1371 TIOCGPKT = 0x40045438 1372 TIOCGPTLCK = 0x40045439 1373 TIOCGPTN = 0x40045430 1374 TIOCGSERIAL = 0x5484 1375 TIOCGSID = 0x7416 1376 TIOCGSOFTCAR = 0x5481 1377 TIOCGWINSZ = 0x40087468 1378 TIOCINQ = 0x467f 1379 TIOCLINUX = 0x5483 1380 TIOCMBIC = 0x741c 1381 TIOCMBIS = 0x741b 1382 TIOCMGET = 0x741d 1383 TIOCMIWAIT = 0x5491 1384 TIOCMSET = 0x741a 1385 TIOCM_CAR = 0x100 1386 TIOCM_CD = 0x100 1387 TIOCM_CTS = 0x40 1388 TIOCM_DSR = 0x400 1389 TIOCM_DTR = 0x2 1390 TIOCM_LE = 0x1 1391 TIOCM_RI = 0x200 1392 TIOCM_RNG = 0x200 1393 TIOCM_RTS = 0x4 1394 TIOCM_SR = 0x20 1395 TIOCM_ST = 0x10 1396 TIOCNOTTY = 0x5471 1397 TIOCNXCL = 0x740e 1398 TIOCOUTQ = 0x7472 1399 TIOCPKT = 0x5470 1400 TIOCPKT_DATA = 0x0 1401 TIOCPKT_DOSTOP = 0x20 1402 TIOCPKT_FLUSHREAD = 0x1 1403 TIOCPKT_FLUSHWRITE = 0x2 1404 TIOCPKT_IOCTL = 0x40 1405 TIOCPKT_NOSTOP = 0x10 1406 TIOCPKT_START = 0x8 1407 TIOCPKT_STOP = 0x4 1408 TIOCSBRK = 0x5427 1409 TIOCSCTTY = 0x5480 1410 TIOCSERCONFIG = 0x5488 1411 TIOCSERGETLSR = 0x548e 1412 TIOCSERGETMULTI = 0x548f 1413 TIOCSERGSTRUCT = 0x548d 1414 TIOCSERGWILD = 0x5489 1415 TIOCSERSETMULTI = 0x5490 1416 TIOCSERSWILD = 0x548a 1417 TIOCSER_TEMT = 0x1 1418 TIOCSETD = 0x7401 1419 TIOCSETN = 0x740a 1420 TIOCSETP = 0x7409 1421 TIOCSIG = 0x80045436 1422 TIOCSLCKTRMIOS = 0x548c 1423 TIOCSLTC = 0x7475 1424 TIOCSPGRP = 0x80047476 1425 TIOCSPTLCK = 0x80045431 1426 TIOCSSERIAL = 0x5485 1427 TIOCSSOFTCAR = 0x5482 1428 TIOCSTI = 0x5472 1429 TIOCSWINSZ = 0x80087467 1430 TIOCVHANGUP = 0x5437 1431 TOSTOP = 0x8000 1432 TUNATTACHFILTER = 0x800854d5 1433 TUNDETACHFILTER = 0x800854d6 1434 TUNGETFEATURES = 0x400454cf 1435 TUNGETFILTER = 0x400854db 1436 TUNGETIFF = 0x400454d2 1437 TUNGETSNDBUF = 0x400454d3 1438 TUNGETVNETHDRSZ = 0x400454d7 1439 TUNSETDEBUG = 0x800454c9 1440 TUNSETGROUP = 0x800454ce 1441 TUNSETIFF = 0x800454ca 1442 TUNSETIFINDEX = 0x800454da 1443 TUNSETLINK = 0x800454cd 1444 TUNSETNOCSUM = 0x800454c8 1445 TUNSETOFFLOAD = 0x800454d0 1446 TUNSETOWNER = 0x800454cc 1447 TUNSETPERSIST = 0x800454cb 1448 TUNSETQUEUE = 0x800454d9 1449 TUNSETSNDBUF = 0x800454d4 1450 TUNSETTXFILTER = 0x800454d1 1451 TUNSETVNETHDRSZ = 0x800454d8 1452 VDISCARD = 0xd 1453 VEOF = 0x10 1454 VEOL = 0x11 1455 VEOL2 = 0x6 1456 VERASE = 0x2 1457 VINTR = 0x0 1458 VKILL = 0x3 1459 VLNEXT = 0xf 1460 VMIN = 0x4 1461 VQUIT = 0x1 1462 VREPRINT = 0xc 1463 VSTART = 0x8 1464 VSTOP = 0x9 1465 VSUSP = 0xa 1466 VSWTC = 0x7 1467 VSWTCH = 0x7 1468 VT0 = 0x0 1469 VT1 = 0x4000 1470 VTDLY = 0x4000 1471 VTIME = 0x5 1472 VWERASE = 0xe 1473 WALL = 0x40000000 1474 WCLONE = 0x80000000 1475 WCONTINUED = 0x8 1476 WEXITED = 0x4 1477 WNOHANG = 0x1 1478 WNOTHREAD = 0x20000000 1479 WNOWAIT = 0x1000000 1480 WORDSIZE = 0x20 1481 WSTOPPED = 0x2 1482 WUNTRACED = 0x2 1483 ) 1484 1485 // Errors 1486 const ( 1487 E2BIG = Errno(0x7) 1488 EACCES = Errno(0xd) 1489 EADDRINUSE = Errno(0x7d) 1490 EADDRNOTAVAIL = Errno(0x7e) 1491 EADV = Errno(0x44) 1492 EAFNOSUPPORT = Errno(0x7c) 1493 EAGAIN = Errno(0xb) 1494 EALREADY = Errno(0x95) 1495 EBADE = Errno(0x32) 1496 EBADF = Errno(0x9) 1497 EBADFD = Errno(0x51) 1498 EBADMSG = Errno(0x4d) 1499 EBADR = Errno(0x33) 1500 EBADRQC = Errno(0x36) 1501 EBADSLT = Errno(0x37) 1502 EBFONT = Errno(0x3b) 1503 EBUSY = Errno(0x10) 1504 ECANCELED = Errno(0x9e) 1505 ECHILD = Errno(0xa) 1506 ECHRNG = Errno(0x25) 1507 ECOMM = Errno(0x46) 1508 ECONNABORTED = Errno(0x82) 1509 ECONNREFUSED = Errno(0x92) 1510 ECONNRESET = Errno(0x83) 1511 EDEADLK = Errno(0x2d) 1512 EDEADLOCK = Errno(0x38) 1513 EDESTADDRREQ = Errno(0x60) 1514 EDOM = Errno(0x21) 1515 EDOTDOT = Errno(0x49) 1516 EDQUOT = Errno(0x46d) 1517 EEXIST = Errno(0x11) 1518 EFAULT = Errno(0xe) 1519 EFBIG = Errno(0x1b) 1520 EHOSTDOWN = Errno(0x93) 1521 EHOSTUNREACH = Errno(0x94) 1522 EHWPOISON = Errno(0xa8) 1523 EIDRM = Errno(0x24) 1524 EILSEQ = Errno(0x58) 1525 EINIT = Errno(0x8d) 1526 EINPROGRESS = Errno(0x96) 1527 EINTR = Errno(0x4) 1528 EINVAL = Errno(0x16) 1529 EIO = Errno(0x5) 1530 EISCONN = Errno(0x85) 1531 EISDIR = Errno(0x15) 1532 EISNAM = Errno(0x8b) 1533 EKEYEXPIRED = Errno(0xa2) 1534 EKEYREJECTED = Errno(0xa4) 1535 EKEYREVOKED = Errno(0xa3) 1536 EL2HLT = Errno(0x2c) 1537 EL2NSYNC = Errno(0x26) 1538 EL3HLT = Errno(0x27) 1539 EL3RST = Errno(0x28) 1540 ELIBACC = Errno(0x53) 1541 ELIBBAD = Errno(0x54) 1542 ELIBEXEC = Errno(0x57) 1543 ELIBMAX = Errno(0x56) 1544 ELIBSCN = Errno(0x55) 1545 ELNRNG = Errno(0x29) 1546 ELOOP = Errno(0x5a) 1547 EMEDIUMTYPE = Errno(0xa0) 1548 EMFILE = Errno(0x18) 1549 EMLINK = Errno(0x1f) 1550 EMSGSIZE = Errno(0x61) 1551 EMULTIHOP = Errno(0x4a) 1552 ENAMETOOLONG = Errno(0x4e) 1553 ENAVAIL = Errno(0x8a) 1554 ENETDOWN = Errno(0x7f) 1555 ENETRESET = Errno(0x81) 1556 ENETUNREACH = Errno(0x80) 1557 ENFILE = Errno(0x17) 1558 ENOANO = Errno(0x35) 1559 ENOBUFS = Errno(0x84) 1560 ENOCSI = Errno(0x2b) 1561 ENODATA = Errno(0x3d) 1562 ENODEV = Errno(0x13) 1563 ENOENT = Errno(0x2) 1564 ENOEXEC = Errno(0x8) 1565 ENOKEY = Errno(0xa1) 1566 ENOLCK = Errno(0x2e) 1567 ENOLINK = Errno(0x43) 1568 ENOMEDIUM = Errno(0x9f) 1569 ENOMEM = Errno(0xc) 1570 ENOMSG = Errno(0x23) 1571 ENONET = Errno(0x40) 1572 ENOPKG = Errno(0x41) 1573 ENOPROTOOPT = Errno(0x63) 1574 ENOSPC = Errno(0x1c) 1575 ENOSR = Errno(0x3f) 1576 ENOSTR = Errno(0x3c) 1577 ENOSYS = Errno(0x59) 1578 ENOTBLK = Errno(0xf) 1579 ENOTCONN = Errno(0x86) 1580 ENOTDIR = Errno(0x14) 1581 ENOTEMPTY = Errno(0x5d) 1582 ENOTNAM = Errno(0x89) 1583 ENOTRECOVERABLE = Errno(0xa6) 1584 ENOTSOCK = Errno(0x5f) 1585 ENOTSUP = Errno(0x7a) 1586 ENOTTY = Errno(0x19) 1587 ENOTUNIQ = Errno(0x50) 1588 ENXIO = Errno(0x6) 1589 EOPNOTSUPP = Errno(0x7a) 1590 EOVERFLOW = Errno(0x4f) 1591 EOWNERDEAD = Errno(0xa5) 1592 EPERM = Errno(0x1) 1593 EPFNOSUPPORT = Errno(0x7b) 1594 EPIPE = Errno(0x20) 1595 EPROTO = Errno(0x47) 1596 EPROTONOSUPPORT = Errno(0x78) 1597 EPROTOTYPE = Errno(0x62) 1598 ERANGE = Errno(0x22) 1599 EREMCHG = Errno(0x52) 1600 EREMDEV = Errno(0x8e) 1601 EREMOTE = Errno(0x42) 1602 EREMOTEIO = Errno(0x8c) 1603 ERESTART = Errno(0x5b) 1604 ERFKILL = Errno(0xa7) 1605 EROFS = Errno(0x1e) 1606 ESHUTDOWN = Errno(0x8f) 1607 ESOCKTNOSUPPORT = Errno(0x79) 1608 ESPIPE = Errno(0x1d) 1609 ESRCH = Errno(0x3) 1610 ESRMNT = Errno(0x45) 1611 ESTALE = Errno(0x97) 1612 ESTRPIPE = Errno(0x5c) 1613 ETIME = Errno(0x3e) 1614 ETIMEDOUT = Errno(0x91) 1615 ETOOMANYREFS = Errno(0x90) 1616 ETXTBSY = Errno(0x1a) 1617 EUCLEAN = Errno(0x87) 1618 EUNATCH = Errno(0x2a) 1619 EUSERS = Errno(0x5e) 1620 EWOULDBLOCK = Errno(0xb) 1621 EXDEV = Errno(0x12) 1622 EXFULL = Errno(0x34) 1623 ) 1624 1625 // Signals 1626 const ( 1627 SIGABRT = Signal(0x6) 1628 SIGALRM = Signal(0xe) 1629 SIGBUS = Signal(0xa) 1630 SIGCHLD = Signal(0x12) 1631 SIGCLD = Signal(0x12) 1632 SIGCONT = Signal(0x19) 1633 SIGEMT = Signal(0x7) 1634 SIGFPE = Signal(0x8) 1635 SIGHUP = Signal(0x1) 1636 SIGILL = Signal(0x4) 1637 SIGINT = Signal(0x2) 1638 SIGIO = Signal(0x16) 1639 SIGIOT = Signal(0x6) 1640 SIGKILL = Signal(0x9) 1641 SIGPIPE = Signal(0xd) 1642 SIGPOLL = Signal(0x16) 1643 SIGPROF = Signal(0x1d) 1644 SIGPWR = Signal(0x13) 1645 SIGQUIT = Signal(0x3) 1646 SIGSEGV = Signal(0xb) 1647 SIGSTOP = Signal(0x17) 1648 SIGSYS = Signal(0xc) 1649 SIGTERM = Signal(0xf) 1650 SIGTRAP = Signal(0x5) 1651 SIGTSTP = Signal(0x18) 1652 SIGTTIN = Signal(0x1a) 1653 SIGTTOU = Signal(0x1b) 1654 SIGURG = Signal(0x15) 1655 SIGUSR1 = Signal(0x10) 1656 SIGUSR2 = Signal(0x11) 1657 SIGVTALRM = Signal(0x1c) 1658 SIGWINCH = Signal(0x14) 1659 SIGXCPU = Signal(0x1e) 1660 SIGXFSZ = Signal(0x1f) 1661 ) 1662 1663 // Error table 1664 var errors = [...]string{ 1665 1: "operation not permitted", 1666 2: "no such file or directory", 1667 3: "no such process", 1668 4: "interrupted system call", 1669 5: "input/output error", 1670 6: "no such device or address", 1671 7: "argument list too long", 1672 8: "exec format error", 1673 9: "bad file descriptor", 1674 10: "no child processes", 1675 11: "resource temporarily unavailable", 1676 12: "cannot allocate memory", 1677 13: "permission denied", 1678 14: "bad address", 1679 15: "block device required", 1680 16: "device or resource busy", 1681 17: "file exists", 1682 18: "invalid cross-device link", 1683 19: "no such device", 1684 20: "not a directory", 1685 21: "is a directory", 1686 22: "invalid argument", 1687 23: "too many open files in system", 1688 24: "too many open files", 1689 25: "inappropriate ioctl for device", 1690 26: "text file busy", 1691 27: "file too large", 1692 28: "no space left on device", 1693 29: "illegal seek", 1694 30: "read-only file system", 1695 31: "too many links", 1696 32: "broken pipe", 1697 33: "numerical argument out of domain", 1698 34: "numerical result out of range", 1699 35: "no message of desired type", 1700 36: "identifier removed", 1701 37: "channel number out of range", 1702 38: "level 2 not synchronized", 1703 39: "level 3 halted", 1704 40: "level 3 reset", 1705 41: "link number out of range", 1706 42: "protocol driver not attached", 1707 43: "no CSI structure available", 1708 44: "level 2 halted", 1709 45: "resource deadlock avoided", 1710 46: "no locks available", 1711 50: "invalid exchange", 1712 51: "invalid request descriptor", 1713 52: "exchange full", 1714 53: "no anode", 1715 54: "invalid request code", 1716 55: "invalid slot", 1717 56: "file locking deadlock error", 1718 59: "bad font file format", 1719 60: "device not a stream", 1720 61: "no data available", 1721 62: "timer expired", 1722 63: "out of streams resources", 1723 64: "machine is not on the network", 1724 65: "package not installed", 1725 66: "object is remote", 1726 67: "link has been severed", 1727 68: "advertise error", 1728 69: "srmount error", 1729 70: "communication error on send", 1730 71: "protocol error", 1731 73: "RFS specific error", 1732 74: "multihop attempted", 1733 77: "bad message", 1734 78: "file name too long", 1735 79: "value too large for defined data type", 1736 80: "name not unique on network", 1737 81: "file descriptor in bad state", 1738 82: "remote address changed", 1739 83: "can not access a needed shared library", 1740 84: "accessing a corrupted shared library", 1741 85: ".lib section in a.out corrupted", 1742 86: "attempting to link in too many shared libraries", 1743 87: "cannot exec a shared library directly", 1744 88: "invalid or incomplete multibyte or wide character", 1745 89: "function not implemented", 1746 90: "too many levels of symbolic links", 1747 91: "interrupted system call should be restarted", 1748 92: "streams pipe error", 1749 93: "directory not empty", 1750 94: "too many users", 1751 95: "socket operation on non-socket", 1752 96: "destination address required", 1753 97: "message too long", 1754 98: "protocol wrong type for socket", 1755 99: "protocol not available", 1756 120: "protocol not supported", 1757 121: "socket type not supported", 1758 122: "operation not supported", 1759 123: "protocol family not supported", 1760 124: "address family not supported by protocol", 1761 125: "address already in use", 1762 126: "cannot assign requested address", 1763 127: "network is down", 1764 128: "network is unreachable", 1765 129: "network dropped connection on reset", 1766 130: "software caused connection abort", 1767 131: "connection reset by peer", 1768 132: "no buffer space available", 1769 133: "transport endpoint is already connected", 1770 134: "transport endpoint is not connected", 1771 135: "structure needs cleaning", 1772 137: "not a XENIX named type file", 1773 138: "no XENIX semaphores available", 1774 139: "is a named type file", 1775 140: "remote I/O error", 1776 141: "unknown error 141", 1777 142: "unknown error 142", 1778 143: "cannot send after transport endpoint shutdown", 1779 144: "too many references: cannot splice", 1780 145: "connection timed out", 1781 146: "connection refused", 1782 147: "host is down", 1783 148: "no route to host", 1784 149: "operation already in progress", 1785 150: "operation now in progress", 1786 151: "stale file handle", 1787 158: "operation canceled", 1788 159: "no medium found", 1789 160: "wrong medium type", 1790 161: "required key not available", 1791 162: "key has expired", 1792 163: "key has been revoked", 1793 164: "key was rejected by service", 1794 165: "owner died", 1795 166: "state not recoverable", 1796 167: "operation not possible due to RF-kill", 1797 168: "memory page has hardware error", 1798 1133: "disk quota exceeded", 1799 } 1800 1801 // Signal table 1802 var signals = [...]string{ 1803 1: "hangup", 1804 2: "interrupt", 1805 3: "quit", 1806 4: "illegal instruction", 1807 5: "trace/breakpoint trap", 1808 6: "aborted", 1809 7: "EMT trap", 1810 8: "floating point exception", 1811 9: "killed", 1812 10: "bus error", 1813 11: "segmentation fault", 1814 12: "bad system call", 1815 13: "broken pipe", 1816 14: "alarm clock", 1817 15: "terminated", 1818 16: "user defined signal 1", 1819 17: "user defined signal 2", 1820 18: "child exited", 1821 19: "power failure", 1822 20: "window changed", 1823 21: "urgent I/O condition", 1824 22: "I/O possible", 1825 23: "stopped (signal)", 1826 24: "stopped", 1827 25: "continued", 1828 26: "stopped (tty input)", 1829 27: "stopped (tty output)", 1830 28: "virtual timer expired", 1831 29: "profiling timer expired", 1832 30: "CPU time limit exceeded", 1833 31: "file size limit exceeded", 1834 }