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