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