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