1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* 3 * Definitions for MIBs 4 * 5 * Author: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> 6 */ 7 8 #ifndef _LINUX_SNMP_H 9 #define _LINUX_SNMP_H 10 11 /* ipstats mib definitions */ 12 /* 13 * RFC 1213: MIB-II 14 * RFC 2011 (updates 1213): SNMPv2-MIB-IP 15 * RFC 2863: Interfaces Group MIB 16 * RFC 2465: IPv6 MIB: General Group 17 * draft-ietf-ipv6-rfc2011-update-10.txt: MIB for IP: IP Statistics Tables 18 */ 19 enum 20 { 21 IPSTATS_MIB_NUM = 0, 22 /* frequently written fields in fast path, kept in same cache line */ 23 IPSTATS_MIB_INPKTS, /* InReceives */ 24 IPSTATS_MIB_INOCTETS, /* InOctets */ 25 IPSTATS_MIB_INDELIVERS, /* InDelivers */ 26 IPSTATS_MIB_OUTFORWDATAGRAMS, /* OutForwDatagrams */ 27 IPSTATS_MIB_OUTPKTS, /* OutRequests */ 28 IPSTATS_MIB_OUTOCTETS, /* OutOctets */ 29 /* other fields */ 30 IPSTATS_MIB_INHDRERRORS, /* InHdrErrors */ 31 IPSTATS_MIB_INTOOBIGERRORS, /* InTooBigErrors */ 32 IPSTATS_MIB_INNOROUTES, /* InNoRoutes */ 33 IPSTATS_MIB_INADDRERRORS, /* InAddrErrors */ 34 IPSTATS_MIB_INUNKNOWNPROTOS, /* InUnknownProtos */ 35 IPSTATS_MIB_INTRUNCATEDPKTS, /* InTruncatedPkts */ 36 IPSTATS_MIB_INDISCARDS, /* InDiscards */ 37 IPSTATS_MIB_OUTDISCARDS, /* OutDiscards */ 38 IPSTATS_MIB_OUTNOROUTES, /* OutNoRoutes */ 39 IPSTATS_MIB_REASMTIMEOUT, /* ReasmTimeout */ 40 IPSTATS_MIB_REASMREQDS, /* ReasmReqds */ 41 IPSTATS_MIB_REASMOKS, /* ReasmOKs */ 42 IPSTATS_MIB_REASMFAILS, /* ReasmFails */ 43 IPSTATS_MIB_FRAGOKS, /* FragOKs */ 44 IPSTATS_MIB_FRAGFAILS, /* FragFails */ 45 IPSTATS_MIB_FRAGCREATES, /* FragCreates */ 46 IPSTATS_MIB_INMCASTPKTS, /* InMcastPkts */ 47 IPSTATS_MIB_OUTMCASTPKTS, /* OutMcastPkts */ 48 IPSTATS_MIB_INBCASTPKTS, /* InBcastPkts */ 49 IPSTATS_MIB_OUTBCASTPKTS, /* OutBcastPkts */ 50 IPSTATS_MIB_INMCASTOCTETS, /* InMcastOctets */ 51 IPSTATS_MIB_OUTMCASTOCTETS, /* OutMcastOctets */ 52 IPSTATS_MIB_INBCASTOCTETS, /* InBcastOctets */ 53 IPSTATS_MIB_OUTBCASTOCTETS, /* OutBcastOctets */ 54 IPSTATS_MIB_CSUMERRORS, /* InCsumErrors */ 55 IPSTATS_MIB_NOECTPKTS, /* InNoECTPkts */ 56 IPSTATS_MIB_ECT1PKTS, /* InECT1Pkts */ 57 IPSTATS_MIB_ECT0PKTS, /* InECT0Pkts */ 58 IPSTATS_MIB_CEPKTS, /* InCEPkts */ 59 IPSTATS_MIB_REASM_OVERLAPS, /* ReasmOverlaps */ 60 __IPSTATS_MIB_MAX 61 }; 62 63 /* icmp mib definitions */ 64 /* 65 * RFC 1213: MIB-II ICMP Group 66 * RFC 2011 (updates 1213): SNMPv2 MIB for IP: ICMP group 67 */ 68 enum 69 { 70 ICMP_MIB_NUM = 0, 71 ICMP_MIB_INMSGS, /* InMsgs */ 72 ICMP_MIB_INERRORS, /* InErrors */ 73 ICMP_MIB_INDESTUNREACHS, /* InDestUnreachs */ 74 ICMP_MIB_INTIMEEXCDS, /* InTimeExcds */ 75 ICMP_MIB_INPARMPROBS, /* InParmProbs */ 76 ICMP_MIB_INSRCQUENCHS, /* InSrcQuenchs */ 77 ICMP_MIB_INREDIRECTS, /* InRedirects */ 78 ICMP_MIB_INECHOS, /* InEchos */ 79 ICMP_MIB_INECHOREPS, /* InEchoReps */ 80 ICMP_MIB_INTIMESTAMPS, /* InTimestamps */ 81 ICMP_MIB_INTIMESTAMPREPS, /* InTimestampReps */ 82 ICMP_MIB_INADDRMASKS, /* InAddrMasks */ 83 ICMP_MIB_INADDRMASKREPS, /* InAddrMaskReps */ 84 ICMP_MIB_OUTMSGS, /* OutMsgs */ 85 ICMP_MIB_OUTERRORS, /* OutErrors */ 86 ICMP_MIB_OUTDESTUNREACHS, /* OutDestUnreachs */ 87 ICMP_MIB_OUTTIMEEXCDS, /* OutTimeExcds */ 88 ICMP_MIB_OUTPARMPROBS, /* OutParmProbs */ 89 ICMP_MIB_OUTSRCQUENCHS, /* OutSrcQuenchs */ 90 ICMP_MIB_OUTREDIRECTS, /* OutRedirects */ 91 ICMP_MIB_OUTECHOS, /* OutEchos */ 92 ICMP_MIB_OUTECHOREPS, /* OutEchoReps */ 93 ICMP_MIB_OUTTIMESTAMPS, /* OutTimestamps */ 94 ICMP_MIB_OUTTIMESTAMPREPS, /* OutTimestampReps */ 95 ICMP_MIB_OUTADDRMASKS, /* OutAddrMasks */ 96 ICMP_MIB_OUTADDRMASKREPS, /* OutAddrMaskReps */ 97 ICMP_MIB_CSUMERRORS, /* InCsumErrors */ 98 __ICMP_MIB_MAX 99 }; 100 101 #define __ICMPMSG_MIB_MAX 512 /* Out+In for all 8-bit ICMP types */ 102 103 /* icmp6 mib definitions */ 104 /* 105 * RFC 2466: ICMPv6-MIB 106 */ 107 enum 108 { 109 ICMP6_MIB_NUM = 0, 110 ICMP6_MIB_INMSGS, /* InMsgs */ 111 ICMP6_MIB_INERRORS, /* InErrors */ 112 ICMP6_MIB_OUTMSGS, /* OutMsgs */ 113 ICMP6_MIB_OUTERRORS, /* OutErrors */ 114 ICMP6_MIB_CSUMERRORS, /* InCsumErrors */ 115 __ICMP6_MIB_MAX 116 }; 117 118 #define __ICMP6MSG_MIB_MAX 512 /* Out+In for all 8-bit ICMPv6 types */ 119 120 /* tcp mib definitions */ 121 /* 122 * RFC 1213: MIB-II TCP group 123 * RFC 2012 (updates 1213): SNMPv2-MIB-TCP 124 */ 125 enum 126 { 127 TCP_MIB_NUM = 0, 128 TCP_MIB_RTOALGORITHM, /* RtoAlgorithm */ 129 TCP_MIB_RTOMIN, /* RtoMin */ 130 TCP_MIB_RTOMAX, /* RtoMax */ 131 TCP_MIB_MAXCONN, /* MaxConn */ 132 TCP_MIB_ACTIVEOPENS, /* ActiveOpens */ 133 TCP_MIB_PASSIVEOPENS, /* PassiveOpens */ 134 TCP_MIB_ATTEMPTFAILS, /* AttemptFails */ 135 TCP_MIB_ESTABRESETS, /* EstabResets */ 136 TCP_MIB_CURRESTAB, /* CurrEstab */ 137 TCP_MIB_INSEGS, /* InSegs */ 138 TCP_MIB_OUTSEGS, /* OutSegs */ 139 TCP_MIB_RETRANSSEGS, /* RetransSegs */ 140 TCP_MIB_INERRS, /* InErrs */ 141 TCP_MIB_OUTRSTS, /* OutRsts */ 142 TCP_MIB_CSUMERRORS, /* InCsumErrors */ 143 __TCP_MIB_MAX 144 }; 145 146 /* udp mib definitions */ 147 /* 148 * RFC 1213: MIB-II UDP group 149 * RFC 2013 (updates 1213): SNMPv2-MIB-UDP 150 */ 151 enum 152 { 153 UDP_MIB_NUM = 0, 154 UDP_MIB_INDATAGRAMS, /* InDatagrams */ 155 UDP_MIB_NOPORTS, /* NoPorts */ 156 UDP_MIB_INERRORS, /* InErrors */ 157 UDP_MIB_OUTDATAGRAMS, /* OutDatagrams */ 158 UDP_MIB_RCVBUFERRORS, /* RcvbufErrors */ 159 UDP_MIB_SNDBUFERRORS, /* SndbufErrors */ 160 UDP_MIB_CSUMERRORS, /* InCsumErrors */ 161 UDP_MIB_IGNOREDMULTI, /* IgnoredMulti */ 162 UDP_MIB_MEMERRORS, /* MemErrors */ 163 __UDP_MIB_MAX 164 }; 165 166 /* linux mib definitions */ 167 enum 168 { 169 LINUX_MIB_NUM = 0, 170 LINUX_MIB_SYNCOOKIESSENT, /* SyncookiesSent */ 171 LINUX_MIB_SYNCOOKIESRECV, /* SyncookiesRecv */ 172 LINUX_MIB_SYNCOOKIESFAILED, /* SyncookiesFailed */ 173 LINUX_MIB_EMBRYONICRSTS, /* EmbryonicRsts */ 174 LINUX_MIB_PRUNECALLED, /* PruneCalled */ 175 LINUX_MIB_RCVPRUNED, /* RcvPruned */ 176 LINUX_MIB_OFOPRUNED, /* OfoPruned */ 177 LINUX_MIB_OUTOFWINDOWICMPS, /* OutOfWindowIcmps */ 178 LINUX_MIB_LOCKDROPPEDICMPS, /* LockDroppedIcmps */ 179 LINUX_MIB_ARPFILTER, /* ArpFilter */ 180 LINUX_MIB_TIMEWAITED, /* TimeWaited */ 181 LINUX_MIB_TIMEWAITRECYCLED, /* TimeWaitRecycled */ 182 LINUX_MIB_TIMEWAITKILLED, /* TimeWaitKilled */ 183 LINUX_MIB_PAWSACTIVEREJECTED, /* PAWSActiveRejected */ 184 LINUX_MIB_PAWSESTABREJECTED, /* PAWSEstabRejected */ 185 LINUX_MIB_DELAYEDACKS, /* DelayedACKs */ 186 LINUX_MIB_DELAYEDACKLOCKED, /* DelayedACKLocked */ 187 LINUX_MIB_DELAYEDACKLOST, /* DelayedACKLost */ 188 LINUX_MIB_LISTENOVERFLOWS, /* ListenOverflows */ 189 LINUX_MIB_LISTENDROPS, /* ListenDrops */ 190 LINUX_MIB_TCPHPHITS, /* TCPHPHits */ 191 LINUX_MIB_TCPPUREACKS, /* TCPPureAcks */ 192 LINUX_MIB_TCPHPACKS, /* TCPHPAcks */ 193 LINUX_MIB_TCPRENORECOVERY, /* TCPRenoRecovery */ 194 LINUX_MIB_TCPSACKRECOVERY, /* TCPSackRecovery */ 195 LINUX_MIB_TCPSACKRENEGING, /* TCPSACKReneging */ 196 LINUX_MIB_TCPSACKREORDER, /* TCPSACKReorder */ 197 LINUX_MIB_TCPRENOREORDER, /* TCPRenoReorder */ 198 LINUX_MIB_TCPTSREORDER, /* TCPTSReorder */ 199 LINUX_MIB_TCPFULLUNDO, /* TCPFullUndo */ 200 LINUX_MIB_TCPPARTIALUNDO, /* TCPPartialUndo */ 201 LINUX_MIB_TCPDSACKUNDO, /* TCPDSACKUndo */ 202 LINUX_MIB_TCPLOSSUNDO, /* TCPLossUndo */ 203 LINUX_MIB_TCPLOSTRETRANSMIT, /* TCPLostRetransmit */ 204 LINUX_MIB_TCPRENOFAILURES, /* TCPRenoFailures */ 205 LINUX_MIB_TCPSACKFAILURES, /* TCPSackFailures */ 206 LINUX_MIB_TCPLOSSFAILURES, /* TCPLossFailures */ 207 LINUX_MIB_TCPFASTRETRANS, /* TCPFastRetrans */ 208 LINUX_MIB_TCPSLOWSTARTRETRANS, /* TCPSlowStartRetrans */ 209 LINUX_MIB_TCPTIMEOUTS, /* TCPTimeouts */ 210 LINUX_MIB_TCPLOSSPROBES, /* TCPLossProbes */ 211 LINUX_MIB_TCPLOSSPROBERECOVERY, /* TCPLossProbeRecovery */ 212 LINUX_MIB_TCPRENORECOVERYFAIL, /* TCPRenoRecoveryFail */ 213 LINUX_MIB_TCPSACKRECOVERYFAIL, /* TCPSackRecoveryFail */ 214 LINUX_MIB_TCPRCVCOLLAPSED, /* TCPRcvCollapsed */ 215 LINUX_MIB_TCPDSACKOLDSENT, /* TCPDSACKOldSent */ 216 LINUX_MIB_TCPDSACKOFOSENT, /* TCPDSACKOfoSent */ 217 LINUX_MIB_TCPDSACKRECV, /* TCPDSACKRecv */ 218 LINUX_MIB_TCPDSACKOFORECV, /* TCPDSACKOfoRecv */ 219 LINUX_MIB_TCPABORTONDATA, /* TCPAbortOnData */ 220 LINUX_MIB_TCPABORTONCLOSE, /* TCPAbortOnClose */ 221 LINUX_MIB_TCPABORTONMEMORY, /* TCPAbortOnMemory */ 222 LINUX_MIB_TCPABORTONTIMEOUT, /* TCPAbortOnTimeout */ 223 LINUX_MIB_TCPABORTONLINGER, /* TCPAbortOnLinger */ 224 LINUX_MIB_TCPABORTFAILED, /* TCPAbortFailed */ 225 LINUX_MIB_TCPMEMORYPRESSURES, /* TCPMemoryPressures */ 226 LINUX_MIB_TCPMEMORYPRESSURESCHRONO, /* TCPMemoryPressuresChrono */ 227 LINUX_MIB_TCPSACKDISCARD, /* TCPSACKDiscard */ 228 LINUX_MIB_TCPDSACKIGNOREDOLD, /* TCPSACKIgnoredOld */ 229 LINUX_MIB_TCPDSACKIGNOREDNOUNDO, /* TCPSACKIgnoredNoUndo */ 230 LINUX_MIB_TCPSPURIOUSRTOS, /* TCPSpuriousRTOs */ 231 LINUX_MIB_TCPMD5NOTFOUND, /* TCPMD5NotFound */ 232 LINUX_MIB_TCPMD5UNEXPECTED, /* TCPMD5Unexpected */ 233 LINUX_MIB_TCPMD5FAILURE, /* TCPMD5Failure */ 234 LINUX_MIB_SACKSHIFTED, 235 LINUX_MIB_SACKMERGED, 236 LINUX_MIB_SACKSHIFTFALLBACK, 237 LINUX_MIB_TCPBACKLOGDROP, 238 LINUX_MIB_PFMEMALLOCDROP, 239 LINUX_MIB_TCPMINTTLDROP, /* RFC 5082 */ 240 LINUX_MIB_TCPDEFERACCEPTDROP, 241 LINUX_MIB_IPRPFILTER, /* IP Reverse Path Filter (rp_filter) */ 242 LINUX_MIB_TCPTIMEWAITOVERFLOW, /* TCPTimeWaitOverflow */ 243 LINUX_MIB_TCPREQQFULLDOCOOKIES, /* TCPReqQFullDoCookies */ 244 LINUX_MIB_TCPREQQFULLDROP, /* TCPReqQFullDrop */ 245 LINUX_MIB_TCPRETRANSFAIL, /* TCPRetransFail */ 246 LINUX_MIB_TCPRCVCOALESCE, /* TCPRcvCoalesce */ 247 LINUX_MIB_TCPBACKLOGCOALESCE, /* TCPBacklogCoalesce */ 248 LINUX_MIB_TCPOFOQUEUE, /* TCPOFOQueue */ 249 LINUX_MIB_TCPOFODROP, /* TCPOFODrop */ 250 LINUX_MIB_TCPOFOMERGE, /* TCPOFOMerge */ 251 LINUX_MIB_TCPCHALLENGEACK, /* TCPChallengeACK */ 252 LINUX_MIB_TCPSYNCHALLENGE, /* TCPSYNChallenge */ 253 LINUX_MIB_TCPFASTOPENACTIVE, /* TCPFastOpenActive */ 254 LINUX_MIB_TCPFASTOPENACTIVEFAIL, /* TCPFastOpenActiveFail */ 255 LINUX_MIB_TCPFASTOPENPASSIVE, /* TCPFastOpenPassive*/ 256 LINUX_MIB_TCPFASTOPENPASSIVEFAIL, /* TCPFastOpenPassiveFail */ 257 LINUX_MIB_TCPFASTOPENLISTENOVERFLOW, /* TCPFastOpenListenOverflow */ 258 LINUX_MIB_TCPFASTOPENCOOKIEREQD, /* TCPFastOpenCookieReqd */ 259 LINUX_MIB_TCPFASTOPENBLACKHOLE, /* TCPFastOpenBlackholeDetect */ 260 LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES, /* TCPSpuriousRtxHostQueues */ 261 LINUX_MIB_BUSYPOLLRXPACKETS, /* BusyPollRxPackets */ 262 LINUX_MIB_TCPAUTOCORKING, /* TCPAutoCorking */ 263 LINUX_MIB_TCPFROMZEROWINDOWADV, /* TCPFromZeroWindowAdv */ 264 LINUX_MIB_TCPTOZEROWINDOWADV, /* TCPToZeroWindowAdv */ 265 LINUX_MIB_TCPWANTZEROWINDOWADV, /* TCPWantZeroWindowAdv */ 266 LINUX_MIB_TCPSYNRETRANS, /* TCPSynRetrans */ 267 LINUX_MIB_TCPORIGDATASENT, /* TCPOrigDataSent */ 268 LINUX_MIB_TCPHYSTARTTRAINDETECT, /* TCPHystartTrainDetect */ 269 LINUX_MIB_TCPHYSTARTTRAINCWND, /* TCPHystartTrainCwnd */ 270 LINUX_MIB_TCPHYSTARTDELAYDETECT, /* TCPHystartDelayDetect */ 271 LINUX_MIB_TCPHYSTARTDELAYCWND, /* TCPHystartDelayCwnd */ 272 LINUX_MIB_TCPACKSKIPPEDSYNRECV, /* TCPACKSkippedSynRecv */ 273 LINUX_MIB_TCPACKSKIPPEDPAWS, /* TCPACKSkippedPAWS */ 274 LINUX_MIB_TCPACKSKIPPEDSEQ, /* TCPACKSkippedSeq */ 275 LINUX_MIB_TCPACKSKIPPEDFINWAIT2, /* TCPACKSkippedFinWait2 */ 276 LINUX_MIB_TCPACKSKIPPEDTIMEWAIT, /* TCPACKSkippedTimeWait */ 277 LINUX_MIB_TCPACKSKIPPEDCHALLENGE, /* TCPACKSkippedChallenge */ 278 LINUX_MIB_TCPWINPROBE, /* TCPWinProbe */ 279 LINUX_MIB_TCPKEEPALIVE, /* TCPKeepAlive */ 280 LINUX_MIB_TCPMTUPFAIL, /* TCPMTUPFail */ 281 LINUX_MIB_TCPMTUPSUCCESS, /* TCPMTUPSuccess */ 282 LINUX_MIB_TCPDELIVERED, /* TCPDelivered */ 283 LINUX_MIB_TCPDELIVEREDCE, /* TCPDeliveredCE */ 284 LINUX_MIB_TCPACKCOMPRESSED, /* TCPAckCompressed */ 285 LINUX_MIB_TCPZEROWINDOWDROP, /* TCPZeroWindowDrop */ 286 LINUX_MIB_TCPRCVQDROP, /* TCPRcvQDrop */ 287 LINUX_MIB_TCPWQUEUETOOBIG, /* TCPWqueueTooBig */ 288 LINUX_MIB_TCPFASTOPENPASSIVEALTKEY, /* TCPFastOpenPassiveAltKey */ 289 LINUX_MIB_TCPTIMEOUTREHASH, /* TCPTimeoutRehash */ 290 LINUX_MIB_TCPDUPLICATEDATAREHASH, /* TCPDuplicateDataRehash */ 291 LINUX_MIB_TCPDSACKRECVSEGS, /* TCPDSACKRecvSegs */ 292 LINUX_MIB_TCPDSACKIGNOREDDUBIOUS, /* TCPDSACKIgnoredDubious */ 293 LINUX_MIB_TCPMIGRATEREQSUCCESS, /* TCPMigrateReqSuccess */ 294 LINUX_MIB_TCPMIGRATEREQFAILURE, /* TCPMigrateReqFailure */ 295 __LINUX_MIB_MAX 296 }; 297 298 /* linux Xfrm mib definitions */ 299 enum 300 { 301 LINUX_MIB_XFRMNUM = 0, 302 LINUX_MIB_XFRMINERROR, /* XfrmInError */ 303 LINUX_MIB_XFRMINBUFFERERROR, /* XfrmInBufferError */ 304 LINUX_MIB_XFRMINHDRERROR, /* XfrmInHdrError */ 305 LINUX_MIB_XFRMINNOSTATES, /* XfrmInNoStates */ 306 LINUX_MIB_XFRMINSTATEPROTOERROR, /* XfrmInStateProtoError */ 307 LINUX_MIB_XFRMINSTATEMODEERROR, /* XfrmInStateModeError */ 308 LINUX_MIB_XFRMINSTATESEQERROR, /* XfrmInStateSeqError */ 309 LINUX_MIB_XFRMINSTATEEXPIRED, /* XfrmInStateExpired */ 310 LINUX_MIB_XFRMINSTATEMISMATCH, /* XfrmInStateMismatch */ 311 LINUX_MIB_XFRMINSTATEINVALID, /* XfrmInStateInvalid */ 312 LINUX_MIB_XFRMINTMPLMISMATCH, /* XfrmInTmplMismatch */ 313 LINUX_MIB_XFRMINNOPOLS, /* XfrmInNoPols */ 314 LINUX_MIB_XFRMINPOLBLOCK, /* XfrmInPolBlock */ 315 LINUX_MIB_XFRMINPOLERROR, /* XfrmInPolError */ 316 LINUX_MIB_XFRMOUTERROR, /* XfrmOutError */ 317 LINUX_MIB_XFRMOUTBUNDLEGENERROR, /* XfrmOutBundleGenError */ 318 LINUX_MIB_XFRMOUTBUNDLECHECKERROR, /* XfrmOutBundleCheckError */ 319 LINUX_MIB_XFRMOUTNOSTATES, /* XfrmOutNoStates */ 320 LINUX_MIB_XFRMOUTSTATEPROTOERROR, /* XfrmOutStateProtoError */ 321 LINUX_MIB_XFRMOUTSTATEMODEERROR, /* XfrmOutStateModeError */ 322 LINUX_MIB_XFRMOUTSTATESEQERROR, /* XfrmOutStateSeqError */ 323 LINUX_MIB_XFRMOUTSTATEEXPIRED, /* XfrmOutStateExpired */ 324 LINUX_MIB_XFRMOUTPOLBLOCK, /* XfrmOutPolBlock */ 325 LINUX_MIB_XFRMOUTPOLDEAD, /* XfrmOutPolDead */ 326 LINUX_MIB_XFRMOUTPOLERROR, /* XfrmOutPolError */ 327 LINUX_MIB_XFRMFWDHDRERROR, /* XfrmFwdHdrError*/ 328 LINUX_MIB_XFRMOUTSTATEINVALID, /* XfrmOutStateInvalid */ 329 LINUX_MIB_XFRMACQUIREERROR, /* XfrmAcquireError */ 330 __LINUX_MIB_XFRMMAX 331 }; 332 333 /* linux TLS mib definitions */ 334 enum 335 { 336 LINUX_MIB_TLSNUM = 0, 337 LINUX_MIB_TLSCURRTXSW, /* TlsCurrTxSw */ 338 LINUX_MIB_TLSCURRRXSW, /* TlsCurrRxSw */ 339 LINUX_MIB_TLSCURRTXDEVICE, /* TlsCurrTxDevice */ 340 LINUX_MIB_TLSCURRRXDEVICE, /* TlsCurrRxDevice */ 341 LINUX_MIB_TLSTXSW, /* TlsTxSw */ 342 LINUX_MIB_TLSRXSW, /* TlsRxSw */ 343 LINUX_MIB_TLSTXDEVICE, /* TlsTxDevice */ 344 LINUX_MIB_TLSRXDEVICE, /* TlsRxDevice */ 345 LINUX_MIB_TLSDECRYPTERROR, /* TlsDecryptError */ 346 LINUX_MIB_TLSRXDEVICERESYNC, /* TlsRxDeviceResync */ 347 __LINUX_MIB_TLSMAX 348 }; 349 350 #endif /* _LINUX_SNMP_H */ 351