William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 1 | // mkerrors.sh -m64 |
| 2 | // Code generated by the command above; see README.md. DO NOT EDIT. |
| 3 | |
| 4 | // +build amd64,solaris |
| 5 | |
David Bainbridge | 788e520 | 2019-10-21 18:49:40 +0000 | [diff] [blame] | 6 | // Code generated by cmd/cgo -godefs; DO NOT EDIT. |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 7 | // cgo -godefs -- -m64 _const.go |
| 8 | |
| 9 | package unix |
| 10 | |
| 11 | import "syscall" |
| 12 | |
| 13 | const ( |
| 14 | AF_802 = 0x12 |
| 15 | AF_APPLETALK = 0x10 |
| 16 | AF_CCITT = 0xa |
| 17 | AF_CHAOS = 0x5 |
| 18 | AF_DATAKIT = 0x9 |
| 19 | AF_DECnet = 0xc |
| 20 | AF_DLI = 0xd |
| 21 | AF_ECMA = 0x8 |
| 22 | AF_FILE = 0x1 |
| 23 | AF_GOSIP = 0x16 |
| 24 | AF_HYLINK = 0xf |
| 25 | AF_IMPLINK = 0x3 |
| 26 | AF_INET = 0x2 |
| 27 | AF_INET6 = 0x1a |
| 28 | AF_INET_OFFLOAD = 0x1e |
| 29 | AF_IPX = 0x17 |
| 30 | AF_KEY = 0x1b |
| 31 | AF_LAT = 0xe |
| 32 | AF_LINK = 0x19 |
| 33 | AF_LOCAL = 0x1 |
| 34 | AF_MAX = 0x20 |
| 35 | AF_NBS = 0x7 |
| 36 | AF_NCA = 0x1c |
| 37 | AF_NIT = 0x11 |
| 38 | AF_NS = 0x6 |
| 39 | AF_OSI = 0x13 |
| 40 | AF_OSINET = 0x15 |
| 41 | AF_PACKET = 0x20 |
| 42 | AF_POLICY = 0x1d |
| 43 | AF_PUP = 0x4 |
| 44 | AF_ROUTE = 0x18 |
| 45 | AF_SNA = 0xb |
| 46 | AF_TRILL = 0x1f |
| 47 | AF_UNIX = 0x1 |
| 48 | AF_UNSPEC = 0x0 |
| 49 | AF_X25 = 0x14 |
| 50 | ARPHRD_ARCNET = 0x7 |
| 51 | ARPHRD_ATM = 0x10 |
| 52 | ARPHRD_AX25 = 0x3 |
| 53 | ARPHRD_CHAOS = 0x5 |
| 54 | ARPHRD_EETHER = 0x2 |
| 55 | ARPHRD_ETHER = 0x1 |
| 56 | ARPHRD_FC = 0x12 |
| 57 | ARPHRD_FRAME = 0xf |
| 58 | ARPHRD_HDLC = 0x11 |
| 59 | ARPHRD_IB = 0x20 |
| 60 | ARPHRD_IEEE802 = 0x6 |
| 61 | ARPHRD_IPATM = 0x13 |
| 62 | ARPHRD_METRICOM = 0x17 |
| 63 | ARPHRD_TUNNEL = 0x1f |
| 64 | B0 = 0x0 |
| 65 | B110 = 0x3 |
| 66 | B115200 = 0x12 |
| 67 | B1200 = 0x9 |
| 68 | B134 = 0x4 |
| 69 | B150 = 0x5 |
| 70 | B153600 = 0x13 |
| 71 | B1800 = 0xa |
| 72 | B19200 = 0xe |
| 73 | B200 = 0x6 |
| 74 | B230400 = 0x14 |
| 75 | B2400 = 0xb |
| 76 | B300 = 0x7 |
| 77 | B307200 = 0x15 |
| 78 | B38400 = 0xf |
| 79 | B460800 = 0x16 |
| 80 | B4800 = 0xc |
| 81 | B50 = 0x1 |
| 82 | B57600 = 0x10 |
| 83 | B600 = 0x8 |
| 84 | B75 = 0x2 |
| 85 | B76800 = 0x11 |
| 86 | B921600 = 0x17 |
| 87 | B9600 = 0xd |
| 88 | BIOCFLUSH = 0x20004268 |
| 89 | BIOCGBLEN = 0x40044266 |
| 90 | BIOCGDLT = 0x4004426a |
| 91 | BIOCGDLTLIST = -0x3fefbd89 |
| 92 | BIOCGDLTLIST32 = -0x3ff7bd89 |
| 93 | BIOCGETIF = 0x4020426b |
| 94 | BIOCGETLIF = 0x4078426b |
| 95 | BIOCGHDRCMPLT = 0x40044274 |
| 96 | BIOCGRTIMEOUT = 0x4010427b |
| 97 | BIOCGRTIMEOUT32 = 0x4008427b |
| 98 | BIOCGSEESENT = 0x40044278 |
| 99 | BIOCGSTATS = 0x4080426f |
| 100 | BIOCGSTATSOLD = 0x4008426f |
| 101 | BIOCIMMEDIATE = -0x7ffbbd90 |
| 102 | BIOCPROMISC = 0x20004269 |
| 103 | BIOCSBLEN = -0x3ffbbd9a |
| 104 | BIOCSDLT = -0x7ffbbd8a |
| 105 | BIOCSETF = -0x7fefbd99 |
| 106 | BIOCSETF32 = -0x7ff7bd99 |
| 107 | BIOCSETIF = -0x7fdfbd94 |
| 108 | BIOCSETLIF = -0x7f87bd94 |
| 109 | BIOCSHDRCMPLT = -0x7ffbbd8b |
| 110 | BIOCSRTIMEOUT = -0x7fefbd86 |
| 111 | BIOCSRTIMEOUT32 = -0x7ff7bd86 |
| 112 | BIOCSSEESENT = -0x7ffbbd87 |
| 113 | BIOCSTCPF = -0x7fefbd8e |
| 114 | BIOCSUDPF = -0x7fefbd8d |
| 115 | BIOCVERSION = 0x40044271 |
| 116 | BPF_A = 0x10 |
| 117 | BPF_ABS = 0x20 |
| 118 | BPF_ADD = 0x0 |
| 119 | BPF_ALIGNMENT = 0x4 |
| 120 | BPF_ALU = 0x4 |
| 121 | BPF_AND = 0x50 |
| 122 | BPF_B = 0x10 |
| 123 | BPF_DFLTBUFSIZE = 0x100000 |
| 124 | BPF_DIV = 0x30 |
| 125 | BPF_H = 0x8 |
| 126 | BPF_IMM = 0x0 |
| 127 | BPF_IND = 0x40 |
| 128 | BPF_JA = 0x0 |
| 129 | BPF_JEQ = 0x10 |
| 130 | BPF_JGE = 0x30 |
| 131 | BPF_JGT = 0x20 |
| 132 | BPF_JMP = 0x5 |
| 133 | BPF_JSET = 0x40 |
| 134 | BPF_K = 0x0 |
| 135 | BPF_LD = 0x0 |
| 136 | BPF_LDX = 0x1 |
| 137 | BPF_LEN = 0x80 |
| 138 | BPF_LSH = 0x60 |
| 139 | BPF_MAJOR_VERSION = 0x1 |
| 140 | BPF_MAXBUFSIZE = 0x1000000 |
| 141 | BPF_MAXINSNS = 0x200 |
| 142 | BPF_MEM = 0x60 |
| 143 | BPF_MEMWORDS = 0x10 |
| 144 | BPF_MINBUFSIZE = 0x20 |
| 145 | BPF_MINOR_VERSION = 0x1 |
| 146 | BPF_MISC = 0x7 |
| 147 | BPF_MSH = 0xa0 |
| 148 | BPF_MUL = 0x20 |
| 149 | BPF_NEG = 0x80 |
| 150 | BPF_OR = 0x40 |
| 151 | BPF_RELEASE = 0x30bb6 |
| 152 | BPF_RET = 0x6 |
| 153 | BPF_RSH = 0x70 |
| 154 | BPF_ST = 0x2 |
| 155 | BPF_STX = 0x3 |
| 156 | BPF_SUB = 0x10 |
| 157 | BPF_TAX = 0x0 |
| 158 | BPF_TXA = 0x80 |
| 159 | BPF_W = 0x0 |
| 160 | BPF_X = 0x8 |
| 161 | BRKINT = 0x2 |
| 162 | BS0 = 0x0 |
| 163 | BS1 = 0x2000 |
| 164 | BSDLY = 0x2000 |
| 165 | CBAUD = 0xf |
| 166 | CFLUSH = 0xf |
| 167 | CIBAUD = 0xf0000 |
| 168 | CLOCAL = 0x800 |
| 169 | CLOCK_HIGHRES = 0x4 |
| 170 | CLOCK_LEVEL = 0xa |
| 171 | CLOCK_MONOTONIC = 0x4 |
| 172 | CLOCK_PROCESS_CPUTIME_ID = 0x5 |
| 173 | CLOCK_PROF = 0x2 |
| 174 | CLOCK_REALTIME = 0x3 |
| 175 | CLOCK_THREAD_CPUTIME_ID = 0x2 |
| 176 | CLOCK_VIRTUAL = 0x1 |
| 177 | CR0 = 0x0 |
| 178 | CR1 = 0x200 |
| 179 | CR2 = 0x400 |
| 180 | CR3 = 0x600 |
| 181 | CRDLY = 0x600 |
| 182 | CREAD = 0x80 |
| 183 | CRTSCTS = 0x80000000 |
| 184 | CS5 = 0x0 |
| 185 | CS6 = 0x10 |
| 186 | CS7 = 0x20 |
| 187 | CS8 = 0x30 |
| 188 | CSIZE = 0x30 |
| 189 | CSTART = 0x11 |
| 190 | CSTATUS = 0x14 |
| 191 | CSTOP = 0x13 |
| 192 | CSTOPB = 0x40 |
| 193 | CSUSP = 0x1a |
| 194 | CSWTCH = 0x1a |
| 195 | DLT_AIRONET_HEADER = 0x78 |
| 196 | DLT_APPLE_IP_OVER_IEEE1394 = 0x8a |
| 197 | DLT_ARCNET = 0x7 |
| 198 | DLT_ARCNET_LINUX = 0x81 |
| 199 | DLT_ATM_CLIP = 0x13 |
| 200 | DLT_ATM_RFC1483 = 0xb |
| 201 | DLT_AURORA = 0x7e |
| 202 | DLT_AX25 = 0x3 |
| 203 | DLT_BACNET_MS_TP = 0xa5 |
| 204 | DLT_CHAOS = 0x5 |
| 205 | DLT_CISCO_IOS = 0x76 |
| 206 | DLT_C_HDLC = 0x68 |
| 207 | DLT_DOCSIS = 0x8f |
| 208 | DLT_ECONET = 0x73 |
| 209 | DLT_EN10MB = 0x1 |
| 210 | DLT_EN3MB = 0x2 |
| 211 | DLT_ENC = 0x6d |
| 212 | DLT_ERF_ETH = 0xaf |
| 213 | DLT_ERF_POS = 0xb0 |
| 214 | DLT_FDDI = 0xa |
| 215 | DLT_FRELAY = 0x6b |
| 216 | DLT_GCOM_SERIAL = 0xad |
| 217 | DLT_GCOM_T1E1 = 0xac |
| 218 | DLT_GPF_F = 0xab |
| 219 | DLT_GPF_T = 0xaa |
| 220 | DLT_GPRS_LLC = 0xa9 |
| 221 | DLT_HDLC = 0x10 |
| 222 | DLT_HHDLC = 0x79 |
| 223 | DLT_HIPPI = 0xf |
| 224 | DLT_IBM_SN = 0x92 |
| 225 | DLT_IBM_SP = 0x91 |
| 226 | DLT_IEEE802 = 0x6 |
| 227 | DLT_IEEE802_11 = 0x69 |
| 228 | DLT_IEEE802_11_RADIO = 0x7f |
| 229 | DLT_IEEE802_11_RADIO_AVS = 0xa3 |
| 230 | DLT_IPNET = 0xe2 |
| 231 | DLT_IPOIB = 0xa2 |
| 232 | DLT_IP_OVER_FC = 0x7a |
| 233 | DLT_JUNIPER_ATM1 = 0x89 |
| 234 | DLT_JUNIPER_ATM2 = 0x87 |
| 235 | DLT_JUNIPER_CHDLC = 0xb5 |
| 236 | DLT_JUNIPER_ES = 0x84 |
| 237 | DLT_JUNIPER_ETHER = 0xb2 |
| 238 | DLT_JUNIPER_FRELAY = 0xb4 |
| 239 | DLT_JUNIPER_GGSN = 0x85 |
| 240 | DLT_JUNIPER_MFR = 0x86 |
| 241 | DLT_JUNIPER_MLFR = 0x83 |
| 242 | DLT_JUNIPER_MLPPP = 0x82 |
| 243 | DLT_JUNIPER_MONITOR = 0xa4 |
| 244 | DLT_JUNIPER_PIC_PEER = 0xae |
| 245 | DLT_JUNIPER_PPP = 0xb3 |
| 246 | DLT_JUNIPER_PPPOE = 0xa7 |
| 247 | DLT_JUNIPER_PPPOE_ATM = 0xa8 |
| 248 | DLT_JUNIPER_SERVICES = 0x88 |
| 249 | DLT_LINUX_IRDA = 0x90 |
| 250 | DLT_LINUX_LAPD = 0xb1 |
| 251 | DLT_LINUX_SLL = 0x71 |
| 252 | DLT_LOOP = 0x6c |
| 253 | DLT_LTALK = 0x72 |
| 254 | DLT_MTP2 = 0x8c |
| 255 | DLT_MTP2_WITH_PHDR = 0x8b |
| 256 | DLT_MTP3 = 0x8d |
| 257 | DLT_NULL = 0x0 |
| 258 | DLT_PCI_EXP = 0x7d |
| 259 | DLT_PFLOG = 0x75 |
| 260 | DLT_PFSYNC = 0x12 |
| 261 | DLT_PPP = 0x9 |
| 262 | DLT_PPP_BSDOS = 0xe |
| 263 | DLT_PPP_PPPD = 0xa6 |
| 264 | DLT_PRISM_HEADER = 0x77 |
| 265 | DLT_PRONET = 0x4 |
| 266 | DLT_RAW = 0xc |
| 267 | DLT_RAWAF_MASK = 0x2240000 |
| 268 | DLT_RIO = 0x7c |
| 269 | DLT_SCCP = 0x8e |
| 270 | DLT_SLIP = 0x8 |
| 271 | DLT_SLIP_BSDOS = 0xd |
| 272 | DLT_SUNATM = 0x7b |
| 273 | DLT_SYMANTEC_FIREWALL = 0x63 |
| 274 | DLT_TZSP = 0x80 |
| 275 | ECHO = 0x8 |
| 276 | ECHOCTL = 0x200 |
| 277 | ECHOE = 0x10 |
| 278 | ECHOK = 0x20 |
| 279 | ECHOKE = 0x800 |
| 280 | ECHONL = 0x40 |
| 281 | ECHOPRT = 0x400 |
| 282 | EMPTY_SET = 0x0 |
| 283 | EMT_CPCOVF = 0x1 |
| 284 | EQUALITY_CHECK = 0x0 |
| 285 | EXTA = 0xe |
| 286 | EXTB = 0xf |
| 287 | FD_CLOEXEC = 0x1 |
| 288 | FD_NFDBITS = 0x40 |
| 289 | FD_SETSIZE = 0x10000 |
| 290 | FF0 = 0x0 |
| 291 | FF1 = 0x8000 |
| 292 | FFDLY = 0x8000 |
| 293 | FLUSHALL = 0x1 |
| 294 | FLUSHDATA = 0x0 |
| 295 | FLUSHO = 0x2000 |
| 296 | F_ALLOCSP = 0xa |
| 297 | F_ALLOCSP64 = 0xa |
| 298 | F_BADFD = 0x2e |
| 299 | F_BLKSIZE = 0x13 |
| 300 | F_BLOCKS = 0x12 |
| 301 | F_CHKFL = 0x8 |
| 302 | F_COMPAT = 0x8 |
| 303 | F_DUP2FD = 0x9 |
| 304 | F_DUP2FD_CLOEXEC = 0x24 |
| 305 | F_DUPFD = 0x0 |
| 306 | F_DUPFD_CLOEXEC = 0x25 |
| 307 | F_FLOCK = 0x35 |
| 308 | F_FLOCK64 = 0x35 |
| 309 | F_FLOCKW = 0x36 |
| 310 | F_FLOCKW64 = 0x36 |
| 311 | F_FREESP = 0xb |
| 312 | F_FREESP64 = 0xb |
| 313 | F_GETFD = 0x1 |
| 314 | F_GETFL = 0x3 |
| 315 | F_GETLK = 0xe |
| 316 | F_GETLK64 = 0xe |
| 317 | F_GETOWN = 0x17 |
| 318 | F_GETXFL = 0x2d |
| 319 | F_HASREMOTELOCKS = 0x1a |
| 320 | F_ISSTREAM = 0xd |
| 321 | F_MANDDNY = 0x10 |
| 322 | F_MDACC = 0x20 |
| 323 | F_NODNY = 0x0 |
| 324 | F_NPRIV = 0x10 |
| 325 | F_OFD_GETLK = 0x2f |
| 326 | F_OFD_GETLK64 = 0x2f |
| 327 | F_OFD_SETLK = 0x30 |
| 328 | F_OFD_SETLK64 = 0x30 |
| 329 | F_OFD_SETLKW = 0x31 |
| 330 | F_OFD_SETLKW64 = 0x31 |
| 331 | F_PRIV = 0xf |
| 332 | F_QUOTACTL = 0x11 |
| 333 | F_RDACC = 0x1 |
| 334 | F_RDDNY = 0x1 |
| 335 | F_RDLCK = 0x1 |
| 336 | F_REVOKE = 0x19 |
| 337 | F_RMACC = 0x4 |
| 338 | F_RMDNY = 0x4 |
| 339 | F_RWACC = 0x3 |
| 340 | F_RWDNY = 0x3 |
| 341 | F_SETFD = 0x2 |
| 342 | F_SETFL = 0x4 |
| 343 | F_SETLK = 0x6 |
| 344 | F_SETLK64 = 0x6 |
| 345 | F_SETLK64_NBMAND = 0x2a |
| 346 | F_SETLKW = 0x7 |
| 347 | F_SETLKW64 = 0x7 |
| 348 | F_SETLK_NBMAND = 0x2a |
| 349 | F_SETOWN = 0x18 |
| 350 | F_SHARE = 0x28 |
| 351 | F_SHARE_NBMAND = 0x2b |
| 352 | F_UNLCK = 0x3 |
| 353 | F_UNLKSYS = 0x4 |
| 354 | F_UNSHARE = 0x29 |
| 355 | F_WRACC = 0x2 |
| 356 | F_WRDNY = 0x2 |
| 357 | F_WRLCK = 0x2 |
| 358 | HUPCL = 0x400 |
| 359 | IBSHIFT = 0x10 |
| 360 | ICANON = 0x2 |
| 361 | ICRNL = 0x100 |
| 362 | IEXTEN = 0x8000 |
| 363 | IFF_ADDRCONF = 0x80000 |
| 364 | IFF_ALLMULTI = 0x200 |
| 365 | IFF_ANYCAST = 0x400000 |
| 366 | IFF_BROADCAST = 0x2 |
| 367 | IFF_CANTCHANGE = 0x7f203003b5a |
| 368 | IFF_COS_ENABLED = 0x200000000 |
| 369 | IFF_DEBUG = 0x4 |
| 370 | IFF_DEPRECATED = 0x40000 |
| 371 | IFF_DHCPRUNNING = 0x4000 |
| 372 | IFF_DUPLICATE = 0x4000000000 |
| 373 | IFF_FAILED = 0x10000000 |
| 374 | IFF_FIXEDMTU = 0x1000000000 |
| 375 | IFF_INACTIVE = 0x40000000 |
| 376 | IFF_INTELLIGENT = 0x400 |
| 377 | IFF_IPMP = 0x8000000000 |
| 378 | IFF_IPMP_CANTCHANGE = 0x10000000 |
| 379 | IFF_IPMP_INVALID = 0x1ec200080 |
| 380 | IFF_IPV4 = 0x1000000 |
| 381 | IFF_IPV6 = 0x2000000 |
| 382 | IFF_L3PROTECT = 0x40000000000 |
| 383 | IFF_LOOPBACK = 0x8 |
| 384 | IFF_MULTICAST = 0x800 |
| 385 | IFF_MULTI_BCAST = 0x1000 |
| 386 | IFF_NOACCEPT = 0x4000000 |
| 387 | IFF_NOARP = 0x80 |
| 388 | IFF_NOFAILOVER = 0x8000000 |
| 389 | IFF_NOLINKLOCAL = 0x20000000000 |
| 390 | IFF_NOLOCAL = 0x20000 |
| 391 | IFF_NONUD = 0x200000 |
| 392 | IFF_NORTEXCH = 0x800000 |
| 393 | IFF_NOTRAILERS = 0x20 |
| 394 | IFF_NOXMIT = 0x10000 |
| 395 | IFF_OFFLINE = 0x80000000 |
| 396 | IFF_POINTOPOINT = 0x10 |
| 397 | IFF_PREFERRED = 0x400000000 |
| 398 | IFF_PRIVATE = 0x8000 |
| 399 | IFF_PROMISC = 0x100 |
| 400 | IFF_ROUTER = 0x100000 |
| 401 | IFF_RUNNING = 0x40 |
| 402 | IFF_STANDBY = 0x20000000 |
| 403 | IFF_TEMPORARY = 0x800000000 |
| 404 | IFF_UNNUMBERED = 0x2000 |
| 405 | IFF_UP = 0x1 |
| 406 | IFF_VIRTUAL = 0x2000000000 |
| 407 | IFF_VRRP = 0x10000000000 |
| 408 | IFF_XRESOLV = 0x100000000 |
| 409 | IFNAMSIZ = 0x10 |
| 410 | IFT_1822 = 0x2 |
| 411 | IFT_6TO4 = 0xca |
| 412 | IFT_AAL5 = 0x31 |
| 413 | IFT_ARCNET = 0x23 |
| 414 | IFT_ARCNETPLUS = 0x24 |
| 415 | IFT_ATM = 0x25 |
| 416 | IFT_CEPT = 0x13 |
| 417 | IFT_DS3 = 0x1e |
| 418 | IFT_EON = 0x19 |
| 419 | IFT_ETHER = 0x6 |
| 420 | IFT_FDDI = 0xf |
| 421 | IFT_FRELAY = 0x20 |
| 422 | IFT_FRELAYDCE = 0x2c |
| 423 | IFT_HDH1822 = 0x3 |
| 424 | IFT_HIPPI = 0x2f |
| 425 | IFT_HSSI = 0x2e |
| 426 | IFT_HY = 0xe |
| 427 | IFT_IB = 0xc7 |
| 428 | IFT_IPV4 = 0xc8 |
| 429 | IFT_IPV6 = 0xc9 |
| 430 | IFT_ISDNBASIC = 0x14 |
| 431 | IFT_ISDNPRIMARY = 0x15 |
| 432 | IFT_ISO88022LLC = 0x29 |
| 433 | IFT_ISO88023 = 0x7 |
| 434 | IFT_ISO88024 = 0x8 |
| 435 | IFT_ISO88025 = 0x9 |
| 436 | IFT_ISO88026 = 0xa |
| 437 | IFT_LAPB = 0x10 |
| 438 | IFT_LOCALTALK = 0x2a |
| 439 | IFT_LOOP = 0x18 |
| 440 | IFT_MIOX25 = 0x26 |
| 441 | IFT_MODEM = 0x30 |
| 442 | IFT_NSIP = 0x1b |
| 443 | IFT_OTHER = 0x1 |
| 444 | IFT_P10 = 0xc |
| 445 | IFT_P80 = 0xd |
| 446 | IFT_PARA = 0x22 |
| 447 | IFT_PPP = 0x17 |
| 448 | IFT_PROPMUX = 0x36 |
| 449 | IFT_PROPVIRTUAL = 0x35 |
| 450 | IFT_PTPSERIAL = 0x16 |
| 451 | IFT_RS232 = 0x21 |
| 452 | IFT_SDLC = 0x11 |
| 453 | IFT_SIP = 0x1f |
| 454 | IFT_SLIP = 0x1c |
| 455 | IFT_SMDSDXI = 0x2b |
| 456 | IFT_SMDSICIP = 0x34 |
| 457 | IFT_SONET = 0x27 |
| 458 | IFT_SONETPATH = 0x32 |
| 459 | IFT_SONETVT = 0x33 |
| 460 | IFT_STARLAN = 0xb |
| 461 | IFT_T1 = 0x12 |
| 462 | IFT_ULTRA = 0x1d |
| 463 | IFT_V35 = 0x2d |
| 464 | IFT_X25 = 0x5 |
| 465 | IFT_X25DDN = 0x4 |
| 466 | IFT_X25PLE = 0x28 |
| 467 | IFT_XETHER = 0x1a |
| 468 | IGNBRK = 0x1 |
| 469 | IGNCR = 0x80 |
| 470 | IGNPAR = 0x4 |
| 471 | IMAXBEL = 0x2000 |
| 472 | INLCR = 0x40 |
| 473 | INPCK = 0x10 |
| 474 | IN_AUTOCONF_MASK = 0xffff0000 |
| 475 | IN_AUTOCONF_NET = 0xa9fe0000 |
| 476 | IN_CLASSA_HOST = 0xffffff |
| 477 | IN_CLASSA_MAX = 0x80 |
| 478 | IN_CLASSA_NET = 0xff000000 |
| 479 | IN_CLASSA_NSHIFT = 0x18 |
| 480 | IN_CLASSB_HOST = 0xffff |
| 481 | IN_CLASSB_MAX = 0x10000 |
| 482 | IN_CLASSB_NET = 0xffff0000 |
| 483 | IN_CLASSB_NSHIFT = 0x10 |
| 484 | IN_CLASSC_HOST = 0xff |
| 485 | IN_CLASSC_NET = 0xffffff00 |
| 486 | IN_CLASSC_NSHIFT = 0x8 |
| 487 | IN_CLASSD_HOST = 0xfffffff |
| 488 | IN_CLASSD_NET = 0xf0000000 |
| 489 | IN_CLASSD_NSHIFT = 0x1c |
| 490 | IN_CLASSE_NET = 0xffffffff |
| 491 | IN_LOOPBACKNET = 0x7f |
| 492 | IN_PRIVATE12_MASK = 0xfff00000 |
| 493 | IN_PRIVATE12_NET = 0xac100000 |
| 494 | IN_PRIVATE16_MASK = 0xffff0000 |
| 495 | IN_PRIVATE16_NET = 0xc0a80000 |
| 496 | IN_PRIVATE8_MASK = 0xff000000 |
| 497 | IN_PRIVATE8_NET = 0xa000000 |
| 498 | IPPROTO_AH = 0x33 |
| 499 | IPPROTO_DSTOPTS = 0x3c |
| 500 | IPPROTO_EGP = 0x8 |
| 501 | IPPROTO_ENCAP = 0x4 |
| 502 | IPPROTO_EON = 0x50 |
| 503 | IPPROTO_ESP = 0x32 |
| 504 | IPPROTO_FRAGMENT = 0x2c |
| 505 | IPPROTO_GGP = 0x3 |
| 506 | IPPROTO_HELLO = 0x3f |
| 507 | IPPROTO_HOPOPTS = 0x0 |
| 508 | IPPROTO_ICMP = 0x1 |
| 509 | IPPROTO_ICMPV6 = 0x3a |
| 510 | IPPROTO_IDP = 0x16 |
| 511 | IPPROTO_IGMP = 0x2 |
| 512 | IPPROTO_IP = 0x0 |
| 513 | IPPROTO_IPV6 = 0x29 |
| 514 | IPPROTO_MAX = 0x100 |
| 515 | IPPROTO_ND = 0x4d |
| 516 | IPPROTO_NONE = 0x3b |
| 517 | IPPROTO_OSPF = 0x59 |
| 518 | IPPROTO_PIM = 0x67 |
| 519 | IPPROTO_PUP = 0xc |
| 520 | IPPROTO_RAW = 0xff |
| 521 | IPPROTO_ROUTING = 0x2b |
| 522 | IPPROTO_RSVP = 0x2e |
| 523 | IPPROTO_SCTP = 0x84 |
| 524 | IPPROTO_TCP = 0x6 |
| 525 | IPPROTO_UDP = 0x11 |
| 526 | IPV6_ADD_MEMBERSHIP = 0x9 |
| 527 | IPV6_BOUND_IF = 0x41 |
| 528 | IPV6_CHECKSUM = 0x18 |
| 529 | IPV6_DONTFRAG = 0x21 |
| 530 | IPV6_DROP_MEMBERSHIP = 0xa |
| 531 | IPV6_DSTOPTS = 0xf |
| 532 | IPV6_FLOWINFO_FLOWLABEL = 0xffff0f00 |
| 533 | IPV6_FLOWINFO_TCLASS = 0xf00f |
| 534 | IPV6_HOPLIMIT = 0xc |
| 535 | IPV6_HOPOPTS = 0xe |
| 536 | IPV6_JOIN_GROUP = 0x9 |
| 537 | IPV6_LEAVE_GROUP = 0xa |
| 538 | IPV6_MULTICAST_HOPS = 0x7 |
| 539 | IPV6_MULTICAST_IF = 0x6 |
| 540 | IPV6_MULTICAST_LOOP = 0x8 |
| 541 | IPV6_NEXTHOP = 0xd |
| 542 | IPV6_PAD1_OPT = 0x0 |
| 543 | IPV6_PATHMTU = 0x25 |
| 544 | IPV6_PKTINFO = 0xb |
| 545 | IPV6_PREFER_SRC_CGA = 0x20 |
| 546 | IPV6_PREFER_SRC_CGADEFAULT = 0x10 |
| 547 | IPV6_PREFER_SRC_CGAMASK = 0x30 |
| 548 | IPV6_PREFER_SRC_COA = 0x2 |
| 549 | IPV6_PREFER_SRC_DEFAULT = 0x15 |
| 550 | IPV6_PREFER_SRC_HOME = 0x1 |
| 551 | IPV6_PREFER_SRC_MASK = 0x3f |
| 552 | IPV6_PREFER_SRC_MIPDEFAULT = 0x1 |
| 553 | IPV6_PREFER_SRC_MIPMASK = 0x3 |
| 554 | IPV6_PREFER_SRC_NONCGA = 0x10 |
| 555 | IPV6_PREFER_SRC_PUBLIC = 0x4 |
| 556 | IPV6_PREFER_SRC_TMP = 0x8 |
| 557 | IPV6_PREFER_SRC_TMPDEFAULT = 0x4 |
| 558 | IPV6_PREFER_SRC_TMPMASK = 0xc |
| 559 | IPV6_RECVDSTOPTS = 0x28 |
| 560 | IPV6_RECVHOPLIMIT = 0x13 |
| 561 | IPV6_RECVHOPOPTS = 0x14 |
| 562 | IPV6_RECVPATHMTU = 0x24 |
| 563 | IPV6_RECVPKTINFO = 0x12 |
| 564 | IPV6_RECVRTHDR = 0x16 |
| 565 | IPV6_RECVRTHDRDSTOPTS = 0x17 |
| 566 | IPV6_RECVTCLASS = 0x19 |
| 567 | IPV6_RTHDR = 0x10 |
| 568 | IPV6_RTHDRDSTOPTS = 0x11 |
| 569 | IPV6_RTHDR_TYPE_0 = 0x0 |
| 570 | IPV6_SEC_OPT = 0x22 |
| 571 | IPV6_SRC_PREFERENCES = 0x23 |
| 572 | IPV6_TCLASS = 0x26 |
| 573 | IPV6_UNICAST_HOPS = 0x5 |
| 574 | IPV6_UNSPEC_SRC = 0x42 |
| 575 | IPV6_USE_MIN_MTU = 0x20 |
| 576 | IPV6_V6ONLY = 0x27 |
| 577 | IP_ADD_MEMBERSHIP = 0x13 |
| 578 | IP_ADD_SOURCE_MEMBERSHIP = 0x17 |
| 579 | IP_BLOCK_SOURCE = 0x15 |
| 580 | IP_BOUND_IF = 0x41 |
| 581 | IP_BROADCAST = 0x106 |
| 582 | IP_BROADCAST_TTL = 0x43 |
| 583 | IP_DEFAULT_MULTICAST_LOOP = 0x1 |
| 584 | IP_DEFAULT_MULTICAST_TTL = 0x1 |
| 585 | IP_DF = 0x4000 |
| 586 | IP_DHCPINIT_IF = 0x45 |
| 587 | IP_DONTFRAG = 0x1b |
| 588 | IP_DONTROUTE = 0x105 |
| 589 | IP_DROP_MEMBERSHIP = 0x14 |
| 590 | IP_DROP_SOURCE_MEMBERSHIP = 0x18 |
| 591 | IP_HDRINCL = 0x2 |
| 592 | IP_MAXPACKET = 0xffff |
| 593 | IP_MF = 0x2000 |
| 594 | IP_MSS = 0x240 |
| 595 | IP_MULTICAST_IF = 0x10 |
| 596 | IP_MULTICAST_LOOP = 0x12 |
| 597 | IP_MULTICAST_TTL = 0x11 |
| 598 | IP_NEXTHOP = 0x19 |
| 599 | IP_OPTIONS = 0x1 |
| 600 | IP_PKTINFO = 0x1a |
| 601 | IP_RECVDSTADDR = 0x7 |
| 602 | IP_RECVIF = 0x9 |
| 603 | IP_RECVOPTS = 0x5 |
| 604 | IP_RECVPKTINFO = 0x1a |
| 605 | IP_RECVRETOPTS = 0x6 |
| 606 | IP_RECVSLLA = 0xa |
| 607 | IP_RECVTTL = 0xb |
| 608 | IP_RETOPTS = 0x8 |
| 609 | IP_REUSEADDR = 0x104 |
| 610 | IP_SEC_OPT = 0x22 |
| 611 | IP_TOS = 0x3 |
| 612 | IP_TTL = 0x4 |
| 613 | IP_UNBLOCK_SOURCE = 0x16 |
| 614 | IP_UNSPEC_SRC = 0x42 |
| 615 | ISIG = 0x1 |
| 616 | ISTRIP = 0x20 |
| 617 | IUCLC = 0x200 |
| 618 | IXANY = 0x800 |
| 619 | IXOFF = 0x1000 |
| 620 | IXON = 0x400 |
| 621 | LOCK_EX = 0x2 |
| 622 | LOCK_NB = 0x4 |
| 623 | LOCK_SH = 0x1 |
| 624 | LOCK_UN = 0x8 |
| 625 | MADV_ACCESS_DEFAULT = 0x6 |
| 626 | MADV_ACCESS_LWP = 0x7 |
| 627 | MADV_ACCESS_MANY = 0x8 |
| 628 | MADV_DONTNEED = 0x4 |
| 629 | MADV_FREE = 0x5 |
| 630 | MADV_NORMAL = 0x0 |
| 631 | MADV_PURGE = 0x9 |
| 632 | MADV_RANDOM = 0x1 |
| 633 | MADV_SEQUENTIAL = 0x2 |
| 634 | MADV_WILLNEED = 0x3 |
| 635 | MAP_32BIT = 0x80 |
| 636 | MAP_ALIGN = 0x200 |
| 637 | MAP_ANON = 0x100 |
| 638 | MAP_ANONYMOUS = 0x100 |
| 639 | MAP_FILE = 0x0 |
| 640 | MAP_FIXED = 0x10 |
| 641 | MAP_INITDATA = 0x800 |
| 642 | MAP_NORESERVE = 0x40 |
| 643 | MAP_PRIVATE = 0x2 |
| 644 | MAP_RENAME = 0x20 |
| 645 | MAP_SHARED = 0x1 |
| 646 | MAP_TEXT = 0x400 |
| 647 | MAP_TYPE = 0xf |
| 648 | MCL_CURRENT = 0x1 |
| 649 | MCL_FUTURE = 0x2 |
| 650 | MSG_CTRUNC = 0x10 |
| 651 | MSG_DONTROUTE = 0x4 |
| 652 | MSG_DONTWAIT = 0x80 |
| 653 | MSG_DUPCTRL = 0x800 |
| 654 | MSG_EOR = 0x8 |
| 655 | MSG_MAXIOVLEN = 0x10 |
| 656 | MSG_NOTIFICATION = 0x100 |
| 657 | MSG_OOB = 0x1 |
| 658 | MSG_PEEK = 0x2 |
| 659 | MSG_TRUNC = 0x20 |
| 660 | MSG_WAITALL = 0x40 |
| 661 | MSG_XPG4_2 = 0x8000 |
| 662 | MS_ASYNC = 0x1 |
| 663 | MS_INVALIDATE = 0x2 |
| 664 | MS_OLDSYNC = 0x0 |
| 665 | MS_SYNC = 0x4 |
| 666 | M_FLUSH = 0x86 |
| 667 | NAME_MAX = 0xff |
| 668 | NEWDEV = 0x1 |
David Bainbridge | 788e520 | 2019-10-21 18:49:40 +0000 | [diff] [blame] | 669 | NFDBITS = 0x40 |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 670 | NL0 = 0x0 |
| 671 | NL1 = 0x100 |
| 672 | NLDLY = 0x100 |
| 673 | NOFLSH = 0x80 |
| 674 | OCRNL = 0x8 |
| 675 | OFDEL = 0x80 |
| 676 | OFILL = 0x40 |
| 677 | OLCUC = 0x2 |
| 678 | OLDDEV = 0x0 |
| 679 | ONBITSMAJOR = 0x7 |
| 680 | ONBITSMINOR = 0x8 |
| 681 | ONLCR = 0x4 |
| 682 | ONLRET = 0x20 |
| 683 | ONOCR = 0x10 |
| 684 | OPENFAIL = -0x1 |
| 685 | OPOST = 0x1 |
| 686 | O_ACCMODE = 0x600003 |
| 687 | O_APPEND = 0x8 |
| 688 | O_CLOEXEC = 0x800000 |
| 689 | O_CREAT = 0x100 |
| 690 | O_DSYNC = 0x40 |
| 691 | O_EXCL = 0x400 |
| 692 | O_EXEC = 0x400000 |
| 693 | O_LARGEFILE = 0x2000 |
| 694 | O_NDELAY = 0x4 |
| 695 | O_NOCTTY = 0x800 |
| 696 | O_NOFOLLOW = 0x20000 |
| 697 | O_NOLINKS = 0x40000 |
| 698 | O_NONBLOCK = 0x80 |
| 699 | O_RDONLY = 0x0 |
| 700 | O_RDWR = 0x2 |
| 701 | O_RSYNC = 0x8000 |
| 702 | O_SEARCH = 0x200000 |
| 703 | O_SIOCGIFCONF = -0x3ff796ec |
| 704 | O_SIOCGLIFCONF = -0x3fef9688 |
| 705 | O_SYNC = 0x10 |
| 706 | O_TRUNC = 0x200 |
| 707 | O_WRONLY = 0x1 |
| 708 | O_XATTR = 0x4000 |
| 709 | PARENB = 0x100 |
| 710 | PAREXT = 0x100000 |
| 711 | PARMRK = 0x8 |
| 712 | PARODD = 0x200 |
| 713 | PENDIN = 0x4000 |
| 714 | PRIO_PGRP = 0x1 |
| 715 | PRIO_PROCESS = 0x0 |
| 716 | PRIO_USER = 0x2 |
| 717 | PROT_EXEC = 0x4 |
| 718 | PROT_NONE = 0x0 |
| 719 | PROT_READ = 0x1 |
| 720 | PROT_WRITE = 0x2 |
| 721 | RLIMIT_AS = 0x6 |
| 722 | RLIMIT_CORE = 0x4 |
| 723 | RLIMIT_CPU = 0x0 |
| 724 | RLIMIT_DATA = 0x2 |
| 725 | RLIMIT_FSIZE = 0x1 |
| 726 | RLIMIT_NOFILE = 0x5 |
| 727 | RLIMIT_STACK = 0x3 |
| 728 | RLIM_INFINITY = -0x3 |
| 729 | RTAX_AUTHOR = 0x6 |
| 730 | RTAX_BRD = 0x7 |
| 731 | RTAX_DST = 0x0 |
| 732 | RTAX_GATEWAY = 0x1 |
| 733 | RTAX_GENMASK = 0x3 |
| 734 | RTAX_IFA = 0x5 |
| 735 | RTAX_IFP = 0x4 |
| 736 | RTAX_MAX = 0x9 |
| 737 | RTAX_NETMASK = 0x2 |
| 738 | RTAX_SRC = 0x8 |
| 739 | RTA_AUTHOR = 0x40 |
| 740 | RTA_BRD = 0x80 |
| 741 | RTA_DST = 0x1 |
| 742 | RTA_GATEWAY = 0x2 |
| 743 | RTA_GENMASK = 0x8 |
| 744 | RTA_IFA = 0x20 |
| 745 | RTA_IFP = 0x10 |
| 746 | RTA_NETMASK = 0x4 |
| 747 | RTA_NUMBITS = 0x9 |
| 748 | RTA_SRC = 0x100 |
| 749 | RTF_BLACKHOLE = 0x1000 |
| 750 | RTF_CLONING = 0x100 |
| 751 | RTF_DONE = 0x40 |
| 752 | RTF_DYNAMIC = 0x10 |
| 753 | RTF_GATEWAY = 0x2 |
| 754 | RTF_HOST = 0x4 |
| 755 | RTF_INDIRECT = 0x40000 |
| 756 | RTF_KERNEL = 0x80000 |
| 757 | RTF_LLINFO = 0x400 |
| 758 | RTF_MASK = 0x80 |
| 759 | RTF_MODIFIED = 0x20 |
| 760 | RTF_MULTIRT = 0x10000 |
| 761 | RTF_PRIVATE = 0x2000 |
| 762 | RTF_PROTO1 = 0x8000 |
| 763 | RTF_PROTO2 = 0x4000 |
| 764 | RTF_REJECT = 0x8 |
| 765 | RTF_SETSRC = 0x20000 |
| 766 | RTF_STATIC = 0x800 |
| 767 | RTF_UP = 0x1 |
| 768 | RTF_XRESOLVE = 0x200 |
| 769 | RTF_ZONE = 0x100000 |
| 770 | RTM_ADD = 0x1 |
| 771 | RTM_CHANGE = 0x3 |
| 772 | RTM_CHGADDR = 0xf |
| 773 | RTM_DELADDR = 0xd |
| 774 | RTM_DELETE = 0x2 |
| 775 | RTM_FREEADDR = 0x10 |
| 776 | RTM_GET = 0x4 |
| 777 | RTM_IFINFO = 0xe |
| 778 | RTM_LOCK = 0x8 |
| 779 | RTM_LOSING = 0x5 |
| 780 | RTM_MISS = 0x7 |
| 781 | RTM_NEWADDR = 0xc |
| 782 | RTM_OLDADD = 0x9 |
| 783 | RTM_OLDDEL = 0xa |
| 784 | RTM_REDIRECT = 0x6 |
| 785 | RTM_RESOLVE = 0xb |
| 786 | RTM_VERSION = 0x3 |
| 787 | RTV_EXPIRE = 0x4 |
| 788 | RTV_HOPCOUNT = 0x2 |
| 789 | RTV_MTU = 0x1 |
| 790 | RTV_RPIPE = 0x8 |
| 791 | RTV_RTT = 0x40 |
| 792 | RTV_RTTVAR = 0x80 |
| 793 | RTV_SPIPE = 0x10 |
| 794 | RTV_SSTHRESH = 0x20 |
| 795 | RT_AWARE = 0x1 |
| 796 | RUSAGE_CHILDREN = -0x1 |
| 797 | RUSAGE_SELF = 0x0 |
| 798 | SCM_RIGHTS = 0x1010 |
| 799 | SCM_TIMESTAMP = 0x1013 |
| 800 | SCM_UCRED = 0x1012 |
| 801 | SHUT_RD = 0x0 |
| 802 | SHUT_RDWR = 0x2 |
| 803 | SHUT_WR = 0x1 |
| 804 | SIG2STR_MAX = 0x20 |
| 805 | SIOCADDMULTI = -0x7fdf96cf |
| 806 | SIOCADDRT = -0x7fcf8df6 |
| 807 | SIOCATMARK = 0x40047307 |
| 808 | SIOCDARP = -0x7fdb96e0 |
| 809 | SIOCDELMULTI = -0x7fdf96ce |
| 810 | SIOCDELRT = -0x7fcf8df5 |
| 811 | SIOCDXARP = -0x7fff9658 |
| 812 | SIOCGARP = -0x3fdb96e1 |
| 813 | SIOCGDSTINFO = -0x3fff965c |
| 814 | SIOCGENADDR = -0x3fdf96ab |
| 815 | SIOCGENPSTATS = -0x3fdf96c7 |
| 816 | SIOCGETLSGCNT = -0x3fef8deb |
| 817 | SIOCGETNAME = 0x40107334 |
| 818 | SIOCGETPEER = 0x40107335 |
| 819 | SIOCGETPROP = -0x3fff8f44 |
| 820 | SIOCGETSGCNT = -0x3feb8deb |
| 821 | SIOCGETSYNC = -0x3fdf96d3 |
| 822 | SIOCGETVIFCNT = -0x3feb8dec |
| 823 | SIOCGHIWAT = 0x40047301 |
| 824 | SIOCGIFADDR = -0x3fdf96f3 |
| 825 | SIOCGIFBRDADDR = -0x3fdf96e9 |
| 826 | SIOCGIFCONF = -0x3ff796a4 |
| 827 | SIOCGIFDSTADDR = -0x3fdf96f1 |
| 828 | SIOCGIFFLAGS = -0x3fdf96ef |
| 829 | SIOCGIFHWADDR = -0x3fdf9647 |
| 830 | SIOCGIFINDEX = -0x3fdf96a6 |
| 831 | SIOCGIFMEM = -0x3fdf96ed |
| 832 | SIOCGIFMETRIC = -0x3fdf96e5 |
| 833 | SIOCGIFMTU = -0x3fdf96ea |
| 834 | SIOCGIFMUXID = -0x3fdf96a8 |
| 835 | SIOCGIFNETMASK = -0x3fdf96e7 |
| 836 | SIOCGIFNUM = 0x40046957 |
| 837 | SIOCGIP6ADDRPOLICY = -0x3fff965e |
| 838 | SIOCGIPMSFILTER = -0x3ffb964c |
| 839 | SIOCGLIFADDR = -0x3f87968f |
| 840 | SIOCGLIFBINDING = -0x3f879666 |
| 841 | SIOCGLIFBRDADDR = -0x3f879685 |
| 842 | SIOCGLIFCONF = -0x3fef965b |
| 843 | SIOCGLIFDADSTATE = -0x3f879642 |
| 844 | SIOCGLIFDSTADDR = -0x3f87968d |
| 845 | SIOCGLIFFLAGS = -0x3f87968b |
| 846 | SIOCGLIFGROUPINFO = -0x3f4b9663 |
| 847 | SIOCGLIFGROUPNAME = -0x3f879664 |
| 848 | SIOCGLIFHWADDR = -0x3f879640 |
| 849 | SIOCGLIFINDEX = -0x3f87967b |
| 850 | SIOCGLIFLNKINFO = -0x3f879674 |
| 851 | SIOCGLIFMETRIC = -0x3f879681 |
| 852 | SIOCGLIFMTU = -0x3f879686 |
| 853 | SIOCGLIFMUXID = -0x3f87967d |
| 854 | SIOCGLIFNETMASK = -0x3f879683 |
| 855 | SIOCGLIFNUM = -0x3ff3967e |
| 856 | SIOCGLIFSRCOF = -0x3fef964f |
| 857 | SIOCGLIFSUBNET = -0x3f879676 |
| 858 | SIOCGLIFTOKEN = -0x3f879678 |
| 859 | SIOCGLIFUSESRC = -0x3f879651 |
| 860 | SIOCGLIFZONE = -0x3f879656 |
| 861 | SIOCGLOWAT = 0x40047303 |
| 862 | SIOCGMSFILTER = -0x3ffb964e |
| 863 | SIOCGPGRP = 0x40047309 |
| 864 | SIOCGSTAMP = -0x3fef9646 |
| 865 | SIOCGXARP = -0x3fff9659 |
| 866 | SIOCIFDETACH = -0x7fdf96c8 |
| 867 | SIOCILB = -0x3ffb9645 |
| 868 | SIOCLIFADDIF = -0x3f879691 |
| 869 | SIOCLIFDELND = -0x7f879673 |
| 870 | SIOCLIFGETND = -0x3f879672 |
| 871 | SIOCLIFREMOVEIF = -0x7f879692 |
| 872 | SIOCLIFSETND = -0x7f879671 |
| 873 | SIOCLOWER = -0x7fdf96d7 |
| 874 | SIOCSARP = -0x7fdb96e2 |
| 875 | SIOCSCTPGOPT = -0x3fef9653 |
| 876 | SIOCSCTPPEELOFF = -0x3ffb9652 |
| 877 | SIOCSCTPSOPT = -0x7fef9654 |
| 878 | SIOCSENABLESDP = -0x3ffb9649 |
| 879 | SIOCSETPROP = -0x7ffb8f43 |
| 880 | SIOCSETSYNC = -0x7fdf96d4 |
| 881 | SIOCSHIWAT = -0x7ffb8d00 |
| 882 | SIOCSIFADDR = -0x7fdf96f4 |
| 883 | SIOCSIFBRDADDR = -0x7fdf96e8 |
| 884 | SIOCSIFDSTADDR = -0x7fdf96f2 |
| 885 | SIOCSIFFLAGS = -0x7fdf96f0 |
| 886 | SIOCSIFINDEX = -0x7fdf96a5 |
| 887 | SIOCSIFMEM = -0x7fdf96ee |
| 888 | SIOCSIFMETRIC = -0x7fdf96e4 |
| 889 | SIOCSIFMTU = -0x7fdf96eb |
| 890 | SIOCSIFMUXID = -0x7fdf96a7 |
| 891 | SIOCSIFNAME = -0x7fdf96b7 |
| 892 | SIOCSIFNETMASK = -0x7fdf96e6 |
| 893 | SIOCSIP6ADDRPOLICY = -0x7fff965d |
| 894 | SIOCSIPMSFILTER = -0x7ffb964b |
| 895 | SIOCSLGETREQ = -0x3fdf96b9 |
| 896 | SIOCSLIFADDR = -0x7f879690 |
| 897 | SIOCSLIFBRDADDR = -0x7f879684 |
| 898 | SIOCSLIFDSTADDR = -0x7f87968e |
| 899 | SIOCSLIFFLAGS = -0x7f87968c |
| 900 | SIOCSLIFGROUPNAME = -0x7f879665 |
| 901 | SIOCSLIFINDEX = -0x7f87967a |
| 902 | SIOCSLIFLNKINFO = -0x7f879675 |
| 903 | SIOCSLIFMETRIC = -0x7f879680 |
| 904 | SIOCSLIFMTU = -0x7f879687 |
| 905 | SIOCSLIFMUXID = -0x7f87967c |
| 906 | SIOCSLIFNAME = -0x3f87967f |
| 907 | SIOCSLIFNETMASK = -0x7f879682 |
| 908 | SIOCSLIFPREFIX = -0x3f879641 |
| 909 | SIOCSLIFSUBNET = -0x7f879677 |
| 910 | SIOCSLIFTOKEN = -0x7f879679 |
| 911 | SIOCSLIFUSESRC = -0x7f879650 |
| 912 | SIOCSLIFZONE = -0x7f879655 |
| 913 | SIOCSLOWAT = -0x7ffb8cfe |
| 914 | SIOCSLSTAT = -0x7fdf96b8 |
| 915 | SIOCSMSFILTER = -0x7ffb964d |
| 916 | SIOCSPGRP = -0x7ffb8cf8 |
| 917 | SIOCSPROMISC = -0x7ffb96d0 |
| 918 | SIOCSQPTR = -0x3ffb9648 |
| 919 | SIOCSSDSTATS = -0x3fdf96d2 |
| 920 | SIOCSSESTATS = -0x3fdf96d1 |
| 921 | SIOCSXARP = -0x7fff965a |
| 922 | SIOCTMYADDR = -0x3ff79670 |
| 923 | SIOCTMYSITE = -0x3ff7966e |
| 924 | SIOCTONLINK = -0x3ff7966f |
| 925 | SIOCUPPER = -0x7fdf96d8 |
| 926 | SIOCX25RCV = -0x3fdf96c4 |
| 927 | SIOCX25TBL = -0x3fdf96c3 |
| 928 | SIOCX25XMT = -0x3fdf96c5 |
| 929 | SIOCXPROTO = 0x20007337 |
| 930 | SOCK_CLOEXEC = 0x80000 |
| 931 | SOCK_DGRAM = 0x1 |
| 932 | SOCK_NDELAY = 0x200000 |
| 933 | SOCK_NONBLOCK = 0x100000 |
| 934 | SOCK_RAW = 0x4 |
| 935 | SOCK_RDM = 0x5 |
| 936 | SOCK_SEQPACKET = 0x6 |
| 937 | SOCK_STREAM = 0x2 |
| 938 | SOCK_TYPE_MASK = 0xffff |
| 939 | SOL_FILTER = 0xfffc |
| 940 | SOL_PACKET = 0xfffd |
| 941 | SOL_ROUTE = 0xfffe |
| 942 | SOL_SOCKET = 0xffff |
| 943 | SOMAXCONN = 0x80 |
| 944 | SO_ACCEPTCONN = 0x2 |
| 945 | SO_ALL = 0x3f |
| 946 | SO_ALLZONES = 0x1014 |
| 947 | SO_ANON_MLP = 0x100a |
| 948 | SO_ATTACH_FILTER = 0x40000001 |
| 949 | SO_BAND = 0x4000 |
| 950 | SO_BROADCAST = 0x20 |
| 951 | SO_COPYOPT = 0x80000 |
| 952 | SO_DEBUG = 0x1 |
| 953 | SO_DELIM = 0x8000 |
| 954 | SO_DETACH_FILTER = 0x40000002 |
| 955 | SO_DGRAM_ERRIND = 0x200 |
| 956 | SO_DOMAIN = 0x100c |
| 957 | SO_DONTLINGER = -0x81 |
| 958 | SO_DONTROUTE = 0x10 |
| 959 | SO_ERROPT = 0x40000 |
| 960 | SO_ERROR = 0x1007 |
| 961 | SO_EXCLBIND = 0x1015 |
| 962 | SO_HIWAT = 0x10 |
| 963 | SO_ISNTTY = 0x800 |
| 964 | SO_ISTTY = 0x400 |
| 965 | SO_KEEPALIVE = 0x8 |
| 966 | SO_LINGER = 0x80 |
| 967 | SO_LOWAT = 0x20 |
| 968 | SO_MAC_EXEMPT = 0x100b |
| 969 | SO_MAC_IMPLICIT = 0x1016 |
| 970 | SO_MAXBLK = 0x100000 |
| 971 | SO_MAXPSZ = 0x8 |
| 972 | SO_MINPSZ = 0x4 |
| 973 | SO_MREADOFF = 0x80 |
| 974 | SO_MREADON = 0x40 |
| 975 | SO_NDELOFF = 0x200 |
| 976 | SO_NDELON = 0x100 |
| 977 | SO_NODELIM = 0x10000 |
| 978 | SO_OOBINLINE = 0x100 |
| 979 | SO_PROTOTYPE = 0x1009 |
| 980 | SO_RCVBUF = 0x1002 |
| 981 | SO_RCVLOWAT = 0x1004 |
| 982 | SO_RCVPSH = 0x100d |
| 983 | SO_RCVTIMEO = 0x1006 |
| 984 | SO_READOPT = 0x1 |
| 985 | SO_RECVUCRED = 0x400 |
| 986 | SO_REUSEADDR = 0x4 |
| 987 | SO_SECATTR = 0x1011 |
| 988 | SO_SNDBUF = 0x1001 |
| 989 | SO_SNDLOWAT = 0x1003 |
| 990 | SO_SNDTIMEO = 0x1005 |
| 991 | SO_STRHOLD = 0x20000 |
| 992 | SO_TAIL = 0x200000 |
| 993 | SO_TIMESTAMP = 0x1013 |
| 994 | SO_TONSTOP = 0x2000 |
| 995 | SO_TOSTOP = 0x1000 |
| 996 | SO_TYPE = 0x1008 |
| 997 | SO_USELOOPBACK = 0x40 |
| 998 | SO_VRRP = 0x1017 |
| 999 | SO_WROFF = 0x2 |
| 1000 | S_ENFMT = 0x400 |
| 1001 | S_IAMB = 0x1ff |
| 1002 | S_IEXEC = 0x40 |
| 1003 | S_IFBLK = 0x6000 |
| 1004 | S_IFCHR = 0x2000 |
| 1005 | S_IFDIR = 0x4000 |
| 1006 | S_IFDOOR = 0xd000 |
| 1007 | S_IFIFO = 0x1000 |
| 1008 | S_IFLNK = 0xa000 |
| 1009 | S_IFMT = 0xf000 |
| 1010 | S_IFNAM = 0x5000 |
| 1011 | S_IFPORT = 0xe000 |
| 1012 | S_IFREG = 0x8000 |
| 1013 | S_IFSOCK = 0xc000 |
| 1014 | S_INSEM = 0x1 |
| 1015 | S_INSHD = 0x2 |
| 1016 | S_IREAD = 0x100 |
| 1017 | S_IRGRP = 0x20 |
| 1018 | S_IROTH = 0x4 |
| 1019 | S_IRUSR = 0x100 |
| 1020 | S_IRWXG = 0x38 |
| 1021 | S_IRWXO = 0x7 |
| 1022 | S_IRWXU = 0x1c0 |
| 1023 | S_ISGID = 0x400 |
| 1024 | S_ISUID = 0x800 |
| 1025 | S_ISVTX = 0x200 |
| 1026 | S_IWGRP = 0x10 |
| 1027 | S_IWOTH = 0x2 |
| 1028 | S_IWRITE = 0x80 |
| 1029 | S_IWUSR = 0x80 |
| 1030 | S_IXGRP = 0x8 |
| 1031 | S_IXOTH = 0x1 |
| 1032 | S_IXUSR = 0x40 |
| 1033 | TAB0 = 0x0 |
| 1034 | TAB1 = 0x800 |
| 1035 | TAB2 = 0x1000 |
| 1036 | TAB3 = 0x1800 |
| 1037 | TABDLY = 0x1800 |
| 1038 | TCFLSH = 0x5407 |
| 1039 | TCGETA = 0x5401 |
| 1040 | TCGETS = 0x540d |
| 1041 | TCIFLUSH = 0x0 |
| 1042 | TCIOFF = 0x2 |
| 1043 | TCIOFLUSH = 0x2 |
| 1044 | TCION = 0x3 |
| 1045 | TCOFLUSH = 0x1 |
| 1046 | TCOOFF = 0x0 |
| 1047 | TCOON = 0x1 |
| 1048 | TCP_ABORT_THRESHOLD = 0x11 |
| 1049 | TCP_ANONPRIVBIND = 0x20 |
| 1050 | TCP_CONN_ABORT_THRESHOLD = 0x13 |
| 1051 | TCP_CONN_NOTIFY_THRESHOLD = 0x12 |
| 1052 | TCP_CORK = 0x18 |
| 1053 | TCP_EXCLBIND = 0x21 |
| 1054 | TCP_INIT_CWND = 0x15 |
| 1055 | TCP_KEEPALIVE = 0x8 |
| 1056 | TCP_KEEPALIVE_ABORT_THRESHOLD = 0x17 |
| 1057 | TCP_KEEPALIVE_THRESHOLD = 0x16 |
| 1058 | TCP_KEEPCNT = 0x23 |
| 1059 | TCP_KEEPIDLE = 0x22 |
| 1060 | TCP_KEEPINTVL = 0x24 |
| 1061 | TCP_LINGER2 = 0x1c |
| 1062 | TCP_MAXSEG = 0x2 |
| 1063 | TCP_MSS = 0x218 |
| 1064 | TCP_NODELAY = 0x1 |
| 1065 | TCP_NOTIFY_THRESHOLD = 0x10 |
| 1066 | TCP_RECVDSTADDR = 0x14 |
| 1067 | TCP_RTO_INITIAL = 0x19 |
| 1068 | TCP_RTO_MAX = 0x1b |
| 1069 | TCP_RTO_MIN = 0x1a |
| 1070 | TCSAFLUSH = 0x5410 |
| 1071 | TCSBRK = 0x5405 |
| 1072 | TCSETA = 0x5402 |
| 1073 | TCSETAF = 0x5404 |
| 1074 | TCSETAW = 0x5403 |
| 1075 | TCSETS = 0x540e |
| 1076 | TCSETSF = 0x5410 |
| 1077 | TCSETSW = 0x540f |
| 1078 | TCXONC = 0x5406 |
| 1079 | TIOC = 0x5400 |
| 1080 | TIOCCBRK = 0x747a |
| 1081 | TIOCCDTR = 0x7478 |
| 1082 | TIOCCILOOP = 0x746c |
| 1083 | TIOCEXCL = 0x740d |
| 1084 | TIOCFLUSH = 0x7410 |
| 1085 | TIOCGETC = 0x7412 |
| 1086 | TIOCGETD = 0x7400 |
| 1087 | TIOCGETP = 0x7408 |
| 1088 | TIOCGLTC = 0x7474 |
| 1089 | TIOCGPGRP = 0x7414 |
| 1090 | TIOCGPPS = 0x547d |
| 1091 | TIOCGPPSEV = 0x547f |
| 1092 | TIOCGSID = 0x7416 |
| 1093 | TIOCGSOFTCAR = 0x5469 |
| 1094 | TIOCGWINSZ = 0x5468 |
| 1095 | TIOCHPCL = 0x7402 |
| 1096 | TIOCKBOF = 0x5409 |
| 1097 | TIOCKBON = 0x5408 |
| 1098 | TIOCLBIC = 0x747e |
| 1099 | TIOCLBIS = 0x747f |
| 1100 | TIOCLGET = 0x747c |
| 1101 | TIOCLSET = 0x747d |
| 1102 | TIOCMBIC = 0x741c |
| 1103 | TIOCMBIS = 0x741b |
| 1104 | TIOCMGET = 0x741d |
| 1105 | TIOCMSET = 0x741a |
| 1106 | TIOCM_CAR = 0x40 |
| 1107 | TIOCM_CD = 0x40 |
| 1108 | TIOCM_CTS = 0x20 |
| 1109 | TIOCM_DSR = 0x100 |
| 1110 | TIOCM_DTR = 0x2 |
| 1111 | TIOCM_LE = 0x1 |
| 1112 | TIOCM_RI = 0x80 |
| 1113 | TIOCM_RNG = 0x80 |
| 1114 | TIOCM_RTS = 0x4 |
| 1115 | TIOCM_SR = 0x10 |
| 1116 | TIOCM_ST = 0x8 |
| 1117 | TIOCNOTTY = 0x7471 |
| 1118 | TIOCNXCL = 0x740e |
| 1119 | TIOCOUTQ = 0x7473 |
| 1120 | TIOCREMOTE = 0x741e |
| 1121 | TIOCSBRK = 0x747b |
| 1122 | TIOCSCTTY = 0x7484 |
| 1123 | TIOCSDTR = 0x7479 |
| 1124 | TIOCSETC = 0x7411 |
| 1125 | TIOCSETD = 0x7401 |
| 1126 | TIOCSETN = 0x740a |
| 1127 | TIOCSETP = 0x7409 |
| 1128 | TIOCSIGNAL = 0x741f |
| 1129 | TIOCSILOOP = 0x746d |
| 1130 | TIOCSLTC = 0x7475 |
| 1131 | TIOCSPGRP = 0x7415 |
| 1132 | TIOCSPPS = 0x547e |
| 1133 | TIOCSSOFTCAR = 0x546a |
| 1134 | TIOCSTART = 0x746e |
| 1135 | TIOCSTI = 0x7417 |
| 1136 | TIOCSTOP = 0x746f |
| 1137 | TIOCSWINSZ = 0x5467 |
| 1138 | TOSTOP = 0x100 |
| 1139 | UTIME_NOW = -0x1 |
| 1140 | UTIME_OMIT = -0x2 |
| 1141 | VCEOF = 0x8 |
| 1142 | VCEOL = 0x9 |
| 1143 | VDISCARD = 0xd |
| 1144 | VDSUSP = 0xb |
| 1145 | VEOF = 0x4 |
| 1146 | VEOL = 0x5 |
| 1147 | VEOL2 = 0x6 |
| 1148 | VERASE = 0x2 |
| 1149 | VERASE2 = 0x11 |
| 1150 | VINTR = 0x0 |
| 1151 | VKILL = 0x3 |
| 1152 | VLNEXT = 0xf |
| 1153 | VMIN = 0x4 |
| 1154 | VQUIT = 0x1 |
| 1155 | VREPRINT = 0xc |
| 1156 | VSTART = 0x8 |
| 1157 | VSTATUS = 0x10 |
| 1158 | VSTOP = 0x9 |
| 1159 | VSUSP = 0xa |
| 1160 | VSWTCH = 0x7 |
| 1161 | VT0 = 0x0 |
| 1162 | VT1 = 0x4000 |
| 1163 | VTDLY = 0x4000 |
| 1164 | VTIME = 0x5 |
| 1165 | VWERASE = 0xe |
| 1166 | WCONTFLG = 0xffff |
| 1167 | WCONTINUED = 0x8 |
| 1168 | WCOREFLG = 0x80 |
| 1169 | WEXITED = 0x1 |
| 1170 | WNOHANG = 0x40 |
| 1171 | WNOWAIT = 0x80 |
| 1172 | WOPTMASK = 0xcf |
| 1173 | WRAP = 0x20000 |
| 1174 | WSIGMASK = 0x7f |
| 1175 | WSTOPFLG = 0x7f |
| 1176 | WSTOPPED = 0x4 |
| 1177 | WTRAPPED = 0x2 |
| 1178 | WUNTRACED = 0x4 |
| 1179 | XCASE = 0x4 |
| 1180 | XTABS = 0x1800 |
| 1181 | ) |
| 1182 | |
| 1183 | // Errors |
| 1184 | const ( |
| 1185 | E2BIG = syscall.Errno(0x7) |
| 1186 | EACCES = syscall.Errno(0xd) |
| 1187 | EADDRINUSE = syscall.Errno(0x7d) |
| 1188 | EADDRNOTAVAIL = syscall.Errno(0x7e) |
| 1189 | EADV = syscall.Errno(0x44) |
| 1190 | EAFNOSUPPORT = syscall.Errno(0x7c) |
| 1191 | EAGAIN = syscall.Errno(0xb) |
| 1192 | EALREADY = syscall.Errno(0x95) |
| 1193 | EBADE = syscall.Errno(0x32) |
| 1194 | EBADF = syscall.Errno(0x9) |
| 1195 | EBADFD = syscall.Errno(0x51) |
| 1196 | EBADMSG = syscall.Errno(0x4d) |
| 1197 | EBADR = syscall.Errno(0x33) |
| 1198 | EBADRQC = syscall.Errno(0x36) |
| 1199 | EBADSLT = syscall.Errno(0x37) |
| 1200 | EBFONT = syscall.Errno(0x39) |
| 1201 | EBUSY = syscall.Errno(0x10) |
| 1202 | ECANCELED = syscall.Errno(0x2f) |
| 1203 | ECHILD = syscall.Errno(0xa) |
| 1204 | ECHRNG = syscall.Errno(0x25) |
| 1205 | ECOMM = syscall.Errno(0x46) |
| 1206 | ECONNABORTED = syscall.Errno(0x82) |
| 1207 | ECONNREFUSED = syscall.Errno(0x92) |
| 1208 | ECONNRESET = syscall.Errno(0x83) |
| 1209 | EDEADLK = syscall.Errno(0x2d) |
| 1210 | EDEADLOCK = syscall.Errno(0x38) |
| 1211 | EDESTADDRREQ = syscall.Errno(0x60) |
| 1212 | EDOM = syscall.Errno(0x21) |
| 1213 | EDQUOT = syscall.Errno(0x31) |
| 1214 | EEXIST = syscall.Errno(0x11) |
| 1215 | EFAULT = syscall.Errno(0xe) |
| 1216 | EFBIG = syscall.Errno(0x1b) |
| 1217 | EHOSTDOWN = syscall.Errno(0x93) |
| 1218 | EHOSTUNREACH = syscall.Errno(0x94) |
| 1219 | EIDRM = syscall.Errno(0x24) |
| 1220 | EILSEQ = syscall.Errno(0x58) |
| 1221 | EINPROGRESS = syscall.Errno(0x96) |
| 1222 | EINTR = syscall.Errno(0x4) |
| 1223 | EINVAL = syscall.Errno(0x16) |
| 1224 | EIO = syscall.Errno(0x5) |
| 1225 | EISCONN = syscall.Errno(0x85) |
| 1226 | EISDIR = syscall.Errno(0x15) |
| 1227 | EL2HLT = syscall.Errno(0x2c) |
| 1228 | EL2NSYNC = syscall.Errno(0x26) |
| 1229 | EL3HLT = syscall.Errno(0x27) |
| 1230 | EL3RST = syscall.Errno(0x28) |
| 1231 | ELIBACC = syscall.Errno(0x53) |
| 1232 | ELIBBAD = syscall.Errno(0x54) |
| 1233 | ELIBEXEC = syscall.Errno(0x57) |
| 1234 | ELIBMAX = syscall.Errno(0x56) |
| 1235 | ELIBSCN = syscall.Errno(0x55) |
| 1236 | ELNRNG = syscall.Errno(0x29) |
| 1237 | ELOCKUNMAPPED = syscall.Errno(0x48) |
| 1238 | ELOOP = syscall.Errno(0x5a) |
| 1239 | EMFILE = syscall.Errno(0x18) |
| 1240 | EMLINK = syscall.Errno(0x1f) |
| 1241 | EMSGSIZE = syscall.Errno(0x61) |
| 1242 | EMULTIHOP = syscall.Errno(0x4a) |
| 1243 | ENAMETOOLONG = syscall.Errno(0x4e) |
| 1244 | ENETDOWN = syscall.Errno(0x7f) |
| 1245 | ENETRESET = syscall.Errno(0x81) |
| 1246 | ENETUNREACH = syscall.Errno(0x80) |
| 1247 | ENFILE = syscall.Errno(0x17) |
| 1248 | ENOANO = syscall.Errno(0x35) |
| 1249 | ENOBUFS = syscall.Errno(0x84) |
| 1250 | ENOCSI = syscall.Errno(0x2b) |
| 1251 | ENODATA = syscall.Errno(0x3d) |
| 1252 | ENODEV = syscall.Errno(0x13) |
| 1253 | ENOENT = syscall.Errno(0x2) |
| 1254 | ENOEXEC = syscall.Errno(0x8) |
| 1255 | ENOLCK = syscall.Errno(0x2e) |
| 1256 | ENOLINK = syscall.Errno(0x43) |
| 1257 | ENOMEM = syscall.Errno(0xc) |
| 1258 | ENOMSG = syscall.Errno(0x23) |
| 1259 | ENONET = syscall.Errno(0x40) |
| 1260 | ENOPKG = syscall.Errno(0x41) |
| 1261 | ENOPROTOOPT = syscall.Errno(0x63) |
| 1262 | ENOSPC = syscall.Errno(0x1c) |
| 1263 | ENOSR = syscall.Errno(0x3f) |
| 1264 | ENOSTR = syscall.Errno(0x3c) |
| 1265 | ENOSYS = syscall.Errno(0x59) |
| 1266 | ENOTACTIVE = syscall.Errno(0x49) |
| 1267 | ENOTBLK = syscall.Errno(0xf) |
| 1268 | ENOTCONN = syscall.Errno(0x86) |
| 1269 | ENOTDIR = syscall.Errno(0x14) |
| 1270 | ENOTEMPTY = syscall.Errno(0x5d) |
| 1271 | ENOTRECOVERABLE = syscall.Errno(0x3b) |
| 1272 | ENOTSOCK = syscall.Errno(0x5f) |
| 1273 | ENOTSUP = syscall.Errno(0x30) |
| 1274 | ENOTTY = syscall.Errno(0x19) |
| 1275 | ENOTUNIQ = syscall.Errno(0x50) |
| 1276 | ENXIO = syscall.Errno(0x6) |
| 1277 | EOPNOTSUPP = syscall.Errno(0x7a) |
| 1278 | EOVERFLOW = syscall.Errno(0x4f) |
| 1279 | EOWNERDEAD = syscall.Errno(0x3a) |
| 1280 | EPERM = syscall.Errno(0x1) |
| 1281 | EPFNOSUPPORT = syscall.Errno(0x7b) |
| 1282 | EPIPE = syscall.Errno(0x20) |
| 1283 | EPROTO = syscall.Errno(0x47) |
| 1284 | EPROTONOSUPPORT = syscall.Errno(0x78) |
| 1285 | EPROTOTYPE = syscall.Errno(0x62) |
| 1286 | ERANGE = syscall.Errno(0x22) |
| 1287 | EREMCHG = syscall.Errno(0x52) |
| 1288 | EREMOTE = syscall.Errno(0x42) |
| 1289 | ERESTART = syscall.Errno(0x5b) |
| 1290 | EROFS = syscall.Errno(0x1e) |
| 1291 | ESHUTDOWN = syscall.Errno(0x8f) |
| 1292 | ESOCKTNOSUPPORT = syscall.Errno(0x79) |
| 1293 | ESPIPE = syscall.Errno(0x1d) |
| 1294 | ESRCH = syscall.Errno(0x3) |
| 1295 | ESRMNT = syscall.Errno(0x45) |
| 1296 | ESTALE = syscall.Errno(0x97) |
| 1297 | ESTRPIPE = syscall.Errno(0x5c) |
| 1298 | ETIME = syscall.Errno(0x3e) |
| 1299 | ETIMEDOUT = syscall.Errno(0x91) |
| 1300 | ETOOMANYREFS = syscall.Errno(0x90) |
| 1301 | ETXTBSY = syscall.Errno(0x1a) |
| 1302 | EUNATCH = syscall.Errno(0x2a) |
| 1303 | EUSERS = syscall.Errno(0x5e) |
| 1304 | EWOULDBLOCK = syscall.Errno(0xb) |
| 1305 | EXDEV = syscall.Errno(0x12) |
| 1306 | EXFULL = syscall.Errno(0x34) |
| 1307 | ) |
| 1308 | |
| 1309 | // Signals |
| 1310 | const ( |
| 1311 | SIGABRT = syscall.Signal(0x6) |
| 1312 | SIGALRM = syscall.Signal(0xe) |
| 1313 | SIGBUS = syscall.Signal(0xa) |
| 1314 | SIGCANCEL = syscall.Signal(0x24) |
| 1315 | SIGCHLD = syscall.Signal(0x12) |
| 1316 | SIGCLD = syscall.Signal(0x12) |
| 1317 | SIGCONT = syscall.Signal(0x19) |
| 1318 | SIGEMT = syscall.Signal(0x7) |
| 1319 | SIGFPE = syscall.Signal(0x8) |
| 1320 | SIGFREEZE = syscall.Signal(0x22) |
| 1321 | SIGHUP = syscall.Signal(0x1) |
| 1322 | SIGILL = syscall.Signal(0x4) |
| 1323 | SIGINFO = syscall.Signal(0x29) |
| 1324 | SIGINT = syscall.Signal(0x2) |
| 1325 | SIGIO = syscall.Signal(0x16) |
| 1326 | SIGIOT = syscall.Signal(0x6) |
| 1327 | SIGJVM1 = syscall.Signal(0x27) |
| 1328 | SIGJVM2 = syscall.Signal(0x28) |
| 1329 | SIGKILL = syscall.Signal(0x9) |
| 1330 | SIGLOST = syscall.Signal(0x25) |
| 1331 | SIGLWP = syscall.Signal(0x21) |
| 1332 | SIGPIPE = syscall.Signal(0xd) |
| 1333 | SIGPOLL = syscall.Signal(0x16) |
| 1334 | SIGPROF = syscall.Signal(0x1d) |
| 1335 | SIGPWR = syscall.Signal(0x13) |
| 1336 | SIGQUIT = syscall.Signal(0x3) |
| 1337 | SIGSEGV = syscall.Signal(0xb) |
| 1338 | SIGSTOP = syscall.Signal(0x17) |
| 1339 | SIGSYS = syscall.Signal(0xc) |
| 1340 | SIGTERM = syscall.Signal(0xf) |
| 1341 | SIGTHAW = syscall.Signal(0x23) |
| 1342 | SIGTRAP = syscall.Signal(0x5) |
| 1343 | SIGTSTP = syscall.Signal(0x18) |
| 1344 | SIGTTIN = syscall.Signal(0x1a) |
| 1345 | SIGTTOU = syscall.Signal(0x1b) |
| 1346 | SIGURG = syscall.Signal(0x15) |
| 1347 | SIGUSR1 = syscall.Signal(0x10) |
| 1348 | SIGUSR2 = syscall.Signal(0x11) |
| 1349 | SIGVTALRM = syscall.Signal(0x1c) |
| 1350 | SIGWAITING = syscall.Signal(0x20) |
| 1351 | SIGWINCH = syscall.Signal(0x14) |
| 1352 | SIGXCPU = syscall.Signal(0x1e) |
| 1353 | SIGXFSZ = syscall.Signal(0x1f) |
| 1354 | SIGXRES = syscall.Signal(0x26) |
| 1355 | ) |
| 1356 | |
| 1357 | // Error table |
| 1358 | var errorList = [...]struct { |
| 1359 | num syscall.Errno |
| 1360 | name string |
| 1361 | desc string |
| 1362 | }{ |
| 1363 | {1, "EPERM", "not owner"}, |
| 1364 | {2, "ENOENT", "no such file or directory"}, |
| 1365 | {3, "ESRCH", "no such process"}, |
| 1366 | {4, "EINTR", "interrupted system call"}, |
| 1367 | {5, "EIO", "I/O error"}, |
| 1368 | {6, "ENXIO", "no such device or address"}, |
| 1369 | {7, "E2BIG", "arg list too long"}, |
| 1370 | {8, "ENOEXEC", "exec format error"}, |
| 1371 | {9, "EBADF", "bad file number"}, |
| 1372 | {10, "ECHILD", "no child processes"}, |
| 1373 | {11, "EAGAIN", "resource temporarily unavailable"}, |
| 1374 | {12, "ENOMEM", "not enough space"}, |
| 1375 | {13, "EACCES", "permission denied"}, |
| 1376 | {14, "EFAULT", "bad address"}, |
| 1377 | {15, "ENOTBLK", "block device required"}, |
| 1378 | {16, "EBUSY", "device busy"}, |
| 1379 | {17, "EEXIST", "file exists"}, |
| 1380 | {18, "EXDEV", "cross-device link"}, |
| 1381 | {19, "ENODEV", "no such device"}, |
| 1382 | {20, "ENOTDIR", "not a directory"}, |
| 1383 | {21, "EISDIR", "is a directory"}, |
| 1384 | {22, "EINVAL", "invalid argument"}, |
| 1385 | {23, "ENFILE", "file table overflow"}, |
| 1386 | {24, "EMFILE", "too many open files"}, |
| 1387 | {25, "ENOTTY", "inappropriate ioctl for device"}, |
| 1388 | {26, "ETXTBSY", "text file busy"}, |
| 1389 | {27, "EFBIG", "file too large"}, |
| 1390 | {28, "ENOSPC", "no space left on device"}, |
| 1391 | {29, "ESPIPE", "illegal seek"}, |
| 1392 | {30, "EROFS", "read-only file system"}, |
| 1393 | {31, "EMLINK", "too many links"}, |
| 1394 | {32, "EPIPE", "broken pipe"}, |
| 1395 | {33, "EDOM", "argument out of domain"}, |
| 1396 | {34, "ERANGE", "result too large"}, |
| 1397 | {35, "ENOMSG", "no message of desired type"}, |
| 1398 | {36, "EIDRM", "identifier removed"}, |
| 1399 | {37, "ECHRNG", "channel number out of range"}, |
| 1400 | {38, "EL2NSYNC", "level 2 not synchronized"}, |
| 1401 | {39, "EL3HLT", "level 3 halted"}, |
| 1402 | {40, "EL3RST", "level 3 reset"}, |
| 1403 | {41, "ELNRNG", "link number out of range"}, |
| 1404 | {42, "EUNATCH", "protocol driver not attached"}, |
| 1405 | {43, "ENOCSI", "no CSI structure available"}, |
| 1406 | {44, "EL2HLT", "level 2 halted"}, |
| 1407 | {45, "EDEADLK", "deadlock situation detected/avoided"}, |
| 1408 | {46, "ENOLCK", "no record locks available"}, |
| 1409 | {47, "ECANCELED", "operation canceled"}, |
| 1410 | {48, "ENOTSUP", "operation not supported"}, |
| 1411 | {49, "EDQUOT", "disc quota exceeded"}, |
| 1412 | {50, "EBADE", "bad exchange descriptor"}, |
| 1413 | {51, "EBADR", "bad request descriptor"}, |
| 1414 | {52, "EXFULL", "message tables full"}, |
| 1415 | {53, "ENOANO", "anode table overflow"}, |
| 1416 | {54, "EBADRQC", "bad request code"}, |
| 1417 | {55, "EBADSLT", "invalid slot"}, |
| 1418 | {56, "EDEADLOCK", "file locking deadlock"}, |
| 1419 | {57, "EBFONT", "bad font file format"}, |
| 1420 | {58, "EOWNERDEAD", "owner of the lock died"}, |
| 1421 | {59, "ENOTRECOVERABLE", "lock is not recoverable"}, |
| 1422 | {60, "ENOSTR", "not a stream device"}, |
| 1423 | {61, "ENODATA", "no data available"}, |
| 1424 | {62, "ETIME", "timer expired"}, |
| 1425 | {63, "ENOSR", "out of stream resources"}, |
| 1426 | {64, "ENONET", "machine is not on the network"}, |
| 1427 | {65, "ENOPKG", "package not installed"}, |
| 1428 | {66, "EREMOTE", "object is remote"}, |
| 1429 | {67, "ENOLINK", "link has been severed"}, |
| 1430 | {68, "EADV", "advertise error"}, |
| 1431 | {69, "ESRMNT", "srmount error"}, |
| 1432 | {70, "ECOMM", "communication error on send"}, |
| 1433 | {71, "EPROTO", "protocol error"}, |
| 1434 | {72, "ELOCKUNMAPPED", "locked lock was unmapped "}, |
| 1435 | {73, "ENOTACTIVE", "facility is not active"}, |
| 1436 | {74, "EMULTIHOP", "multihop attempted"}, |
| 1437 | {77, "EBADMSG", "not a data message"}, |
| 1438 | {78, "ENAMETOOLONG", "file name too long"}, |
| 1439 | {79, "EOVERFLOW", "value too large for defined data type"}, |
| 1440 | {80, "ENOTUNIQ", "name not unique on network"}, |
| 1441 | {81, "EBADFD", "file descriptor in bad state"}, |
| 1442 | {82, "EREMCHG", "remote address changed"}, |
| 1443 | {83, "ELIBACC", "can not access a needed shared library"}, |
| 1444 | {84, "ELIBBAD", "accessing a corrupted shared library"}, |
| 1445 | {85, "ELIBSCN", ".lib section in a.out corrupted"}, |
| 1446 | {86, "ELIBMAX", "attempting to link in more shared libraries than system limit"}, |
| 1447 | {87, "ELIBEXEC", "can not exec a shared library directly"}, |
| 1448 | {88, "EILSEQ", "illegal byte sequence"}, |
| 1449 | {89, "ENOSYS", "operation not applicable"}, |
| 1450 | {90, "ELOOP", "number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS"}, |
| 1451 | {91, "ERESTART", "error 91"}, |
| 1452 | {92, "ESTRPIPE", "error 92"}, |
| 1453 | {93, "ENOTEMPTY", "directory not empty"}, |
| 1454 | {94, "EUSERS", "too many users"}, |
| 1455 | {95, "ENOTSOCK", "socket operation on non-socket"}, |
| 1456 | {96, "EDESTADDRREQ", "destination address required"}, |
| 1457 | {97, "EMSGSIZE", "message too long"}, |
| 1458 | {98, "EPROTOTYPE", "protocol wrong type for socket"}, |
| 1459 | {99, "ENOPROTOOPT", "option not supported by protocol"}, |
| 1460 | {120, "EPROTONOSUPPORT", "protocol not supported"}, |
| 1461 | {121, "ESOCKTNOSUPPORT", "socket type not supported"}, |
| 1462 | {122, "EOPNOTSUPP", "operation not supported on transport endpoint"}, |
| 1463 | {123, "EPFNOSUPPORT", "protocol family not supported"}, |
| 1464 | {124, "EAFNOSUPPORT", "address family not supported by protocol family"}, |
| 1465 | {125, "EADDRINUSE", "address already in use"}, |
| 1466 | {126, "EADDRNOTAVAIL", "cannot assign requested address"}, |
| 1467 | {127, "ENETDOWN", "network is down"}, |
| 1468 | {128, "ENETUNREACH", "network is unreachable"}, |
| 1469 | {129, "ENETRESET", "network dropped connection because of reset"}, |
| 1470 | {130, "ECONNABORTED", "software caused connection abort"}, |
| 1471 | {131, "ECONNRESET", "connection reset by peer"}, |
| 1472 | {132, "ENOBUFS", "no buffer space available"}, |
| 1473 | {133, "EISCONN", "transport endpoint is already connected"}, |
| 1474 | {134, "ENOTCONN", "transport endpoint is not connected"}, |
| 1475 | {143, "ESHUTDOWN", "cannot send after socket shutdown"}, |
| 1476 | {144, "ETOOMANYREFS", "too many references: cannot splice"}, |
| 1477 | {145, "ETIMEDOUT", "connection timed out"}, |
| 1478 | {146, "ECONNREFUSED", "connection refused"}, |
| 1479 | {147, "EHOSTDOWN", "host is down"}, |
| 1480 | {148, "EHOSTUNREACH", "no route to host"}, |
| 1481 | {149, "EALREADY", "operation already in progress"}, |
| 1482 | {150, "EINPROGRESS", "operation now in progress"}, |
| 1483 | {151, "ESTALE", "stale NFS file handle"}, |
| 1484 | } |
| 1485 | |
| 1486 | // Signal table |
| 1487 | var signalList = [...]struct { |
| 1488 | num syscall.Signal |
| 1489 | name string |
| 1490 | desc string |
| 1491 | }{ |
| 1492 | {1, "SIGHUP", "hangup"}, |
| 1493 | {2, "SIGINT", "interrupt"}, |
| 1494 | {3, "SIGQUIT", "quit"}, |
| 1495 | {4, "SIGILL", "illegal Instruction"}, |
| 1496 | {5, "SIGTRAP", "trace/Breakpoint Trap"}, |
| 1497 | {6, "SIGABRT", "abort"}, |
| 1498 | {7, "SIGEMT", "emulation Trap"}, |
| 1499 | {8, "SIGFPE", "arithmetic Exception"}, |
| 1500 | {9, "SIGKILL", "killed"}, |
| 1501 | {10, "SIGBUS", "bus Error"}, |
| 1502 | {11, "SIGSEGV", "segmentation Fault"}, |
| 1503 | {12, "SIGSYS", "bad System Call"}, |
| 1504 | {13, "SIGPIPE", "broken Pipe"}, |
| 1505 | {14, "SIGALRM", "alarm Clock"}, |
| 1506 | {15, "SIGTERM", "terminated"}, |
| 1507 | {16, "SIGUSR1", "user Signal 1"}, |
| 1508 | {17, "SIGUSR2", "user Signal 2"}, |
| 1509 | {18, "SIGCHLD", "child Status Changed"}, |
| 1510 | {19, "SIGPWR", "power-Fail/Restart"}, |
| 1511 | {20, "SIGWINCH", "window Size Change"}, |
| 1512 | {21, "SIGURG", "urgent Socket Condition"}, |
| 1513 | {22, "SIGIO", "pollable Event"}, |
| 1514 | {23, "SIGSTOP", "stopped (signal)"}, |
| 1515 | {24, "SIGTSTP", "stopped (user)"}, |
| 1516 | {25, "SIGCONT", "continued"}, |
| 1517 | {26, "SIGTTIN", "stopped (tty input)"}, |
| 1518 | {27, "SIGTTOU", "stopped (tty output)"}, |
| 1519 | {28, "SIGVTALRM", "virtual Timer Expired"}, |
| 1520 | {29, "SIGPROF", "profiling Timer Expired"}, |
| 1521 | {30, "SIGXCPU", "cpu Limit Exceeded"}, |
| 1522 | {31, "SIGXFSZ", "file Size Limit Exceeded"}, |
| 1523 | {32, "SIGWAITING", "no runnable lwp"}, |
| 1524 | {33, "SIGLWP", "inter-lwp signal"}, |
| 1525 | {34, "SIGFREEZE", "checkpoint Freeze"}, |
| 1526 | {35, "SIGTHAW", "checkpoint Thaw"}, |
| 1527 | {36, "SIGCANCEL", "thread Cancellation"}, |
| 1528 | {37, "SIGLOST", "resource Lost"}, |
| 1529 | {38, "SIGXRES", "resource Control Exceeded"}, |
| 1530 | {39, "SIGJVM1", "reserved for JVM 1"}, |
| 1531 | {40, "SIGJVM2", "reserved for JVM 2"}, |
| 1532 | {41, "SIGINFO", "information Request"}, |
| 1533 | } |