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