github.com/Andyfoo/golang/x/sys@v0.0.0-20190901054642-57c1bf301704/unix/zerrors_netbsd_arm.go (about) 1 // mkerrors.sh -marm 2 // Code generated by the command above; see README.md. DO NOT EDIT. 3 4 // +build arm,netbsd 5 6 // Created by cgo -godefs - DO NOT EDIT 7 // cgo -godefs -- -marm _const.go 8 9 package unix 10 11 import "syscall" 12 13 const ( 14 AF_APPLETALK = 0x10 15 AF_ARP = 0x1c 16 AF_BLUETOOTH = 0x1f 17 AF_CCITT = 0xa 18 AF_CHAOS = 0x5 19 AF_CNT = 0x15 20 AF_COIP = 0x14 21 AF_DATAKIT = 0x9 22 AF_DECnet = 0xc 23 AF_DLI = 0xd 24 AF_E164 = 0x1a 25 AF_ECMA = 0x8 26 AF_HYLINK = 0xf 27 AF_IEEE80211 = 0x20 28 AF_IMPLINK = 0x3 29 AF_INET = 0x2 30 AF_INET6 = 0x18 31 AF_IPX = 0x17 32 AF_ISDN = 0x1a 33 AF_ISO = 0x7 34 AF_LAT = 0xe 35 AF_LINK = 0x12 36 AF_LOCAL = 0x1 37 AF_MAX = 0x23 38 AF_MPLS = 0x21 39 AF_NATM = 0x1b 40 AF_NS = 0x6 41 AF_OROUTE = 0x11 42 AF_OSI = 0x7 43 AF_PUP = 0x4 44 AF_ROUTE = 0x22 45 AF_SNA = 0xb 46 AF_UNIX = 0x1 47 AF_UNSPEC = 0x0 48 ARPHRD_ARCNET = 0x7 49 ARPHRD_ETHER = 0x1 50 ARPHRD_FRELAY = 0xf 51 ARPHRD_IEEE1394 = 0x18 52 ARPHRD_IEEE802 = 0x6 53 ARPHRD_STRIP = 0x17 54 B0 = 0x0 55 B110 = 0x6e 56 B115200 = 0x1c200 57 B1200 = 0x4b0 58 B134 = 0x86 59 B14400 = 0x3840 60 B150 = 0x96 61 B1800 = 0x708 62 B19200 = 0x4b00 63 B200 = 0xc8 64 B230400 = 0x38400 65 B2400 = 0x960 66 B28800 = 0x7080 67 B300 = 0x12c 68 B38400 = 0x9600 69 B460800 = 0x70800 70 B4800 = 0x12c0 71 B50 = 0x32 72 B57600 = 0xe100 73 B600 = 0x258 74 B7200 = 0x1c20 75 B75 = 0x4b 76 B76800 = 0x12c00 77 B921600 = 0xe1000 78 B9600 = 0x2580 79 BIOCFEEDBACK = 0x8004427d 80 BIOCFLUSH = 0x20004268 81 BIOCGBLEN = 0x40044266 82 BIOCGDLT = 0x4004426a 83 BIOCGDLTLIST = 0xc0084277 84 BIOCGETIF = 0x4090426b 85 BIOCGFEEDBACK = 0x4004427c 86 BIOCGHDRCMPLT = 0x40044274 87 BIOCGRTIMEOUT = 0x400c427b 88 BIOCGSEESENT = 0x40044278 89 BIOCGSTATS = 0x4080426f 90 BIOCGSTATSOLD = 0x4008426f 91 BIOCIMMEDIATE = 0x80044270 92 BIOCPROMISC = 0x20004269 93 BIOCSBLEN = 0xc0044266 94 BIOCSDLT = 0x80044276 95 BIOCSETF = 0x80084267 96 BIOCSETIF = 0x8090426c 97 BIOCSFEEDBACK = 0x8004427d 98 BIOCSHDRCMPLT = 0x80044275 99 BIOCSRTIMEOUT = 0x800c427a 100 BIOCSSEESENT = 0x80044279 101 BIOCSTCPF = 0x80084272 102 BIOCSUDPF = 0x80084273 103 BIOCVERSION = 0x40044271 104 BPF_A = 0x10 105 BPF_ABS = 0x20 106 BPF_ADD = 0x0 107 BPF_ALIGNMENT = 0x4 108 BPF_ALIGNMENT32 = 0x4 109 BPF_ALU = 0x4 110 BPF_AND = 0x50 111 BPF_B = 0x10 112 BPF_DFLTBUFSIZE = 0x100000 113 BPF_DIV = 0x30 114 BPF_H = 0x8 115 BPF_IMM = 0x0 116 BPF_IND = 0x40 117 BPF_JA = 0x0 118 BPF_JEQ = 0x10 119 BPF_JGE = 0x30 120 BPF_JGT = 0x20 121 BPF_JMP = 0x5 122 BPF_JSET = 0x40 123 BPF_K = 0x0 124 BPF_LD = 0x0 125 BPF_LDX = 0x1 126 BPF_LEN = 0x80 127 BPF_LSH = 0x60 128 BPF_MAJOR_VERSION = 0x1 129 BPF_MAXBUFSIZE = 0x1000000 130 BPF_MAXINSNS = 0x200 131 BPF_MEM = 0x60 132 BPF_MEMWORDS = 0x10 133 BPF_MINBUFSIZE = 0x20 134 BPF_MINOR_VERSION = 0x1 135 BPF_MISC = 0x7 136 BPF_MSH = 0xa0 137 BPF_MUL = 0x20 138 BPF_NEG = 0x80 139 BPF_OR = 0x40 140 BPF_RELEASE = 0x30bb6 141 BPF_RET = 0x6 142 BPF_RSH = 0x70 143 BPF_ST = 0x2 144 BPF_STX = 0x3 145 BPF_SUB = 0x10 146 BPF_TAX = 0x0 147 BPF_TXA = 0x80 148 BPF_W = 0x0 149 BPF_X = 0x8 150 BRKINT = 0x2 151 CFLUSH = 0xf 152 CLOCAL = 0x8000 153 CREAD = 0x800 154 CRTSCTS = 0x10000 155 CS5 = 0x0 156 CS6 = 0x100 157 CS7 = 0x200 158 CS8 = 0x300 159 CSIZE = 0x300 160 CSTART = 0x11 161 CSTATUS = 0x14 162 CSTOP = 0x13 163 CSTOPB = 0x400 164 CSUSP = 0x1a 165 CTL_HW = 0x6 166 CTL_KERN = 0x1 167 CTL_MAXNAME = 0xc 168 CTL_NET = 0x4 169 CTL_QUERY = -0x2 170 DIOCBSFLUSH = 0x20006478 171 DLT_A429 = 0xb8 172 DLT_A653_ICM = 0xb9 173 DLT_AIRONET_HEADER = 0x78 174 DLT_AOS = 0xde 175 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a 176 DLT_ARCNET = 0x7 177 DLT_ARCNET_LINUX = 0x81 178 DLT_ATM_CLIP = 0x13 179 DLT_ATM_RFC1483 = 0xb 180 DLT_AURORA = 0x7e 181 DLT_AX25 = 0x3 182 DLT_AX25_KISS = 0xca 183 DLT_BACNET_MS_TP = 0xa5 184 DLT_BLUETOOTH_HCI_H4 = 0xbb 185 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9 186 DLT_CAN20B = 0xbe 187 DLT_CAN_SOCKETCAN = 0xe3 188 DLT_CHAOS = 0x5 189 DLT_CISCO_IOS = 0x76 190 DLT_C_HDLC = 0x68 191 DLT_C_HDLC_WITH_DIR = 0xcd 192 DLT_DECT = 0xdd 193 DLT_DOCSIS = 0x8f 194 DLT_ECONET = 0x73 195 DLT_EN10MB = 0x1 196 DLT_EN3MB = 0x2 197 DLT_ENC = 0x6d 198 DLT_ERF = 0xc5 199 DLT_ERF_ETH = 0xaf 200 DLT_ERF_POS = 0xb0 201 DLT_FC_2 = 0xe0 202 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1 203 DLT_FDDI = 0xa 204 DLT_FLEXRAY = 0xd2 205 DLT_FRELAY = 0x6b 206 DLT_FRELAY_WITH_DIR = 0xce 207 DLT_GCOM_SERIAL = 0xad 208 DLT_GCOM_T1E1 = 0xac 209 DLT_GPF_F = 0xab 210 DLT_GPF_T = 0xaa 211 DLT_GPRS_LLC = 0xa9 212 DLT_GSMTAP_ABIS = 0xda 213 DLT_GSMTAP_UM = 0xd9 214 DLT_HDLC = 0x10 215 DLT_HHDLC = 0x79 216 DLT_HIPPI = 0xf 217 DLT_IBM_SN = 0x92 218 DLT_IBM_SP = 0x91 219 DLT_IEEE802 = 0x6 220 DLT_IEEE802_11 = 0x69 221 DLT_IEEE802_11_RADIO = 0x7f 222 DLT_IEEE802_11_RADIO_AVS = 0xa3 223 DLT_IEEE802_15_4 = 0xc3 224 DLT_IEEE802_15_4_LINUX = 0xbf 225 DLT_IEEE802_15_4_NONASK_PHY = 0xd7 226 DLT_IEEE802_16_MAC_CPS = 0xbc 227 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 228 DLT_IPMB = 0xc7 229 DLT_IPMB_LINUX = 0xd1 230 DLT_IPNET = 0xe2 231 DLT_IPV4 = 0xe4 232 DLT_IPV6 = 0xe5 233 DLT_IP_OVER_FC = 0x7a 234 DLT_JUNIPER_ATM1 = 0x89 235 DLT_JUNIPER_ATM2 = 0x87 236 DLT_JUNIPER_CHDLC = 0xb5 237 DLT_JUNIPER_ES = 0x84 238 DLT_JUNIPER_ETHER = 0xb2 239 DLT_JUNIPER_FRELAY = 0xb4 240 DLT_JUNIPER_GGSN = 0x85 241 DLT_JUNIPER_ISM = 0xc2 242 DLT_JUNIPER_MFR = 0x86 243 DLT_JUNIPER_MLFR = 0x83 244 DLT_JUNIPER_MLPPP = 0x82 245 DLT_JUNIPER_MONITOR = 0xa4 246 DLT_JUNIPER_PIC_PEER = 0xae 247 DLT_JUNIPER_PPP = 0xb3 248 DLT_JUNIPER_PPPOE = 0xa7 249 DLT_JUNIPER_PPPOE_ATM = 0xa8 250 DLT_JUNIPER_SERVICES = 0x88 251 DLT_JUNIPER_ST = 0xc8 252 DLT_JUNIPER_VP = 0xb7 253 DLT_LAPB_WITH_DIR = 0xcf 254 DLT_LAPD = 0xcb 255 DLT_LIN = 0xd4 256 DLT_LINUX_EVDEV = 0xd8 257 DLT_LINUX_IRDA = 0x90 258 DLT_LINUX_LAPD = 0xb1 259 DLT_LINUX_SLL = 0x71 260 DLT_LOOP = 0x6c 261 DLT_LTALK = 0x72 262 DLT_MFR = 0xb6 263 DLT_MOST = 0xd3 264 DLT_MPLS = 0xdb 265 DLT_MTP2 = 0x8c 266 DLT_MTP2_WITH_PHDR = 0x8b 267 DLT_MTP3 = 0x8d 268 DLT_NULL = 0x0 269 DLT_PCI_EXP = 0x7d 270 DLT_PFLOG = 0x75 271 DLT_PFSYNC = 0x12 272 DLT_PPI = 0xc0 273 DLT_PPP = 0x9 274 DLT_PPP_BSDOS = 0xe 275 DLT_PPP_ETHER = 0x33 276 DLT_PPP_PPPD = 0xa6 277 DLT_PPP_SERIAL = 0x32 278 DLT_PPP_WITH_DIR = 0xcc 279 DLT_PRISM_HEADER = 0x77 280 DLT_PRONET = 0x4 281 DLT_RAIF1 = 0xc6 282 DLT_RAW = 0xc 283 DLT_RAWAF_MASK = 0x2240000 284 DLT_RIO = 0x7c 285 DLT_SCCP = 0x8e 286 DLT_SITA = 0xc4 287 DLT_SLIP = 0x8 288 DLT_SLIP_BSDOS = 0xd 289 DLT_SUNATM = 0x7b 290 DLT_SYMANTEC_FIREWALL = 0x63 291 DLT_TZSP = 0x80 292 DLT_USB = 0xba 293 DLT_USB_LINUX = 0xbd 294 DLT_USB_LINUX_MMAPPED = 0xdc 295 DLT_WIHART = 0xdf 296 DLT_X2E_SERIAL = 0xd5 297 DLT_X2E_XORAYA = 0xd6 298 DT_BLK = 0x6 299 DT_CHR = 0x2 300 DT_DIR = 0x4 301 DT_FIFO = 0x1 302 DT_LNK = 0xa 303 DT_REG = 0x8 304 DT_SOCK = 0xc 305 DT_UNKNOWN = 0x0 306 DT_WHT = 0xe 307 ECHO = 0x8 308 ECHOCTL = 0x40 309 ECHOE = 0x2 310 ECHOK = 0x4 311 ECHOKE = 0x1 312 ECHONL = 0x10 313 ECHOPRT = 0x20 314 EMUL_LINUX = 0x1 315 EMUL_LINUX32 = 0x5 316 EMUL_MAXID = 0x6 317 ETHERCAP_JUMBO_MTU = 0x4 318 ETHERCAP_VLAN_HWTAGGING = 0x2 319 ETHERCAP_VLAN_MTU = 0x1 320 ETHERMIN = 0x2e 321 ETHERMTU = 0x5dc 322 ETHERMTU_JUMBO = 0x2328 323 ETHERTYPE_8023 = 0x4 324 ETHERTYPE_AARP = 0x80f3 325 ETHERTYPE_ACCTON = 0x8390 326 ETHERTYPE_AEONIC = 0x8036 327 ETHERTYPE_ALPHA = 0x814a 328 ETHERTYPE_AMBER = 0x6008 329 ETHERTYPE_AMOEBA = 0x8145 330 ETHERTYPE_APOLLO = 0x80f7 331 ETHERTYPE_APOLLODOMAIN = 0x8019 332 ETHERTYPE_APPLETALK = 0x809b 333 ETHERTYPE_APPLITEK = 0x80c7 334 ETHERTYPE_ARGONAUT = 0x803a 335 ETHERTYPE_ARP = 0x806 336 ETHERTYPE_AT = 0x809b 337 ETHERTYPE_ATALK = 0x809b 338 ETHERTYPE_ATOMIC = 0x86df 339 ETHERTYPE_ATT = 0x8069 340 ETHERTYPE_ATTSTANFORD = 0x8008 341 ETHERTYPE_AUTOPHON = 0x806a 342 ETHERTYPE_AXIS = 0x8856 343 ETHERTYPE_BCLOOP = 0x9003 344 ETHERTYPE_BOFL = 0x8102 345 ETHERTYPE_CABLETRON = 0x7034 346 ETHERTYPE_CHAOS = 0x804 347 ETHERTYPE_COMDESIGN = 0x806c 348 ETHERTYPE_COMPUGRAPHIC = 0x806d 349 ETHERTYPE_COUNTERPOINT = 0x8062 350 ETHERTYPE_CRONUS = 0x8004 351 ETHERTYPE_CRONUSVLN = 0x8003 352 ETHERTYPE_DCA = 0x1234 353 ETHERTYPE_DDE = 0x807b 354 ETHERTYPE_DEBNI = 0xaaaa 355 ETHERTYPE_DECAM = 0x8048 356 ETHERTYPE_DECCUST = 0x6006 357 ETHERTYPE_DECDIAG = 0x6005 358 ETHERTYPE_DECDNS = 0x803c 359 ETHERTYPE_DECDTS = 0x803e 360 ETHERTYPE_DECEXPER = 0x6000 361 ETHERTYPE_DECLAST = 0x8041 362 ETHERTYPE_DECLTM = 0x803f 363 ETHERTYPE_DECMUMPS = 0x6009 364 ETHERTYPE_DECNETBIOS = 0x8040 365 ETHERTYPE_DELTACON = 0x86de 366 ETHERTYPE_DIDDLE = 0x4321 367 ETHERTYPE_DLOG1 = 0x660 368 ETHERTYPE_DLOG2 = 0x661 369 ETHERTYPE_DN = 0x6003 370 ETHERTYPE_DOGFIGHT = 0x1989 371 ETHERTYPE_DSMD = 0x8039 372 ETHERTYPE_ECMA = 0x803 373 ETHERTYPE_ENCRYPT = 0x803d 374 ETHERTYPE_ES = 0x805d 375 ETHERTYPE_EXCELAN = 0x8010 376 ETHERTYPE_EXPERDATA = 0x8049 377 ETHERTYPE_FLIP = 0x8146 378 ETHERTYPE_FLOWCONTROL = 0x8808 379 ETHERTYPE_FRARP = 0x808 380 ETHERTYPE_GENDYN = 0x8068 381 ETHERTYPE_HAYES = 0x8130 382 ETHERTYPE_HIPPI_FP = 0x8180 383 ETHERTYPE_HITACHI = 0x8820 384 ETHERTYPE_HP = 0x8005 385 ETHERTYPE_IEEEPUP = 0xa00 386 ETHERTYPE_IEEEPUPAT = 0xa01 387 ETHERTYPE_IMLBL = 0x4c42 388 ETHERTYPE_IMLBLDIAG = 0x424c 389 ETHERTYPE_IP = 0x800 390 ETHERTYPE_IPAS = 0x876c 391 ETHERTYPE_IPV6 = 0x86dd 392 ETHERTYPE_IPX = 0x8137 393 ETHERTYPE_IPXNEW = 0x8037 394 ETHERTYPE_KALPANA = 0x8582 395 ETHERTYPE_LANBRIDGE = 0x8038 396 ETHERTYPE_LANPROBE = 0x8888 397 ETHERTYPE_LAT = 0x6004 398 ETHERTYPE_LBACK = 0x9000 399 ETHERTYPE_LITTLE = 0x8060 400 ETHERTYPE_LOGICRAFT = 0x8148 401 ETHERTYPE_LOOPBACK = 0x9000 402 ETHERTYPE_MATRA = 0x807a 403 ETHERTYPE_MAX = 0xffff 404 ETHERTYPE_MERIT = 0x807c 405 ETHERTYPE_MICP = 0x873a 406 ETHERTYPE_MOPDL = 0x6001 407 ETHERTYPE_MOPRC = 0x6002 408 ETHERTYPE_MOTOROLA = 0x818d 409 ETHERTYPE_MPLS = 0x8847 410 ETHERTYPE_MPLS_MCAST = 0x8848 411 ETHERTYPE_MUMPS = 0x813f 412 ETHERTYPE_NBPCC = 0x3c04 413 ETHERTYPE_NBPCLAIM = 0x3c09 414 ETHERTYPE_NBPCLREQ = 0x3c05 415 ETHERTYPE_NBPCLRSP = 0x3c06 416 ETHERTYPE_NBPCREQ = 0x3c02 417 ETHERTYPE_NBPCRSP = 0x3c03 418 ETHERTYPE_NBPDG = 0x3c07 419 ETHERTYPE_NBPDGB = 0x3c08 420 ETHERTYPE_NBPDLTE = 0x3c0a 421 ETHERTYPE_NBPRAR = 0x3c0c 422 ETHERTYPE_NBPRAS = 0x3c0b 423 ETHERTYPE_NBPRST = 0x3c0d 424 ETHERTYPE_NBPSCD = 0x3c01 425 ETHERTYPE_NBPVCD = 0x3c00 426 ETHERTYPE_NBS = 0x802 427 ETHERTYPE_NCD = 0x8149 428 ETHERTYPE_NESTAR = 0x8006 429 ETHERTYPE_NETBEUI = 0x8191 430 ETHERTYPE_NOVELL = 0x8138 431 ETHERTYPE_NS = 0x600 432 ETHERTYPE_NSAT = 0x601 433 ETHERTYPE_NSCOMPAT = 0x807 434 ETHERTYPE_NTRAILER = 0x10 435 ETHERTYPE_OS9 = 0x7007 436 ETHERTYPE_OS9NET = 0x7009 437 ETHERTYPE_PACER = 0x80c6 438 ETHERTYPE_PAE = 0x888e 439 ETHERTYPE_PCS = 0x4242 440 ETHERTYPE_PLANNING = 0x8044 441 ETHERTYPE_PPP = 0x880b 442 ETHERTYPE_PPPOE = 0x8864 443 ETHERTYPE_PPPOEDISC = 0x8863 444 ETHERTYPE_PRIMENTS = 0x7031 445 ETHERTYPE_PUP = 0x200 446 ETHERTYPE_PUPAT = 0x200 447 ETHERTYPE_RACAL = 0x7030 448 ETHERTYPE_RATIONAL = 0x8150 449 ETHERTYPE_RAWFR = 0x6559 450 ETHERTYPE_RCL = 0x1995 451 ETHERTYPE_RDP = 0x8739 452 ETHERTYPE_RETIX = 0x80f2 453 ETHERTYPE_REVARP = 0x8035 454 ETHERTYPE_SCA = 0x6007 455 ETHERTYPE_SECTRA = 0x86db 456 ETHERTYPE_SECUREDATA = 0x876d 457 ETHERTYPE_SGITW = 0x817e 458 ETHERTYPE_SG_BOUNCE = 0x8016 459 ETHERTYPE_SG_DIAG = 0x8013 460 ETHERTYPE_SG_NETGAMES = 0x8014 461 ETHERTYPE_SG_RESV = 0x8015 462 ETHERTYPE_SIMNET = 0x5208 463 ETHERTYPE_SLOWPROTOCOLS = 0x8809 464 ETHERTYPE_SNA = 0x80d5 465 ETHERTYPE_SNMP = 0x814c 466 ETHERTYPE_SONIX = 0xfaf5 467 ETHERTYPE_SPIDER = 0x809f 468 ETHERTYPE_SPRITE = 0x500 469 ETHERTYPE_STP = 0x8181 470 ETHERTYPE_TALARIS = 0x812b 471 ETHERTYPE_TALARISMC = 0x852b 472 ETHERTYPE_TCPCOMP = 0x876b 473 ETHERTYPE_TCPSM = 0x9002 474 ETHERTYPE_TEC = 0x814f 475 ETHERTYPE_TIGAN = 0x802f 476 ETHERTYPE_TRAIL = 0x1000 477 ETHERTYPE_TRANSETHER = 0x6558 478 ETHERTYPE_TYMSHARE = 0x802e 479 ETHERTYPE_UBBST = 0x7005 480 ETHERTYPE_UBDEBUG = 0x900 481 ETHERTYPE_UBDIAGLOOP = 0x7002 482 ETHERTYPE_UBDL = 0x7000 483 ETHERTYPE_UBNIU = 0x7001 484 ETHERTYPE_UBNMC = 0x7003 485 ETHERTYPE_VALID = 0x1600 486 ETHERTYPE_VARIAN = 0x80dd 487 ETHERTYPE_VAXELN = 0x803b 488 ETHERTYPE_VEECO = 0x8067 489 ETHERTYPE_VEXP = 0x805b 490 ETHERTYPE_VGLAB = 0x8131 491 ETHERTYPE_VINES = 0xbad 492 ETHERTYPE_VINESECHO = 0xbaf 493 ETHERTYPE_VINESLOOP = 0xbae 494 ETHERTYPE_VITAL = 0xff00 495 ETHERTYPE_VLAN = 0x8100 496 ETHERTYPE_VLTLMAN = 0x8080 497 ETHERTYPE_VPROD = 0x805c 498 ETHERTYPE_VURESERVED = 0x8147 499 ETHERTYPE_WATERLOO = 0x8130 500 ETHERTYPE_WELLFLEET = 0x8103 501 ETHERTYPE_X25 = 0x805 502 ETHERTYPE_X75 = 0x801 503 ETHERTYPE_XNSSM = 0x9001 504 ETHERTYPE_XTP = 0x817d 505 ETHER_ADDR_LEN = 0x6 506 ETHER_CRC_LEN = 0x4 507 ETHER_CRC_POLY_BE = 0x4c11db6 508 ETHER_CRC_POLY_LE = 0xedb88320 509 ETHER_HDR_LEN = 0xe 510 ETHER_MAX_LEN = 0x5ee 511 ETHER_MAX_LEN_JUMBO = 0x233a 512 ETHER_MIN_LEN = 0x40 513 ETHER_PPPOE_ENCAP_LEN = 0x8 514 ETHER_TYPE_LEN = 0x2 515 ETHER_VLAN_ENCAP_LEN = 0x4 516 EVFILT_AIO = 0x2 517 EVFILT_PROC = 0x4 518 EVFILT_READ = 0x0 519 EVFILT_SIGNAL = 0x5 520 EVFILT_SYSCOUNT = 0x7 521 EVFILT_TIMER = 0x6 522 EVFILT_VNODE = 0x3 523 EVFILT_WRITE = 0x1 524 EV_ADD = 0x1 525 EV_CLEAR = 0x20 526 EV_DELETE = 0x2 527 EV_DISABLE = 0x8 528 EV_ENABLE = 0x4 529 EV_EOF = 0x8000 530 EV_ERROR = 0x4000 531 EV_FLAG1 = 0x2000 532 EV_ONESHOT = 0x10 533 EV_SYSFLAGS = 0xf000 534 EXTA = 0x4b00 535 EXTATTR_CMD_START = 0x1 536 EXTATTR_CMD_STOP = 0x2 537 EXTATTR_NAMESPACE_SYSTEM = 0x2 538 EXTATTR_NAMESPACE_USER = 0x1 539 EXTB = 0x9600 540 EXTPROC = 0x800 541 FD_CLOEXEC = 0x1 542 FD_SETSIZE = 0x100 543 FLUSHO = 0x800000 544 F_CLOSEM = 0xa 545 F_DUPFD = 0x0 546 F_DUPFD_CLOEXEC = 0xc 547 F_FSCTL = -0x80000000 548 F_FSDIRMASK = 0x70000000 549 F_FSIN = 0x10000000 550 F_FSINOUT = 0x30000000 551 F_FSOUT = 0x20000000 552 F_FSPRIV = 0x8000 553 F_FSVOID = 0x40000000 554 F_GETFD = 0x1 555 F_GETFL = 0x3 556 F_GETLK = 0x7 557 F_GETNOSIGPIPE = 0xd 558 F_GETOWN = 0x5 559 F_MAXFD = 0xb 560 F_OK = 0x0 561 F_PARAM_MASK = 0xfff 562 F_PARAM_MAX = 0xfff 563 F_RDLCK = 0x1 564 F_SETFD = 0x2 565 F_SETFL = 0x4 566 F_SETLK = 0x8 567 F_SETLKW = 0x9 568 F_SETNOSIGPIPE = 0xe 569 F_SETOWN = 0x6 570 F_UNLCK = 0x2 571 F_WRLCK = 0x3 572 HUPCL = 0x4000 573 HW_MACHINE = 0x1 574 ICANON = 0x100 575 ICMP6_FILTER = 0x12 576 ICRNL = 0x100 577 IEXTEN = 0x400 578 IFAN_ARRIVAL = 0x0 579 IFAN_DEPARTURE = 0x1 580 IFA_ROUTE = 0x1 581 IFF_ALLMULTI = 0x200 582 IFF_BROADCAST = 0x2 583 IFF_CANTCHANGE = 0x8f52 584 IFF_DEBUG = 0x4 585 IFF_LINK0 = 0x1000 586 IFF_LINK1 = 0x2000 587 IFF_LINK2 = 0x4000 588 IFF_LOOPBACK = 0x8 589 IFF_MULTICAST = 0x8000 590 IFF_NOARP = 0x80 591 IFF_NOTRAILERS = 0x20 592 IFF_OACTIVE = 0x400 593 IFF_POINTOPOINT = 0x10 594 IFF_PROMISC = 0x100 595 IFF_RUNNING = 0x40 596 IFF_SIMPLEX = 0x800 597 IFF_UP = 0x1 598 IFNAMSIZ = 0x10 599 IFT_1822 = 0x2 600 IFT_A12MPPSWITCH = 0x82 601 IFT_AAL2 = 0xbb 602 IFT_AAL5 = 0x31 603 IFT_ADSL = 0x5e 604 IFT_AFLANE8023 = 0x3b 605 IFT_AFLANE8025 = 0x3c 606 IFT_ARAP = 0x58 607 IFT_ARCNET = 0x23 608 IFT_ARCNETPLUS = 0x24 609 IFT_ASYNC = 0x54 610 IFT_ATM = 0x25 611 IFT_ATMDXI = 0x69 612 IFT_ATMFUNI = 0x6a 613 IFT_ATMIMA = 0x6b 614 IFT_ATMLOGICAL = 0x50 615 IFT_ATMRADIO = 0xbd 616 IFT_ATMSUBINTERFACE = 0x86 617 IFT_ATMVCIENDPT = 0xc2 618 IFT_ATMVIRTUAL = 0x95 619 IFT_BGPPOLICYACCOUNTING = 0xa2 620 IFT_BRIDGE = 0xd1 621 IFT_BSC = 0x53 622 IFT_CARP = 0xf8 623 IFT_CCTEMUL = 0x3d 624 IFT_CEPT = 0x13 625 IFT_CES = 0x85 626 IFT_CHANNEL = 0x46 627 IFT_CNR = 0x55 628 IFT_COFFEE = 0x84 629 IFT_COMPOSITELINK = 0x9b 630 IFT_DCN = 0x8d 631 IFT_DIGITALPOWERLINE = 0x8a 632 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba 633 IFT_DLSW = 0x4a 634 IFT_DOCSCABLEDOWNSTREAM = 0x80 635 IFT_DOCSCABLEMACLAYER = 0x7f 636 IFT_DOCSCABLEUPSTREAM = 0x81 637 IFT_DOCSCABLEUPSTREAMCHANNEL = 0xcd 638 IFT_DS0 = 0x51 639 IFT_DS0BUNDLE = 0x52 640 IFT_DS1FDL = 0xaa 641 IFT_DS3 = 0x1e 642 IFT_DTM = 0x8c 643 IFT_DVBASILN = 0xac 644 IFT_DVBASIOUT = 0xad 645 IFT_DVBRCCDOWNSTREAM = 0x93 646 IFT_DVBRCCMACLAYER = 0x92 647 IFT_DVBRCCUPSTREAM = 0x94 648 IFT_ECONET = 0xce 649 IFT_EON = 0x19 650 IFT_EPLRS = 0x57 651 IFT_ESCON = 0x49 652 IFT_ETHER = 0x6 653 IFT_FAITH = 0xf2 654 IFT_FAST = 0x7d 655 IFT_FASTETHER = 0x3e 656 IFT_FASTETHERFX = 0x45 657 IFT_FDDI = 0xf 658 IFT_FIBRECHANNEL = 0x38 659 IFT_FRAMERELAYINTERCONNECT = 0x3a 660 IFT_FRAMERELAYMPI = 0x5c 661 IFT_FRDLCIENDPT = 0xc1 662 IFT_FRELAY = 0x20 663 IFT_FRELAYDCE = 0x2c 664 IFT_FRF16MFRBUNDLE = 0xa3 665 IFT_FRFORWARD = 0x9e 666 IFT_G703AT2MB = 0x43 667 IFT_G703AT64K = 0x42 668 IFT_GIF = 0xf0 669 IFT_GIGABITETHERNET = 0x75 670 IFT_GR303IDT = 0xb2 671 IFT_GR303RDT = 0xb1 672 IFT_H323GATEKEEPER = 0xa4 673 IFT_H323PROXY = 0xa5 674 IFT_HDH1822 = 0x3 675 IFT_HDLC = 0x76 676 IFT_HDSL2 = 0xa8 677 IFT_HIPERLAN2 = 0xb7 678 IFT_HIPPI = 0x2f 679 IFT_HIPPIINTERFACE = 0x39 680 IFT_HOSTPAD = 0x5a 681 IFT_HSSI = 0x2e 682 IFT_HY = 0xe 683 IFT_IBM370PARCHAN = 0x48 684 IFT_IDSL = 0x9a 685 IFT_IEEE1394 = 0x90 686 IFT_IEEE80211 = 0x47 687 IFT_IEEE80212 = 0x37 688 IFT_IEEE8023ADLAG = 0xa1 689 IFT_IFGSN = 0x91 690 IFT_IMT = 0xbe 691 IFT_INFINIBAND = 0xc7 692 IFT_INTERLEAVE = 0x7c 693 IFT_IP = 0x7e 694 IFT_IPFORWARD = 0x8e 695 IFT_IPOVERATM = 0x72 696 IFT_IPOVERCDLC = 0x6d 697 IFT_IPOVERCLAW = 0x6e 698 IFT_IPSWITCH = 0x4e 699 IFT_ISDN = 0x3f 700 IFT_ISDNBASIC = 0x14 701 IFT_ISDNPRIMARY = 0x15 702 IFT_ISDNS = 0x4b 703 IFT_ISDNU = 0x4c 704 IFT_ISO88022LLC = 0x29 705 IFT_ISO88023 = 0x7 706 IFT_ISO88024 = 0x8 707 IFT_ISO88025 = 0x9 708 IFT_ISO88025CRFPINT = 0x62 709 IFT_ISO88025DTR = 0x56 710 IFT_ISO88025FIBER = 0x73 711 IFT_ISO88026 = 0xa 712 IFT_ISUP = 0xb3 713 IFT_L2VLAN = 0x87 714 IFT_L3IPVLAN = 0x88 715 IFT_L3IPXVLAN = 0x89 716 IFT_LAPB = 0x10 717 IFT_LAPD = 0x4d 718 IFT_LAPF = 0x77 719 IFT_LINEGROUP = 0xd2 720 IFT_LOCALTALK = 0x2a 721 IFT_LOOP = 0x18 722 IFT_MEDIAMAILOVERIP = 0x8b 723 IFT_MFSIGLINK = 0xa7 724 IFT_MIOX25 = 0x26 725 IFT_MODEM = 0x30 726 IFT_MPC = 0x71 727 IFT_MPLS = 0xa6 728 IFT_MPLSTUNNEL = 0x96 729 IFT_MSDSL = 0x8f 730 IFT_MVL = 0xbf 731 IFT_MYRINET = 0x63 732 IFT_NFAS = 0xaf 733 IFT_NSIP = 0x1b 734 IFT_OPTICALCHANNEL = 0xc3 735 IFT_OPTICALTRANSPORT = 0xc4 736 IFT_OTHER = 0x1 737 IFT_P10 = 0xc 738 IFT_P80 = 0xd 739 IFT_PARA = 0x22 740 IFT_PFLOG = 0xf5 741 IFT_PFSYNC = 0xf6 742 IFT_PLC = 0xae 743 IFT_PON155 = 0xcf 744 IFT_PON622 = 0xd0 745 IFT_POS = 0xab 746 IFT_PPP = 0x17 747 IFT_PPPMULTILINKBUNDLE = 0x6c 748 IFT_PROPATM = 0xc5 749 IFT_PROPBWAP2MP = 0xb8 750 IFT_PROPCNLS = 0x59 751 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5 752 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4 753 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6 754 IFT_PROPMUX = 0x36 755 IFT_PROPVIRTUAL = 0x35 756 IFT_PROPWIRELESSP2P = 0x9d 757 IFT_PTPSERIAL = 0x16 758 IFT_PVC = 0xf1 759 IFT_Q2931 = 0xc9 760 IFT_QLLC = 0x44 761 IFT_RADIOMAC = 0xbc 762 IFT_RADSL = 0x5f 763 IFT_REACHDSL = 0xc0 764 IFT_RFC1483 = 0x9f 765 IFT_RS232 = 0x21 766 IFT_RSRB = 0x4f 767 IFT_SDLC = 0x11 768 IFT_SDSL = 0x60 769 IFT_SHDSL = 0xa9 770 IFT_SIP = 0x1f 771 IFT_SIPSIG = 0xcc 772 IFT_SIPTG = 0xcb 773 IFT_SLIP = 0x1c 774 IFT_SMDSDXI = 0x2b 775 IFT_SMDSICIP = 0x34 776 IFT_SONET = 0x27 777 IFT_SONETOVERHEADCHANNEL = 0xb9 778 IFT_SONETPATH = 0x32 779 IFT_SONETVT = 0x33 780 IFT_SRP = 0x97 781 IFT_SS7SIGLINK = 0x9c 782 IFT_STACKTOSTACK = 0x6f 783 IFT_STARLAN = 0xb 784 IFT_STF = 0xd7 785 IFT_T1 = 0x12 786 IFT_TDLC = 0x74 787 IFT_TELINK = 0xc8 788 IFT_TERMPAD = 0x5b 789 IFT_TR008 = 0xb0 790 IFT_TRANSPHDLC = 0x7b 791 IFT_TUNNEL = 0x83 792 IFT_ULTRA = 0x1d 793 IFT_USB = 0xa0 794 IFT_V11 = 0x40 795 IFT_V35 = 0x2d 796 IFT_V36 = 0x41 797 IFT_V37 = 0x78 798 IFT_VDSL = 0x61 799 IFT_VIRTUALIPADDRESS = 0x70 800 IFT_VIRTUALTG = 0xca 801 IFT_VOICEDID = 0xd5 802 IFT_VOICEEM = 0x64 803 IFT_VOICEEMFGD = 0xd3 804 IFT_VOICEENCAP = 0x67 805 IFT_VOICEFGDEANA = 0xd4 806 IFT_VOICEFXO = 0x65 807 IFT_VOICEFXS = 0x66 808 IFT_VOICEOVERATM = 0x98 809 IFT_VOICEOVERCABLE = 0xc6 810 IFT_VOICEOVERFRAMERELAY = 0x99 811 IFT_VOICEOVERIP = 0x68 812 IFT_X213 = 0x5d 813 IFT_X25 = 0x5 814 IFT_X25DDN = 0x4 815 IFT_X25HUNTGROUP = 0x7a 816 IFT_X25MLP = 0x79 817 IFT_X25PLE = 0x28 818 IFT_XETHER = 0x1a 819 IGNBRK = 0x1 820 IGNCR = 0x80 821 IGNPAR = 0x4 822 IMAXBEL = 0x2000 823 INLCR = 0x40 824 INPCK = 0x10 825 IN_CLASSA_HOST = 0xffffff 826 IN_CLASSA_MAX = 0x80 827 IN_CLASSA_NET = 0xff000000 828 IN_CLASSA_NSHIFT = 0x18 829 IN_CLASSB_HOST = 0xffff 830 IN_CLASSB_MAX = 0x10000 831 IN_CLASSB_NET = 0xffff0000 832 IN_CLASSB_NSHIFT = 0x10 833 IN_CLASSC_HOST = 0xff 834 IN_CLASSC_NET = 0xffffff00 835 IN_CLASSC_NSHIFT = 0x8 836 IN_CLASSD_HOST = 0xfffffff 837 IN_CLASSD_NET = 0xf0000000 838 IN_CLASSD_NSHIFT = 0x1c 839 IN_LOOPBACKNET = 0x7f 840 IPPROTO_AH = 0x33 841 IPPROTO_CARP = 0x70 842 IPPROTO_DONE = 0x101 843 IPPROTO_DSTOPTS = 0x3c 844 IPPROTO_EGP = 0x8 845 IPPROTO_ENCAP = 0x62 846 IPPROTO_EON = 0x50 847 IPPROTO_ESP = 0x32 848 IPPROTO_ETHERIP = 0x61 849 IPPROTO_FRAGMENT = 0x2c 850 IPPROTO_GGP = 0x3 851 IPPROTO_GRE = 0x2f 852 IPPROTO_HOPOPTS = 0x0 853 IPPROTO_ICMP = 0x1 854 IPPROTO_ICMPV6 = 0x3a 855 IPPROTO_IDP = 0x16 856 IPPROTO_IGMP = 0x2 857 IPPROTO_IP = 0x0 858 IPPROTO_IPCOMP = 0x6c 859 IPPROTO_IPIP = 0x4 860 IPPROTO_IPV4 = 0x4 861 IPPROTO_IPV6 = 0x29 862 IPPROTO_IPV6_ICMP = 0x3a 863 IPPROTO_MAX = 0x100 864 IPPROTO_MAXID = 0x34 865 IPPROTO_MOBILE = 0x37 866 IPPROTO_NONE = 0x3b 867 IPPROTO_PFSYNC = 0xf0 868 IPPROTO_PIM = 0x67 869 IPPROTO_PUP = 0xc 870 IPPROTO_RAW = 0xff 871 IPPROTO_ROUTING = 0x2b 872 IPPROTO_RSVP = 0x2e 873 IPPROTO_TCP = 0x6 874 IPPROTO_TP = 0x1d 875 IPPROTO_UDP = 0x11 876 IPPROTO_VRRP = 0x70 877 IPV6_CHECKSUM = 0x1a 878 IPV6_DEFAULT_MULTICAST_HOPS = 0x1 879 IPV6_DEFAULT_MULTICAST_LOOP = 0x1 880 IPV6_DEFHLIM = 0x40 881 IPV6_DONTFRAG = 0x3e 882 IPV6_DSTOPTS = 0x32 883 IPV6_FAITH = 0x1d 884 IPV6_FLOWINFO_MASK = 0xffffff0f 885 IPV6_FLOWLABEL_MASK = 0xffff0f00 886 IPV6_FRAGTTL = 0x78 887 IPV6_HLIMDEC = 0x1 888 IPV6_HOPLIMIT = 0x2f 889 IPV6_HOPOPTS = 0x31 890 IPV6_IPSEC_POLICY = 0x1c 891 IPV6_JOIN_GROUP = 0xc 892 IPV6_LEAVE_GROUP = 0xd 893 IPV6_MAXHLIM = 0xff 894 IPV6_MAXPACKET = 0xffff 895 IPV6_MMTU = 0x500 896 IPV6_MULTICAST_HOPS = 0xa 897 IPV6_MULTICAST_IF = 0x9 898 IPV6_MULTICAST_LOOP = 0xb 899 IPV6_NEXTHOP = 0x30 900 IPV6_PATHMTU = 0x2c 901 IPV6_PKTINFO = 0x2e 902 IPV6_PORTRANGE = 0xe 903 IPV6_PORTRANGE_DEFAULT = 0x0 904 IPV6_PORTRANGE_HIGH = 0x1 905 IPV6_PORTRANGE_LOW = 0x2 906 IPV6_RECVDSTOPTS = 0x28 907 IPV6_RECVHOPLIMIT = 0x25 908 IPV6_RECVHOPOPTS = 0x27 909 IPV6_RECVPATHMTU = 0x2b 910 IPV6_RECVPKTINFO = 0x24 911 IPV6_RECVRTHDR = 0x26 912 IPV6_RECVTCLASS = 0x39 913 IPV6_RTHDR = 0x33 914 IPV6_RTHDRDSTOPTS = 0x23 915 IPV6_RTHDR_LOOSE = 0x0 916 IPV6_RTHDR_STRICT = 0x1 917 IPV6_RTHDR_TYPE_0 = 0x0 918 IPV6_SOCKOPT_RESERVED1 = 0x3 919 IPV6_TCLASS = 0x3d 920 IPV6_UNICAST_HOPS = 0x4 921 IPV6_USE_MIN_MTU = 0x2a 922 IPV6_V6ONLY = 0x1b 923 IPV6_VERSION = 0x60 924 IPV6_VERSION_MASK = 0xf0 925 IP_ADD_MEMBERSHIP = 0xc 926 IP_DEFAULT_MULTICAST_LOOP = 0x1 927 IP_DEFAULT_MULTICAST_TTL = 0x1 928 IP_DF = 0x4000 929 IP_DROP_MEMBERSHIP = 0xd 930 IP_EF = 0x8000 931 IP_ERRORMTU = 0x15 932 IP_HDRINCL = 0x2 933 IP_IPSEC_POLICY = 0x16 934 IP_MAXPACKET = 0xffff 935 IP_MAX_MEMBERSHIPS = 0x14 936 IP_MF = 0x2000 937 IP_MINFRAGSIZE = 0x45 938 IP_MINTTL = 0x18 939 IP_MSS = 0x240 940 IP_MULTICAST_IF = 0x9 941 IP_MULTICAST_LOOP = 0xb 942 IP_MULTICAST_TTL = 0xa 943 IP_OFFMASK = 0x1fff 944 IP_OPTIONS = 0x1 945 IP_PORTRANGE = 0x13 946 IP_PORTRANGE_DEFAULT = 0x0 947 IP_PORTRANGE_HIGH = 0x1 948 IP_PORTRANGE_LOW = 0x2 949 IP_RECVDSTADDR = 0x7 950 IP_RECVIF = 0x14 951 IP_RECVOPTS = 0x5 952 IP_RECVRETOPTS = 0x6 953 IP_RECVTTL = 0x17 954 IP_RETOPTS = 0x8 955 IP_RF = 0x8000 956 IP_TOS = 0x3 957 IP_TTL = 0x4 958 ISIG = 0x80 959 ISTRIP = 0x20 960 IXANY = 0x800 961 IXOFF = 0x400 962 IXON = 0x200 963 KERN_HOSTNAME = 0xa 964 KERN_OSRELEASE = 0x2 965 KERN_OSTYPE = 0x1 966 KERN_VERSION = 0x4 967 LOCK_EX = 0x2 968 LOCK_NB = 0x4 969 LOCK_SH = 0x1 970 LOCK_UN = 0x8 971 MADV_DONTNEED = 0x4 972 MADV_FREE = 0x6 973 MADV_NORMAL = 0x0 974 MADV_RANDOM = 0x1 975 MADV_SEQUENTIAL = 0x2 976 MADV_SPACEAVAIL = 0x5 977 MADV_WILLNEED = 0x3 978 MAP_ALIGNMENT_16MB = 0x18000000 979 MAP_ALIGNMENT_1TB = 0x28000000 980 MAP_ALIGNMENT_256TB = 0x30000000 981 MAP_ALIGNMENT_4GB = 0x20000000 982 MAP_ALIGNMENT_64KB = 0x10000000 983 MAP_ALIGNMENT_64PB = 0x38000000 984 MAP_ALIGNMENT_MASK = -0x1000000 985 MAP_ALIGNMENT_SHIFT = 0x18 986 MAP_ANON = 0x1000 987 MAP_FILE = 0x0 988 MAP_FIXED = 0x10 989 MAP_HASSEMAPHORE = 0x200 990 MAP_INHERIT = 0x80 991 MAP_INHERIT_COPY = 0x1 992 MAP_INHERIT_DEFAULT = 0x1 993 MAP_INHERIT_DONATE_COPY = 0x3 994 MAP_INHERIT_NONE = 0x2 995 MAP_INHERIT_SHARE = 0x0 996 MAP_NORESERVE = 0x40 997 MAP_PRIVATE = 0x2 998 MAP_RENAME = 0x20 999 MAP_SHARED = 0x1 1000 MAP_STACK = 0x2000 1001 MAP_TRYFIXED = 0x400 1002 MAP_WIRED = 0x800 1003 MNT_ASYNC = 0x40 1004 MNT_BASIC_FLAGS = 0xe782807f 1005 MNT_DEFEXPORTED = 0x200 1006 MNT_DISCARD = 0x800000 1007 MNT_EXKERB = 0x800 1008 MNT_EXNORESPORT = 0x8000000 1009 MNT_EXPORTANON = 0x400 1010 MNT_EXPORTED = 0x100 1011 MNT_EXPUBLIC = 0x10000000 1012 MNT_EXRDONLY = 0x80 1013 MNT_EXTATTR = 0x1000000 1014 MNT_FORCE = 0x80000 1015 MNT_GETARGS = 0x400000 1016 MNT_IGNORE = 0x100000 1017 MNT_LAZY = 0x3 1018 MNT_LOCAL = 0x1000 1019 MNT_LOG = 0x2000000 1020 MNT_NOATIME = 0x4000000 1021 MNT_NOCOREDUMP = 0x8000 1022 MNT_NODEV = 0x10 1023 MNT_NODEVMTIME = 0x40000000 1024 MNT_NOEXEC = 0x4 1025 MNT_NOSUID = 0x8 1026 MNT_NOWAIT = 0x2 1027 MNT_OP_FLAGS = 0x4d0000 1028 MNT_QUOTA = 0x2000 1029 MNT_RDONLY = 0x1 1030 MNT_RELATIME = 0x20000 1031 MNT_RELOAD = 0x40000 1032 MNT_ROOTFS = 0x4000 1033 MNT_SOFTDEP = 0x80000000 1034 MNT_SYMPERM = 0x20000000 1035 MNT_SYNCHRONOUS = 0x2 1036 MNT_UNION = 0x20 1037 MNT_UPDATE = 0x10000 1038 MNT_VISFLAGMASK = 0xff90ffff 1039 MNT_WAIT = 0x1 1040 MSG_BCAST = 0x100 1041 MSG_CMSG_CLOEXEC = 0x800 1042 MSG_CONTROLMBUF = 0x2000000 1043 MSG_CTRUNC = 0x20 1044 MSG_DONTROUTE = 0x4 1045 MSG_DONTWAIT = 0x80 1046 MSG_EOR = 0x8 1047 MSG_IOVUSRSPACE = 0x4000000 1048 MSG_LENUSRSPACE = 0x8000000 1049 MSG_MCAST = 0x200 1050 MSG_NAMEMBUF = 0x1000000 1051 MSG_NBIO = 0x1000 1052 MSG_NOSIGNAL = 0x400 1053 MSG_OOB = 0x1 1054 MSG_PEEK = 0x2 1055 MSG_TRUNC = 0x10 1056 MSG_USERFLAGS = 0xffffff 1057 MSG_WAITALL = 0x40 1058 MS_ASYNC = 0x1 1059 MS_INVALIDATE = 0x2 1060 MS_SYNC = 0x4 1061 NAME_MAX = 0x1ff 1062 NET_RT_DUMP = 0x1 1063 NET_RT_FLAGS = 0x2 1064 NET_RT_IFLIST = 0x5 1065 NET_RT_MAXID = 0x6 1066 NET_RT_OIFLIST = 0x4 1067 NET_RT_OOIFLIST = 0x3 1068 NOFLSH = 0x80000000 1069 NOTE_ATTRIB = 0x8 1070 NOTE_CHILD = 0x4 1071 NOTE_DELETE = 0x1 1072 NOTE_EXEC = 0x20000000 1073 NOTE_EXIT = 0x80000000 1074 NOTE_EXTEND = 0x4 1075 NOTE_FORK = 0x40000000 1076 NOTE_LINK = 0x10 1077 NOTE_LOWAT = 0x1 1078 NOTE_PCTRLMASK = 0xf0000000 1079 NOTE_PDATAMASK = 0xfffff 1080 NOTE_RENAME = 0x20 1081 NOTE_REVOKE = 0x40 1082 NOTE_TRACK = 0x1 1083 NOTE_TRACKERR = 0x2 1084 NOTE_WRITE = 0x2 1085 OCRNL = 0x10 1086 OFIOGETBMAP = 0xc004667a 1087 ONLCR = 0x2 1088 ONLRET = 0x40 1089 ONOCR = 0x20 1090 ONOEOT = 0x8 1091 OPOST = 0x1 1092 O_ACCMODE = 0x3 1093 O_ALT_IO = 0x40000 1094 O_APPEND = 0x8 1095 O_ASYNC = 0x40 1096 O_CLOEXEC = 0x400000 1097 O_CREAT = 0x200 1098 O_DIRECT = 0x80000 1099 O_DIRECTORY = 0x200000 1100 O_DSYNC = 0x10000 1101 O_EXCL = 0x800 1102 O_EXLOCK = 0x20 1103 O_FSYNC = 0x80 1104 O_NDELAY = 0x4 1105 O_NOCTTY = 0x8000 1106 O_NOFOLLOW = 0x100 1107 O_NONBLOCK = 0x4 1108 O_NOSIGPIPE = 0x1000000 1109 O_RDONLY = 0x0 1110 O_RDWR = 0x2 1111 O_RSYNC = 0x20000 1112 O_SHLOCK = 0x10 1113 O_SYNC = 0x80 1114 O_TRUNC = 0x400 1115 O_WRONLY = 0x1 1116 PARENB = 0x1000 1117 PARMRK = 0x8 1118 PARODD = 0x2000 1119 PENDIN = 0x20000000 1120 PROT_EXEC = 0x4 1121 PROT_NONE = 0x0 1122 PROT_READ = 0x1 1123 PROT_WRITE = 0x2 1124 PRI_IOFLUSH = 0x7c 1125 PRIO_PGRP = 0x1 1126 PRIO_PROCESS = 0x0 1127 PRIO_USER = 0x2 1128 RLIMIT_AS = 0xa 1129 RLIMIT_CORE = 0x4 1130 RLIMIT_CPU = 0x0 1131 RLIMIT_DATA = 0x2 1132 RLIMIT_FSIZE = 0x1 1133 RLIMIT_MEMLOCK = 0x6 1134 RLIMIT_NOFILE = 0x8 1135 RLIMIT_NPROC = 0x7 1136 RLIMIT_RSS = 0x5 1137 RLIMIT_STACK = 0x3 1138 RLIM_INFINITY = 0x7fffffffffffffff 1139 RTAX_AUTHOR = 0x6 1140 RTAX_BRD = 0x7 1141 RTAX_DST = 0x0 1142 RTAX_GATEWAY = 0x1 1143 RTAX_GENMASK = 0x3 1144 RTAX_IFA = 0x5 1145 RTAX_IFP = 0x4 1146 RTAX_MAX = 0x9 1147 RTAX_NETMASK = 0x2 1148 RTAX_TAG = 0x8 1149 RTA_AUTHOR = 0x40 1150 RTA_BRD = 0x80 1151 RTA_DST = 0x1 1152 RTA_GATEWAY = 0x2 1153 RTA_GENMASK = 0x8 1154 RTA_IFA = 0x20 1155 RTA_IFP = 0x10 1156 RTA_NETMASK = 0x4 1157 RTA_TAG = 0x100 1158 RTF_ANNOUNCE = 0x20000 1159 RTF_BLACKHOLE = 0x1000 1160 RTF_CLONED = 0x2000 1161 RTF_CLONING = 0x100 1162 RTF_DONE = 0x40 1163 RTF_DYNAMIC = 0x10 1164 RTF_GATEWAY = 0x2 1165 RTF_HOST = 0x4 1166 RTF_LLINFO = 0x400 1167 RTF_MASK = 0x80 1168 RTF_MODIFIED = 0x20 1169 RTF_PROTO1 = 0x8000 1170 RTF_PROTO2 = 0x4000 1171 RTF_REJECT = 0x8 1172 RTF_SRC = 0x10000 1173 RTF_STATIC = 0x800 1174 RTF_UP = 0x1 1175 RTF_XRESOLVE = 0x200 1176 RTM_ADD = 0x1 1177 RTM_CHANGE = 0x3 1178 RTM_CHGADDR = 0x15 1179 RTM_DELADDR = 0xd 1180 RTM_DELETE = 0x2 1181 RTM_GET = 0x4 1182 RTM_IEEE80211 = 0x11 1183 RTM_IFANNOUNCE = 0x10 1184 RTM_IFINFO = 0x14 1185 RTM_LLINFO_UPD = 0x13 1186 RTM_LOCK = 0x8 1187 RTM_LOSING = 0x5 1188 RTM_MISS = 0x7 1189 RTM_NEWADDR = 0xc 1190 RTM_OIFINFO = 0xf 1191 RTM_OLDADD = 0x9 1192 RTM_OLDDEL = 0xa 1193 RTM_OOIFINFO = 0xe 1194 RTM_REDIRECT = 0x6 1195 RTM_RESOLVE = 0xb 1196 RTM_RTTUNIT = 0xf4240 1197 RTM_SETGATE = 0x12 1198 RTM_VERSION = 0x4 1199 RTV_EXPIRE = 0x4 1200 RTV_HOPCOUNT = 0x2 1201 RTV_MTU = 0x1 1202 RTV_RPIPE = 0x8 1203 RTV_RTT = 0x40 1204 RTV_RTTVAR = 0x80 1205 RTV_SPIPE = 0x10 1206 RTV_SSTHRESH = 0x20 1207 RUSAGE_CHILDREN = -0x1 1208 RUSAGE_SELF = 0x0 1209 SCM_CREDS = 0x4 1210 SCM_RIGHTS = 0x1 1211 SCM_TIMESTAMP = 0x8 1212 SHUT_RD = 0x0 1213 SHUT_RDWR = 0x2 1214 SHUT_WR = 0x1 1215 SIOCADDMULTI = 0x80906931 1216 SIOCADDRT = 0x8030720a 1217 SIOCAIFADDR = 0x8040691a 1218 SIOCALIFADDR = 0x8118691c 1219 SIOCATMARK = 0x40047307 1220 SIOCDELMULTI = 0x80906932 1221 SIOCDELRT = 0x8030720b 1222 SIOCDIFADDR = 0x80906919 1223 SIOCDIFPHYADDR = 0x80906949 1224 SIOCDLIFADDR = 0x8118691e 1225 SIOCGDRVSPEC = 0xc01c697b 1226 SIOCGETPFSYNC = 0xc09069f8 1227 SIOCGETSGCNT = 0xc0147534 1228 SIOCGETVIFCNT = 0xc0147533 1229 SIOCGHIWAT = 0x40047301 1230 SIOCGIFADDR = 0xc0906921 1231 SIOCGIFADDRPREF = 0xc0946920 1232 SIOCGIFALIAS = 0xc040691b 1233 SIOCGIFBRDADDR = 0xc0906923 1234 SIOCGIFCAP = 0xc0206976 1235 SIOCGIFCONF = 0xc0086926 1236 SIOCGIFDATA = 0xc0946985 1237 SIOCGIFDLT = 0xc0906977 1238 SIOCGIFDSTADDR = 0xc0906922 1239 SIOCGIFFLAGS = 0xc0906911 1240 SIOCGIFGENERIC = 0xc090693a 1241 SIOCGIFMEDIA = 0xc0286936 1242 SIOCGIFMETRIC = 0xc0906917 1243 SIOCGIFMTU = 0xc090697e 1244 SIOCGIFNETMASK = 0xc0906925 1245 SIOCGIFPDSTADDR = 0xc0906948 1246 SIOCGIFPSRCADDR = 0xc0906947 1247 SIOCGLIFADDR = 0xc118691d 1248 SIOCGLIFPHYADDR = 0xc118694b 1249 SIOCGLINKSTR = 0xc01c6987 1250 SIOCGLOWAT = 0x40047303 1251 SIOCGPGRP = 0x40047309 1252 SIOCGVH = 0xc0906983 1253 SIOCIFCREATE = 0x8090697a 1254 SIOCIFDESTROY = 0x80906979 1255 SIOCIFGCLONERS = 0xc00c6978 1256 SIOCINITIFADDR = 0xc0446984 1257 SIOCSDRVSPEC = 0x801c697b 1258 SIOCSETPFSYNC = 0x809069f7 1259 SIOCSHIWAT = 0x80047300 1260 SIOCSIFADDR = 0x8090690c 1261 SIOCSIFADDRPREF = 0x8094691f 1262 SIOCSIFBRDADDR = 0x80906913 1263 SIOCSIFCAP = 0x80206975 1264 SIOCSIFDSTADDR = 0x8090690e 1265 SIOCSIFFLAGS = 0x80906910 1266 SIOCSIFGENERIC = 0x80906939 1267 SIOCSIFMEDIA = 0xc0906935 1268 SIOCSIFMETRIC = 0x80906918 1269 SIOCSIFMTU = 0x8090697f 1270 SIOCSIFNETMASK = 0x80906916 1271 SIOCSIFPHYADDR = 0x80406946 1272 SIOCSLIFPHYADDR = 0x8118694a 1273 SIOCSLINKSTR = 0x801c6988 1274 SIOCSLOWAT = 0x80047302 1275 SIOCSPGRP = 0x80047308 1276 SIOCSVH = 0xc0906982 1277 SIOCZIFDATA = 0xc0946986 1278 SOCK_CLOEXEC = 0x10000000 1279 SOCK_DGRAM = 0x2 1280 SOCK_FLAGS_MASK = 0xf0000000 1281 SOCK_NONBLOCK = 0x20000000 1282 SOCK_NOSIGPIPE = 0x40000000 1283 SOCK_RAW = 0x3 1284 SOCK_RDM = 0x4 1285 SOCK_SEQPACKET = 0x5 1286 SOCK_STREAM = 0x1 1287 SOL_SOCKET = 0xffff 1288 SOMAXCONN = 0x80 1289 SO_ACCEPTCONN = 0x2 1290 SO_ACCEPTFILTER = 0x1000 1291 SO_BROADCAST = 0x20 1292 SO_DEBUG = 0x1 1293 SO_DONTROUTE = 0x10 1294 SO_ERROR = 0x1007 1295 SO_KEEPALIVE = 0x8 1296 SO_LINGER = 0x80 1297 SO_NOHEADER = 0x100a 1298 SO_NOSIGPIPE = 0x800 1299 SO_OOBINLINE = 0x100 1300 SO_OVERFLOWED = 0x1009 1301 SO_RCVBUF = 0x1002 1302 SO_RCVLOWAT = 0x1004 1303 SO_RCVTIMEO = 0x100c 1304 SO_REUSEADDR = 0x4 1305 SO_REUSEPORT = 0x200 1306 SO_SNDBUF = 0x1001 1307 SO_SNDLOWAT = 0x1003 1308 SO_SNDTIMEO = 0x100b 1309 SO_TIMESTAMP = 0x2000 1310 SO_TYPE = 0x1008 1311 SO_USELOOPBACK = 0x40 1312 SYSCTL_VERSION = 0x1000000 1313 SYSCTL_VERS_0 = 0x0 1314 SYSCTL_VERS_1 = 0x1000000 1315 SYSCTL_VERS_MASK = 0xff000000 1316 S_ARCH1 = 0x10000 1317 S_ARCH2 = 0x20000 1318 S_BLKSIZE = 0x200 1319 S_IEXEC = 0x40 1320 S_IFBLK = 0x6000 1321 S_IFCHR = 0x2000 1322 S_IFDIR = 0x4000 1323 S_IFIFO = 0x1000 1324 S_IFLNK = 0xa000 1325 S_IFMT = 0xf000 1326 S_IFREG = 0x8000 1327 S_IFSOCK = 0xc000 1328 S_IFWHT = 0xe000 1329 S_IREAD = 0x100 1330 S_IRGRP = 0x20 1331 S_IROTH = 0x4 1332 S_IRUSR = 0x100 1333 S_IRWXG = 0x38 1334 S_IRWXO = 0x7 1335 S_IRWXU = 0x1c0 1336 S_ISGID = 0x400 1337 S_ISTXT = 0x200 1338 S_ISUID = 0x800 1339 S_ISVTX = 0x200 1340 S_IWGRP = 0x10 1341 S_IWOTH = 0x2 1342 S_IWRITE = 0x80 1343 S_IWUSR = 0x80 1344 S_IXGRP = 0x8 1345 S_IXOTH = 0x1 1346 S_IXUSR = 0x40 1347 TCIFLUSH = 0x1 1348 TCIOFLUSH = 0x3 1349 TCOFLUSH = 0x2 1350 TCP_CONGCTL = 0x20 1351 TCP_KEEPCNT = 0x6 1352 TCP_KEEPIDLE = 0x3 1353 TCP_KEEPINIT = 0x7 1354 TCP_KEEPINTVL = 0x5 1355 TCP_MAXBURST = 0x4 1356 TCP_MAXSEG = 0x2 1357 TCP_MAXWIN = 0xffff 1358 TCP_MAX_WINSHIFT = 0xe 1359 TCP_MD5SIG = 0x10 1360 TCP_MINMSS = 0xd8 1361 TCP_MSS = 0x218 1362 TCP_NODELAY = 0x1 1363 TCSAFLUSH = 0x2 1364 TIOCCBRK = 0x2000747a 1365 TIOCCDTR = 0x20007478 1366 TIOCCONS = 0x80047462 1367 TIOCDCDTIMESTAMP = 0x400c7458 1368 TIOCDRAIN = 0x2000745e 1369 TIOCEXCL = 0x2000740d 1370 TIOCEXT = 0x80047460 1371 TIOCFLAG_CDTRCTS = 0x10 1372 TIOCFLAG_CLOCAL = 0x2 1373 TIOCFLAG_CRTSCTS = 0x4 1374 TIOCFLAG_MDMBUF = 0x8 1375 TIOCFLAG_SOFTCAR = 0x1 1376 TIOCFLUSH = 0x80047410 1377 TIOCGETA = 0x402c7413 1378 TIOCGETD = 0x4004741a 1379 TIOCGFLAGS = 0x4004745d 1380 TIOCGLINED = 0x40207442 1381 TIOCGPGRP = 0x40047477 1382 TIOCGQSIZE = 0x40047481 1383 TIOCGRANTPT = 0x20007447 1384 TIOCGSID = 0x40047463 1385 TIOCGSIZE = 0x40087468 1386 TIOCGWINSZ = 0x40087468 1387 TIOCMBIC = 0x8004746b 1388 TIOCMBIS = 0x8004746c 1389 TIOCMGET = 0x4004746a 1390 TIOCMSET = 0x8004746d 1391 TIOCM_CAR = 0x40 1392 TIOCM_CD = 0x40 1393 TIOCM_CTS = 0x20 1394 TIOCM_DSR = 0x100 1395 TIOCM_DTR = 0x2 1396 TIOCM_LE = 0x1 1397 TIOCM_RI = 0x80 1398 TIOCM_RNG = 0x80 1399 TIOCM_RTS = 0x4 1400 TIOCM_SR = 0x10 1401 TIOCM_ST = 0x8 1402 TIOCNOTTY = 0x20007471 1403 TIOCNXCL = 0x2000740e 1404 TIOCOUTQ = 0x40047473 1405 TIOCPKT = 0x80047470 1406 TIOCPKT_DATA = 0x0 1407 TIOCPKT_DOSTOP = 0x20 1408 TIOCPKT_FLUSHREAD = 0x1 1409 TIOCPKT_FLUSHWRITE = 0x2 1410 TIOCPKT_IOCTL = 0x40 1411 TIOCPKT_NOSTOP = 0x10 1412 TIOCPKT_START = 0x8 1413 TIOCPKT_STOP = 0x4 1414 TIOCPTMGET = 0x48087446 1415 TIOCPTSNAME = 0x48087448 1416 TIOCRCVFRAME = 0x80047445 1417 TIOCREMOTE = 0x80047469 1418 TIOCSBRK = 0x2000747b 1419 TIOCSCTTY = 0x20007461 1420 TIOCSDTR = 0x20007479 1421 TIOCSETA = 0x802c7414 1422 TIOCSETAF = 0x802c7416 1423 TIOCSETAW = 0x802c7415 1424 TIOCSETD = 0x8004741b 1425 TIOCSFLAGS = 0x8004745c 1426 TIOCSIG = 0x2000745f 1427 TIOCSLINED = 0x80207443 1428 TIOCSPGRP = 0x80047476 1429 TIOCSQSIZE = 0x80047480 1430 TIOCSSIZE = 0x80087467 1431 TIOCSTART = 0x2000746e 1432 TIOCSTAT = 0x80047465 1433 TIOCSTI = 0x80017472 1434 TIOCSTOP = 0x2000746f 1435 TIOCSWINSZ = 0x80087467 1436 TIOCUCNTL = 0x80047466 1437 TIOCXMTFRAME = 0x80047444 1438 TOSTOP = 0x400000 1439 VDISCARD = 0xf 1440 VDSUSP = 0xb 1441 VEOF = 0x0 1442 VEOL = 0x1 1443 VEOL2 = 0x2 1444 VERASE = 0x3 1445 VINTR = 0x8 1446 VKILL = 0x5 1447 VLNEXT = 0xe 1448 VMIN = 0x10 1449 VQUIT = 0x9 1450 VREPRINT = 0x6 1451 VSTART = 0xc 1452 VSTATUS = 0x12 1453 VSTOP = 0xd 1454 VSUSP = 0xa 1455 VTIME = 0x11 1456 VWERASE = 0x4 1457 WALL = 0x8 1458 WALLSIG = 0x8 1459 WALTSIG = 0x4 1460 WCLONE = 0x4 1461 WCOREFLAG = 0x80 1462 WNOHANG = 0x1 1463 WNOWAIT = 0x10000 1464 WNOZOMBIE = 0x20000 1465 WOPTSCHECKED = 0x40000 1466 WSTOPPED = 0x7f 1467 WUNTRACED = 0x2 1468 ) 1469 1470 // Errors 1471 const ( 1472 E2BIG = syscall.Errno(0x7) 1473 EACCES = syscall.Errno(0xd) 1474 EADDRINUSE = syscall.Errno(0x30) 1475 EADDRNOTAVAIL = syscall.Errno(0x31) 1476 EAFNOSUPPORT = syscall.Errno(0x2f) 1477 EAGAIN = syscall.Errno(0x23) 1478 EALREADY = syscall.Errno(0x25) 1479 EAUTH = syscall.Errno(0x50) 1480 EBADF = syscall.Errno(0x9) 1481 EBADMSG = syscall.Errno(0x58) 1482 EBADRPC = syscall.Errno(0x48) 1483 EBUSY = syscall.Errno(0x10) 1484 ECANCELED = syscall.Errno(0x57) 1485 ECHILD = syscall.Errno(0xa) 1486 ECONNABORTED = syscall.Errno(0x35) 1487 ECONNREFUSED = syscall.Errno(0x3d) 1488 ECONNRESET = syscall.Errno(0x36) 1489 EDEADLK = syscall.Errno(0xb) 1490 EDESTADDRREQ = syscall.Errno(0x27) 1491 EDOM = syscall.Errno(0x21) 1492 EDQUOT = syscall.Errno(0x45) 1493 EEXIST = syscall.Errno(0x11) 1494 EFAULT = syscall.Errno(0xe) 1495 EFBIG = syscall.Errno(0x1b) 1496 EFTYPE = syscall.Errno(0x4f) 1497 EHOSTDOWN = syscall.Errno(0x40) 1498 EHOSTUNREACH = syscall.Errno(0x41) 1499 EIDRM = syscall.Errno(0x52) 1500 EILSEQ = syscall.Errno(0x55) 1501 EINPROGRESS = syscall.Errno(0x24) 1502 EINTR = syscall.Errno(0x4) 1503 EINVAL = syscall.Errno(0x16) 1504 EIO = syscall.Errno(0x5) 1505 EISCONN = syscall.Errno(0x38) 1506 EISDIR = syscall.Errno(0x15) 1507 ELAST = syscall.Errno(0x60) 1508 ELOOP = syscall.Errno(0x3e) 1509 EMFILE = syscall.Errno(0x18) 1510 EMLINK = syscall.Errno(0x1f) 1511 EMSGSIZE = syscall.Errno(0x28) 1512 EMULTIHOP = syscall.Errno(0x5e) 1513 ENAMETOOLONG = syscall.Errno(0x3f) 1514 ENEEDAUTH = syscall.Errno(0x51) 1515 ENETDOWN = syscall.Errno(0x32) 1516 ENETRESET = syscall.Errno(0x34) 1517 ENETUNREACH = syscall.Errno(0x33) 1518 ENFILE = syscall.Errno(0x17) 1519 ENOATTR = syscall.Errno(0x5d) 1520 ENOBUFS = syscall.Errno(0x37) 1521 ENODATA = syscall.Errno(0x59) 1522 ENODEV = syscall.Errno(0x13) 1523 ENOENT = syscall.Errno(0x2) 1524 ENOEXEC = syscall.Errno(0x8) 1525 ENOLCK = syscall.Errno(0x4d) 1526 ENOLINK = syscall.Errno(0x5f) 1527 ENOMEM = syscall.Errno(0xc) 1528 ENOMSG = syscall.Errno(0x53) 1529 ENOPROTOOPT = syscall.Errno(0x2a) 1530 ENOSPC = syscall.Errno(0x1c) 1531 ENOSR = syscall.Errno(0x5a) 1532 ENOSTR = syscall.Errno(0x5b) 1533 ENOSYS = syscall.Errno(0x4e) 1534 ENOTBLK = syscall.Errno(0xf) 1535 ENOTCONN = syscall.Errno(0x39) 1536 ENOTDIR = syscall.Errno(0x14) 1537 ENOTEMPTY = syscall.Errno(0x42) 1538 ENOTSOCK = syscall.Errno(0x26) 1539 ENOTSUP = syscall.Errno(0x56) 1540 ENOTTY = syscall.Errno(0x19) 1541 ENXIO = syscall.Errno(0x6) 1542 EOPNOTSUPP = syscall.Errno(0x2d) 1543 EOVERFLOW = syscall.Errno(0x54) 1544 EPERM = syscall.Errno(0x1) 1545 EPFNOSUPPORT = syscall.Errno(0x2e) 1546 EPIPE = syscall.Errno(0x20) 1547 EPROCLIM = syscall.Errno(0x43) 1548 EPROCUNAVAIL = syscall.Errno(0x4c) 1549 EPROGMISMATCH = syscall.Errno(0x4b) 1550 EPROGUNAVAIL = syscall.Errno(0x4a) 1551 EPROTO = syscall.Errno(0x60) 1552 EPROTONOSUPPORT = syscall.Errno(0x2b) 1553 EPROTOTYPE = syscall.Errno(0x29) 1554 ERANGE = syscall.Errno(0x22) 1555 EREMOTE = syscall.Errno(0x47) 1556 EROFS = syscall.Errno(0x1e) 1557 ERPCMISMATCH = syscall.Errno(0x49) 1558 ESHUTDOWN = syscall.Errno(0x3a) 1559 ESOCKTNOSUPPORT = syscall.Errno(0x2c) 1560 ESPIPE = syscall.Errno(0x1d) 1561 ESRCH = syscall.Errno(0x3) 1562 ESTALE = syscall.Errno(0x46) 1563 ETIME = syscall.Errno(0x5c) 1564 ETIMEDOUT = syscall.Errno(0x3c) 1565 ETOOMANYREFS = syscall.Errno(0x3b) 1566 ETXTBSY = syscall.Errno(0x1a) 1567 EUSERS = syscall.Errno(0x44) 1568 EWOULDBLOCK = syscall.Errno(0x23) 1569 EXDEV = syscall.Errno(0x12) 1570 ) 1571 1572 // Signals 1573 const ( 1574 SIGABRT = syscall.Signal(0x6) 1575 SIGALRM = syscall.Signal(0xe) 1576 SIGBUS = syscall.Signal(0xa) 1577 SIGCHLD = syscall.Signal(0x14) 1578 SIGCONT = syscall.Signal(0x13) 1579 SIGEMT = syscall.Signal(0x7) 1580 SIGFPE = syscall.Signal(0x8) 1581 SIGHUP = syscall.Signal(0x1) 1582 SIGILL = syscall.Signal(0x4) 1583 SIGINFO = syscall.Signal(0x1d) 1584 SIGINT = syscall.Signal(0x2) 1585 SIGIO = syscall.Signal(0x17) 1586 SIGIOT = syscall.Signal(0x6) 1587 SIGKILL = syscall.Signal(0x9) 1588 SIGPIPE = syscall.Signal(0xd) 1589 SIGPROF = syscall.Signal(0x1b) 1590 SIGPWR = syscall.Signal(0x20) 1591 SIGQUIT = syscall.Signal(0x3) 1592 SIGSEGV = syscall.Signal(0xb) 1593 SIGSTOP = syscall.Signal(0x11) 1594 SIGSYS = syscall.Signal(0xc) 1595 SIGTERM = syscall.Signal(0xf) 1596 SIGTRAP = syscall.Signal(0x5) 1597 SIGTSTP = syscall.Signal(0x12) 1598 SIGTTIN = syscall.Signal(0x15) 1599 SIGTTOU = syscall.Signal(0x16) 1600 SIGURG = syscall.Signal(0x10) 1601 SIGUSR1 = syscall.Signal(0x1e) 1602 SIGUSR2 = syscall.Signal(0x1f) 1603 SIGVTALRM = syscall.Signal(0x1a) 1604 SIGWINCH = syscall.Signal(0x1c) 1605 SIGXCPU = syscall.Signal(0x18) 1606 SIGXFSZ = syscall.Signal(0x19) 1607 ) 1608 1609 // Error table 1610 var errorList = [...]struct { 1611 num syscall.Errno 1612 name string 1613 desc string 1614 }{ 1615 {1, "EPERM", "operation not permitted"}, 1616 {2, "ENOENT", "no such file or directory"}, 1617 {3, "ESRCH", "no such process"}, 1618 {4, "EINTR", "interrupted system call"}, 1619 {5, "EIO", "input/output error"}, 1620 {6, "ENXIO", "device not configured"}, 1621 {7, "E2BIG", "argument list too long"}, 1622 {8, "ENOEXEC", "exec format error"}, 1623 {9, "EBADF", "bad file descriptor"}, 1624 {10, "ECHILD", "no child processes"}, 1625 {11, "EDEADLK", "resource deadlock avoided"}, 1626 {12, "ENOMEM", "cannot allocate memory"}, 1627 {13, "EACCES", "permission denied"}, 1628 {14, "EFAULT", "bad address"}, 1629 {15, "ENOTBLK", "block device required"}, 1630 {16, "EBUSY", "device busy"}, 1631 {17, "EEXIST", "file exists"}, 1632 {18, "EXDEV", "cross-device link"}, 1633 {19, "ENODEV", "operation not supported by device"}, 1634 {20, "ENOTDIR", "not a directory"}, 1635 {21, "EISDIR", "is a directory"}, 1636 {22, "EINVAL", "invalid argument"}, 1637 {23, "ENFILE", "too many open files in system"}, 1638 {24, "EMFILE", "too many open files"}, 1639 {25, "ENOTTY", "inappropriate ioctl for device"}, 1640 {26, "ETXTBSY", "text file busy"}, 1641 {27, "EFBIG", "file too large"}, 1642 {28, "ENOSPC", "no space left on device"}, 1643 {29, "ESPIPE", "illegal seek"}, 1644 {30, "EROFS", "read-only file system"}, 1645 {31, "EMLINK", "too many links"}, 1646 {32, "EPIPE", "broken pipe"}, 1647 {33, "EDOM", "numerical argument out of domain"}, 1648 {34, "ERANGE", "result too large or too small"}, 1649 {35, "EAGAIN", "resource temporarily unavailable"}, 1650 {36, "EINPROGRESS", "operation now in progress"}, 1651 {37, "EALREADY", "operation already in progress"}, 1652 {38, "ENOTSOCK", "socket operation on non-socket"}, 1653 {39, "EDESTADDRREQ", "destination address required"}, 1654 {40, "EMSGSIZE", "message too long"}, 1655 {41, "EPROTOTYPE", "protocol wrong type for socket"}, 1656 {42, "ENOPROTOOPT", "protocol option not available"}, 1657 {43, "EPROTONOSUPPORT", "protocol not supported"}, 1658 {44, "ESOCKTNOSUPPORT", "socket type not supported"}, 1659 {45, "EOPNOTSUPP", "operation not supported"}, 1660 {46, "EPFNOSUPPORT", "protocol family not supported"}, 1661 {47, "EAFNOSUPPORT", "address family not supported by protocol family"}, 1662 {48, "EADDRINUSE", "address already in use"}, 1663 {49, "EADDRNOTAVAIL", "can't assign requested address"}, 1664 {50, "ENETDOWN", "network is down"}, 1665 {51, "ENETUNREACH", "network is unreachable"}, 1666 {52, "ENETRESET", "network dropped connection on reset"}, 1667 {53, "ECONNABORTED", "software caused connection abort"}, 1668 {54, "ECONNRESET", "connection reset by peer"}, 1669 {55, "ENOBUFS", "no buffer space available"}, 1670 {56, "EISCONN", "socket is already connected"}, 1671 {57, "ENOTCONN", "socket is not connected"}, 1672 {58, "ESHUTDOWN", "can't send after socket shutdown"}, 1673 {59, "ETOOMANYREFS", "too many references: can't splice"}, 1674 {60, "ETIMEDOUT", "connection timed out"}, 1675 {61, "ECONNREFUSED", "connection refused"}, 1676 {62, "ELOOP", "too many levels of symbolic links"}, 1677 {63, "ENAMETOOLONG", "file name too long"}, 1678 {64, "EHOSTDOWN", "host is down"}, 1679 {65, "EHOSTUNREACH", "no route to host"}, 1680 {66, "ENOTEMPTY", "directory not empty"}, 1681 {67, "EPROCLIM", "too many processes"}, 1682 {68, "EUSERS", "too many users"}, 1683 {69, "EDQUOT", "disc quota exceeded"}, 1684 {70, "ESTALE", "stale NFS file handle"}, 1685 {71, "EREMOTE", "too many levels of remote in path"}, 1686 {72, "EBADRPC", "RPC struct is bad"}, 1687 {73, "ERPCMISMATCH", "RPC version wrong"}, 1688 {74, "EPROGUNAVAIL", "RPC prog. not avail"}, 1689 {75, "EPROGMISMATCH", "program version wrong"}, 1690 {76, "EPROCUNAVAIL", "bad procedure for program"}, 1691 {77, "ENOLCK", "no locks available"}, 1692 {78, "ENOSYS", "function not implemented"}, 1693 {79, "EFTYPE", "inappropriate file type or format"}, 1694 {80, "EAUTH", "authentication error"}, 1695 {81, "ENEEDAUTH", "need authenticator"}, 1696 {82, "EIDRM", "identifier removed"}, 1697 {83, "ENOMSG", "no message of desired type"}, 1698 {84, "EOVERFLOW", "value too large to be stored in data type"}, 1699 {85, "EILSEQ", "illegal byte sequence"}, 1700 {86, "ENOTSUP", "not supported"}, 1701 {87, "ECANCELED", "operation Canceled"}, 1702 {88, "EBADMSG", "bad or Corrupt message"}, 1703 {89, "ENODATA", "no message available"}, 1704 {90, "ENOSR", "no STREAM resources"}, 1705 {91, "ENOSTR", "not a STREAM"}, 1706 {92, "ETIME", "STREAM ioctl timeout"}, 1707 {93, "ENOATTR", "attribute not found"}, 1708 {94, "EMULTIHOP", "multihop attempted"}, 1709 {95, "ENOLINK", "link has been severed"}, 1710 {96, "ELAST", "protocol error"}, 1711 } 1712 1713 // Signal table 1714 var signalList = [...]struct { 1715 num syscall.Signal 1716 name string 1717 desc string 1718 }{ 1719 {1, "SIGHUP", "hangup"}, 1720 {2, "SIGINT", "interrupt"}, 1721 {3, "SIGQUIT", "quit"}, 1722 {4, "SIGILL", "illegal instruction"}, 1723 {5, "SIGTRAP", "trace/BPT trap"}, 1724 {6, "SIGIOT", "abort trap"}, 1725 {7, "SIGEMT", "EMT trap"}, 1726 {8, "SIGFPE", "floating point exception"}, 1727 {9, "SIGKILL", "killed"}, 1728 {10, "SIGBUS", "bus error"}, 1729 {11, "SIGSEGV", "segmentation fault"}, 1730 {12, "SIGSYS", "bad system call"}, 1731 {13, "SIGPIPE", "broken pipe"}, 1732 {14, "SIGALRM", "alarm clock"}, 1733 {15, "SIGTERM", "terminated"}, 1734 {16, "SIGURG", "urgent I/O condition"}, 1735 {17, "SIGSTOP", "stopped (signal)"}, 1736 {18, "SIGTSTP", "stopped"}, 1737 {19, "SIGCONT", "continued"}, 1738 {20, "SIGCHLD", "child exited"}, 1739 {21, "SIGTTIN", "stopped (tty input)"}, 1740 {22, "SIGTTOU", "stopped (tty output)"}, 1741 {23, "SIGIO", "I/O possible"}, 1742 {24, "SIGXCPU", "cputime limit exceeded"}, 1743 {25, "SIGXFSZ", "filesize limit exceeded"}, 1744 {26, "SIGVTALRM", "virtual timer expired"}, 1745 {27, "SIGPROF", "profiling timer expired"}, 1746 {28, "SIGWINCH", "window size changes"}, 1747 {29, "SIGINFO", "information request"}, 1748 {30, "SIGUSR1", "user defined signal 1"}, 1749 {31, "SIGUSR2", "user defined signal 2"}, 1750 {32, "SIGPWR", "power fail/restart"}, 1751 }