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