github.com/flyinox/gosm@v0.0.0-20171117061539-16768cb62077/src/syscall/zerrors_dragonfly_amd64.go (about) 1 // mkerrors.sh -m64 2 // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT 3 4 // Created by cgo -godefs - DO NOT EDIT 5 // cgo -godefs -- -m64 _const.go 6 7 // +build amd64,dragonfly 8 9 package syscall 10 11 const ( 12 AF_APPLETALK = 0x10 13 AF_ATM = 0x1e 14 AF_BLUETOOTH = 0x21 15 AF_CCITT = 0xa 16 AF_CHAOS = 0x5 17 AF_CNT = 0x15 18 AF_COIP = 0x14 19 AF_DATAKIT = 0x9 20 AF_DECnet = 0xc 21 AF_DLI = 0xd 22 AF_E164 = 0x1a 23 AF_ECMA = 0x8 24 AF_HYLINK = 0xf 25 AF_IEEE80211 = 0x23 26 AF_IMPLINK = 0x3 27 AF_INET = 0x2 28 AF_INET6 = 0x1c 29 AF_IPX = 0x17 30 AF_ISDN = 0x1a 31 AF_ISO = 0x7 32 AF_LAT = 0xe 33 AF_LINK = 0x12 34 AF_LOCAL = 0x1 35 AF_MAX = 0x24 36 AF_MPLS = 0x22 37 AF_NATM = 0x1d 38 AF_NETGRAPH = 0x20 39 AF_NS = 0x6 40 AF_OSI = 0x7 41 AF_PUP = 0x4 42 AF_ROUTE = 0x11 43 AF_SIP = 0x18 44 AF_SNA = 0xb 45 AF_UNIX = 0x1 46 AF_UNSPEC = 0x0 47 B0 = 0x0 48 B110 = 0x6e 49 B115200 = 0x1c200 50 B1200 = 0x4b0 51 B134 = 0x86 52 B14400 = 0x3840 53 B150 = 0x96 54 B1800 = 0x708 55 B19200 = 0x4b00 56 B200 = 0xc8 57 B230400 = 0x38400 58 B2400 = 0x960 59 B28800 = 0x7080 60 B300 = 0x12c 61 B38400 = 0x9600 62 B4800 = 0x12c0 63 B50 = 0x32 64 B57600 = 0xe100 65 B600 = 0x258 66 B7200 = 0x1c20 67 B75 = 0x4b 68 B76800 = 0x12c00 69 B9600 = 0x2580 70 BIOCFLUSH = 0x20004268 71 BIOCGBLEN = 0x40044266 72 BIOCGDLT = 0x4004426a 73 BIOCGDLTLIST = 0xc0104279 74 BIOCGETIF = 0x4020426b 75 BIOCGHDRCMPLT = 0x40044274 76 BIOCGRSIG = 0x40044272 77 BIOCGRTIMEOUT = 0x4010426e 78 BIOCGSEESENT = 0x40044276 79 BIOCGSTATS = 0x4008426f 80 BIOCIMMEDIATE = 0x80044270 81 BIOCLOCK = 0x2000427a 82 BIOCPROMISC = 0x20004269 83 BIOCSBLEN = 0xc0044266 84 BIOCSDLT = 0x80044278 85 BIOCSETF = 0x80104267 86 BIOCSETIF = 0x8020426c 87 BIOCSETWF = 0x8010427b 88 BIOCSHDRCMPLT = 0x80044275 89 BIOCSRSIG = 0x80044273 90 BIOCSRTIMEOUT = 0x8010426d 91 BIOCSSEESENT = 0x80044277 92 BIOCVERSION = 0x40044271 93 BPF_A = 0x10 94 BPF_ABS = 0x20 95 BPF_ADD = 0x0 96 BPF_ALIGNMENT = 0x8 97 BPF_ALU = 0x4 98 BPF_AND = 0x50 99 BPF_B = 0x10 100 BPF_DEFAULTBUFSIZE = 0x1000 101 BPF_DIV = 0x30 102 BPF_H = 0x8 103 BPF_IMM = 0x0 104 BPF_IND = 0x40 105 BPF_JA = 0x0 106 BPF_JEQ = 0x10 107 BPF_JGE = 0x30 108 BPF_JGT = 0x20 109 BPF_JMP = 0x5 110 BPF_JSET = 0x40 111 BPF_K = 0x0 112 BPF_LD = 0x0 113 BPF_LDX = 0x1 114 BPF_LEN = 0x80 115 BPF_LSH = 0x60 116 BPF_MAJOR_VERSION = 0x1 117 BPF_MAXBUFSIZE = 0x80000 118 BPF_MAXINSNS = 0x200 119 BPF_MAX_CLONES = 0x80 120 BPF_MEM = 0x60 121 BPF_MEMWORDS = 0x10 122 BPF_MINBUFSIZE = 0x20 123 BPF_MINOR_VERSION = 0x1 124 BPF_MISC = 0x7 125 BPF_MSH = 0xa0 126 BPF_MUL = 0x20 127 BPF_NEG = 0x80 128 BPF_OR = 0x40 129 BPF_RELEASE = 0x30bb6 130 BPF_RET = 0x6 131 BPF_RSH = 0x70 132 BPF_ST = 0x2 133 BPF_STX = 0x3 134 BPF_SUB = 0x10 135 BPF_TAX = 0x0 136 BPF_TXA = 0x80 137 BPF_W = 0x0 138 BPF_X = 0x8 139 BRKINT = 0x2 140 CFLUSH = 0xf 141 CLOCAL = 0x8000 142 CREAD = 0x800 143 CS5 = 0x0 144 CS6 = 0x100 145 CS7 = 0x200 146 CS8 = 0x300 147 CSIZE = 0x300 148 CSTART = 0x11 149 CSTATUS = 0x14 150 CSTOP = 0x13 151 CSTOPB = 0x400 152 CSUSP = 0x1a 153 CTL_MAXNAME = 0xc 154 CTL_NET = 0x4 155 DLT_A429 = 0xb8 156 DLT_A653_ICM = 0xb9 157 DLT_AIRONET_HEADER = 0x78 158 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a 159 DLT_ARCNET = 0x7 160 DLT_ARCNET_LINUX = 0x81 161 DLT_ATM_CLIP = 0x13 162 DLT_ATM_RFC1483 = 0xb 163 DLT_AURORA = 0x7e 164 DLT_AX25 = 0x3 165 DLT_AX25_KISS = 0xca 166 DLT_BACNET_MS_TP = 0xa5 167 DLT_BLUETOOTH_HCI_H4 = 0xbb 168 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9 169 DLT_CAN20B = 0xbe 170 DLT_CHAOS = 0x5 171 DLT_CHDLC = 0x68 172 DLT_CISCO_IOS = 0x76 173 DLT_C_HDLC = 0x68 174 DLT_C_HDLC_WITH_DIR = 0xcd 175 DLT_DOCSIS = 0x8f 176 DLT_ECONET = 0x73 177 DLT_EN10MB = 0x1 178 DLT_EN3MB = 0x2 179 DLT_ENC = 0x6d 180 DLT_ERF = 0xc5 181 DLT_ERF_ETH = 0xaf 182 DLT_ERF_POS = 0xb0 183 DLT_FDDI = 0xa 184 DLT_FLEXRAY = 0xd2 185 DLT_FRELAY = 0x6b 186 DLT_FRELAY_WITH_DIR = 0xce 187 DLT_GCOM_SERIAL = 0xad 188 DLT_GCOM_T1E1 = 0xac 189 DLT_GPF_F = 0xab 190 DLT_GPF_T = 0xaa 191 DLT_GPRS_LLC = 0xa9 192 DLT_HHDLC = 0x79 193 DLT_IBM_SN = 0x92 194 DLT_IBM_SP = 0x91 195 DLT_IEEE802 = 0x6 196 DLT_IEEE802_11 = 0x69 197 DLT_IEEE802_11_RADIO = 0x7f 198 DLT_IEEE802_11_RADIO_AVS = 0xa3 199 DLT_IEEE802_15_4 = 0xc3 200 DLT_IEEE802_15_4_LINUX = 0xbf 201 DLT_IEEE802_15_4_NONASK_PHY = 0xd7 202 DLT_IEEE802_16_MAC_CPS = 0xbc 203 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 204 DLT_IPFILTER = 0x74 205 DLT_IPMB = 0xc7 206 DLT_IPMB_LINUX = 0xd1 207 DLT_IP_OVER_FC = 0x7a 208 DLT_JUNIPER_ATM1 = 0x89 209 DLT_JUNIPER_ATM2 = 0x87 210 DLT_JUNIPER_CHDLC = 0xb5 211 DLT_JUNIPER_ES = 0x84 212 DLT_JUNIPER_ETHER = 0xb2 213 DLT_JUNIPER_FRELAY = 0xb4 214 DLT_JUNIPER_GGSN = 0x85 215 DLT_JUNIPER_ISM = 0xc2 216 DLT_JUNIPER_MFR = 0x86 217 DLT_JUNIPER_MLFR = 0x83 218 DLT_JUNIPER_MLPPP = 0x82 219 DLT_JUNIPER_MONITOR = 0xa4 220 DLT_JUNIPER_PIC_PEER = 0xae 221 DLT_JUNIPER_PPP = 0xb3 222 DLT_JUNIPER_PPPOE = 0xa7 223 DLT_JUNIPER_PPPOE_ATM = 0xa8 224 DLT_JUNIPER_SERVICES = 0x88 225 DLT_JUNIPER_ST = 0xc8 226 DLT_JUNIPER_VP = 0xb7 227 DLT_LAPB_WITH_DIR = 0xcf 228 DLT_LAPD = 0xcb 229 DLT_LIN = 0xd4 230 DLT_LINUX_IRDA = 0x90 231 DLT_LINUX_LAPD = 0xb1 232 DLT_LINUX_SLL = 0x71 233 DLT_LOOP = 0x6c 234 DLT_LTALK = 0x72 235 DLT_MFR = 0xb6 236 DLT_MOST = 0xd3 237 DLT_MTP2 = 0x8c 238 DLT_MTP2_WITH_PHDR = 0x8b 239 DLT_MTP3 = 0x8d 240 DLT_NULL = 0x0 241 DLT_PCI_EXP = 0x7d 242 DLT_PFLOG = 0x75 243 DLT_PFSYNC = 0x12 244 DLT_PPI = 0xc0 245 DLT_PPP = 0x9 246 DLT_PPP_BSDOS = 0x10 247 DLT_PPP_ETHER = 0x33 248 DLT_PPP_PPPD = 0xa6 249 DLT_PPP_SERIAL = 0x32 250 DLT_PPP_WITH_DIR = 0xcc 251 DLT_PRISM_HEADER = 0x77 252 DLT_PRONET = 0x4 253 DLT_RAIF1 = 0xc6 254 DLT_RAW = 0xc 255 DLT_REDBACK_SMARTEDGE = 0x20 256 DLT_RIO = 0x7c 257 DLT_SCCP = 0x8e 258 DLT_SITA = 0xc4 259 DLT_SLIP = 0x8 260 DLT_SLIP_BSDOS = 0xf 261 DLT_SUNATM = 0x7b 262 DLT_SYMANTEC_FIREWALL = 0x63 263 DLT_TZSP = 0x80 264 DLT_USB = 0xba 265 DLT_USB_LINUX = 0xbd 266 DLT_X2E_SERIAL = 0xd5 267 DLT_X2E_XORAYA = 0xd6 268 DT_BLK = 0x6 269 DT_CHR = 0x2 270 DT_DBF = 0xf 271 DT_DIR = 0x4 272 DT_FIFO = 0x1 273 DT_LNK = 0xa 274 DT_REG = 0x8 275 DT_SOCK = 0xc 276 DT_UNKNOWN = 0x0 277 DT_WHT = 0xe 278 ECHO = 0x8 279 ECHOCTL = 0x40 280 ECHOE = 0x2 281 ECHOK = 0x4 282 ECHOKE = 0x1 283 ECHONL = 0x10 284 ECHOPRT = 0x20 285 EVFILT_AIO = -0x3 286 EVFILT_EXCEPT = -0x8 287 EVFILT_MARKER = 0xf 288 EVFILT_PROC = -0x5 289 EVFILT_READ = -0x1 290 EVFILT_SIGNAL = -0x6 291 EVFILT_SYSCOUNT = 0x8 292 EVFILT_TIMER = -0x7 293 EVFILT_VNODE = -0x4 294 EVFILT_WRITE = -0x2 295 EV_ADD = 0x1 296 EV_CLEAR = 0x20 297 EV_DELETE = 0x2 298 EV_DISABLE = 0x8 299 EV_ENABLE = 0x4 300 EV_EOF = 0x8000 301 EV_ERROR = 0x4000 302 EV_FLAG1 = 0x2000 303 EV_NODATA = 0x1000 304 EV_ONESHOT = 0x10 305 EV_SYSFLAGS = 0xf000 306 EXTA = 0x4b00 307 EXTB = 0x9600 308 EXTEXIT_LWP = 0x10000 309 EXTEXIT_PROC = 0x0 310 EXTEXIT_SETINT = 0x1 311 EXTEXIT_SIMPLE = 0x0 312 EXTPROC = 0x800 313 FD_CLOEXEC = 0x1 314 FD_SETSIZE = 0x400 315 FLUSHO = 0x800000 316 F_DUP2FD = 0xa 317 F_DUP2FD_CLOEXEC = 0x12 318 F_DUPFD = 0x0 319 F_DUPFD_CLOEXEC = 0x11 320 F_GETFD = 0x1 321 F_GETFL = 0x3 322 F_GETLK = 0x7 323 F_GETOWN = 0x5 324 F_OK = 0x0 325 F_RDLCK = 0x1 326 F_SETFD = 0x2 327 F_SETFL = 0x4 328 F_SETLK = 0x8 329 F_SETLKW = 0x9 330 F_SETOWN = 0x6 331 F_UNLCK = 0x2 332 F_WRLCK = 0x3 333 HUPCL = 0x4000 334 ICANON = 0x100 335 ICMP6_FILTER = 0x12 336 ICRNL = 0x100 337 IEXTEN = 0x400 338 IFAN_ARRIVAL = 0x0 339 IFAN_DEPARTURE = 0x1 340 IFF_ALLMULTI = 0x200 341 IFF_ALTPHYS = 0x4000 342 IFF_BROADCAST = 0x2 343 IFF_CANTCHANGE = 0x118e72 344 IFF_DEBUG = 0x4 345 IFF_LINK0 = 0x1000 346 IFF_LINK1 = 0x2000 347 IFF_LINK2 = 0x4000 348 IFF_LOOPBACK = 0x8 349 IFF_MONITOR = 0x40000 350 IFF_MULTICAST = 0x8000 351 IFF_NOARP = 0x80 352 IFF_NPOLLING = 0x100000 353 IFF_OACTIVE = 0x400 354 IFF_OACTIVE_COMPAT = 0x400 355 IFF_POINTOPOINT = 0x10 356 IFF_POLLING = 0x10000 357 IFF_POLLING_COMPAT = 0x10000 358 IFF_PPROMISC = 0x20000 359 IFF_PROMISC = 0x100 360 IFF_RUNNING = 0x40 361 IFF_SIMPLEX = 0x800 362 IFF_SMART = 0x20 363 IFF_STATICARP = 0x80000 364 IFF_UP = 0x1 365 IFNAMSIZ = 0x10 366 IFT_1822 = 0x2 367 IFT_A12MPPSWITCH = 0x82 368 IFT_AAL2 = 0xbb 369 IFT_AAL5 = 0x31 370 IFT_ADSL = 0x5e 371 IFT_AFLANE8023 = 0x3b 372 IFT_AFLANE8025 = 0x3c 373 IFT_ARAP = 0x58 374 IFT_ARCNET = 0x23 375 IFT_ARCNETPLUS = 0x24 376 IFT_ASYNC = 0x54 377 IFT_ATM = 0x25 378 IFT_ATMDXI = 0x69 379 IFT_ATMFUNI = 0x6a 380 IFT_ATMIMA = 0x6b 381 IFT_ATMLOGICAL = 0x50 382 IFT_ATMRADIO = 0xbd 383 IFT_ATMSUBINTERFACE = 0x86 384 IFT_ATMVCIENDPT = 0xc2 385 IFT_ATMVIRTUAL = 0x95 386 IFT_BGPPOLICYACCOUNTING = 0xa2 387 IFT_BRIDGE = 0xd1 388 IFT_BSC = 0x53 389 IFT_CARP = 0xf8 390 IFT_CCTEMUL = 0x3d 391 IFT_CEPT = 0x13 392 IFT_CES = 0x85 393 IFT_CHANNEL = 0x46 394 IFT_CNR = 0x55 395 IFT_COFFEE = 0x84 396 IFT_COMPOSITELINK = 0x9b 397 IFT_DCN = 0x8d 398 IFT_DIGITALPOWERLINE = 0x8a 399 IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba 400 IFT_DLSW = 0x4a 401 IFT_DOCSCABLEDOWNSTREAM = 0x80 402 IFT_DOCSCABLEMACLAYER = 0x7f 403 IFT_DOCSCABLEUPSTREAM = 0x81 404 IFT_DS0 = 0x51 405 IFT_DS0BUNDLE = 0x52 406 IFT_DS1FDL = 0xaa 407 IFT_DS3 = 0x1e 408 IFT_DTM = 0x8c 409 IFT_DVBASILN = 0xac 410 IFT_DVBASIOUT = 0xad 411 IFT_DVBRCCDOWNSTREAM = 0x93 412 IFT_DVBRCCMACLAYER = 0x92 413 IFT_DVBRCCUPSTREAM = 0x94 414 IFT_ENC = 0xf4 415 IFT_EON = 0x19 416 IFT_EPLRS = 0x57 417 IFT_ESCON = 0x49 418 IFT_ETHER = 0x6 419 IFT_FAITH = 0xf2 420 IFT_FAST = 0x7d 421 IFT_FASTETHER = 0x3e 422 IFT_FASTETHERFX = 0x45 423 IFT_FDDI = 0xf 424 IFT_FIBRECHANNEL = 0x38 425 IFT_FRAMERELAYINTERCONNECT = 0x3a 426 IFT_FRAMERELAYMPI = 0x5c 427 IFT_FRDLCIENDPT = 0xc1 428 IFT_FRELAY = 0x20 429 IFT_FRELAYDCE = 0x2c 430 IFT_FRF16MFRBUNDLE = 0xa3 431 IFT_FRFORWARD = 0x9e 432 IFT_G703AT2MB = 0x43 433 IFT_G703AT64K = 0x42 434 IFT_GIF = 0xf0 435 IFT_GIGABITETHERNET = 0x75 436 IFT_GR303IDT = 0xb2 437 IFT_GR303RDT = 0xb1 438 IFT_H323GATEKEEPER = 0xa4 439 IFT_H323PROXY = 0xa5 440 IFT_HDH1822 = 0x3 441 IFT_HDLC = 0x76 442 IFT_HDSL2 = 0xa8 443 IFT_HIPERLAN2 = 0xb7 444 IFT_HIPPI = 0x2f 445 IFT_HIPPIINTERFACE = 0x39 446 IFT_HOSTPAD = 0x5a 447 IFT_HSSI = 0x2e 448 IFT_HY = 0xe 449 IFT_IBM370PARCHAN = 0x48 450 IFT_IDSL = 0x9a 451 IFT_IEEE1394 = 0x90 452 IFT_IEEE80211 = 0x47 453 IFT_IEEE80212 = 0x37 454 IFT_IEEE8023ADLAG = 0xa1 455 IFT_IFGSN = 0x91 456 IFT_IMT = 0xbe 457 IFT_INTERLEAVE = 0x7c 458 IFT_IP = 0x7e 459 IFT_IPFORWARD = 0x8e 460 IFT_IPOVERATM = 0x72 461 IFT_IPOVERCDLC = 0x6d 462 IFT_IPOVERCLAW = 0x6e 463 IFT_IPSWITCH = 0x4e 464 IFT_ISDN = 0x3f 465 IFT_ISDNBASIC = 0x14 466 IFT_ISDNPRIMARY = 0x15 467 IFT_ISDNS = 0x4b 468 IFT_ISDNU = 0x4c 469 IFT_ISO88022LLC = 0x29 470 IFT_ISO88023 = 0x7 471 IFT_ISO88024 = 0x8 472 IFT_ISO88025 = 0x9 473 IFT_ISO88025CRFPINT = 0x62 474 IFT_ISO88025DTR = 0x56 475 IFT_ISO88025FIBER = 0x73 476 IFT_ISO88026 = 0xa 477 IFT_ISUP = 0xb3 478 IFT_L2VLAN = 0x87 479 IFT_L3IPVLAN = 0x88 480 IFT_L3IPXVLAN = 0x89 481 IFT_LAPB = 0x10 482 IFT_LAPD = 0x4d 483 IFT_LAPF = 0x77 484 IFT_LOCALTALK = 0x2a 485 IFT_LOOP = 0x18 486 IFT_MEDIAMAILOVERIP = 0x8b 487 IFT_MFSIGLINK = 0xa7 488 IFT_MIOX25 = 0x26 489 IFT_MODEM = 0x30 490 IFT_MPC = 0x71 491 IFT_MPLS = 0xa6 492 IFT_MPLSTUNNEL = 0x96 493 IFT_MSDSL = 0x8f 494 IFT_MVL = 0xbf 495 IFT_MYRINET = 0x63 496 IFT_NFAS = 0xaf 497 IFT_NSIP = 0x1b 498 IFT_OPTICALCHANNEL = 0xc3 499 IFT_OPTICALTRANSPORT = 0xc4 500 IFT_OTHER = 0x1 501 IFT_P10 = 0xc 502 IFT_P80 = 0xd 503 IFT_PARA = 0x22 504 IFT_PFLOG = 0xf5 505 IFT_PFSYNC = 0xf6 506 IFT_PLC = 0xae 507 IFT_POS = 0xab 508 IFT_PPP = 0x17 509 IFT_PPPMULTILINKBUNDLE = 0x6c 510 IFT_PROPBWAP2MP = 0xb8 511 IFT_PROPCNLS = 0x59 512 IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5 513 IFT_PROPDOCSWIRELESSMACLAYER = 0xb4 514 IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6 515 IFT_PROPMUX = 0x36 516 IFT_PROPVIRTUAL = 0x35 517 IFT_PROPWIRELESSP2P = 0x9d 518 IFT_PTPSERIAL = 0x16 519 IFT_PVC = 0xf1 520 IFT_QLLC = 0x44 521 IFT_RADIOMAC = 0xbc 522 IFT_RADSL = 0x5f 523 IFT_REACHDSL = 0xc0 524 IFT_RFC1483 = 0x9f 525 IFT_RS232 = 0x21 526 IFT_RSRB = 0x4f 527 IFT_SDLC = 0x11 528 IFT_SDSL = 0x60 529 IFT_SHDSL = 0xa9 530 IFT_SIP = 0x1f 531 IFT_SLIP = 0x1c 532 IFT_SMDSDXI = 0x2b 533 IFT_SMDSICIP = 0x34 534 IFT_SONET = 0x27 535 IFT_SONETOVERHEADCHANNEL = 0xb9 536 IFT_SONETPATH = 0x32 537 IFT_SONETVT = 0x33 538 IFT_SRP = 0x97 539 IFT_SS7SIGLINK = 0x9c 540 IFT_STACKTOSTACK = 0x6f 541 IFT_STARLAN = 0xb 542 IFT_STF = 0xf3 543 IFT_T1 = 0x12 544 IFT_TDLC = 0x74 545 IFT_TERMPAD = 0x5b 546 IFT_TR008 = 0xb0 547 IFT_TRANSPHDLC = 0x7b 548 IFT_TUNNEL = 0x83 549 IFT_ULTRA = 0x1d 550 IFT_USB = 0xa0 551 IFT_V11 = 0x40 552 IFT_V35 = 0x2d 553 IFT_V36 = 0x41 554 IFT_V37 = 0x78 555 IFT_VDSL = 0x61 556 IFT_VIRTUALIPADDRESS = 0x70 557 IFT_VOICEEM = 0x64 558 IFT_VOICEENCAP = 0x67 559 IFT_VOICEFXO = 0x65 560 IFT_VOICEFXS = 0x66 561 IFT_VOICEOVERATM = 0x98 562 IFT_VOICEOVERFRAMERELAY = 0x99 563 IFT_VOICEOVERIP = 0x68 564 IFT_X213 = 0x5d 565 IFT_X25 = 0x5 566 IFT_X25DDN = 0x4 567 IFT_X25HUNTGROUP = 0x7a 568 IFT_X25MLP = 0x79 569 IFT_X25PLE = 0x28 570 IFT_XETHER = 0x1a 571 IGNBRK = 0x1 572 IGNCR = 0x80 573 IGNPAR = 0x4 574 IMAXBEL = 0x2000 575 INLCR = 0x40 576 INPCK = 0x10 577 IN_CLASSA_HOST = 0xffffff 578 IN_CLASSA_MAX = 0x80 579 IN_CLASSA_NET = 0xff000000 580 IN_CLASSA_NSHIFT = 0x18 581 IN_CLASSB_HOST = 0xffff 582 IN_CLASSB_MAX = 0x10000 583 IN_CLASSB_NET = 0xffff0000 584 IN_CLASSB_NSHIFT = 0x10 585 IN_CLASSC_HOST = 0xff 586 IN_CLASSC_NET = 0xffffff00 587 IN_CLASSC_NSHIFT = 0x8 588 IN_CLASSD_HOST = 0xfffffff 589 IN_CLASSD_NET = 0xf0000000 590 IN_CLASSD_NSHIFT = 0x1c 591 IN_LOOPBACKNET = 0x7f 592 IPPROTO_3PC = 0x22 593 IPPROTO_ADFS = 0x44 594 IPPROTO_AH = 0x33 595 IPPROTO_AHIP = 0x3d 596 IPPROTO_APES = 0x63 597 IPPROTO_ARGUS = 0xd 598 IPPROTO_AX25 = 0x5d 599 IPPROTO_BHA = 0x31 600 IPPROTO_BLT = 0x1e 601 IPPROTO_BRSATMON = 0x4c 602 IPPROTO_CARP = 0x70 603 IPPROTO_CFTP = 0x3e 604 IPPROTO_CHAOS = 0x10 605 IPPROTO_CMTP = 0x26 606 IPPROTO_CPHB = 0x49 607 IPPROTO_CPNX = 0x48 608 IPPROTO_DDP = 0x25 609 IPPROTO_DGP = 0x56 610 IPPROTO_DIVERT = 0xfe 611 IPPROTO_DONE = 0x101 612 IPPROTO_DSTOPTS = 0x3c 613 IPPROTO_EGP = 0x8 614 IPPROTO_EMCON = 0xe 615 IPPROTO_ENCAP = 0x62 616 IPPROTO_EON = 0x50 617 IPPROTO_ESP = 0x32 618 IPPROTO_ETHERIP = 0x61 619 IPPROTO_FRAGMENT = 0x2c 620 IPPROTO_GGP = 0x3 621 IPPROTO_GMTP = 0x64 622 IPPROTO_GRE = 0x2f 623 IPPROTO_HELLO = 0x3f 624 IPPROTO_HMP = 0x14 625 IPPROTO_HOPOPTS = 0x0 626 IPPROTO_ICMP = 0x1 627 IPPROTO_ICMPV6 = 0x3a 628 IPPROTO_IDP = 0x16 629 IPPROTO_IDPR = 0x23 630 IPPROTO_IDRP = 0x2d 631 IPPROTO_IGMP = 0x2 632 IPPROTO_IGP = 0x55 633 IPPROTO_IGRP = 0x58 634 IPPROTO_IL = 0x28 635 IPPROTO_INLSP = 0x34 636 IPPROTO_INP = 0x20 637 IPPROTO_IP = 0x0 638 IPPROTO_IPCOMP = 0x6c 639 IPPROTO_IPCV = 0x47 640 IPPROTO_IPEIP = 0x5e 641 IPPROTO_IPIP = 0x4 642 IPPROTO_IPPC = 0x43 643 IPPROTO_IPV4 = 0x4 644 IPPROTO_IPV6 = 0x29 645 IPPROTO_IRTP = 0x1c 646 IPPROTO_KRYPTOLAN = 0x41 647 IPPROTO_LARP = 0x5b 648 IPPROTO_LEAF1 = 0x19 649 IPPROTO_LEAF2 = 0x1a 650 IPPROTO_MAX = 0x100 651 IPPROTO_MAXID = 0x34 652 IPPROTO_MEAS = 0x13 653 IPPROTO_MHRP = 0x30 654 IPPROTO_MICP = 0x5f 655 IPPROTO_MOBILE = 0x37 656 IPPROTO_MTP = 0x5c 657 IPPROTO_MUX = 0x12 658 IPPROTO_ND = 0x4d 659 IPPROTO_NHRP = 0x36 660 IPPROTO_NONE = 0x3b 661 IPPROTO_NSP = 0x1f 662 IPPROTO_NVPII = 0xb 663 IPPROTO_OSPFIGP = 0x59 664 IPPROTO_PFSYNC = 0xf0 665 IPPROTO_PGM = 0x71 666 IPPROTO_PIGP = 0x9 667 IPPROTO_PIM = 0x67 668 IPPROTO_PRM = 0x15 669 IPPROTO_PUP = 0xc 670 IPPROTO_PVP = 0x4b 671 IPPROTO_RAW = 0xff 672 IPPROTO_RCCMON = 0xa 673 IPPROTO_RDP = 0x1b 674 IPPROTO_ROUTING = 0x2b 675 IPPROTO_RSVP = 0x2e 676 IPPROTO_RVD = 0x42 677 IPPROTO_SATEXPAK = 0x40 678 IPPROTO_SATMON = 0x45 679 IPPROTO_SCCSP = 0x60 680 IPPROTO_SCTP = 0x84 681 IPPROTO_SDRP = 0x2a 682 IPPROTO_SEP = 0x21 683 IPPROTO_SKIP = 0x39 684 IPPROTO_SRPC = 0x5a 685 IPPROTO_ST = 0x7 686 IPPROTO_SVMTP = 0x52 687 IPPROTO_SWIPE = 0x35 688 IPPROTO_TCF = 0x57 689 IPPROTO_TCP = 0x6 690 IPPROTO_TLSP = 0x38 691 IPPROTO_TP = 0x1d 692 IPPROTO_TPXX = 0x27 693 IPPROTO_TRUNK1 = 0x17 694 IPPROTO_TRUNK2 = 0x18 695 IPPROTO_TTP = 0x54 696 IPPROTO_UDP = 0x11 697 IPPROTO_UNKNOWN = 0x102 698 IPPROTO_VINES = 0x53 699 IPPROTO_VISA = 0x46 700 IPPROTO_VMTP = 0x51 701 IPPROTO_WBEXPAK = 0x4f 702 IPPROTO_WBMON = 0x4e 703 IPPROTO_WSN = 0x4a 704 IPPROTO_XNET = 0xf 705 IPPROTO_XTP = 0x24 706 IPV6_AUTOFLOWLABEL = 0x3b 707 IPV6_BINDV6ONLY = 0x1b 708 IPV6_CHECKSUM = 0x1a 709 IPV6_DEFAULT_MULTICAST_HOPS = 0x1 710 IPV6_DEFAULT_MULTICAST_LOOP = 0x1 711 IPV6_DEFHLIM = 0x40 712 IPV6_DONTFRAG = 0x3e 713 IPV6_DSTOPTS = 0x32 714 IPV6_FAITH = 0x1d 715 IPV6_FLOWINFO_MASK = 0xffffff0f 716 IPV6_FLOWLABEL_MASK = 0xffff0f00 717 IPV6_FRAGTTL = 0x78 718 IPV6_FW_ADD = 0x1e 719 IPV6_FW_DEL = 0x1f 720 IPV6_FW_FLUSH = 0x20 721 IPV6_FW_GET = 0x22 722 IPV6_FW_ZERO = 0x21 723 IPV6_HLIMDEC = 0x1 724 IPV6_HOPLIMIT = 0x2f 725 IPV6_HOPOPTS = 0x31 726 IPV6_IPSEC_POLICY = 0x1c 727 IPV6_JOIN_GROUP = 0xc 728 IPV6_LEAVE_GROUP = 0xd 729 IPV6_MAXHLIM = 0xff 730 IPV6_MAXPACKET = 0xffff 731 IPV6_MMTU = 0x500 732 IPV6_MSFILTER = 0x4a 733 IPV6_MULTICAST_HOPS = 0xa 734 IPV6_MULTICAST_IF = 0x9 735 IPV6_MULTICAST_LOOP = 0xb 736 IPV6_NEXTHOP = 0x30 737 IPV6_PATHMTU = 0x2c 738 IPV6_PKTINFO = 0x2e 739 IPV6_PKTOPTIONS = 0x34 740 IPV6_PORTRANGE = 0xe 741 IPV6_PORTRANGE_DEFAULT = 0x0 742 IPV6_PORTRANGE_HIGH = 0x1 743 IPV6_PORTRANGE_LOW = 0x2 744 IPV6_PREFER_TEMPADDR = 0x3f 745 IPV6_RECVDSTOPTS = 0x28 746 IPV6_RECVHOPLIMIT = 0x25 747 IPV6_RECVHOPOPTS = 0x27 748 IPV6_RECVPATHMTU = 0x2b 749 IPV6_RECVPKTINFO = 0x24 750 IPV6_RECVRTHDR = 0x26 751 IPV6_RECVTCLASS = 0x39 752 IPV6_RTHDR = 0x33 753 IPV6_RTHDRDSTOPTS = 0x23 754 IPV6_RTHDR_LOOSE = 0x0 755 IPV6_RTHDR_STRICT = 0x1 756 IPV6_RTHDR_TYPE_0 = 0x0 757 IPV6_SOCKOPT_RESERVED1 = 0x3 758 IPV6_TCLASS = 0x3d 759 IPV6_UNICAST_HOPS = 0x4 760 IPV6_USE_MIN_MTU = 0x2a 761 IPV6_V6ONLY = 0x1b 762 IPV6_VERSION = 0x60 763 IPV6_VERSION_MASK = 0xf0 764 IP_ADD_MEMBERSHIP = 0xc 765 IP_DEFAULT_MULTICAST_LOOP = 0x1 766 IP_DEFAULT_MULTICAST_TTL = 0x1 767 IP_DF = 0x4000 768 IP_DROP_MEMBERSHIP = 0xd 769 IP_DUMMYNET_CONFIGURE = 0x3c 770 IP_DUMMYNET_DEL = 0x3d 771 IP_DUMMYNET_FLUSH = 0x3e 772 IP_DUMMYNET_GET = 0x40 773 IP_FAITH = 0x16 774 IP_FW_ADD = 0x32 775 IP_FW_DEL = 0x33 776 IP_FW_FLUSH = 0x34 777 IP_FW_GET = 0x36 778 IP_FW_RESETLOG = 0x37 779 IP_FW_ZERO = 0x35 780 IP_HDRINCL = 0x2 781 IP_IPSEC_POLICY = 0x15 782 IP_MAXPACKET = 0xffff 783 IP_MAX_MEMBERSHIPS = 0x14 784 IP_MF = 0x2000 785 IP_MINTTL = 0x42 786 IP_MSS = 0x240 787 IP_MULTICAST_IF = 0x9 788 IP_MULTICAST_LOOP = 0xb 789 IP_MULTICAST_TTL = 0xa 790 IP_MULTICAST_VIF = 0xe 791 IP_OFFMASK = 0x1fff 792 IP_OPTIONS = 0x1 793 IP_PORTRANGE = 0x13 794 IP_PORTRANGE_DEFAULT = 0x0 795 IP_PORTRANGE_HIGH = 0x1 796 IP_PORTRANGE_LOW = 0x2 797 IP_RECVDSTADDR = 0x7 798 IP_RECVIF = 0x14 799 IP_RECVOPTS = 0x5 800 IP_RECVRETOPTS = 0x6 801 IP_RECVTTL = 0x41 802 IP_RETOPTS = 0x8 803 IP_RF = 0x8000 804 IP_RSVP_OFF = 0x10 805 IP_RSVP_ON = 0xf 806 IP_RSVP_VIF_OFF = 0x12 807 IP_RSVP_VIF_ON = 0x11 808 IP_TOS = 0x3 809 IP_TTL = 0x4 810 ISIG = 0x80 811 ISTRIP = 0x20 812 IXANY = 0x800 813 IXOFF = 0x400 814 IXON = 0x200 815 LOCK_EX = 0x2 816 LOCK_NB = 0x4 817 LOCK_SH = 0x1 818 LOCK_UN = 0x8 819 MADV_AUTOSYNC = 0x7 820 MADV_CONTROL_END = 0xb 821 MADV_CONTROL_START = 0xa 822 MADV_CORE = 0x9 823 MADV_DONTNEED = 0x4 824 MADV_FREE = 0x5 825 MADV_INVAL = 0xa 826 MADV_NOCORE = 0x8 827 MADV_NORMAL = 0x0 828 MADV_NOSYNC = 0x6 829 MADV_RANDOM = 0x1 830 MADV_SEQUENTIAL = 0x2 831 MADV_SETMAP = 0xb 832 MADV_WILLNEED = 0x3 833 MAP_ANON = 0x1000 834 MAP_COPY = 0x2 835 MAP_FILE = 0x0 836 MAP_FIXED = 0x10 837 MAP_HASSEMAPHORE = 0x200 838 MAP_INHERIT = 0x80 839 MAP_NOCORE = 0x20000 840 MAP_NOEXTEND = 0x100 841 MAP_NORESERVE = 0x40 842 MAP_NOSYNC = 0x800 843 MAP_PRIVATE = 0x2 844 MAP_RENAME = 0x20 845 MAP_SHARED = 0x1 846 MAP_SIZEALIGN = 0x40000 847 MAP_STACK = 0x400 848 MAP_TRYFIXED = 0x10000 849 MAP_VPAGETABLE = 0x2000 850 MCL_CURRENT = 0x1 851 MCL_FUTURE = 0x2 852 MSG_CTRUNC = 0x20 853 MSG_DONTROUTE = 0x4 854 MSG_DONTWAIT = 0x80 855 MSG_EOF = 0x100 856 MSG_EOR = 0x8 857 MSG_FBLOCKING = 0x10000 858 MSG_FMASK = 0xffff0000 859 MSG_FNONBLOCKING = 0x20000 860 MSG_NOSIGNAL = 0x400 861 MSG_NOTIFICATION = 0x200 862 MSG_OOB = 0x1 863 MSG_PEEK = 0x2 864 MSG_SYNC = 0x800 865 MSG_TRUNC = 0x10 866 MSG_WAITALL = 0x40 867 MS_ASYNC = 0x1 868 MS_INVALIDATE = 0x2 869 MS_SYNC = 0x0 870 NAME_MAX = 0xff 871 NET_RT_DUMP = 0x1 872 NET_RT_FLAGS = 0x2 873 NET_RT_IFLIST = 0x3 874 NET_RT_MAXID = 0x4 875 NOFLSH = 0x80000000 876 NOTE_ATTRIB = 0x8 877 NOTE_CHILD = 0x4 878 NOTE_DELETE = 0x1 879 NOTE_EXEC = 0x20000000 880 NOTE_EXIT = 0x80000000 881 NOTE_EXTEND = 0x4 882 NOTE_FORK = 0x40000000 883 NOTE_LINK = 0x10 884 NOTE_LOWAT = 0x1 885 NOTE_OOB = 0x2 886 NOTE_PCTRLMASK = 0xf0000000 887 NOTE_PDATAMASK = 0xfffff 888 NOTE_RENAME = 0x20 889 NOTE_REVOKE = 0x40 890 NOTE_TRACK = 0x1 891 NOTE_TRACKERR = 0x2 892 NOTE_WRITE = 0x2 893 OCRNL = 0x10 894 ONLCR = 0x2 895 ONLRET = 0x40 896 ONOCR = 0x20 897 ONOEOT = 0x8 898 OPOST = 0x1 899 O_ACCMODE = 0x3 900 O_APPEND = 0x8 901 O_ASYNC = 0x40 902 O_CLOEXEC = 0x20000 903 O_CREAT = 0x200 904 O_DIRECT = 0x10000 905 O_DIRECTORY = 0x8000000 906 O_EXCL = 0x800 907 O_EXLOCK = 0x20 908 O_FAPPEND = 0x100000 909 O_FASYNCWRITE = 0x800000 910 O_FBLOCKING = 0x40000 911 O_FBUFFERED = 0x2000000 912 O_FMASK = 0x7fc0000 913 O_FNONBLOCKING = 0x80000 914 O_FOFFSET = 0x200000 915 O_FSYNC = 0x80 916 O_FSYNCWRITE = 0x400000 917 O_FUNBUFFERED = 0x1000000 918 O_MAPONREAD = 0x4000000 919 O_NDELAY = 0x4 920 O_NOCTTY = 0x8000 921 O_NOFOLLOW = 0x100 922 O_NONBLOCK = 0x4 923 O_RDONLY = 0x0 924 O_RDWR = 0x2 925 O_SHLOCK = 0x10 926 O_SYNC = 0x80 927 O_TRUNC = 0x400 928 O_WRONLY = 0x1 929 PARENB = 0x1000 930 PARMRK = 0x8 931 PARODD = 0x2000 932 PENDIN = 0x20000000 933 PRIO_PGRP = 0x1 934 PRIO_PROCESS = 0x0 935 PRIO_USER = 0x2 936 PROT_EXEC = 0x4 937 PROT_NONE = 0x0 938 PROT_READ = 0x1 939 PROT_WRITE = 0x2 940 RLIMIT_AS = 0xa 941 RLIMIT_CORE = 0x4 942 RLIMIT_CPU = 0x0 943 RLIMIT_DATA = 0x2 944 RLIMIT_FSIZE = 0x1 945 RLIMIT_NOFILE = 0x8 946 RLIMIT_STACK = 0x3 947 RLIM_INFINITY = 0x7fffffffffffffff 948 RTAX_AUTHOR = 0x6 949 RTAX_BRD = 0x7 950 RTAX_DST = 0x0 951 RTAX_GATEWAY = 0x1 952 RTAX_GENMASK = 0x3 953 RTAX_IFA = 0x5 954 RTAX_IFP = 0x4 955 RTAX_MAX = 0xb 956 RTAX_MPLS1 = 0x8 957 RTAX_MPLS2 = 0x9 958 RTAX_MPLS3 = 0xa 959 RTAX_NETMASK = 0x2 960 RTA_AUTHOR = 0x40 961 RTA_BRD = 0x80 962 RTA_DST = 0x1 963 RTA_GATEWAY = 0x2 964 RTA_GENMASK = 0x8 965 RTA_IFA = 0x20 966 RTA_IFP = 0x10 967 RTA_MPLS1 = 0x100 968 RTA_MPLS2 = 0x200 969 RTA_MPLS3 = 0x400 970 RTA_NETMASK = 0x4 971 RTF_BLACKHOLE = 0x1000 972 RTF_BROADCAST = 0x400000 973 RTF_CLONING = 0x100 974 RTF_DONE = 0x40 975 RTF_DYNAMIC = 0x10 976 RTF_GATEWAY = 0x2 977 RTF_HOST = 0x4 978 RTF_LLINFO = 0x400 979 RTF_LOCAL = 0x200000 980 RTF_MODIFIED = 0x20 981 RTF_MPLSOPS = 0x1000000 982 RTF_MULTICAST = 0x800000 983 RTF_PINNED = 0x100000 984 RTF_PRCLONING = 0x10000 985 RTF_PROTO1 = 0x8000 986 RTF_PROTO2 = 0x4000 987 RTF_PROTO3 = 0x40000 988 RTF_REJECT = 0x8 989 RTF_STATIC = 0x800 990 RTF_UP = 0x1 991 RTF_WASCLONED = 0x20000 992 RTF_XRESOLVE = 0x200 993 RTM_ADD = 0x1 994 RTM_CHANGE = 0x3 995 RTM_DELADDR = 0xd 996 RTM_DELETE = 0x2 997 RTM_DELMADDR = 0x10 998 RTM_GET = 0x4 999 RTM_IEEE80211 = 0x12 1000 RTM_IFANNOUNCE = 0x11 1001 RTM_IFINFO = 0xe 1002 RTM_LOCK = 0x8 1003 RTM_LOSING = 0x5 1004 RTM_MISS = 0x7 1005 RTM_NEWADDR = 0xc 1006 RTM_NEWMADDR = 0xf 1007 RTM_OLDADD = 0x9 1008 RTM_OLDDEL = 0xa 1009 RTM_REDIRECT = 0x6 1010 RTM_RESOLVE = 0xb 1011 RTM_RTTUNIT = 0xf4240 1012 RTM_VERSION = 0x6 1013 RTV_EXPIRE = 0x4 1014 RTV_HOPCOUNT = 0x2 1015 RTV_IWCAPSEGS = 0x400 1016 RTV_IWMAXSEGS = 0x200 1017 RTV_MSL = 0x100 1018 RTV_MTU = 0x1 1019 RTV_RPIPE = 0x8 1020 RTV_RTT = 0x40 1021 RTV_RTTVAR = 0x80 1022 RTV_SPIPE = 0x10 1023 RTV_SSTHRESH = 0x20 1024 RUSAGE_CHILDREN = -0x1 1025 RUSAGE_SELF = 0x0 1026 SCM_CREDS = 0x3 1027 SCM_RIGHTS = 0x1 1028 SCM_TIMESTAMP = 0x2 1029 SHUT_RD = 0x0 1030 SHUT_RDWR = 0x2 1031 SHUT_WR = 0x1 1032 SIOCADDMULTI = 0x80206931 1033 SIOCADDRT = 0x8040720a 1034 SIOCAIFADDR = 0x8040691a 1035 SIOCALIFADDR = 0x8118691b 1036 SIOCATMARK = 0x40047307 1037 SIOCDELMULTI = 0x80206932 1038 SIOCDELRT = 0x8040720b 1039 SIOCDIFADDR = 0x80206919 1040 SIOCDIFPHYADDR = 0x80206949 1041 SIOCDLIFADDR = 0x8118691d 1042 SIOCGDRVSPEC = 0xc028697b 1043 SIOCGETSGCNT = 0xc0207210 1044 SIOCGETVIFCNT = 0xc028720f 1045 SIOCGHIWAT = 0x40047301 1046 SIOCGIFADDR = 0xc0206921 1047 SIOCGIFBRDADDR = 0xc0206923 1048 SIOCGIFCAP = 0xc020691f 1049 SIOCGIFCONF = 0xc0106924 1050 SIOCGIFDATA = 0xc0206926 1051 SIOCGIFDSTADDR = 0xc0206922 1052 SIOCGIFFLAGS = 0xc0206911 1053 SIOCGIFGENERIC = 0xc020693a 1054 SIOCGIFGMEMB = 0xc028698a 1055 SIOCGIFINDEX = 0xc0206920 1056 SIOCGIFMEDIA = 0xc0306938 1057 SIOCGIFMETRIC = 0xc0206917 1058 SIOCGIFMTU = 0xc0206933 1059 SIOCGIFNETMASK = 0xc0206925 1060 SIOCGIFPDSTADDR = 0xc0206948 1061 SIOCGIFPHYS = 0xc0206935 1062 SIOCGIFPOLLCPU = 0xc020697e 1063 SIOCGIFPSRCADDR = 0xc0206947 1064 SIOCGIFSTATUS = 0xc331693b 1065 SIOCGIFTSOLEN = 0xc0206980 1066 SIOCGLIFADDR = 0xc118691c 1067 SIOCGLIFPHYADDR = 0xc118694b 1068 SIOCGLOWAT = 0x40047303 1069 SIOCGPGRP = 0x40047309 1070 SIOCGPRIVATE_0 = 0xc0206950 1071 SIOCGPRIVATE_1 = 0xc0206951 1072 SIOCIFCREATE = 0xc020697a 1073 SIOCIFCREATE2 = 0xc020697c 1074 SIOCIFDESTROY = 0x80206979 1075 SIOCIFGCLONERS = 0xc0106978 1076 SIOCSDRVSPEC = 0x8028697b 1077 SIOCSHIWAT = 0x80047300 1078 SIOCSIFADDR = 0x8020690c 1079 SIOCSIFBRDADDR = 0x80206913 1080 SIOCSIFCAP = 0x8020691e 1081 SIOCSIFDSTADDR = 0x8020690e 1082 SIOCSIFFLAGS = 0x80206910 1083 SIOCSIFGENERIC = 0x80206939 1084 SIOCSIFLLADDR = 0x8020693c 1085 SIOCSIFMEDIA = 0xc0206937 1086 SIOCSIFMETRIC = 0x80206918 1087 SIOCSIFMTU = 0x80206934 1088 SIOCSIFNAME = 0x80206928 1089 SIOCSIFNETMASK = 0x80206916 1090 SIOCSIFPHYADDR = 0x80406946 1091 SIOCSIFPHYS = 0x80206936 1092 SIOCSIFPOLLCPU = 0x8020697d 1093 SIOCSIFTSOLEN = 0x8020697f 1094 SIOCSLIFPHYADDR = 0x8118694a 1095 SIOCSLOWAT = 0x80047302 1096 SIOCSPGRP = 0x80047308 1097 SOCK_CLOEXEC = 0x10000000 1098 SOCK_DGRAM = 0x2 1099 SOCK_MAXADDRLEN = 0xff 1100 SOCK_NONBLOCK = 0x20000000 1101 SOCK_RAW = 0x3 1102 SOCK_RDM = 0x4 1103 SOCK_SEQPACKET = 0x5 1104 SOCK_STREAM = 0x1 1105 SOL_SOCKET = 0xffff 1106 SOMAXCONN = 0x80 1107 SO_ACCEPTCONN = 0x2 1108 SO_ACCEPTFILTER = 0x1000 1109 SO_BROADCAST = 0x20 1110 SO_DEBUG = 0x1 1111 SO_DONTROUTE = 0x10 1112 SO_ERROR = 0x1007 1113 SO_KEEPALIVE = 0x8 1114 SO_LINGER = 0x80 1115 SO_NOSIGPIPE = 0x800 1116 SO_OOBINLINE = 0x100 1117 SO_RCVBUF = 0x1002 1118 SO_RCVLOWAT = 0x1004 1119 SO_RCVTIMEO = 0x1006 1120 SO_REUSEADDR = 0x4 1121 SO_REUSEPORT = 0x200 1122 SO_SNDBUF = 0x1001 1123 SO_SNDLOWAT = 0x1003 1124 SO_SNDSPACE = 0x100a 1125 SO_SNDTIMEO = 0x1005 1126 SO_TIMESTAMP = 0x400 1127 SO_TYPE = 0x1008 1128 SO_USELOOPBACK = 0x40 1129 TCIFLUSH = 0x1 1130 TCIOFLUSH = 0x3 1131 TCOFLUSH = 0x2 1132 TCP_FASTKEEP = 0x80 1133 TCP_KEEPCNT = 0x400 1134 TCP_KEEPIDLE = 0x100 1135 TCP_KEEPINIT = 0x20 1136 TCP_KEEPINTVL = 0x200 1137 TCP_MAXBURST = 0x4 1138 TCP_MAXHLEN = 0x3c 1139 TCP_MAXOLEN = 0x28 1140 TCP_MAXSEG = 0x2 1141 TCP_MAXWIN = 0xffff 1142 TCP_MAX_WINSHIFT = 0xe 1143 TCP_MINMSS = 0x100 1144 TCP_MIN_WINSHIFT = 0x5 1145 TCP_MSS = 0x200 1146 TCP_NODELAY = 0x1 1147 TCP_NOOPT = 0x8 1148 TCP_NOPUSH = 0x4 1149 TCP_SIGNATURE_ENABLE = 0x10 1150 TCSAFLUSH = 0x2 1151 TIOCCBRK = 0x2000747a 1152 TIOCCDTR = 0x20007478 1153 TIOCCONS = 0x80047462 1154 TIOCDCDTIMESTAMP = 0x40107458 1155 TIOCDRAIN = 0x2000745e 1156 TIOCEXCL = 0x2000740d 1157 TIOCEXT = 0x80047460 1158 TIOCFLUSH = 0x80047410 1159 TIOCGDRAINWAIT = 0x40047456 1160 TIOCGETA = 0x402c7413 1161 TIOCGETD = 0x4004741a 1162 TIOCGPGRP = 0x40047477 1163 TIOCGSID = 0x40047463 1164 TIOCGSIZE = 0x40087468 1165 TIOCGWINSZ = 0x40087468 1166 TIOCISPTMASTER = 0x20007455 1167 TIOCMBIC = 0x8004746b 1168 TIOCMBIS = 0x8004746c 1169 TIOCMGDTRWAIT = 0x4004745a 1170 TIOCMGET = 0x4004746a 1171 TIOCMODG = 0x40047403 1172 TIOCMODS = 0x80047404 1173 TIOCMSDTRWAIT = 0x8004745b 1174 TIOCMSET = 0x8004746d 1175 TIOCM_CAR = 0x40 1176 TIOCM_CD = 0x40 1177 TIOCM_CTS = 0x20 1178 TIOCM_DSR = 0x100 1179 TIOCM_DTR = 0x2 1180 TIOCM_LE = 0x1 1181 TIOCM_RI = 0x80 1182 TIOCM_RNG = 0x80 1183 TIOCM_RTS = 0x4 1184 TIOCM_SR = 0x10 1185 TIOCM_ST = 0x8 1186 TIOCNOTTY = 0x20007471 1187 TIOCNXCL = 0x2000740e 1188 TIOCOUTQ = 0x40047473 1189 TIOCPKT = 0x80047470 1190 TIOCPKT_DATA = 0x0 1191 TIOCPKT_DOSTOP = 0x20 1192 TIOCPKT_FLUSHREAD = 0x1 1193 TIOCPKT_FLUSHWRITE = 0x2 1194 TIOCPKT_IOCTL = 0x40 1195 TIOCPKT_NOSTOP = 0x10 1196 TIOCPKT_START = 0x8 1197 TIOCPKT_STOP = 0x4 1198 TIOCREMOTE = 0x80047469 1199 TIOCSBRK = 0x2000747b 1200 TIOCSCTTY = 0x20007461 1201 TIOCSDRAINWAIT = 0x80047457 1202 TIOCSDTR = 0x20007479 1203 TIOCSETA = 0x802c7414 1204 TIOCSETAF = 0x802c7416 1205 TIOCSETAW = 0x802c7415 1206 TIOCSETD = 0x8004741b 1207 TIOCSIG = 0x2000745f 1208 TIOCSPGRP = 0x80047476 1209 TIOCSSIZE = 0x80087467 1210 TIOCSTART = 0x2000746e 1211 TIOCSTAT = 0x20007465 1212 TIOCSTI = 0x80017472 1213 TIOCSTOP = 0x2000746f 1214 TIOCSWINSZ = 0x80087467 1215 TIOCTIMESTAMP = 0x40107459 1216 TIOCUCNTL = 0x80047466 1217 TOSTOP = 0x400000 1218 VCHECKPT = 0x13 1219 VDISCARD = 0xf 1220 VDSUSP = 0xb 1221 VEOF = 0x0 1222 VEOL = 0x1 1223 VEOL2 = 0x2 1224 VERASE = 0x3 1225 VERASE2 = 0x7 1226 VINTR = 0x8 1227 VKILL = 0x5 1228 VLNEXT = 0xe 1229 VMIN = 0x10 1230 VQUIT = 0x9 1231 VREPRINT = 0x6 1232 VSTART = 0xc 1233 VSTATUS = 0x12 1234 VSTOP = 0xd 1235 VSUSP = 0xa 1236 VTIME = 0x11 1237 VWERASE = 0x4 1238 WCONTINUED = 0x4 1239 WCOREFLAG = 0x80 1240 WLINUXCLONE = 0x80000000 1241 WNOHANG = 0x1 1242 WSTOPPED = 0x7f 1243 WUNTRACED = 0x2 1244 ) 1245 1246 // Errors 1247 const ( 1248 E2BIG = Errno(0x7) 1249 EACCES = Errno(0xd) 1250 EADDRINUSE = Errno(0x30) 1251 EADDRNOTAVAIL = Errno(0x31) 1252 EAFNOSUPPORT = Errno(0x2f) 1253 EAGAIN = Errno(0x23) 1254 EALREADY = Errno(0x25) 1255 EASYNC = Errno(0x63) 1256 EAUTH = Errno(0x50) 1257 EBADF = Errno(0x9) 1258 EBADMSG = Errno(0x59) 1259 EBADRPC = Errno(0x48) 1260 EBUSY = Errno(0x10) 1261 ECANCELED = Errno(0x55) 1262 ECHILD = Errno(0xa) 1263 ECONNABORTED = Errno(0x35) 1264 ECONNREFUSED = Errno(0x3d) 1265 ECONNRESET = Errno(0x36) 1266 EDEADLK = Errno(0xb) 1267 EDESTADDRREQ = Errno(0x27) 1268 EDOM = Errno(0x21) 1269 EDOOFUS = Errno(0x58) 1270 EDQUOT = Errno(0x45) 1271 EEXIST = Errno(0x11) 1272 EFAULT = Errno(0xe) 1273 EFBIG = Errno(0x1b) 1274 EFTYPE = Errno(0x4f) 1275 EHOSTDOWN = Errno(0x40) 1276 EHOSTUNREACH = Errno(0x41) 1277 EIDRM = Errno(0x52) 1278 EILSEQ = Errno(0x56) 1279 EINPROGRESS = Errno(0x24) 1280 EINTR = Errno(0x4) 1281 EINVAL = Errno(0x16) 1282 EIO = Errno(0x5) 1283 EISCONN = Errno(0x38) 1284 EISDIR = Errno(0x15) 1285 ELAST = Errno(0x63) 1286 ELOOP = Errno(0x3e) 1287 EMFILE = Errno(0x18) 1288 EMLINK = Errno(0x1f) 1289 EMSGSIZE = Errno(0x28) 1290 EMULTIHOP = Errno(0x5a) 1291 ENAMETOOLONG = Errno(0x3f) 1292 ENEEDAUTH = Errno(0x51) 1293 ENETDOWN = Errno(0x32) 1294 ENETRESET = Errno(0x34) 1295 ENETUNREACH = Errno(0x33) 1296 ENFILE = Errno(0x17) 1297 ENOATTR = Errno(0x57) 1298 ENOBUFS = Errno(0x37) 1299 ENODEV = Errno(0x13) 1300 ENOENT = Errno(0x2) 1301 ENOEXEC = Errno(0x8) 1302 ENOLCK = Errno(0x4d) 1303 ENOLINK = Errno(0x5b) 1304 ENOMEDIUM = Errno(0x5d) 1305 ENOMEM = Errno(0xc) 1306 ENOMSG = Errno(0x53) 1307 ENOPROTOOPT = Errno(0x2a) 1308 ENOSPC = Errno(0x1c) 1309 ENOSYS = Errno(0x4e) 1310 ENOTBLK = Errno(0xf) 1311 ENOTCONN = Errno(0x39) 1312 ENOTDIR = Errno(0x14) 1313 ENOTEMPTY = Errno(0x42) 1314 ENOTSOCK = Errno(0x26) 1315 ENOTSUP = Errno(0x2d) 1316 ENOTTY = Errno(0x19) 1317 ENXIO = Errno(0x6) 1318 EOPNOTSUPP = Errno(0x2d) 1319 EOVERFLOW = Errno(0x54) 1320 EPERM = Errno(0x1) 1321 EPFNOSUPPORT = Errno(0x2e) 1322 EPIPE = Errno(0x20) 1323 EPROCLIM = Errno(0x43) 1324 EPROCUNAVAIL = Errno(0x4c) 1325 EPROGMISMATCH = Errno(0x4b) 1326 EPROGUNAVAIL = Errno(0x4a) 1327 EPROTO = Errno(0x5c) 1328 EPROTONOSUPPORT = Errno(0x2b) 1329 EPROTOTYPE = Errno(0x29) 1330 ERANGE = Errno(0x22) 1331 EREMOTE = Errno(0x47) 1332 EROFS = Errno(0x1e) 1333 ERPCMISMATCH = Errno(0x49) 1334 ESHUTDOWN = Errno(0x3a) 1335 ESOCKTNOSUPPORT = Errno(0x2c) 1336 ESPIPE = Errno(0x1d) 1337 ESRCH = Errno(0x3) 1338 ESTALE = Errno(0x46) 1339 ETIMEDOUT = Errno(0x3c) 1340 ETOOMANYREFS = Errno(0x3b) 1341 ETXTBSY = Errno(0x1a) 1342 EUNUSED94 = Errno(0x5e) 1343 EUNUSED95 = Errno(0x5f) 1344 EUNUSED96 = Errno(0x60) 1345 EUNUSED97 = Errno(0x61) 1346 EUNUSED98 = Errno(0x62) 1347 EUSERS = Errno(0x44) 1348 EWOULDBLOCK = Errno(0x23) 1349 EXDEV = Errno(0x12) 1350 ) 1351 1352 // Signals 1353 const ( 1354 SIGABRT = Signal(0x6) 1355 SIGALRM = Signal(0xe) 1356 SIGBUS = Signal(0xa) 1357 SIGCHLD = Signal(0x14) 1358 SIGCKPT = Signal(0x21) 1359 SIGCKPTEXIT = Signal(0x22) 1360 SIGCONT = Signal(0x13) 1361 SIGEMT = Signal(0x7) 1362 SIGFPE = Signal(0x8) 1363 SIGHUP = Signal(0x1) 1364 SIGILL = Signal(0x4) 1365 SIGINFO = Signal(0x1d) 1366 SIGINT = Signal(0x2) 1367 SIGIO = Signal(0x17) 1368 SIGIOT = Signal(0x6) 1369 SIGKILL = Signal(0x9) 1370 SIGPIPE = Signal(0xd) 1371 SIGPROF = Signal(0x1b) 1372 SIGQUIT = Signal(0x3) 1373 SIGSEGV = Signal(0xb) 1374 SIGSTOP = Signal(0x11) 1375 SIGSYS = Signal(0xc) 1376 SIGTERM = Signal(0xf) 1377 SIGTHR = Signal(0x20) 1378 SIGTRAP = Signal(0x5) 1379 SIGTSTP = Signal(0x12) 1380 SIGTTIN = Signal(0x15) 1381 SIGTTOU = Signal(0x16) 1382 SIGURG = Signal(0x10) 1383 SIGUSR1 = Signal(0x1e) 1384 SIGUSR2 = Signal(0x1f) 1385 SIGVTALRM = Signal(0x1a) 1386 SIGWINCH = Signal(0x1c) 1387 SIGXCPU = Signal(0x18) 1388 SIGXFSZ = Signal(0x19) 1389 ) 1390 1391 // Error table 1392 var errors = [...]string{ 1393 1: "operation not permitted", 1394 2: "no such file or directory", 1395 3: "no such process", 1396 4: "interrupted system call", 1397 5: "input/output error", 1398 6: "device not configured", 1399 7: "argument list too long", 1400 8: "exec format error", 1401 9: "bad file descriptor", 1402 10: "no child processes", 1403 11: "resource deadlock avoided", 1404 12: "cannot allocate memory", 1405 13: "permission denied", 1406 14: "bad address", 1407 15: "block device required", 1408 16: "device busy", 1409 17: "file exists", 1410 18: "cross-device link", 1411 19: "operation not supported by device", 1412 20: "not a directory", 1413 21: "is a directory", 1414 22: "invalid argument", 1415 23: "too many open files in system", 1416 24: "too many open files", 1417 25: "inappropriate ioctl for device", 1418 26: "text file busy", 1419 27: "file too large", 1420 28: "no space left on device", 1421 29: "illegal seek", 1422 30: "read-only file system", 1423 31: "too many links", 1424 32: "broken pipe", 1425 33: "numerical argument out of domain", 1426 34: "result too large", 1427 35: "resource temporarily unavailable", 1428 36: "operation now in progress", 1429 37: "operation already in progress", 1430 38: "socket operation on non-socket", 1431 39: "destination address required", 1432 40: "message too long", 1433 41: "protocol wrong type for socket", 1434 42: "protocol not available", 1435 43: "protocol not supported", 1436 44: "socket type not supported", 1437 45: "operation not supported", 1438 46: "protocol family not supported", 1439 47: "address family not supported by protocol family", 1440 48: "address already in use", 1441 49: "can't assign requested address", 1442 50: "network is down", 1443 51: "network is unreachable", 1444 52: "network dropped connection on reset", 1445 53: "software caused connection abort", 1446 54: "connection reset by peer", 1447 55: "no buffer space available", 1448 56: "socket is already connected", 1449 57: "socket is not connected", 1450 58: "can't send after socket shutdown", 1451 59: "too many references: can't splice", 1452 60: "operation timed out", 1453 61: "connection refused", 1454 62: "too many levels of symbolic links", 1455 63: "file name too long", 1456 64: "host is down", 1457 65: "no route to host", 1458 66: "directory not empty", 1459 67: "too many processes", 1460 68: "too many users", 1461 69: "disc quota exceeded", 1462 70: "stale NFS file handle", 1463 71: "too many levels of remote in path", 1464 72: "RPC struct is bad", 1465 73: "RPC version wrong", 1466 74: "RPC prog. not avail", 1467 75: "program version wrong", 1468 76: "bad procedure for program", 1469 77: "no locks available", 1470 78: "function not implemented", 1471 79: "inappropriate file type or format", 1472 80: "authentication error", 1473 81: "need authenticator", 1474 82: "identifier removed", 1475 83: "no message of desired type", 1476 84: "value too large to be stored in data type", 1477 85: "operation canceled", 1478 86: "illegal byte sequence", 1479 87: "attribute not found", 1480 88: "programming error", 1481 89: "bad message", 1482 90: "multihop attempted", 1483 91: "link has been severed", 1484 92: "protocol error", 1485 93: "no medium found", 1486 94: "unknown error: 94", 1487 95: "unknown error: 95", 1488 96: "unknown error: 96", 1489 97: "unknown error: 97", 1490 98: "unknown error: 98", 1491 99: "unknown error: 99", 1492 } 1493 1494 // Signal table 1495 var signals = [...]string{ 1496 1: "hangup", 1497 2: "interrupt", 1498 3: "quit", 1499 4: "illegal instruction", 1500 5: "trace/BPT trap", 1501 6: "abort trap", 1502 7: "EMT trap", 1503 8: "floating point exception", 1504 9: "killed", 1505 10: "bus error", 1506 11: "segmentation fault", 1507 12: "bad system call", 1508 13: "broken pipe", 1509 14: "alarm clock", 1510 15: "terminated", 1511 16: "urgent I/O condition", 1512 17: "suspended (signal)", 1513 18: "suspended", 1514 19: "continued", 1515 20: "child exited", 1516 21: "stopped (tty input)", 1517 22: "stopped (tty output)", 1518 23: "I/O possible", 1519 24: "cputime limit exceeded", 1520 25: "filesize limit exceeded", 1521 26: "virtual timer expired", 1522 27: "profiling timer expired", 1523 28: "window size changes", 1524 29: "information request", 1525 30: "user defined signal 1", 1526 31: "user defined signal 2", 1527 32: "thread Scheduler", 1528 33: "checkPoint", 1529 34: "checkPointExit", 1530 }