github.com/gogf/gkafka@v1.0.1-0.20190702070843-033a14468069/third/golang.org/x/sys/unix/zerrors_darwin_arm64.go (about) 1 // mkerrors.sh -m64 2 // Code generated by the command above; see README.md. DO NOT EDIT. 3 4 // +build arm64,darwin 5 6 // Created by 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_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 = 0x1c 23 AF_ECMA = 0x8 24 AF_HYLINK = 0xf 25 AF_IEEE80211 = 0x25 26 AF_IMPLINK = 0x3 27 AF_INET = 0x2 28 AF_INET6 = 0x1e 29 AF_IPX = 0x17 30 AF_ISDN = 0x1c 31 AF_ISO = 0x7 32 AF_LAT = 0xe 33 AF_LINK = 0x12 34 AF_LOCAL = 0x1 35 AF_MAX = 0x28 36 AF_NATM = 0x1f 37 AF_NDRV = 0x1b 38 AF_NETBIOS = 0x21 39 AF_NS = 0x6 40 AF_OSI = 0x7 41 AF_PPP = 0x22 42 AF_PUP = 0x4 43 AF_RESERVED_36 = 0x24 44 AF_ROUTE = 0x11 45 AF_SIP = 0x18 46 AF_SNA = 0xb 47 AF_SYSTEM = 0x20 48 AF_UNIX = 0x1 49 AF_UNSPEC = 0x0 50 AF_UTUN = 0x26 51 ALTWERASE = 0x200 52 ATTR_BIT_MAP_COUNT = 0x5 53 ATTR_CMN_ACCESSMASK = 0x20000 54 ATTR_CMN_ACCTIME = 0x1000 55 ATTR_CMN_ADDEDTIME = 0x10000000 56 ATTR_CMN_BKUPTIME = 0x2000 57 ATTR_CMN_CHGTIME = 0x800 58 ATTR_CMN_CRTIME = 0x200 59 ATTR_CMN_DATA_PROTECT_FLAGS = 0x40000000 60 ATTR_CMN_DEVID = 0x2 61 ATTR_CMN_DOCUMENT_ID = 0x100000 62 ATTR_CMN_ERROR = 0x20000000 63 ATTR_CMN_EXTENDED_SECURITY = 0x400000 64 ATTR_CMN_FILEID = 0x2000000 65 ATTR_CMN_FLAGS = 0x40000 66 ATTR_CMN_FNDRINFO = 0x4000 67 ATTR_CMN_FSID = 0x4 68 ATTR_CMN_FULLPATH = 0x8000000 69 ATTR_CMN_GEN_COUNT = 0x80000 70 ATTR_CMN_GRPID = 0x10000 71 ATTR_CMN_GRPUUID = 0x1000000 72 ATTR_CMN_MODTIME = 0x400 73 ATTR_CMN_NAME = 0x1 74 ATTR_CMN_NAMEDATTRCOUNT = 0x80000 75 ATTR_CMN_NAMEDATTRLIST = 0x100000 76 ATTR_CMN_OBJID = 0x20 77 ATTR_CMN_OBJPERMANENTID = 0x40 78 ATTR_CMN_OBJTAG = 0x10 79 ATTR_CMN_OBJTYPE = 0x8 80 ATTR_CMN_OWNERID = 0x8000 81 ATTR_CMN_PARENTID = 0x4000000 82 ATTR_CMN_PAROBJID = 0x80 83 ATTR_CMN_RETURNED_ATTRS = 0x80000000 84 ATTR_CMN_SCRIPT = 0x100 85 ATTR_CMN_SETMASK = 0x41c7ff00 86 ATTR_CMN_USERACCESS = 0x200000 87 ATTR_CMN_UUID = 0x800000 88 ATTR_CMN_VALIDMASK = 0xffffffff 89 ATTR_CMN_VOLSETMASK = 0x6700 90 ATTR_FILE_ALLOCSIZE = 0x4 91 ATTR_FILE_CLUMPSIZE = 0x10 92 ATTR_FILE_DATAALLOCSIZE = 0x400 93 ATTR_FILE_DATAEXTENTS = 0x800 94 ATTR_FILE_DATALENGTH = 0x200 95 ATTR_FILE_DEVTYPE = 0x20 96 ATTR_FILE_FILETYPE = 0x40 97 ATTR_FILE_FORKCOUNT = 0x80 98 ATTR_FILE_FORKLIST = 0x100 99 ATTR_FILE_IOBLOCKSIZE = 0x8 100 ATTR_FILE_LINKCOUNT = 0x1 101 ATTR_FILE_RSRCALLOCSIZE = 0x2000 102 ATTR_FILE_RSRCEXTENTS = 0x4000 103 ATTR_FILE_RSRCLENGTH = 0x1000 104 ATTR_FILE_SETMASK = 0x20 105 ATTR_FILE_TOTALSIZE = 0x2 106 ATTR_FILE_VALIDMASK = 0x37ff 107 ATTR_VOL_ALLOCATIONCLUMP = 0x40 108 ATTR_VOL_ATTRIBUTES = 0x40000000 109 ATTR_VOL_CAPABILITIES = 0x20000 110 ATTR_VOL_DIRCOUNT = 0x400 111 ATTR_VOL_ENCODINGSUSED = 0x10000 112 ATTR_VOL_FILECOUNT = 0x200 113 ATTR_VOL_FSTYPE = 0x1 114 ATTR_VOL_INFO = 0x80000000 115 ATTR_VOL_IOBLOCKSIZE = 0x80 116 ATTR_VOL_MAXOBJCOUNT = 0x800 117 ATTR_VOL_MINALLOCATION = 0x20 118 ATTR_VOL_MOUNTEDDEVICE = 0x8000 119 ATTR_VOL_MOUNTFLAGS = 0x4000 120 ATTR_VOL_MOUNTPOINT = 0x1000 121 ATTR_VOL_NAME = 0x2000 122 ATTR_VOL_OBJCOUNT = 0x100 123 ATTR_VOL_QUOTA_SIZE = 0x10000000 124 ATTR_VOL_RESERVED_SIZE = 0x20000000 125 ATTR_VOL_SETMASK = 0x80002000 126 ATTR_VOL_SIGNATURE = 0x2 127 ATTR_VOL_SIZE = 0x4 128 ATTR_VOL_SPACEAVAIL = 0x10 129 ATTR_VOL_SPACEFREE = 0x8 130 ATTR_VOL_UUID = 0x40000 131 ATTR_VOL_VALIDMASK = 0xf007ffff 132 B0 = 0x0 133 B110 = 0x6e 134 B115200 = 0x1c200 135 B1200 = 0x4b0 136 B134 = 0x86 137 B14400 = 0x3840 138 B150 = 0x96 139 B1800 = 0x708 140 B19200 = 0x4b00 141 B200 = 0xc8 142 B230400 = 0x38400 143 B2400 = 0x960 144 B28800 = 0x7080 145 B300 = 0x12c 146 B38400 = 0x9600 147 B4800 = 0x12c0 148 B50 = 0x32 149 B57600 = 0xe100 150 B600 = 0x258 151 B7200 = 0x1c20 152 B75 = 0x4b 153 B76800 = 0x12c00 154 B9600 = 0x2580 155 BIOCFLUSH = 0x20004268 156 BIOCGBLEN = 0x40044266 157 BIOCGDLT = 0x4004426a 158 BIOCGDLTLIST = 0xc00c4279 159 BIOCGETIF = 0x4020426b 160 BIOCGHDRCMPLT = 0x40044274 161 BIOCGRSIG = 0x40044272 162 BIOCGRTIMEOUT = 0x4010426e 163 BIOCGSEESENT = 0x40044276 164 BIOCGSTATS = 0x4008426f 165 BIOCIMMEDIATE = 0x80044270 166 BIOCPROMISC = 0x20004269 167 BIOCSBLEN = 0xc0044266 168 BIOCSDLT = 0x80044278 169 BIOCSETF = 0x80104267 170 BIOCSETFNR = 0x8010427e 171 BIOCSETIF = 0x8020426c 172 BIOCSHDRCMPLT = 0x80044275 173 BIOCSRSIG = 0x80044273 174 BIOCSRTIMEOUT = 0x8010426d 175 BIOCSSEESENT = 0x80044277 176 BIOCVERSION = 0x40044271 177 BPF_A = 0x10 178 BPF_ABS = 0x20 179 BPF_ADD = 0x0 180 BPF_ALIGNMENT = 0x4 181 BPF_ALU = 0x4 182 BPF_AND = 0x50 183 BPF_B = 0x10 184 BPF_DIV = 0x30 185 BPF_H = 0x8 186 BPF_IMM = 0x0 187 BPF_IND = 0x40 188 BPF_JA = 0x0 189 BPF_JEQ = 0x10 190 BPF_JGE = 0x30 191 BPF_JGT = 0x20 192 BPF_JMP = 0x5 193 BPF_JSET = 0x40 194 BPF_K = 0x0 195 BPF_LD = 0x0 196 BPF_LDX = 0x1 197 BPF_LEN = 0x80 198 BPF_LSH = 0x60 199 BPF_MAJOR_VERSION = 0x1 200 BPF_MAXBUFSIZE = 0x80000 201 BPF_MAXINSNS = 0x200 202 BPF_MEM = 0x60 203 BPF_MEMWORDS = 0x10 204 BPF_MINBUFSIZE = 0x20 205 BPF_MINOR_VERSION = 0x1 206 BPF_MISC = 0x7 207 BPF_MSH = 0xa0 208 BPF_MUL = 0x20 209 BPF_NEG = 0x80 210 BPF_OR = 0x40 211 BPF_RELEASE = 0x30bb6 212 BPF_RET = 0x6 213 BPF_RSH = 0x70 214 BPF_ST = 0x2 215 BPF_STX = 0x3 216 BPF_SUB = 0x10 217 BPF_TAX = 0x0 218 BPF_TXA = 0x80 219 BPF_W = 0x0 220 BPF_X = 0x8 221 BRKINT = 0x2 222 BS0 = 0x0 223 BS1 = 0x8000 224 BSDLY = 0x8000 225 CFLUSH = 0xf 226 CLOCAL = 0x8000 227 CLOCK_MONOTONIC = 0x6 228 CLOCK_MONOTONIC_RAW = 0x4 229 CLOCK_MONOTONIC_RAW_APPROX = 0x5 230 CLOCK_PROCESS_CPUTIME_ID = 0xc 231 CLOCK_REALTIME = 0x0 232 CLOCK_THREAD_CPUTIME_ID = 0x10 233 CLOCK_UPTIME_RAW = 0x8 234 CLOCK_UPTIME_RAW_APPROX = 0x9 235 CR0 = 0x0 236 CR1 = 0x1000 237 CR2 = 0x2000 238 CR3 = 0x3000 239 CRDLY = 0x3000 240 CREAD = 0x800 241 CRTSCTS = 0x30000 242 CS5 = 0x0 243 CS6 = 0x100 244 CS7 = 0x200 245 CS8 = 0x300 246 CSIZE = 0x300 247 CSTART = 0x11 248 CSTATUS = 0x14 249 CSTOP = 0x13 250 CSTOPB = 0x400 251 CSUSP = 0x1a 252 CTL_HW = 0x6 253 CTL_KERN = 0x1 254 CTL_MAXNAME = 0xc 255 CTL_NET = 0x4 256 DLT_A429 = 0xb8 257 DLT_A653_ICM = 0xb9 258 DLT_AIRONET_HEADER = 0x78 259 DLT_AOS = 0xde 260 DLT_APPLE_IP_OVER_IEEE1394 = 0x8a 261 DLT_ARCNET = 0x7 262 DLT_ARCNET_LINUX = 0x81 263 DLT_ATM_CLIP = 0x13 264 DLT_ATM_RFC1483 = 0xb 265 DLT_AURORA = 0x7e 266 DLT_AX25 = 0x3 267 DLT_AX25_KISS = 0xca 268 DLT_BACNET_MS_TP = 0xa5 269 DLT_BLUETOOTH_HCI_H4 = 0xbb 270 DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9 271 DLT_CAN20B = 0xbe 272 DLT_CAN_SOCKETCAN = 0xe3 273 DLT_CHAOS = 0x5 274 DLT_CHDLC = 0x68 275 DLT_CISCO_IOS = 0x76 276 DLT_C_HDLC = 0x68 277 DLT_C_HDLC_WITH_DIR = 0xcd 278 DLT_DBUS = 0xe7 279 DLT_DECT = 0xdd 280 DLT_DOCSIS = 0x8f 281 DLT_DVB_CI = 0xeb 282 DLT_ECONET = 0x73 283 DLT_EN10MB = 0x1 284 DLT_EN3MB = 0x2 285 DLT_ENC = 0x6d 286 DLT_ERF = 0xc5 287 DLT_ERF_ETH = 0xaf 288 DLT_ERF_POS = 0xb0 289 DLT_FC_2 = 0xe0 290 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1 291 DLT_FDDI = 0xa 292 DLT_FLEXRAY = 0xd2 293 DLT_FRELAY = 0x6b 294 DLT_FRELAY_WITH_DIR = 0xce 295 DLT_GCOM_SERIAL = 0xad 296 DLT_GCOM_T1E1 = 0xac 297 DLT_GPF_F = 0xab 298 DLT_GPF_T = 0xaa 299 DLT_GPRS_LLC = 0xa9 300 DLT_GSMTAP_ABIS = 0xda 301 DLT_GSMTAP_UM = 0xd9 302 DLT_HHDLC = 0x79 303 DLT_IBM_SN = 0x92 304 DLT_IBM_SP = 0x91 305 DLT_IEEE802 = 0x6 306 DLT_IEEE802_11 = 0x69 307 DLT_IEEE802_11_RADIO = 0x7f 308 DLT_IEEE802_11_RADIO_AVS = 0xa3 309 DLT_IEEE802_15_4 = 0xc3 310 DLT_IEEE802_15_4_LINUX = 0xbf 311 DLT_IEEE802_15_4_NOFCS = 0xe6 312 DLT_IEEE802_15_4_NONASK_PHY = 0xd7 313 DLT_IEEE802_16_MAC_CPS = 0xbc 314 DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 315 DLT_IPFILTER = 0x74 316 DLT_IPMB = 0xc7 317 DLT_IPMB_LINUX = 0xd1 318 DLT_IPNET = 0xe2 319 DLT_IPOIB = 0xf2 320 DLT_IPV4 = 0xe4 321 DLT_IPV6 = 0xe5 322 DLT_IP_OVER_FC = 0x7a 323 DLT_JUNIPER_ATM1 = 0x89 324 DLT_JUNIPER_ATM2 = 0x87 325 DLT_JUNIPER_ATM_CEMIC = 0xee 326 DLT_JUNIPER_CHDLC = 0xb5 327 DLT_JUNIPER_ES = 0x84 328 DLT_JUNIPER_ETHER = 0xb2 329 DLT_JUNIPER_FIBRECHANNEL = 0xea 330 DLT_JUNIPER_FRELAY = 0xb4 331 DLT_JUNIPER_GGSN = 0x85 332 DLT_JUNIPER_ISM = 0xc2 333 DLT_JUNIPER_MFR = 0x86 334 DLT_JUNIPER_MLFR = 0x83 335 DLT_JUNIPER_MLPPP = 0x82 336 DLT_JUNIPER_MONITOR = 0xa4 337 DLT_JUNIPER_PIC_PEER = 0xae 338 DLT_JUNIPER_PPP = 0xb3 339 DLT_JUNIPER_PPPOE = 0xa7 340 DLT_JUNIPER_PPPOE_ATM = 0xa8 341 DLT_JUNIPER_SERVICES = 0x88 342 DLT_JUNIPER_SRX_E2E = 0xe9 343 DLT_JUNIPER_ST = 0xc8 344 DLT_JUNIPER_VP = 0xb7 345 DLT_JUNIPER_VS = 0xe8 346 DLT_LAPB_WITH_DIR = 0xcf 347 DLT_LAPD = 0xcb 348 DLT_LIN = 0xd4 349 DLT_LINUX_EVDEV = 0xd8 350 DLT_LINUX_IRDA = 0x90 351 DLT_LINUX_LAPD = 0xb1 352 DLT_LINUX_PPP_WITHDIRECTION = 0xa6 353 DLT_LINUX_SLL = 0x71 354 DLT_LOOP = 0x6c 355 DLT_LTALK = 0x72 356 DLT_MATCHING_MAX = 0xf5 357 DLT_MATCHING_MIN = 0x68 358 DLT_MFR = 0xb6 359 DLT_MOST = 0xd3 360 DLT_MPEG_2_TS = 0xf3 361 DLT_MPLS = 0xdb 362 DLT_MTP2 = 0x8c 363 DLT_MTP2_WITH_PHDR = 0x8b 364 DLT_MTP3 = 0x8d 365 DLT_MUX27010 = 0xec 366 DLT_NETANALYZER = 0xf0 367 DLT_NETANALYZER_TRANSPARENT = 0xf1 368 DLT_NFC_LLCP = 0xf5 369 DLT_NFLOG = 0xef 370 DLT_NG40 = 0xf4 371 DLT_NULL = 0x0 372 DLT_PCI_EXP = 0x7d 373 DLT_PFLOG = 0x75 374 DLT_PFSYNC = 0x12 375 DLT_PPI = 0xc0 376 DLT_PPP = 0x9 377 DLT_PPP_BSDOS = 0x10 378 DLT_PPP_ETHER = 0x33 379 DLT_PPP_PPPD = 0xa6 380 DLT_PPP_SERIAL = 0x32 381 DLT_PPP_WITH_DIR = 0xcc 382 DLT_PPP_WITH_DIRECTION = 0xa6 383 DLT_PRISM_HEADER = 0x77 384 DLT_PRONET = 0x4 385 DLT_RAIF1 = 0xc6 386 DLT_RAW = 0xc 387 DLT_RIO = 0x7c 388 DLT_SCCP = 0x8e 389 DLT_SITA = 0xc4 390 DLT_SLIP = 0x8 391 DLT_SLIP_BSDOS = 0xf 392 DLT_STANAG_5066_D_PDU = 0xed 393 DLT_SUNATM = 0x7b 394 DLT_SYMANTEC_FIREWALL = 0x63 395 DLT_TZSP = 0x80 396 DLT_USB = 0xba 397 DLT_USB_LINUX = 0xbd 398 DLT_USB_LINUX_MMAPPED = 0xdc 399 DLT_USER0 = 0x93 400 DLT_USER1 = 0x94 401 DLT_USER10 = 0x9d 402 DLT_USER11 = 0x9e 403 DLT_USER12 = 0x9f 404 DLT_USER13 = 0xa0 405 DLT_USER14 = 0xa1 406 DLT_USER15 = 0xa2 407 DLT_USER2 = 0x95 408 DLT_USER3 = 0x96 409 DLT_USER4 = 0x97 410 DLT_USER5 = 0x98 411 DLT_USER6 = 0x99 412 DLT_USER7 = 0x9a 413 DLT_USER8 = 0x9b 414 DLT_USER9 = 0x9c 415 DLT_WIHART = 0xdf 416 DLT_X2E_SERIAL = 0xd5 417 DLT_X2E_XORAYA = 0xd6 418 DT_BLK = 0x6 419 DT_CHR = 0x2 420 DT_DIR = 0x4 421 DT_FIFO = 0x1 422 DT_LNK = 0xa 423 DT_REG = 0x8 424 DT_SOCK = 0xc 425 DT_UNKNOWN = 0x0 426 DT_WHT = 0xe 427 ECHO = 0x8 428 ECHOCTL = 0x40 429 ECHOE = 0x2 430 ECHOK = 0x4 431 ECHOKE = 0x1 432 ECHONL = 0x10 433 ECHOPRT = 0x20 434 EVFILT_AIO = -0x3 435 EVFILT_EXCEPT = -0xf 436 EVFILT_FS = -0x9 437 EVFILT_MACHPORT = -0x8 438 EVFILT_PROC = -0x5 439 EVFILT_READ = -0x1 440 EVFILT_SIGNAL = -0x6 441 EVFILT_SYSCOUNT = 0xf 442 EVFILT_THREADMARKER = 0xf 443 EVFILT_TIMER = -0x7 444 EVFILT_USER = -0xa 445 EVFILT_VM = -0xc 446 EVFILT_VNODE = -0x4 447 EVFILT_WRITE = -0x2 448 EV_ADD = 0x1 449 EV_CLEAR = 0x20 450 EV_DELETE = 0x2 451 EV_DISABLE = 0x8 452 EV_DISPATCH = 0x80 453 EV_DISPATCH2 = 0x180 454 EV_ENABLE = 0x4 455 EV_EOF = 0x8000 456 EV_ERROR = 0x4000 457 EV_FLAG0 = 0x1000 458 EV_FLAG1 = 0x2000 459 EV_ONESHOT = 0x10 460 EV_OOBAND = 0x2000 461 EV_POLL = 0x1000 462 EV_RECEIPT = 0x40 463 EV_SYSFLAGS = 0xf000 464 EV_UDATA_SPECIFIC = 0x100 465 EV_VANISHED = 0x200 466 EXTA = 0x4b00 467 EXTB = 0x9600 468 EXTPROC = 0x800 469 FD_CLOEXEC = 0x1 470 FD_SETSIZE = 0x400 471 FF0 = 0x0 472 FF1 = 0x4000 473 FFDLY = 0x4000 474 FLUSHO = 0x800000 475 FSOPT_ATTR_CMN_EXTENDED = 0x20 476 FSOPT_NOFOLLOW = 0x1 477 FSOPT_NOINMEMUPDATE = 0x2 478 FSOPT_PACK_INVAL_ATTRS = 0x8 479 FSOPT_REPORT_FULLSIZE = 0x4 480 F_ADDFILESIGS = 0x3d 481 F_ADDFILESIGS_FOR_DYLD_SIM = 0x53 482 F_ADDFILESIGS_RETURN = 0x61 483 F_ADDSIGS = 0x3b 484 F_ALLOCATEALL = 0x4 485 F_ALLOCATECONTIG = 0x2 486 F_BARRIERFSYNC = 0x55 487 F_CHECK_LV = 0x62 488 F_CHKCLEAN = 0x29 489 F_DUPFD = 0x0 490 F_DUPFD_CLOEXEC = 0x43 491 F_FINDSIGS = 0x4e 492 F_FLUSH_DATA = 0x28 493 F_FREEZE_FS = 0x35 494 F_FULLFSYNC = 0x33 495 F_GETCODEDIR = 0x48 496 F_GETFD = 0x1 497 F_GETFL = 0x3 498 F_GETLK = 0x7 499 F_GETLKPID = 0x42 500 F_GETNOSIGPIPE = 0x4a 501 F_GETOWN = 0x5 502 F_GETPATH = 0x32 503 F_GETPATH_MTMINFO = 0x47 504 F_GETPROTECTIONCLASS = 0x3f 505 F_GETPROTECTIONLEVEL = 0x4d 506 F_GLOBAL_NOCACHE = 0x37 507 F_LOG2PHYS = 0x31 508 F_LOG2PHYS_EXT = 0x41 509 F_NOCACHE = 0x30 510 F_NODIRECT = 0x3e 511 F_OK = 0x0 512 F_PATHPKG_CHECK = 0x34 513 F_PEOFPOSMODE = 0x3 514 F_PREALLOCATE = 0x2a 515 F_PUNCHHOLE = 0x63 516 F_RDADVISE = 0x2c 517 F_RDAHEAD = 0x2d 518 F_RDLCK = 0x1 519 F_SETBACKINGSTORE = 0x46 520 F_SETFD = 0x2 521 F_SETFL = 0x4 522 F_SETLK = 0x8 523 F_SETLKW = 0x9 524 F_SETLKWTIMEOUT = 0xa 525 F_SETNOSIGPIPE = 0x49 526 F_SETOWN = 0x6 527 F_SETPROTECTIONCLASS = 0x40 528 F_SETSIZE = 0x2b 529 F_SINGLE_WRITER = 0x4c 530 F_THAW_FS = 0x36 531 F_TRANSCODEKEY = 0x4b 532 F_TRIM_ACTIVE_FILE = 0x64 533 F_UNLCK = 0x2 534 F_VOLPOSMODE = 0x4 535 F_WRLCK = 0x3 536 HUPCL = 0x4000 537 HW_MACHINE = 0x1 538 ICANON = 0x100 539 ICMP6_FILTER = 0x12 540 ICRNL = 0x100 541 IEXTEN = 0x400 542 IFF_ALLMULTI = 0x200 543 IFF_ALTPHYS = 0x4000 544 IFF_BROADCAST = 0x2 545 IFF_DEBUG = 0x4 546 IFF_LINK0 = 0x1000 547 IFF_LINK1 = 0x2000 548 IFF_LINK2 = 0x4000 549 IFF_LOOPBACK = 0x8 550 IFF_MULTICAST = 0x8000 551 IFF_NOARP = 0x80 552 IFF_NOTRAILERS = 0x20 553 IFF_OACTIVE = 0x400 554 IFF_POINTOPOINT = 0x10 555 IFF_PROMISC = 0x100 556 IFF_RUNNING = 0x40 557 IFF_SIMPLEX = 0x800 558 IFF_UP = 0x1 559 IFNAMSIZ = 0x10 560 IFT_1822 = 0x2 561 IFT_AAL5 = 0x31 562 IFT_ARCNET = 0x23 563 IFT_ARCNETPLUS = 0x24 564 IFT_ATM = 0x25 565 IFT_BRIDGE = 0xd1 566 IFT_CARP = 0xf8 567 IFT_CELLULAR = 0xff 568 IFT_CEPT = 0x13 569 IFT_DS3 = 0x1e 570 IFT_ENC = 0xf4 571 IFT_EON = 0x19 572 IFT_ETHER = 0x6 573 IFT_FAITH = 0x38 574 IFT_FDDI = 0xf 575 IFT_FRELAY = 0x20 576 IFT_FRELAYDCE = 0x2c 577 IFT_GIF = 0x37 578 IFT_HDH1822 = 0x3 579 IFT_HIPPI = 0x2f 580 IFT_HSSI = 0x2e 581 IFT_HY = 0xe 582 IFT_IEEE1394 = 0x90 583 IFT_IEEE8023ADLAG = 0x88 584 IFT_ISDNBASIC = 0x14 585 IFT_ISDNPRIMARY = 0x15 586 IFT_ISO88022LLC = 0x29 587 IFT_ISO88023 = 0x7 588 IFT_ISO88024 = 0x8 589 IFT_ISO88025 = 0x9 590 IFT_ISO88026 = 0xa 591 IFT_L2VLAN = 0x87 592 IFT_LAPB = 0x10 593 IFT_LOCALTALK = 0x2a 594 IFT_LOOP = 0x18 595 IFT_MIOX25 = 0x26 596 IFT_MODEM = 0x30 597 IFT_NSIP = 0x1b 598 IFT_OTHER = 0x1 599 IFT_P10 = 0xc 600 IFT_P80 = 0xd 601 IFT_PARA = 0x22 602 IFT_PDP = 0xff 603 IFT_PFLOG = 0xf5 604 IFT_PFSYNC = 0xf6 605 IFT_PKTAP = 0xfe 606 IFT_PPP = 0x17 607 IFT_PROPMUX = 0x36 608 IFT_PROPVIRTUAL = 0x35 609 IFT_PTPSERIAL = 0x16 610 IFT_RS232 = 0x21 611 IFT_SDLC = 0x11 612 IFT_SIP = 0x1f 613 IFT_SLIP = 0x1c 614 IFT_SMDSDXI = 0x2b 615 IFT_SMDSICIP = 0x34 616 IFT_SONET = 0x27 617 IFT_SONETPATH = 0x32 618 IFT_SONETVT = 0x33 619 IFT_STARLAN = 0xb 620 IFT_STF = 0x39 621 IFT_T1 = 0x12 622 IFT_ULTRA = 0x1d 623 IFT_V35 = 0x2d 624 IFT_X25 = 0x5 625 IFT_X25DDN = 0x4 626 IFT_X25PLE = 0x28 627 IFT_XETHER = 0x1a 628 IGNBRK = 0x1 629 IGNCR = 0x80 630 IGNPAR = 0x4 631 IMAXBEL = 0x2000 632 INLCR = 0x40 633 INPCK = 0x10 634 IN_CLASSA_HOST = 0xffffff 635 IN_CLASSA_MAX = 0x80 636 IN_CLASSA_NET = 0xff000000 637 IN_CLASSA_NSHIFT = 0x18 638 IN_CLASSB_HOST = 0xffff 639 IN_CLASSB_MAX = 0x10000 640 IN_CLASSB_NET = 0xffff0000 641 IN_CLASSB_NSHIFT = 0x10 642 IN_CLASSC_HOST = 0xff 643 IN_CLASSC_NET = 0xffffff00 644 IN_CLASSC_NSHIFT = 0x8 645 IN_CLASSD_HOST = 0xfffffff 646 IN_CLASSD_NET = 0xf0000000 647 IN_CLASSD_NSHIFT = 0x1c 648 IN_LINKLOCALNETNUM = 0xa9fe0000 649 IN_LOOPBACKNET = 0x7f 650 IPPROTO_3PC = 0x22 651 IPPROTO_ADFS = 0x44 652 IPPROTO_AH = 0x33 653 IPPROTO_AHIP = 0x3d 654 IPPROTO_APES = 0x63 655 IPPROTO_ARGUS = 0xd 656 IPPROTO_AX25 = 0x5d 657 IPPROTO_BHA = 0x31 658 IPPROTO_BLT = 0x1e 659 IPPROTO_BRSATMON = 0x4c 660 IPPROTO_CFTP = 0x3e 661 IPPROTO_CHAOS = 0x10 662 IPPROTO_CMTP = 0x26 663 IPPROTO_CPHB = 0x49 664 IPPROTO_CPNX = 0x48 665 IPPROTO_DDP = 0x25 666 IPPROTO_DGP = 0x56 667 IPPROTO_DIVERT = 0xfe 668 IPPROTO_DONE = 0x101 669 IPPROTO_DSTOPTS = 0x3c 670 IPPROTO_EGP = 0x8 671 IPPROTO_EMCON = 0xe 672 IPPROTO_ENCAP = 0x62 673 IPPROTO_EON = 0x50 674 IPPROTO_ESP = 0x32 675 IPPROTO_ETHERIP = 0x61 676 IPPROTO_FRAGMENT = 0x2c 677 IPPROTO_GGP = 0x3 678 IPPROTO_GMTP = 0x64 679 IPPROTO_GRE = 0x2f 680 IPPROTO_HELLO = 0x3f 681 IPPROTO_HMP = 0x14 682 IPPROTO_HOPOPTS = 0x0 683 IPPROTO_ICMP = 0x1 684 IPPROTO_ICMPV6 = 0x3a 685 IPPROTO_IDP = 0x16 686 IPPROTO_IDPR = 0x23 687 IPPROTO_IDRP = 0x2d 688 IPPROTO_IGMP = 0x2 689 IPPROTO_IGP = 0x55 690 IPPROTO_IGRP = 0x58 691 IPPROTO_IL = 0x28 692 IPPROTO_INLSP = 0x34 693 IPPROTO_INP = 0x20 694 IPPROTO_IP = 0x0 695 IPPROTO_IPCOMP = 0x6c 696 IPPROTO_IPCV = 0x47 697 IPPROTO_IPEIP = 0x5e 698 IPPROTO_IPIP = 0x4 699 IPPROTO_IPPC = 0x43 700 IPPROTO_IPV4 = 0x4 701 IPPROTO_IPV6 = 0x29 702 IPPROTO_IRTP = 0x1c 703 IPPROTO_KRYPTOLAN = 0x41 704 IPPROTO_LARP = 0x5b 705 IPPROTO_LEAF1 = 0x19 706 IPPROTO_LEAF2 = 0x1a 707 IPPROTO_MAX = 0x100 708 IPPROTO_MAXID = 0x34 709 IPPROTO_MEAS = 0x13 710 IPPROTO_MHRP = 0x30 711 IPPROTO_MICP = 0x5f 712 IPPROTO_MTP = 0x5c 713 IPPROTO_MUX = 0x12 714 IPPROTO_ND = 0x4d 715 IPPROTO_NHRP = 0x36 716 IPPROTO_NONE = 0x3b 717 IPPROTO_NSP = 0x1f 718 IPPROTO_NVPII = 0xb 719 IPPROTO_OSPFIGP = 0x59 720 IPPROTO_PGM = 0x71 721 IPPROTO_PIGP = 0x9 722 IPPROTO_PIM = 0x67 723 IPPROTO_PRM = 0x15 724 IPPROTO_PUP = 0xc 725 IPPROTO_PVP = 0x4b 726 IPPROTO_RAW = 0xff 727 IPPROTO_RCCMON = 0xa 728 IPPROTO_RDP = 0x1b 729 IPPROTO_ROUTING = 0x2b 730 IPPROTO_RSVP = 0x2e 731 IPPROTO_RVD = 0x42 732 IPPROTO_SATEXPAK = 0x40 733 IPPROTO_SATMON = 0x45 734 IPPROTO_SCCSP = 0x60 735 IPPROTO_SCTP = 0x84 736 IPPROTO_SDRP = 0x2a 737 IPPROTO_SEP = 0x21 738 IPPROTO_SRPC = 0x5a 739 IPPROTO_ST = 0x7 740 IPPROTO_SVMTP = 0x52 741 IPPROTO_SWIPE = 0x35 742 IPPROTO_TCF = 0x57 743 IPPROTO_TCP = 0x6 744 IPPROTO_TP = 0x1d 745 IPPROTO_TPXX = 0x27 746 IPPROTO_TRUNK1 = 0x17 747 IPPROTO_TRUNK2 = 0x18 748 IPPROTO_TTP = 0x54 749 IPPROTO_UDP = 0x11 750 IPPROTO_VINES = 0x53 751 IPPROTO_VISA = 0x46 752 IPPROTO_VMTP = 0x51 753 IPPROTO_WBEXPAK = 0x4f 754 IPPROTO_WBMON = 0x4e 755 IPPROTO_WSN = 0x4a 756 IPPROTO_XNET = 0xf 757 IPPROTO_XTP = 0x24 758 IPV6_2292DSTOPTS = 0x17 759 IPV6_2292HOPLIMIT = 0x14 760 IPV6_2292HOPOPTS = 0x16 761 IPV6_2292NEXTHOP = 0x15 762 IPV6_2292PKTINFO = 0x13 763 IPV6_2292PKTOPTIONS = 0x19 764 IPV6_2292RTHDR = 0x18 765 IPV6_BINDV6ONLY = 0x1b 766 IPV6_BOUND_IF = 0x7d 767 IPV6_CHECKSUM = 0x1a 768 IPV6_DEFAULT_MULTICAST_HOPS = 0x1 769 IPV6_DEFAULT_MULTICAST_LOOP = 0x1 770 IPV6_DEFHLIM = 0x40 771 IPV6_FAITH = 0x1d 772 IPV6_FLOWINFO_MASK = 0xffffff0f 773 IPV6_FLOWLABEL_MASK = 0xffff0f00 774 IPV6_FLOW_ECN_MASK = 0x300 775 IPV6_FRAGTTL = 0x3c 776 IPV6_FW_ADD = 0x1e 777 IPV6_FW_DEL = 0x1f 778 IPV6_FW_FLUSH = 0x20 779 IPV6_FW_GET = 0x22 780 IPV6_FW_ZERO = 0x21 781 IPV6_HLIMDEC = 0x1 782 IPV6_IPSEC_POLICY = 0x1c 783 IPV6_JOIN_GROUP = 0xc 784 IPV6_LEAVE_GROUP = 0xd 785 IPV6_MAXHLIM = 0xff 786 IPV6_MAXOPTHDR = 0x800 787 IPV6_MAXPACKET = 0xffff 788 IPV6_MAX_GROUP_SRC_FILTER = 0x200 789 IPV6_MAX_MEMBERSHIPS = 0xfff 790 IPV6_MAX_SOCK_SRC_FILTER = 0x80 791 IPV6_MIN_MEMBERSHIPS = 0x1f 792 IPV6_MMTU = 0x500 793 IPV6_MULTICAST_HOPS = 0xa 794 IPV6_MULTICAST_IF = 0x9 795 IPV6_MULTICAST_LOOP = 0xb 796 IPV6_PORTRANGE = 0xe 797 IPV6_PORTRANGE_DEFAULT = 0x0 798 IPV6_PORTRANGE_HIGH = 0x1 799 IPV6_PORTRANGE_LOW = 0x2 800 IPV6_RECVTCLASS = 0x23 801 IPV6_RTHDR_LOOSE = 0x0 802 IPV6_RTHDR_STRICT = 0x1 803 IPV6_RTHDR_TYPE_0 = 0x0 804 IPV6_SOCKOPT_RESERVED1 = 0x3 805 IPV6_TCLASS = 0x24 806 IPV6_UNICAST_HOPS = 0x4 807 IPV6_V6ONLY = 0x1b 808 IPV6_VERSION = 0x60 809 IPV6_VERSION_MASK = 0xf0 810 IP_ADD_MEMBERSHIP = 0xc 811 IP_ADD_SOURCE_MEMBERSHIP = 0x46 812 IP_BLOCK_SOURCE = 0x48 813 IP_BOUND_IF = 0x19 814 IP_DEFAULT_MULTICAST_LOOP = 0x1 815 IP_DEFAULT_MULTICAST_TTL = 0x1 816 IP_DF = 0x4000 817 IP_DROP_MEMBERSHIP = 0xd 818 IP_DROP_SOURCE_MEMBERSHIP = 0x47 819 IP_DUMMYNET_CONFIGURE = 0x3c 820 IP_DUMMYNET_DEL = 0x3d 821 IP_DUMMYNET_FLUSH = 0x3e 822 IP_DUMMYNET_GET = 0x40 823 IP_FAITH = 0x16 824 IP_FW_ADD = 0x28 825 IP_FW_DEL = 0x29 826 IP_FW_FLUSH = 0x2a 827 IP_FW_GET = 0x2c 828 IP_FW_RESETLOG = 0x2d 829 IP_FW_ZERO = 0x2b 830 IP_HDRINCL = 0x2 831 IP_IPSEC_POLICY = 0x15 832 IP_MAXPACKET = 0xffff 833 IP_MAX_GROUP_SRC_FILTER = 0x200 834 IP_MAX_MEMBERSHIPS = 0xfff 835 IP_MAX_SOCK_MUTE_FILTER = 0x80 836 IP_MAX_SOCK_SRC_FILTER = 0x80 837 IP_MF = 0x2000 838 IP_MIN_MEMBERSHIPS = 0x1f 839 IP_MSFILTER = 0x4a 840 IP_MSS = 0x240 841 IP_MULTICAST_IF = 0x9 842 IP_MULTICAST_IFINDEX = 0x42 843 IP_MULTICAST_LOOP = 0xb 844 IP_MULTICAST_TTL = 0xa 845 IP_MULTICAST_VIF = 0xe 846 IP_NAT__XXX = 0x37 847 IP_OFFMASK = 0x1fff 848 IP_OLD_FW_ADD = 0x32 849 IP_OLD_FW_DEL = 0x33 850 IP_OLD_FW_FLUSH = 0x34 851 IP_OLD_FW_GET = 0x36 852 IP_OLD_FW_RESETLOG = 0x38 853 IP_OLD_FW_ZERO = 0x35 854 IP_OPTIONS = 0x1 855 IP_PKTINFO = 0x1a 856 IP_PORTRANGE = 0x13 857 IP_PORTRANGE_DEFAULT = 0x0 858 IP_PORTRANGE_HIGH = 0x1 859 IP_PORTRANGE_LOW = 0x2 860 IP_RECVDSTADDR = 0x7 861 IP_RECVIF = 0x14 862 IP_RECVOPTS = 0x5 863 IP_RECVPKTINFO = 0x1a 864 IP_RECVRETOPTS = 0x6 865 IP_RECVTOS = 0x1b 866 IP_RECVTTL = 0x18 867 IP_RETOPTS = 0x8 868 IP_RF = 0x8000 869 IP_RSVP_OFF = 0x10 870 IP_RSVP_ON = 0xf 871 IP_RSVP_VIF_OFF = 0x12 872 IP_RSVP_VIF_ON = 0x11 873 IP_STRIPHDR = 0x17 874 IP_TOS = 0x3 875 IP_TRAFFIC_MGT_BACKGROUND = 0x41 876 IP_TTL = 0x4 877 IP_UNBLOCK_SOURCE = 0x49 878 ISIG = 0x80 879 ISTRIP = 0x20 880 IUTF8 = 0x4000 881 IXANY = 0x800 882 IXOFF = 0x400 883 IXON = 0x200 884 KERN_HOSTNAME = 0xa 885 KERN_OSRELEASE = 0x2 886 KERN_OSTYPE = 0x1 887 KERN_VERSION = 0x4 888 LOCK_EX = 0x2 889 LOCK_NB = 0x4 890 LOCK_SH = 0x1 891 LOCK_UN = 0x8 892 MADV_CAN_REUSE = 0x9 893 MADV_DONTNEED = 0x4 894 MADV_FREE = 0x5 895 MADV_FREE_REUSABLE = 0x7 896 MADV_FREE_REUSE = 0x8 897 MADV_NORMAL = 0x0 898 MADV_PAGEOUT = 0xa 899 MADV_RANDOM = 0x1 900 MADV_SEQUENTIAL = 0x2 901 MADV_WILLNEED = 0x3 902 MADV_ZERO_WIRED_PAGES = 0x6 903 MAP_ANON = 0x1000 904 MAP_ANONYMOUS = 0x1000 905 MAP_COPY = 0x2 906 MAP_FILE = 0x0 907 MAP_FIXED = 0x10 908 MAP_HASSEMAPHORE = 0x200 909 MAP_JIT = 0x800 910 MAP_NOCACHE = 0x400 911 MAP_NOEXTEND = 0x100 912 MAP_NORESERVE = 0x40 913 MAP_PRIVATE = 0x2 914 MAP_RENAME = 0x20 915 MAP_RESERVED0080 = 0x80 916 MAP_RESILIENT_CODESIGN = 0x2000 917 MAP_RESILIENT_MEDIA = 0x4000 918 MAP_SHARED = 0x1 919 MCL_CURRENT = 0x1 920 MCL_FUTURE = 0x2 921 MNT_ASYNC = 0x40 922 MNT_AUTOMOUNTED = 0x400000 923 MNT_CMDFLAGS = 0xf0000 924 MNT_CPROTECT = 0x80 925 MNT_DEFWRITE = 0x2000000 926 MNT_DONTBROWSE = 0x100000 927 MNT_DOVOLFS = 0x8000 928 MNT_DWAIT = 0x4 929 MNT_EXPORTED = 0x100 930 MNT_FORCE = 0x80000 931 MNT_IGNORE_OWNERSHIP = 0x200000 932 MNT_JOURNALED = 0x800000 933 MNT_LOCAL = 0x1000 934 MNT_MULTILABEL = 0x4000000 935 MNT_NOATIME = 0x10000000 936 MNT_NOBLOCK = 0x20000 937 MNT_NODEV = 0x10 938 MNT_NOEXEC = 0x4 939 MNT_NOSUID = 0x8 940 MNT_NOUSERXATTR = 0x1000000 941 MNT_NOWAIT = 0x2 942 MNT_QUARANTINE = 0x400 943 MNT_QUOTA = 0x2000 944 MNT_RDONLY = 0x1 945 MNT_RELOAD = 0x40000 946 MNT_ROOTFS = 0x4000 947 MNT_SYNCHRONOUS = 0x2 948 MNT_UNION = 0x20 949 MNT_UNKNOWNPERMISSIONS = 0x200000 950 MNT_UPDATE = 0x10000 951 MNT_VISFLAGMASK = 0x17f0f5ff 952 MNT_WAIT = 0x1 953 MSG_CTRUNC = 0x20 954 MSG_DONTROUTE = 0x4 955 MSG_DONTWAIT = 0x80 956 MSG_EOF = 0x100 957 MSG_EOR = 0x8 958 MSG_FLUSH = 0x400 959 MSG_HAVEMORE = 0x2000 960 MSG_HOLD = 0x800 961 MSG_NEEDSA = 0x10000 962 MSG_OOB = 0x1 963 MSG_PEEK = 0x2 964 MSG_RCVMORE = 0x4000 965 MSG_SEND = 0x1000 966 MSG_TRUNC = 0x10 967 MSG_WAITALL = 0x40 968 MSG_WAITSTREAM = 0x200 969 MS_ASYNC = 0x1 970 MS_DEACTIVATE = 0x8 971 MS_INVALIDATE = 0x2 972 MS_KILLPAGES = 0x4 973 MS_SYNC = 0x10 974 NAME_MAX = 0xff 975 NET_RT_DUMP = 0x1 976 NET_RT_DUMP2 = 0x7 977 NET_RT_FLAGS = 0x2 978 NET_RT_IFLIST = 0x3 979 NET_RT_IFLIST2 = 0x6 980 NET_RT_MAXID = 0xa 981 NET_RT_STAT = 0x4 982 NET_RT_TRASH = 0x5 983 NL0 = 0x0 984 NL1 = 0x100 985 NL2 = 0x200 986 NL3 = 0x300 987 NLDLY = 0x300 988 NOFLSH = 0x80000000 989 NOKERNINFO = 0x2000000 990 NOTE_ABSOLUTE = 0x8 991 NOTE_ATTRIB = 0x8 992 NOTE_BACKGROUND = 0x40 993 NOTE_CHILD = 0x4 994 NOTE_CRITICAL = 0x20 995 NOTE_DELETE = 0x1 996 NOTE_EXEC = 0x20000000 997 NOTE_EXIT = 0x80000000 998 NOTE_EXITSTATUS = 0x4000000 999 NOTE_EXIT_CSERROR = 0x40000 1000 NOTE_EXIT_DECRYPTFAIL = 0x10000 1001 NOTE_EXIT_DETAIL = 0x2000000 1002 NOTE_EXIT_DETAIL_MASK = 0x70000 1003 NOTE_EXIT_MEMORY = 0x20000 1004 NOTE_EXIT_REPARENTED = 0x80000 1005 NOTE_EXTEND = 0x4 1006 NOTE_FFAND = 0x40000000 1007 NOTE_FFCOPY = 0xc0000000 1008 NOTE_FFCTRLMASK = 0xc0000000 1009 NOTE_FFLAGSMASK = 0xffffff 1010 NOTE_FFNOP = 0x0 1011 NOTE_FFOR = 0x80000000 1012 NOTE_FORK = 0x40000000 1013 NOTE_FUNLOCK = 0x100 1014 NOTE_LEEWAY = 0x10 1015 NOTE_LINK = 0x10 1016 NOTE_LOWAT = 0x1 1017 NOTE_MACH_CONTINUOUS_TIME = 0x80 1018 NOTE_NONE = 0x80 1019 NOTE_NSECONDS = 0x4 1020 NOTE_OOB = 0x2 1021 NOTE_PCTRLMASK = -0x100000 1022 NOTE_PDATAMASK = 0xfffff 1023 NOTE_REAP = 0x10000000 1024 NOTE_RENAME = 0x20 1025 NOTE_REVOKE = 0x40 1026 NOTE_SECONDS = 0x1 1027 NOTE_SIGNAL = 0x8000000 1028 NOTE_TRACK = 0x1 1029 NOTE_TRACKERR = 0x2 1030 NOTE_TRIGGER = 0x1000000 1031 NOTE_USECONDS = 0x2 1032 NOTE_VM_ERROR = 0x10000000 1033 NOTE_VM_PRESSURE = 0x80000000 1034 NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 0x20000000 1035 NOTE_VM_PRESSURE_TERMINATE = 0x40000000 1036 NOTE_WRITE = 0x2 1037 OCRNL = 0x10 1038 OFDEL = 0x20000 1039 OFILL = 0x80 1040 ONLCR = 0x2 1041 ONLRET = 0x40 1042 ONOCR = 0x20 1043 ONOEOT = 0x8 1044 OPOST = 0x1 1045 OXTABS = 0x4 1046 O_ACCMODE = 0x3 1047 O_ALERT = 0x20000000 1048 O_APPEND = 0x8 1049 O_ASYNC = 0x40 1050 O_CLOEXEC = 0x1000000 1051 O_CREAT = 0x200 1052 O_DIRECTORY = 0x100000 1053 O_DP_GETRAWENCRYPTED = 0x1 1054 O_DP_GETRAWUNENCRYPTED = 0x2 1055 O_DSYNC = 0x400000 1056 O_EVTONLY = 0x8000 1057 O_EXCL = 0x800 1058 O_EXLOCK = 0x20 1059 O_FSYNC = 0x80 1060 O_NDELAY = 0x4 1061 O_NOCTTY = 0x20000 1062 O_NOFOLLOW = 0x100 1063 O_NONBLOCK = 0x4 1064 O_POPUP = 0x80000000 1065 O_RDONLY = 0x0 1066 O_RDWR = 0x2 1067 O_SHLOCK = 0x10 1068 O_SYMLINK = 0x200000 1069 O_SYNC = 0x80 1070 O_TRUNC = 0x400 1071 O_WRONLY = 0x1 1072 PARENB = 0x1000 1073 PARMRK = 0x8 1074 PARODD = 0x2000 1075 PENDIN = 0x20000000 1076 PRIO_PGRP = 0x1 1077 PRIO_PROCESS = 0x0 1078 PRIO_USER = 0x2 1079 PROT_EXEC = 0x4 1080 PROT_NONE = 0x0 1081 PROT_READ = 0x1 1082 PROT_WRITE = 0x2 1083 PT_ATTACH = 0xa 1084 PT_ATTACHEXC = 0xe 1085 PT_CONTINUE = 0x7 1086 PT_DENY_ATTACH = 0x1f 1087 PT_DETACH = 0xb 1088 PT_FIRSTMACH = 0x20 1089 PT_FORCEQUOTA = 0x1e 1090 PT_KILL = 0x8 1091 PT_READ_D = 0x2 1092 PT_READ_I = 0x1 1093 PT_READ_U = 0x3 1094 PT_SIGEXC = 0xc 1095 PT_STEP = 0x9 1096 PT_THUPDATE = 0xd 1097 PT_TRACE_ME = 0x0 1098 PT_WRITE_D = 0x5 1099 PT_WRITE_I = 0x4 1100 PT_WRITE_U = 0x6 1101 RLIMIT_AS = 0x5 1102 RLIMIT_CORE = 0x4 1103 RLIMIT_CPU = 0x0 1104 RLIMIT_CPU_USAGE_MONITOR = 0x2 1105 RLIMIT_DATA = 0x2 1106 RLIMIT_FSIZE = 0x1 1107 RLIMIT_MEMLOCK = 0x6 1108 RLIMIT_NOFILE = 0x8 1109 RLIMIT_NPROC = 0x7 1110 RLIMIT_RSS = 0x5 1111 RLIMIT_STACK = 0x3 1112 RLIM_INFINITY = 0x7fffffffffffffff 1113 RTAX_AUTHOR = 0x6 1114 RTAX_BRD = 0x7 1115 RTAX_DST = 0x0 1116 RTAX_GATEWAY = 0x1 1117 RTAX_GENMASK = 0x3 1118 RTAX_IFA = 0x5 1119 RTAX_IFP = 0x4 1120 RTAX_MAX = 0x8 1121 RTAX_NETMASK = 0x2 1122 RTA_AUTHOR = 0x40 1123 RTA_BRD = 0x80 1124 RTA_DST = 0x1 1125 RTA_GATEWAY = 0x2 1126 RTA_GENMASK = 0x8 1127 RTA_IFA = 0x20 1128 RTA_IFP = 0x10 1129 RTA_NETMASK = 0x4 1130 RTF_BLACKHOLE = 0x1000 1131 RTF_BROADCAST = 0x400000 1132 RTF_CLONING = 0x100 1133 RTF_CONDEMNED = 0x2000000 1134 RTF_DELCLONE = 0x80 1135 RTF_DONE = 0x40 1136 RTF_DYNAMIC = 0x10 1137 RTF_GATEWAY = 0x2 1138 RTF_HOST = 0x4 1139 RTF_IFREF = 0x4000000 1140 RTF_IFSCOPE = 0x1000000 1141 RTF_LLINFO = 0x400 1142 RTF_LOCAL = 0x200000 1143 RTF_MODIFIED = 0x20 1144 RTF_MULTICAST = 0x800000 1145 RTF_NOIFREF = 0x2000 1146 RTF_PINNED = 0x100000 1147 RTF_PRCLONING = 0x10000 1148 RTF_PROTO1 = 0x8000 1149 RTF_PROTO2 = 0x4000 1150 RTF_PROTO3 = 0x40000 1151 RTF_PROXY = 0x8000000 1152 RTF_REJECT = 0x8 1153 RTF_ROUTER = 0x10000000 1154 RTF_STATIC = 0x800 1155 RTF_UP = 0x1 1156 RTF_WASCLONED = 0x20000 1157 RTF_XRESOLVE = 0x200 1158 RTM_ADD = 0x1 1159 RTM_CHANGE = 0x3 1160 RTM_DELADDR = 0xd 1161 RTM_DELETE = 0x2 1162 RTM_DELMADDR = 0x10 1163 RTM_GET = 0x4 1164 RTM_GET2 = 0x14 1165 RTM_IFINFO = 0xe 1166 RTM_IFINFO2 = 0x12 1167 RTM_LOCK = 0x8 1168 RTM_LOSING = 0x5 1169 RTM_MISS = 0x7 1170 RTM_NEWADDR = 0xc 1171 RTM_NEWMADDR = 0xf 1172 RTM_NEWMADDR2 = 0x13 1173 RTM_OLDADD = 0x9 1174 RTM_OLDDEL = 0xa 1175 RTM_REDIRECT = 0x6 1176 RTM_RESOLVE = 0xb 1177 RTM_RTTUNIT = 0xf4240 1178 RTM_VERSION = 0x5 1179 RTV_EXPIRE = 0x4 1180 RTV_HOPCOUNT = 0x2 1181 RTV_MTU = 0x1 1182 RTV_RPIPE = 0x8 1183 RTV_RTT = 0x40 1184 RTV_RTTVAR = 0x80 1185 RTV_SPIPE = 0x10 1186 RTV_SSTHRESH = 0x20 1187 RUSAGE_CHILDREN = -0x1 1188 RUSAGE_SELF = 0x0 1189 SCM_CREDS = 0x3 1190 SCM_RIGHTS = 0x1 1191 SCM_TIMESTAMP = 0x2 1192 SCM_TIMESTAMP_MONOTONIC = 0x4 1193 SHUT_RD = 0x0 1194 SHUT_RDWR = 0x2 1195 SHUT_WR = 0x1 1196 SIOCADDMULTI = 0x80206931 1197 SIOCAIFADDR = 0x8040691a 1198 SIOCARPIPLL = 0xc0206928 1199 SIOCATMARK = 0x40047307 1200 SIOCAUTOADDR = 0xc0206926 1201 SIOCAUTONETMASK = 0x80206927 1202 SIOCDELMULTI = 0x80206932 1203 SIOCDIFADDR = 0x80206919 1204 SIOCDIFPHYADDR = 0x80206941 1205 SIOCGDRVSPEC = 0xc028697b 1206 SIOCGETVLAN = 0xc020697f 1207 SIOCGHIWAT = 0x40047301 1208 SIOCGIFADDR = 0xc0206921 1209 SIOCGIFALTMTU = 0xc0206948 1210 SIOCGIFASYNCMAP = 0xc020697c 1211 SIOCGIFBOND = 0xc0206947 1212 SIOCGIFBRDADDR = 0xc0206923 1213 SIOCGIFCAP = 0xc020695b 1214 SIOCGIFCONF = 0xc00c6924 1215 SIOCGIFDEVMTU = 0xc0206944 1216 SIOCGIFDSTADDR = 0xc0206922 1217 SIOCGIFFLAGS = 0xc0206911 1218 SIOCGIFGENERIC = 0xc020693a 1219 SIOCGIFKPI = 0xc0206987 1220 SIOCGIFMAC = 0xc0206982 1221 SIOCGIFMEDIA = 0xc02c6938 1222 SIOCGIFMETRIC = 0xc0206917 1223 SIOCGIFMTU = 0xc0206933 1224 SIOCGIFNETMASK = 0xc0206925 1225 SIOCGIFPDSTADDR = 0xc0206940 1226 SIOCGIFPHYS = 0xc0206935 1227 SIOCGIFPSRCADDR = 0xc020693f 1228 SIOCGIFSTATUS = 0xc331693d 1229 SIOCGIFVLAN = 0xc020697f 1230 SIOCGIFWAKEFLAGS = 0xc0206988 1231 SIOCGLOWAT = 0x40047303 1232 SIOCGPGRP = 0x40047309 1233 SIOCIFCREATE = 0xc0206978 1234 SIOCIFCREATE2 = 0xc020697a 1235 SIOCIFDESTROY = 0x80206979 1236 SIOCIFGCLONERS = 0xc0106981 1237 SIOCRSLVMULTI = 0xc010693b 1238 SIOCSDRVSPEC = 0x8028697b 1239 SIOCSETVLAN = 0x8020697e 1240 SIOCSHIWAT = 0x80047300 1241 SIOCSIFADDR = 0x8020690c 1242 SIOCSIFALTMTU = 0x80206945 1243 SIOCSIFASYNCMAP = 0x8020697d 1244 SIOCSIFBOND = 0x80206946 1245 SIOCSIFBRDADDR = 0x80206913 1246 SIOCSIFCAP = 0x8020695a 1247 SIOCSIFDSTADDR = 0x8020690e 1248 SIOCSIFFLAGS = 0x80206910 1249 SIOCSIFGENERIC = 0x80206939 1250 SIOCSIFKPI = 0x80206986 1251 SIOCSIFLLADDR = 0x8020693c 1252 SIOCSIFMAC = 0x80206983 1253 SIOCSIFMEDIA = 0xc0206937 1254 SIOCSIFMETRIC = 0x80206918 1255 SIOCSIFMTU = 0x80206934 1256 SIOCSIFNETMASK = 0x80206916 1257 SIOCSIFPHYADDR = 0x8040693e 1258 SIOCSIFPHYS = 0x80206936 1259 SIOCSIFVLAN = 0x8020697e 1260 SIOCSLOWAT = 0x80047302 1261 SIOCSPGRP = 0x80047308 1262 SOCK_DGRAM = 0x2 1263 SOCK_MAXADDRLEN = 0xff 1264 SOCK_RAW = 0x3 1265 SOCK_RDM = 0x4 1266 SOCK_SEQPACKET = 0x5 1267 SOCK_STREAM = 0x1 1268 SOL_SOCKET = 0xffff 1269 SOMAXCONN = 0x80 1270 SO_ACCEPTCONN = 0x2 1271 SO_BROADCAST = 0x20 1272 SO_DEBUG = 0x1 1273 SO_DONTROUTE = 0x10 1274 SO_DONTTRUNC = 0x2000 1275 SO_ERROR = 0x1007 1276 SO_KEEPALIVE = 0x8 1277 SO_LABEL = 0x1010 1278 SO_LINGER = 0x80 1279 SO_LINGER_SEC = 0x1080 1280 SO_NETSVC_MARKING_LEVEL = 0x1119 1281 SO_NET_SERVICE_TYPE = 0x1116 1282 SO_NKE = 0x1021 1283 SO_NOADDRERR = 0x1023 1284 SO_NOSIGPIPE = 0x1022 1285 SO_NOTIFYCONFLICT = 0x1026 1286 SO_NP_EXTENSIONS = 0x1083 1287 SO_NREAD = 0x1020 1288 SO_NUMRCVPKT = 0x1112 1289 SO_NWRITE = 0x1024 1290 SO_OOBINLINE = 0x100 1291 SO_PEERLABEL = 0x1011 1292 SO_RANDOMPORT = 0x1082 1293 SO_RCVBUF = 0x1002 1294 SO_RCVLOWAT = 0x1004 1295 SO_RCVTIMEO = 0x1006 1296 SO_REUSEADDR = 0x4 1297 SO_REUSEPORT = 0x200 1298 SO_REUSESHAREUID = 0x1025 1299 SO_SNDBUF = 0x1001 1300 SO_SNDLOWAT = 0x1003 1301 SO_SNDTIMEO = 0x1005 1302 SO_TIMESTAMP = 0x400 1303 SO_TIMESTAMP_MONOTONIC = 0x800 1304 SO_TYPE = 0x1008 1305 SO_UPCALLCLOSEWAIT = 0x1027 1306 SO_USELOOPBACK = 0x40 1307 SO_WANTMORE = 0x4000 1308 SO_WANTOOBFLAG = 0x8000 1309 S_IEXEC = 0x40 1310 S_IFBLK = 0x6000 1311 S_IFCHR = 0x2000 1312 S_IFDIR = 0x4000 1313 S_IFIFO = 0x1000 1314 S_IFLNK = 0xa000 1315 S_IFMT = 0xf000 1316 S_IFREG = 0x8000 1317 S_IFSOCK = 0xc000 1318 S_IFWHT = 0xe000 1319 S_IREAD = 0x100 1320 S_IRGRP = 0x20 1321 S_IROTH = 0x4 1322 S_IRUSR = 0x100 1323 S_IRWXG = 0x38 1324 S_IRWXO = 0x7 1325 S_IRWXU = 0x1c0 1326 S_ISGID = 0x400 1327 S_ISTXT = 0x200 1328 S_ISUID = 0x800 1329 S_ISVTX = 0x200 1330 S_IWGRP = 0x10 1331 S_IWOTH = 0x2 1332 S_IWRITE = 0x80 1333 S_IWUSR = 0x80 1334 S_IXGRP = 0x8 1335 S_IXOTH = 0x1 1336 S_IXUSR = 0x40 1337 TAB0 = 0x0 1338 TAB1 = 0x400 1339 TAB2 = 0x800 1340 TAB3 = 0x4 1341 TABDLY = 0xc04 1342 TCIFLUSH = 0x1 1343 TCIOFF = 0x3 1344 TCIOFLUSH = 0x3 1345 TCION = 0x4 1346 TCOFLUSH = 0x2 1347 TCOOFF = 0x1 1348 TCOON = 0x2 1349 TCP_CONNECTIONTIMEOUT = 0x20 1350 TCP_CONNECTION_INFO = 0x106 1351 TCP_ENABLE_ECN = 0x104 1352 TCP_FASTOPEN = 0x105 1353 TCP_KEEPALIVE = 0x10 1354 TCP_KEEPCNT = 0x102 1355 TCP_KEEPINTVL = 0x101 1356 TCP_MAXHLEN = 0x3c 1357 TCP_MAXOLEN = 0x28 1358 TCP_MAXSEG = 0x2 1359 TCP_MAXWIN = 0xffff 1360 TCP_MAX_SACK = 0x4 1361 TCP_MAX_WINSHIFT = 0xe 1362 TCP_MINMSS = 0xd8 1363 TCP_MSS = 0x200 1364 TCP_NODELAY = 0x1 1365 TCP_NOOPT = 0x8 1366 TCP_NOPUSH = 0x4 1367 TCP_NOTSENT_LOWAT = 0x201 1368 TCP_RXT_CONNDROPTIME = 0x80 1369 TCP_RXT_FINDROP = 0x100 1370 TCP_SENDMOREACKS = 0x103 1371 TCSAFLUSH = 0x2 1372 TIOCCBRK = 0x2000747a 1373 TIOCCDTR = 0x20007478 1374 TIOCCONS = 0x80047462 1375 TIOCDCDTIMESTAMP = 0x40107458 1376 TIOCDRAIN = 0x2000745e 1377 TIOCDSIMICROCODE = 0x20007455 1378 TIOCEXCL = 0x2000740d 1379 TIOCEXT = 0x80047460 1380 TIOCFLUSH = 0x80047410 1381 TIOCGDRAINWAIT = 0x40047456 1382 TIOCGETA = 0x40487413 1383 TIOCGETD = 0x4004741a 1384 TIOCGPGRP = 0x40047477 1385 TIOCGWINSZ = 0x40087468 1386 TIOCIXOFF = 0x20007480 1387 TIOCIXON = 0x20007481 1388 TIOCMBIC = 0x8004746b 1389 TIOCMBIS = 0x8004746c 1390 TIOCMGDTRWAIT = 0x4004745a 1391 TIOCMGET = 0x4004746a 1392 TIOCMODG = 0x40047403 1393 TIOCMODS = 0x80047404 1394 TIOCMSDTRWAIT = 0x8004745b 1395 TIOCMSET = 0x8004746d 1396 TIOCM_CAR = 0x40 1397 TIOCM_CD = 0x40 1398 TIOCM_CTS = 0x20 1399 TIOCM_DSR = 0x100 1400 TIOCM_DTR = 0x2 1401 TIOCM_LE = 0x1 1402 TIOCM_RI = 0x80 1403 TIOCM_RNG = 0x80 1404 TIOCM_RTS = 0x4 1405 TIOCM_SR = 0x10 1406 TIOCM_ST = 0x8 1407 TIOCNOTTY = 0x20007471 1408 TIOCNXCL = 0x2000740e 1409 TIOCOUTQ = 0x40047473 1410 TIOCPKT = 0x80047470 1411 TIOCPKT_DATA = 0x0 1412 TIOCPKT_DOSTOP = 0x20 1413 TIOCPKT_FLUSHREAD = 0x1 1414 TIOCPKT_FLUSHWRITE = 0x2 1415 TIOCPKT_IOCTL = 0x40 1416 TIOCPKT_NOSTOP = 0x10 1417 TIOCPKT_START = 0x8 1418 TIOCPKT_STOP = 0x4 1419 TIOCPTYGNAME = 0x40807453 1420 TIOCPTYGRANT = 0x20007454 1421 TIOCPTYUNLK = 0x20007452 1422 TIOCREMOTE = 0x80047469 1423 TIOCSBRK = 0x2000747b 1424 TIOCSCONS = 0x20007463 1425 TIOCSCTTY = 0x20007461 1426 TIOCSDRAINWAIT = 0x80047457 1427 TIOCSDTR = 0x20007479 1428 TIOCSETA = 0x80487414 1429 TIOCSETAF = 0x80487416 1430 TIOCSETAW = 0x80487415 1431 TIOCSETD = 0x8004741b 1432 TIOCSIG = 0x2000745f 1433 TIOCSPGRP = 0x80047476 1434 TIOCSTART = 0x2000746e 1435 TIOCSTAT = 0x20007465 1436 TIOCSTI = 0x80017472 1437 TIOCSTOP = 0x2000746f 1438 TIOCSWINSZ = 0x80087467 1439 TIOCTIMESTAMP = 0x40107459 1440 TIOCUCNTL = 0x80047466 1441 TOSTOP = 0x400000 1442 VDISCARD = 0xf 1443 VDSUSP = 0xb 1444 VEOF = 0x0 1445 VEOL = 0x1 1446 VEOL2 = 0x2 1447 VERASE = 0x3 1448 VINTR = 0x8 1449 VKILL = 0x5 1450 VLNEXT = 0xe 1451 VMIN = 0x10 1452 VM_LOADAVG = 0x2 1453 VM_MACHFACTOR = 0x4 1454 VM_MAXID = 0x6 1455 VM_METER = 0x1 1456 VM_SWAPUSAGE = 0x5 1457 VQUIT = 0x9 1458 VREPRINT = 0x6 1459 VSTART = 0xc 1460 VSTATUS = 0x12 1461 VSTOP = 0xd 1462 VSUSP = 0xa 1463 VT0 = 0x0 1464 VT1 = 0x10000 1465 VTDLY = 0x10000 1466 VTIME = 0x11 1467 VWERASE = 0x4 1468 WCONTINUED = 0x10 1469 WCOREFLAG = 0x80 1470 WEXITED = 0x4 1471 WNOHANG = 0x1 1472 WNOWAIT = 0x20 1473 WORDSIZE = 0x40 1474 WSTOPPED = 0x8 1475 WUNTRACED = 0x2 1476 XATTR_CREATE = 0x2 1477 XATTR_NODEFAULT = 0x10 1478 XATTR_NOFOLLOW = 0x1 1479 XATTR_NOSECURITY = 0x8 1480 XATTR_REPLACE = 0x4 1481 XATTR_SHOWCOMPRESSION = 0x20 1482 ) 1483 1484 // Errors 1485 const ( 1486 E2BIG = syscall.Errno(0x7) 1487 EACCES = syscall.Errno(0xd) 1488 EADDRINUSE = syscall.Errno(0x30) 1489 EADDRNOTAVAIL = syscall.Errno(0x31) 1490 EAFNOSUPPORT = syscall.Errno(0x2f) 1491 EAGAIN = syscall.Errno(0x23) 1492 EALREADY = syscall.Errno(0x25) 1493 EAUTH = syscall.Errno(0x50) 1494 EBADARCH = syscall.Errno(0x56) 1495 EBADEXEC = syscall.Errno(0x55) 1496 EBADF = syscall.Errno(0x9) 1497 EBADMACHO = syscall.Errno(0x58) 1498 EBADMSG = syscall.Errno(0x5e) 1499 EBADRPC = syscall.Errno(0x48) 1500 EBUSY = syscall.Errno(0x10) 1501 ECANCELED = syscall.Errno(0x59) 1502 ECHILD = syscall.Errno(0xa) 1503 ECONNABORTED = syscall.Errno(0x35) 1504 ECONNREFUSED = syscall.Errno(0x3d) 1505 ECONNRESET = syscall.Errno(0x36) 1506 EDEADLK = syscall.Errno(0xb) 1507 EDESTADDRREQ = syscall.Errno(0x27) 1508 EDEVERR = syscall.Errno(0x53) 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(0x5a) 1518 EILSEQ = syscall.Errno(0x5c) 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(0x6a) 1526 ELOOP = syscall.Errno(0x3e) 1527 EMFILE = syscall.Errno(0x18) 1528 EMLINK = syscall.Errno(0x1f) 1529 EMSGSIZE = syscall.Errno(0x28) 1530 EMULTIHOP = syscall.Errno(0x5f) 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(0x60) 1540 ENODEV = syscall.Errno(0x13) 1541 ENOENT = syscall.Errno(0x2) 1542 ENOEXEC = syscall.Errno(0x8) 1543 ENOLCK = syscall.Errno(0x4d) 1544 ENOLINK = syscall.Errno(0x61) 1545 ENOMEM = syscall.Errno(0xc) 1546 ENOMSG = syscall.Errno(0x5b) 1547 ENOPOLICY = syscall.Errno(0x67) 1548 ENOPROTOOPT = syscall.Errno(0x2a) 1549 ENOSPC = syscall.Errno(0x1c) 1550 ENOSR = syscall.Errno(0x62) 1551 ENOSTR = syscall.Errno(0x63) 1552 ENOSYS = syscall.Errno(0x4e) 1553 ENOTBLK = syscall.Errno(0xf) 1554 ENOTCONN = syscall.Errno(0x39) 1555 ENOTDIR = syscall.Errno(0x14) 1556 ENOTEMPTY = syscall.Errno(0x42) 1557 ENOTRECOVERABLE = syscall.Errno(0x68) 1558 ENOTSOCK = syscall.Errno(0x26) 1559 ENOTSUP = syscall.Errno(0x2d) 1560 ENOTTY = syscall.Errno(0x19) 1561 ENXIO = syscall.Errno(0x6) 1562 EOPNOTSUPP = syscall.Errno(0x66) 1563 EOVERFLOW = syscall.Errno(0x54) 1564 EOWNERDEAD = syscall.Errno(0x69) 1565 EPERM = syscall.Errno(0x1) 1566 EPFNOSUPPORT = syscall.Errno(0x2e) 1567 EPIPE = syscall.Errno(0x20) 1568 EPROCLIM = syscall.Errno(0x43) 1569 EPROCUNAVAIL = syscall.Errno(0x4c) 1570 EPROGMISMATCH = syscall.Errno(0x4b) 1571 EPROGUNAVAIL = syscall.Errno(0x4a) 1572 EPROTO = syscall.Errno(0x64) 1573 EPROTONOSUPPORT = syscall.Errno(0x2b) 1574 EPROTOTYPE = syscall.Errno(0x29) 1575 EPWROFF = syscall.Errno(0x52) 1576 EQFULL = syscall.Errno(0x6a) 1577 ERANGE = syscall.Errno(0x22) 1578 EREMOTE = syscall.Errno(0x47) 1579 EROFS = syscall.Errno(0x1e) 1580 ERPCMISMATCH = syscall.Errno(0x49) 1581 ESHLIBVERS = syscall.Errno(0x57) 1582 ESHUTDOWN = syscall.Errno(0x3a) 1583 ESOCKTNOSUPPORT = syscall.Errno(0x2c) 1584 ESPIPE = syscall.Errno(0x1d) 1585 ESRCH = syscall.Errno(0x3) 1586 ESTALE = syscall.Errno(0x46) 1587 ETIME = syscall.Errno(0x65) 1588 ETIMEDOUT = syscall.Errno(0x3c) 1589 ETOOMANYREFS = syscall.Errno(0x3b) 1590 ETXTBSY = syscall.Errno(0x1a) 1591 EUSERS = syscall.Errno(0x44) 1592 EWOULDBLOCK = syscall.Errno(0x23) 1593 EXDEV = syscall.Errno(0x12) 1594 ) 1595 1596 // Signals 1597 const ( 1598 SIGABRT = syscall.Signal(0x6) 1599 SIGALRM = syscall.Signal(0xe) 1600 SIGBUS = syscall.Signal(0xa) 1601 SIGCHLD = syscall.Signal(0x14) 1602 SIGCONT = syscall.Signal(0x13) 1603 SIGEMT = syscall.Signal(0x7) 1604 SIGFPE = syscall.Signal(0x8) 1605 SIGHUP = syscall.Signal(0x1) 1606 SIGILL = syscall.Signal(0x4) 1607 SIGINFO = syscall.Signal(0x1d) 1608 SIGINT = syscall.Signal(0x2) 1609 SIGIO = syscall.Signal(0x17) 1610 SIGIOT = syscall.Signal(0x6) 1611 SIGKILL = syscall.Signal(0x9) 1612 SIGPIPE = syscall.Signal(0xd) 1613 SIGPROF = syscall.Signal(0x1b) 1614 SIGQUIT = syscall.Signal(0x3) 1615 SIGSEGV = syscall.Signal(0xb) 1616 SIGSTOP = syscall.Signal(0x11) 1617 SIGSYS = syscall.Signal(0xc) 1618 SIGTERM = syscall.Signal(0xf) 1619 SIGTRAP = syscall.Signal(0x5) 1620 SIGTSTP = syscall.Signal(0x12) 1621 SIGTTIN = syscall.Signal(0x15) 1622 SIGTTOU = syscall.Signal(0x16) 1623 SIGURG = syscall.Signal(0x10) 1624 SIGUSR1 = syscall.Signal(0x1e) 1625 SIGUSR2 = syscall.Signal(0x1f) 1626 SIGVTALRM = syscall.Signal(0x1a) 1627 SIGWINCH = syscall.Signal(0x1c) 1628 SIGXCPU = syscall.Signal(0x18) 1629 SIGXFSZ = syscall.Signal(0x19) 1630 ) 1631 1632 // Error table 1633 var errorList = [...]struct { 1634 num syscall.Errno 1635 name string 1636 desc string 1637 }{ 1638 {1, "EPERM", "operation not permitted"}, 1639 {2, "ENOENT", "no such file or directory"}, 1640 {3, "ESRCH", "no such process"}, 1641 {4, "EINTR", "interrupted system call"}, 1642 {5, "EIO", "input/output error"}, 1643 {6, "ENXIO", "device not configured"}, 1644 {7, "E2BIG", "argument list too long"}, 1645 {8, "ENOEXEC", "exec format error"}, 1646 {9, "EBADF", "bad file descriptor"}, 1647 {10, "ECHILD", "no child processes"}, 1648 {11, "EDEADLK", "resource deadlock avoided"}, 1649 {12, "ENOMEM", "cannot allocate memory"}, 1650 {13, "EACCES", "permission denied"}, 1651 {14, "EFAULT", "bad address"}, 1652 {15, "ENOTBLK", "block device required"}, 1653 {16, "EBUSY", "resource busy"}, 1654 {17, "EEXIST", "file exists"}, 1655 {18, "EXDEV", "cross-device link"}, 1656 {19, "ENODEV", "operation not supported by device"}, 1657 {20, "ENOTDIR", "not a directory"}, 1658 {21, "EISDIR", "is a directory"}, 1659 {22, "EINVAL", "invalid argument"}, 1660 {23, "ENFILE", "too many open files in system"}, 1661 {24, "EMFILE", "too many open files"}, 1662 {25, "ENOTTY", "inappropriate ioctl for device"}, 1663 {26, "ETXTBSY", "text file busy"}, 1664 {27, "EFBIG", "file too large"}, 1665 {28, "ENOSPC", "no space left on device"}, 1666 {29, "ESPIPE", "illegal seek"}, 1667 {30, "EROFS", "read-only file system"}, 1668 {31, "EMLINK", "too many links"}, 1669 {32, "EPIPE", "broken pipe"}, 1670 {33, "EDOM", "numerical argument out of domain"}, 1671 {34, "ERANGE", "result too large"}, 1672 {35, "EAGAIN", "resource temporarily unavailable"}, 1673 {36, "EINPROGRESS", "operation now in progress"}, 1674 {37, "EALREADY", "operation already in progress"}, 1675 {38, "ENOTSOCK", "socket operation on non-socket"}, 1676 {39, "EDESTADDRREQ", "destination address required"}, 1677 {40, "EMSGSIZE", "message too long"}, 1678 {41, "EPROTOTYPE", "protocol wrong type for socket"}, 1679 {42, "ENOPROTOOPT", "protocol not available"}, 1680 {43, "EPROTONOSUPPORT", "protocol not supported"}, 1681 {44, "ESOCKTNOSUPPORT", "socket type not supported"}, 1682 {45, "ENOTSUP", "operation not supported"}, 1683 {46, "EPFNOSUPPORT", "protocol family not supported"}, 1684 {47, "EAFNOSUPPORT", "address family not supported by protocol family"}, 1685 {48, "EADDRINUSE", "address already in use"}, 1686 {49, "EADDRNOTAVAIL", "can't assign requested address"}, 1687 {50, "ENETDOWN", "network is down"}, 1688 {51, "ENETUNREACH", "network is unreachable"}, 1689 {52, "ENETRESET", "network dropped connection on reset"}, 1690 {53, "ECONNABORTED", "software caused connection abort"}, 1691 {54, "ECONNRESET", "connection reset by peer"}, 1692 {55, "ENOBUFS", "no buffer space available"}, 1693 {56, "EISCONN", "socket is already connected"}, 1694 {57, "ENOTCONN", "socket is not connected"}, 1695 {58, "ESHUTDOWN", "can't send after socket shutdown"}, 1696 {59, "ETOOMANYREFS", "too many references: can't splice"}, 1697 {60, "ETIMEDOUT", "operation timed out"}, 1698 {61, "ECONNREFUSED", "connection refused"}, 1699 {62, "ELOOP", "too many levels of symbolic links"}, 1700 {63, "ENAMETOOLONG", "file name too long"}, 1701 {64, "EHOSTDOWN", "host is down"}, 1702 {65, "EHOSTUNREACH", "no route to host"}, 1703 {66, "ENOTEMPTY", "directory not empty"}, 1704 {67, "EPROCLIM", "too many processes"}, 1705 {68, "EUSERS", "too many users"}, 1706 {69, "EDQUOT", "disc quota exceeded"}, 1707 {70, "ESTALE", "stale NFS file handle"}, 1708 {71, "EREMOTE", "too many levels of remote in path"}, 1709 {72, "EBADRPC", "RPC struct is bad"}, 1710 {73, "ERPCMISMATCH", "RPC version wrong"}, 1711 {74, "EPROGUNAVAIL", "RPC prog. not avail"}, 1712 {75, "EPROGMISMATCH", "program version wrong"}, 1713 {76, "EPROCUNAVAIL", "bad procedure for program"}, 1714 {77, "ENOLCK", "no locks available"}, 1715 {78, "ENOSYS", "function not implemented"}, 1716 {79, "EFTYPE", "inappropriate file type or format"}, 1717 {80, "EAUTH", "authentication error"}, 1718 {81, "ENEEDAUTH", "need authenticator"}, 1719 {82, "EPWROFF", "device power is off"}, 1720 {83, "EDEVERR", "device error"}, 1721 {84, "EOVERFLOW", "value too large to be stored in data type"}, 1722 {85, "EBADEXEC", "bad executable (or shared library)"}, 1723 {86, "EBADARCH", "bad CPU type in executable"}, 1724 {87, "ESHLIBVERS", "shared library version mismatch"}, 1725 {88, "EBADMACHO", "malformed Mach-o file"}, 1726 {89, "ECANCELED", "operation canceled"}, 1727 {90, "EIDRM", "identifier removed"}, 1728 {91, "ENOMSG", "no message of desired type"}, 1729 {92, "EILSEQ", "illegal byte sequence"}, 1730 {93, "ENOATTR", "attribute not found"}, 1731 {94, "EBADMSG", "bad message"}, 1732 {95, "EMULTIHOP", "EMULTIHOP (Reserved)"}, 1733 {96, "ENODATA", "no message available on STREAM"}, 1734 {97, "ENOLINK", "ENOLINK (Reserved)"}, 1735 {98, "ENOSR", "no STREAM resources"}, 1736 {99, "ENOSTR", "not a STREAM"}, 1737 {100, "EPROTO", "protocol error"}, 1738 {101, "ETIME", "STREAM ioctl timeout"}, 1739 {102, "EOPNOTSUPP", "operation not supported on socket"}, 1740 {103, "ENOPOLICY", "policy not found"}, 1741 {104, "ENOTRECOVERABLE", "state not recoverable"}, 1742 {105, "EOWNERDEAD", "previous owner died"}, 1743 {106, "EQFULL", "interface output queue is full"}, 1744 } 1745 1746 // Signal table 1747 var signalList = [...]struct { 1748 num syscall.Signal 1749 name string 1750 desc string 1751 }{ 1752 {1, "SIGHUP", "hangup"}, 1753 {2, "SIGINT", "interrupt"}, 1754 {3, "SIGQUIT", "quit"}, 1755 {4, "SIGILL", "illegal instruction"}, 1756 {5, "SIGTRAP", "trace/BPT trap"}, 1757 {6, "SIGABRT", "abort trap"}, 1758 {7, "SIGEMT", "EMT trap"}, 1759 {8, "SIGFPE", "floating point exception"}, 1760 {9, "SIGKILL", "killed"}, 1761 {10, "SIGBUS", "bus error"}, 1762 {11, "SIGSEGV", "segmentation fault"}, 1763 {12, "SIGSYS", "bad system call"}, 1764 {13, "SIGPIPE", "broken pipe"}, 1765 {14, "SIGALRM", "alarm clock"}, 1766 {15, "SIGTERM", "terminated"}, 1767 {16, "SIGURG", "urgent I/O condition"}, 1768 {17, "SIGSTOP", "suspended (signal)"}, 1769 {18, "SIGTSTP", "suspended"}, 1770 {19, "SIGCONT", "continued"}, 1771 {20, "SIGCHLD", "child exited"}, 1772 {21, "SIGTTIN", "stopped (tty input)"}, 1773 {22, "SIGTTOU", "stopped (tty output)"}, 1774 {23, "SIGIO", "I/O possible"}, 1775 {24, "SIGXCPU", "cputime limit exceeded"}, 1776 {25, "SIGXFSZ", "filesize limit exceeded"}, 1777 {26, "SIGVTALRM", "virtual timer expired"}, 1778 {27, "SIGPROF", "profiling timer expired"}, 1779 {28, "SIGWINCH", "window size changes"}, 1780 {29, "SIGINFO", "information request"}, 1781 {30, "SIGUSR1", "user defined signal 1"}, 1782 {31, "SIGUSR2", "user defined signal 2"}, 1783 }