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