1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _LINUX_SNMP_H 20 #define _LINUX_SNMP_H 21 enum { 22 IPSTATS_MIB_NUM = 0, 23 IPSTATS_MIB_INPKTS, 24 IPSTATS_MIB_INOCTETS, 25 IPSTATS_MIB_INDELIVERS, 26 IPSTATS_MIB_OUTFORWDATAGRAMS, 27 IPSTATS_MIB_OUTPKTS, 28 IPSTATS_MIB_OUTOCTETS, 29 IPSTATS_MIB_INHDRERRORS, 30 IPSTATS_MIB_INTOOBIGERRORS, 31 IPSTATS_MIB_INNOROUTES, 32 IPSTATS_MIB_INADDRERRORS, 33 IPSTATS_MIB_INUNKNOWNPROTOS, 34 IPSTATS_MIB_INTRUNCATEDPKTS, 35 IPSTATS_MIB_INDISCARDS, 36 IPSTATS_MIB_OUTDISCARDS, 37 IPSTATS_MIB_OUTNOROUTES, 38 IPSTATS_MIB_REASMTIMEOUT, 39 IPSTATS_MIB_REASMREQDS, 40 IPSTATS_MIB_REASMOKS, 41 IPSTATS_MIB_REASMFAILS, 42 IPSTATS_MIB_FRAGOKS, 43 IPSTATS_MIB_FRAGFAILS, 44 IPSTATS_MIB_FRAGCREATES, 45 IPSTATS_MIB_INMCASTPKTS, 46 IPSTATS_MIB_OUTMCASTPKTS, 47 IPSTATS_MIB_INBCASTPKTS, 48 IPSTATS_MIB_OUTBCASTPKTS, 49 IPSTATS_MIB_INMCASTOCTETS, 50 IPSTATS_MIB_OUTMCASTOCTETS, 51 IPSTATS_MIB_INBCASTOCTETS, 52 IPSTATS_MIB_OUTBCASTOCTETS, 53 IPSTATS_MIB_CSUMERRORS, 54 IPSTATS_MIB_NOECTPKTS, 55 IPSTATS_MIB_ECT1PKTS, 56 IPSTATS_MIB_ECT0PKTS, 57 IPSTATS_MIB_CEPKTS, 58 IPSTATS_MIB_REASM_OVERLAPS, 59 __IPSTATS_MIB_MAX 60 }; 61 enum { 62 ICMP_MIB_NUM = 0, 63 ICMP_MIB_INMSGS, 64 ICMP_MIB_INERRORS, 65 ICMP_MIB_INDESTUNREACHS, 66 ICMP_MIB_INTIMEEXCDS, 67 ICMP_MIB_INPARMPROBS, 68 ICMP_MIB_INSRCQUENCHS, 69 ICMP_MIB_INREDIRECTS, 70 ICMP_MIB_INECHOS, 71 ICMP_MIB_INECHOREPS, 72 ICMP_MIB_INTIMESTAMPS, 73 ICMP_MIB_INTIMESTAMPREPS, 74 ICMP_MIB_INADDRMASKS, 75 ICMP_MIB_INADDRMASKREPS, 76 ICMP_MIB_OUTMSGS, 77 ICMP_MIB_OUTERRORS, 78 ICMP_MIB_OUTDESTUNREACHS, 79 ICMP_MIB_OUTTIMEEXCDS, 80 ICMP_MIB_OUTPARMPROBS, 81 ICMP_MIB_OUTSRCQUENCHS, 82 ICMP_MIB_OUTREDIRECTS, 83 ICMP_MIB_OUTECHOS, 84 ICMP_MIB_OUTECHOREPS, 85 ICMP_MIB_OUTTIMESTAMPS, 86 ICMP_MIB_OUTTIMESTAMPREPS, 87 ICMP_MIB_OUTADDRMASKS, 88 ICMP_MIB_OUTADDRMASKREPS, 89 ICMP_MIB_CSUMERRORS, 90 __ICMP_MIB_MAX 91 }; 92 #define __ICMPMSG_MIB_MAX 512 93 enum { 94 ICMP6_MIB_NUM = 0, 95 ICMP6_MIB_INMSGS, 96 ICMP6_MIB_INERRORS, 97 ICMP6_MIB_OUTMSGS, 98 ICMP6_MIB_OUTERRORS, 99 ICMP6_MIB_CSUMERRORS, 100 __ICMP6_MIB_MAX 101 }; 102 #define __ICMP6MSG_MIB_MAX 512 103 enum { 104 TCP_MIB_NUM = 0, 105 TCP_MIB_RTOALGORITHM, 106 TCP_MIB_RTOMIN, 107 TCP_MIB_RTOMAX, 108 TCP_MIB_MAXCONN, 109 TCP_MIB_ACTIVEOPENS, 110 TCP_MIB_PASSIVEOPENS, 111 TCP_MIB_ATTEMPTFAILS, 112 TCP_MIB_ESTABRESETS, 113 TCP_MIB_CURRESTAB, 114 TCP_MIB_INSEGS, 115 TCP_MIB_OUTSEGS, 116 TCP_MIB_RETRANSSEGS, 117 TCP_MIB_INERRS, 118 TCP_MIB_OUTRSTS, 119 TCP_MIB_CSUMERRORS, 120 __TCP_MIB_MAX 121 }; 122 enum { 123 UDP_MIB_NUM = 0, 124 UDP_MIB_INDATAGRAMS, 125 UDP_MIB_NOPORTS, 126 UDP_MIB_INERRORS, 127 UDP_MIB_OUTDATAGRAMS, 128 UDP_MIB_RCVBUFERRORS, 129 UDP_MIB_SNDBUFERRORS, 130 UDP_MIB_CSUMERRORS, 131 UDP_MIB_IGNOREDMULTI, 132 __UDP_MIB_MAX 133 }; 134 enum { 135 LINUX_MIB_NUM = 0, 136 LINUX_MIB_SYNCOOKIESSENT, 137 LINUX_MIB_SYNCOOKIESRECV, 138 LINUX_MIB_SYNCOOKIESFAILED, 139 LINUX_MIB_EMBRYONICRSTS, 140 LINUX_MIB_PRUNECALLED, 141 LINUX_MIB_RCVPRUNED, 142 LINUX_MIB_OFOPRUNED, 143 LINUX_MIB_OUTOFWINDOWICMPS, 144 LINUX_MIB_LOCKDROPPEDICMPS, 145 LINUX_MIB_ARPFILTER, 146 LINUX_MIB_TIMEWAITED, 147 LINUX_MIB_TIMEWAITRECYCLED, 148 LINUX_MIB_TIMEWAITKILLED, 149 LINUX_MIB_PAWSACTIVEREJECTED, 150 LINUX_MIB_PAWSESTABREJECTED, 151 LINUX_MIB_DELAYEDACKS, 152 LINUX_MIB_DELAYEDACKLOCKED, 153 LINUX_MIB_DELAYEDACKLOST, 154 LINUX_MIB_LISTENOVERFLOWS, 155 LINUX_MIB_LISTENDROPS, 156 LINUX_MIB_TCPHPHITS, 157 LINUX_MIB_TCPPUREACKS, 158 LINUX_MIB_TCPHPACKS, 159 LINUX_MIB_TCPRENORECOVERY, 160 LINUX_MIB_TCPSACKRECOVERY, 161 LINUX_MIB_TCPSACKRENEGING, 162 LINUX_MIB_TCPSACKREORDER, 163 LINUX_MIB_TCPRENOREORDER, 164 LINUX_MIB_TCPTSREORDER, 165 LINUX_MIB_TCPFULLUNDO, 166 LINUX_MIB_TCPPARTIALUNDO, 167 LINUX_MIB_TCPDSACKUNDO, 168 LINUX_MIB_TCPLOSSUNDO, 169 LINUX_MIB_TCPLOSTRETRANSMIT, 170 LINUX_MIB_TCPRENOFAILURES, 171 LINUX_MIB_TCPSACKFAILURES, 172 LINUX_MIB_TCPLOSSFAILURES, 173 LINUX_MIB_TCPFASTRETRANS, 174 LINUX_MIB_TCPSLOWSTARTRETRANS, 175 LINUX_MIB_TCPTIMEOUTS, 176 LINUX_MIB_TCPLOSSPROBES, 177 LINUX_MIB_TCPLOSSPROBERECOVERY, 178 LINUX_MIB_TCPRENORECOVERYFAIL, 179 LINUX_MIB_TCPSACKRECOVERYFAIL, 180 LINUX_MIB_TCPRCVCOLLAPSED, 181 LINUX_MIB_TCPDSACKOLDSENT, 182 LINUX_MIB_TCPDSACKOFOSENT, 183 LINUX_MIB_TCPDSACKRECV, 184 LINUX_MIB_TCPDSACKOFORECV, 185 LINUX_MIB_TCPABORTONDATA, 186 LINUX_MIB_TCPABORTONCLOSE, 187 LINUX_MIB_TCPABORTONMEMORY, 188 LINUX_MIB_TCPABORTONTIMEOUT, 189 LINUX_MIB_TCPABORTONLINGER, 190 LINUX_MIB_TCPABORTFAILED, 191 LINUX_MIB_TCPMEMORYPRESSURES, 192 LINUX_MIB_TCPMEMORYPRESSURESCHRONO, 193 LINUX_MIB_TCPSACKDISCARD, 194 LINUX_MIB_TCPDSACKIGNOREDOLD, 195 LINUX_MIB_TCPDSACKIGNOREDNOUNDO, 196 LINUX_MIB_TCPSPURIOUSRTOS, 197 LINUX_MIB_TCPMD5NOTFOUND, 198 LINUX_MIB_TCPMD5UNEXPECTED, 199 LINUX_MIB_TCPMD5FAILURE, 200 LINUX_MIB_SACKSHIFTED, 201 LINUX_MIB_SACKMERGED, 202 LINUX_MIB_SACKSHIFTFALLBACK, 203 LINUX_MIB_TCPBACKLOGDROP, 204 LINUX_MIB_PFMEMALLOCDROP, 205 LINUX_MIB_TCPMINTTLDROP, 206 LINUX_MIB_TCPDEFERACCEPTDROP, 207 LINUX_MIB_IPRPFILTER, 208 LINUX_MIB_TCPTIMEWAITOVERFLOW, 209 LINUX_MIB_TCPREQQFULLDOCOOKIES, 210 LINUX_MIB_TCPREQQFULLDROP, 211 LINUX_MIB_TCPRETRANSFAIL, 212 LINUX_MIB_TCPRCVCOALESCE, 213 LINUX_MIB_TCPBACKLOGCOALESCE, 214 LINUX_MIB_TCPOFOQUEUE, 215 LINUX_MIB_TCPOFODROP, 216 LINUX_MIB_TCPOFOMERGE, 217 LINUX_MIB_TCPCHALLENGEACK, 218 LINUX_MIB_TCPSYNCHALLENGE, 219 LINUX_MIB_TCPFASTOPENACTIVE, 220 LINUX_MIB_TCPFASTOPENACTIVEFAIL, 221 LINUX_MIB_TCPFASTOPENPASSIVE, 222 LINUX_MIB_TCPFASTOPENPASSIVEFAIL, 223 LINUX_MIB_TCPFASTOPENLISTENOVERFLOW, 224 LINUX_MIB_TCPFASTOPENCOOKIEREQD, 225 LINUX_MIB_TCPFASTOPENBLACKHOLE, 226 LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES, 227 LINUX_MIB_BUSYPOLLRXPACKETS, 228 LINUX_MIB_TCPAUTOCORKING, 229 LINUX_MIB_TCPFROMZEROWINDOWADV, 230 LINUX_MIB_TCPTOZEROWINDOWADV, 231 LINUX_MIB_TCPWANTZEROWINDOWADV, 232 LINUX_MIB_TCPSYNRETRANS, 233 LINUX_MIB_TCPORIGDATASENT, 234 LINUX_MIB_TCPHYSTARTTRAINDETECT, 235 LINUX_MIB_TCPHYSTARTTRAINCWND, 236 LINUX_MIB_TCPHYSTARTDELAYDETECT, 237 LINUX_MIB_TCPHYSTARTDELAYCWND, 238 LINUX_MIB_TCPACKSKIPPEDSYNRECV, 239 LINUX_MIB_TCPACKSKIPPEDPAWS, 240 LINUX_MIB_TCPACKSKIPPEDSEQ, 241 LINUX_MIB_TCPACKSKIPPEDFINWAIT2, 242 LINUX_MIB_TCPACKSKIPPEDTIMEWAIT, 243 LINUX_MIB_TCPACKSKIPPEDCHALLENGE, 244 LINUX_MIB_TCPWINPROBE, 245 LINUX_MIB_TCPKEEPALIVE, 246 LINUX_MIB_TCPMTUPFAIL, 247 LINUX_MIB_TCPMTUPSUCCESS, 248 LINUX_MIB_TCPDELIVERED, 249 LINUX_MIB_TCPDELIVEREDCE, 250 LINUX_MIB_TCPACKCOMPRESSED, 251 LINUX_MIB_TCPZEROWINDOWDROP, 252 LINUX_MIB_TCPRCVQDROP, 253 LINUX_MIB_TCPWQUEUETOOBIG, 254 LINUX_MIB_TCPFASTOPENPASSIVEALTKEY, 255 LINUX_MIB_TCPTIMEOUTREHASH, 256 LINUX_MIB_TCPDUPLICATEDATAREHASH, 257 __LINUX_MIB_MAX 258 }; 259 enum { 260 LINUX_MIB_XFRMNUM = 0, 261 LINUX_MIB_XFRMINERROR, 262 LINUX_MIB_XFRMINBUFFERERROR, 263 LINUX_MIB_XFRMINHDRERROR, 264 LINUX_MIB_XFRMINNOSTATES, 265 LINUX_MIB_XFRMINSTATEPROTOERROR, 266 LINUX_MIB_XFRMINSTATEMODEERROR, 267 LINUX_MIB_XFRMINSTATESEQERROR, 268 LINUX_MIB_XFRMINSTATEEXPIRED, 269 LINUX_MIB_XFRMINSTATEMISMATCH, 270 LINUX_MIB_XFRMINSTATEINVALID, 271 LINUX_MIB_XFRMINTMPLMISMATCH, 272 LINUX_MIB_XFRMINNOPOLS, 273 LINUX_MIB_XFRMINPOLBLOCK, 274 LINUX_MIB_XFRMINPOLERROR, 275 LINUX_MIB_XFRMOUTERROR, 276 LINUX_MIB_XFRMOUTBUNDLEGENERROR, 277 LINUX_MIB_XFRMOUTBUNDLECHECKERROR, 278 LINUX_MIB_XFRMOUTNOSTATES, 279 LINUX_MIB_XFRMOUTSTATEPROTOERROR, 280 LINUX_MIB_XFRMOUTSTATEMODEERROR, 281 LINUX_MIB_XFRMOUTSTATESEQERROR, 282 LINUX_MIB_XFRMOUTSTATEEXPIRED, 283 LINUX_MIB_XFRMOUTPOLBLOCK, 284 LINUX_MIB_XFRMOUTPOLDEAD, 285 LINUX_MIB_XFRMOUTPOLERROR, 286 LINUX_MIB_XFRMFWDHDRERROR, 287 LINUX_MIB_XFRMOUTSTATEINVALID, 288 LINUX_MIB_XFRMACQUIREERROR, 289 __LINUX_MIB_XFRMMAX 290 }; 291 enum { 292 LINUX_MIB_TLSNUM = 0, 293 LINUX_MIB_TLSCURRTXSW, 294 LINUX_MIB_TLSCURRRXSW, 295 LINUX_MIB_TLSCURRTXDEVICE, 296 LINUX_MIB_TLSCURRRXDEVICE, 297 LINUX_MIB_TLSTXSW, 298 LINUX_MIB_TLSRXSW, 299 LINUX_MIB_TLSTXDEVICE, 300 LINUX_MIB_TLSRXDEVICE, 301 LINUX_MIB_TLSDECRYPTERROR, 302 LINUX_MIB_TLSRXDEVICERESYNC, 303 __LINUX_MIB_TLSMAX 304 }; 305 #endif 306