Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Definitions for MIBs |
| 3 | * |
| 4 | * Author: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> |
| 5 | */ |
| 6 | |
| 7 | #ifndef _LINUX_SNMP_H |
| 8 | #define _LINUX_SNMP_H |
| 9 | |
| 10 | /* ipstats mib definitions */ |
| 11 | /* |
| 12 | * RFC 1213: MIB-II |
| 13 | * RFC 2011 (updates 1213): SNMPv2-MIB-IP |
| 14 | * RFC 2863: Interfaces Group MIB |
| 15 | * RFC 2465: IPv6 MIB: General Group |
| 16 | * draft-ietf-ipv6-rfc2011-update-10.txt: MIB for IP: IP Statistics Tables |
| 17 | */ |
| 18 | enum |
| 19 | { |
| 20 | IPSTATS_MIB_NUM = 0, |
Eric Dumazet | 14a1968 | 2012-08-04 20:33:59 +0000 | [diff] [blame] | 21 | /* frequently written fields in fast path, kept in same cache line */ |
Neil Horman | edf391f | 2009-04-27 02:45:02 -0700 | [diff] [blame] | 22 | IPSTATS_MIB_INPKTS, /* InReceives */ |
Eric Dumazet | 14a1968 | 2012-08-04 20:33:59 +0000 | [diff] [blame] | 23 | IPSTATS_MIB_INOCTETS, /* InOctets */ |
| 24 | IPSTATS_MIB_INDELIVERS, /* InDelivers */ |
| 25 | IPSTATS_MIB_OUTFORWDATAGRAMS, /* OutForwDatagrams */ |
| 26 | IPSTATS_MIB_OUTPKTS, /* OutRequests */ |
| 27 | IPSTATS_MIB_OUTOCTETS, /* OutOctets */ |
| 28 | /* other fields */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | IPSTATS_MIB_INHDRERRORS, /* InHdrErrors */ |
| 30 | IPSTATS_MIB_INTOOBIGERRORS, /* InTooBigErrors */ |
| 31 | IPSTATS_MIB_INNOROUTES, /* InNoRoutes */ |
| 32 | IPSTATS_MIB_INADDRERRORS, /* InAddrErrors */ |
| 33 | IPSTATS_MIB_INUNKNOWNPROTOS, /* InUnknownProtos */ |
| 34 | IPSTATS_MIB_INTRUNCATEDPKTS, /* InTruncatedPkts */ |
| 35 | IPSTATS_MIB_INDISCARDS, /* InDiscards */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | IPSTATS_MIB_OUTDISCARDS, /* OutDiscards */ |
| 37 | IPSTATS_MIB_OUTNOROUTES, /* OutNoRoutes */ |
| 38 | IPSTATS_MIB_REASMTIMEOUT, /* ReasmTimeout */ |
| 39 | IPSTATS_MIB_REASMREQDS, /* ReasmReqds */ |
| 40 | IPSTATS_MIB_REASMOKS, /* ReasmOKs */ |
| 41 | IPSTATS_MIB_REASMFAILS, /* ReasmFails */ |
| 42 | IPSTATS_MIB_FRAGOKS, /* FragOKs */ |
| 43 | IPSTATS_MIB_FRAGFAILS, /* FragFails */ |
| 44 | IPSTATS_MIB_FRAGCREATES, /* FragCreates */ |
| 45 | IPSTATS_MIB_INMCASTPKTS, /* InMcastPkts */ |
| 46 | IPSTATS_MIB_OUTMCASTPKTS, /* OutMcastPkts */ |
Mitsuru Chinen | 71ff6c0 | 2007-04-30 00:45:02 -0700 | [diff] [blame] | 47 | IPSTATS_MIB_INBCASTPKTS, /* InBcastPkts */ |
| 48 | IPSTATS_MIB_OUTBCASTPKTS, /* OutBcastPkts */ |
Neil Horman | edf391f | 2009-04-27 02:45:02 -0700 | [diff] [blame] | 49 | IPSTATS_MIB_INMCASTOCTETS, /* InMcastOctets */ |
| 50 | IPSTATS_MIB_OUTMCASTOCTETS, /* OutMcastOctets */ |
| 51 | IPSTATS_MIB_INBCASTOCTETS, /* InBcastOctets */ |
| 52 | IPSTATS_MIB_OUTBCASTOCTETS, /* OutBcastOctets */ |
Eric Dumazet | 6a5dc9e | 2013-04-29 08:39:56 +0000 | [diff] [blame] | 53 | IPSTATS_MIB_CSUMERRORS, /* InCsumErrors */ |
Eric Dumazet | 1f07d03 | 2013-08-06 03:32:11 -0700 | [diff] [blame] | 54 | IPSTATS_MIB_NOECTPKTS, /* InNoECTPkts */ |
| 55 | IPSTATS_MIB_ECT1PKTS, /* InECT1Pkts */ |
| 56 | IPSTATS_MIB_ECT0PKTS, /* InECT0Pkts */ |
| 57 | IPSTATS_MIB_CEPKTS, /* InCEPkts */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | __IPSTATS_MIB_MAX |
| 59 | }; |
| 60 | |
| 61 | /* icmp mib definitions */ |
| 62 | /* |
| 63 | * RFC 1213: MIB-II ICMP Group |
| 64 | * RFC 2011 (updates 1213): SNMPv2 MIB for IP: ICMP group |
| 65 | */ |
| 66 | enum |
| 67 | { |
| 68 | ICMP_MIB_NUM = 0, |
| 69 | ICMP_MIB_INMSGS, /* InMsgs */ |
| 70 | ICMP_MIB_INERRORS, /* InErrors */ |
| 71 | ICMP_MIB_INDESTUNREACHS, /* InDestUnreachs */ |
| 72 | ICMP_MIB_INTIMEEXCDS, /* InTimeExcds */ |
| 73 | ICMP_MIB_INPARMPROBS, /* InParmProbs */ |
| 74 | ICMP_MIB_INSRCQUENCHS, /* InSrcQuenchs */ |
| 75 | ICMP_MIB_INREDIRECTS, /* InRedirects */ |
| 76 | ICMP_MIB_INECHOS, /* InEchos */ |
| 77 | ICMP_MIB_INECHOREPS, /* InEchoReps */ |
| 78 | ICMP_MIB_INTIMESTAMPS, /* InTimestamps */ |
| 79 | ICMP_MIB_INTIMESTAMPREPS, /* InTimestampReps */ |
| 80 | ICMP_MIB_INADDRMASKS, /* InAddrMasks */ |
| 81 | ICMP_MIB_INADDRMASKREPS, /* InAddrMaskReps */ |
| 82 | ICMP_MIB_OUTMSGS, /* OutMsgs */ |
| 83 | ICMP_MIB_OUTERRORS, /* OutErrors */ |
| 84 | ICMP_MIB_OUTDESTUNREACHS, /* OutDestUnreachs */ |
| 85 | ICMP_MIB_OUTTIMEEXCDS, /* OutTimeExcds */ |
| 86 | ICMP_MIB_OUTPARMPROBS, /* OutParmProbs */ |
| 87 | ICMP_MIB_OUTSRCQUENCHS, /* OutSrcQuenchs */ |
| 88 | ICMP_MIB_OUTREDIRECTS, /* OutRedirects */ |
| 89 | ICMP_MIB_OUTECHOS, /* OutEchos */ |
| 90 | ICMP_MIB_OUTECHOREPS, /* OutEchoReps */ |
| 91 | ICMP_MIB_OUTTIMESTAMPS, /* OutTimestamps */ |
| 92 | ICMP_MIB_OUTTIMESTAMPREPS, /* OutTimestampReps */ |
| 93 | ICMP_MIB_OUTADDRMASKS, /* OutAddrMasks */ |
| 94 | ICMP_MIB_OUTADDRMASKREPS, /* OutAddrMaskReps */ |
Eric Dumazet | 6a5dc9e | 2013-04-29 08:39:56 +0000 | [diff] [blame] | 95 | ICMP_MIB_CSUMERRORS, /* InCsumErrors */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 96 | __ICMP_MIB_MAX |
| 97 | }; |
| 98 | |
David L Stevens | 96793b4 | 2007-09-17 09:57:33 -0700 | [diff] [blame] | 99 | #define __ICMPMSG_MIB_MAX 512 /* Out+In for all 8-bit ICMP types */ |
| 100 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 101 | /* icmp6 mib definitions */ |
| 102 | /* |
| 103 | * RFC 2466: ICMPv6-MIB |
| 104 | */ |
| 105 | enum |
| 106 | { |
| 107 | ICMP6_MIB_NUM = 0, |
| 108 | ICMP6_MIB_INMSGS, /* InMsgs */ |
| 109 | ICMP6_MIB_INERRORS, /* InErrors */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 110 | ICMP6_MIB_OUTMSGS, /* OutMsgs */ |
Eric Dumazet | 1f8438a | 2010-04-03 15:09:04 -0700 | [diff] [blame] | 111 | ICMP6_MIB_OUTERRORS, /* OutErrors */ |
Eric Dumazet | 6a5dc9e | 2013-04-29 08:39:56 +0000 | [diff] [blame] | 112 | ICMP6_MIB_CSUMERRORS, /* InCsumErrors */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 113 | __ICMP6_MIB_MAX |
| 114 | }; |
| 115 | |
David L Stevens | 14878f7 | 2007-09-16 16:52:35 -0700 | [diff] [blame] | 116 | #define __ICMP6MSG_MIB_MAX 512 /* Out+In for all 8-bit ICMPv6 types */ |
| 117 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 118 | /* tcp mib definitions */ |
| 119 | /* |
| 120 | * RFC 1213: MIB-II TCP group |
| 121 | * RFC 2012 (updates 1213): SNMPv2-MIB-TCP |
| 122 | */ |
| 123 | enum |
| 124 | { |
| 125 | TCP_MIB_NUM = 0, |
| 126 | TCP_MIB_RTOALGORITHM, /* RtoAlgorithm */ |
| 127 | TCP_MIB_RTOMIN, /* RtoMin */ |
| 128 | TCP_MIB_RTOMAX, /* RtoMax */ |
| 129 | TCP_MIB_MAXCONN, /* MaxConn */ |
| 130 | TCP_MIB_ACTIVEOPENS, /* ActiveOpens */ |
| 131 | TCP_MIB_PASSIVEOPENS, /* PassiveOpens */ |
| 132 | TCP_MIB_ATTEMPTFAILS, /* AttemptFails */ |
| 133 | TCP_MIB_ESTABRESETS, /* EstabResets */ |
| 134 | TCP_MIB_CURRESTAB, /* CurrEstab */ |
| 135 | TCP_MIB_INSEGS, /* InSegs */ |
| 136 | TCP_MIB_OUTSEGS, /* OutSegs */ |
| 137 | TCP_MIB_RETRANSSEGS, /* RetransSegs */ |
| 138 | TCP_MIB_INERRS, /* InErrs */ |
| 139 | TCP_MIB_OUTRSTS, /* OutRsts */ |
Eric Dumazet | 6a5dc9e | 2013-04-29 08:39:56 +0000 | [diff] [blame] | 140 | TCP_MIB_CSUMERRORS, /* InCsumErrors */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 141 | __TCP_MIB_MAX |
| 142 | }; |
| 143 | |
| 144 | /* udp mib definitions */ |
| 145 | /* |
| 146 | * RFC 1213: MIB-II UDP group |
| 147 | * RFC 2013 (updates 1213): SNMPv2-MIB-UDP |
| 148 | */ |
| 149 | enum |
| 150 | { |
| 151 | UDP_MIB_NUM = 0, |
| 152 | UDP_MIB_INDATAGRAMS, /* InDatagrams */ |
| 153 | UDP_MIB_NOPORTS, /* NoPorts */ |
| 154 | UDP_MIB_INERRORS, /* InErrors */ |
| 155 | UDP_MIB_OUTDATAGRAMS, /* OutDatagrams */ |
Martin Bligh | 81aa646 | 2006-08-14 23:57:10 -0700 | [diff] [blame] | 156 | UDP_MIB_RCVBUFERRORS, /* RcvbufErrors */ |
| 157 | UDP_MIB_SNDBUFERRORS, /* SndbufErrors */ |
Eric Dumazet | 6a5dc9e | 2013-04-29 08:39:56 +0000 | [diff] [blame] | 158 | UDP_MIB_CSUMERRORS, /* InCsumErrors */ |
Rick Jones | 36cbb24 | 2014-11-06 10:37:54 -0800 | [diff] [blame] | 159 | UDP_MIB_IGNOREDMULTI, /* IgnoredMulti */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 160 | __UDP_MIB_MAX |
| 161 | }; |
| 162 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 163 | /* linux mib definitions */ |
| 164 | enum |
| 165 | { |
| 166 | LINUX_MIB_NUM = 0, |
| 167 | LINUX_MIB_SYNCOOKIESSENT, /* SyncookiesSent */ |
| 168 | LINUX_MIB_SYNCOOKIESRECV, /* SyncookiesRecv */ |
| 169 | LINUX_MIB_SYNCOOKIESFAILED, /* SyncookiesFailed */ |
| 170 | LINUX_MIB_EMBRYONICRSTS, /* EmbryonicRsts */ |
| 171 | LINUX_MIB_PRUNECALLED, /* PruneCalled */ |
| 172 | LINUX_MIB_RCVPRUNED, /* RcvPruned */ |
| 173 | LINUX_MIB_OFOPRUNED, /* OfoPruned */ |
| 174 | LINUX_MIB_OUTOFWINDOWICMPS, /* OutOfWindowIcmps */ |
| 175 | LINUX_MIB_LOCKDROPPEDICMPS, /* LockDroppedIcmps */ |
| 176 | LINUX_MIB_ARPFILTER, /* ArpFilter */ |
| 177 | LINUX_MIB_TIMEWAITED, /* TimeWaited */ |
| 178 | LINUX_MIB_TIMEWAITRECYCLED, /* TimeWaitRecycled */ |
| 179 | LINUX_MIB_TIMEWAITKILLED, /* TimeWaitKilled */ |
| 180 | LINUX_MIB_PAWSPASSIVEREJECTED, /* PAWSPassiveRejected */ |
| 181 | LINUX_MIB_PAWSACTIVEREJECTED, /* PAWSActiveRejected */ |
| 182 | LINUX_MIB_PAWSESTABREJECTED, /* PAWSEstabRejected */ |
| 183 | LINUX_MIB_DELAYEDACKS, /* DelayedACKs */ |
| 184 | LINUX_MIB_DELAYEDACKLOCKED, /* DelayedACKLocked */ |
| 185 | LINUX_MIB_DELAYEDACKLOST, /* DelayedACKLost */ |
| 186 | LINUX_MIB_LISTENOVERFLOWS, /* ListenOverflows */ |
| 187 | LINUX_MIB_LISTENDROPS, /* ListenDrops */ |
| 188 | LINUX_MIB_TCPPREQUEUED, /* TCPPrequeued */ |
| 189 | LINUX_MIB_TCPDIRECTCOPYFROMBACKLOG, /* TCPDirectCopyFromBacklog */ |
| 190 | LINUX_MIB_TCPDIRECTCOPYFROMPREQUEUE, /* TCPDirectCopyFromPrequeue */ |
| 191 | LINUX_MIB_TCPPREQUEUEDROPPED, /* TCPPrequeueDropped */ |
| 192 | LINUX_MIB_TCPHPHITS, /* TCPHPHits */ |
| 193 | LINUX_MIB_TCPHPHITSTOUSER, /* TCPHPHitsToUser */ |
| 194 | LINUX_MIB_TCPPUREACKS, /* TCPPureAcks */ |
| 195 | LINUX_MIB_TCPHPACKS, /* TCPHPAcks */ |
| 196 | LINUX_MIB_TCPRENORECOVERY, /* TCPRenoRecovery */ |
| 197 | LINUX_MIB_TCPSACKRECOVERY, /* TCPSackRecovery */ |
| 198 | LINUX_MIB_TCPSACKRENEGING, /* TCPSACKReneging */ |
| 199 | LINUX_MIB_TCPFACKREORDER, /* TCPFACKReorder */ |
| 200 | LINUX_MIB_TCPSACKREORDER, /* TCPSACKReorder */ |
| 201 | LINUX_MIB_TCPRENOREORDER, /* TCPRenoReorder */ |
| 202 | LINUX_MIB_TCPTSREORDER, /* TCPTSReorder */ |
| 203 | LINUX_MIB_TCPFULLUNDO, /* TCPFullUndo */ |
| 204 | LINUX_MIB_TCPPARTIALUNDO, /* TCPPartialUndo */ |
| 205 | LINUX_MIB_TCPDSACKUNDO, /* TCPDSACKUndo */ |
| 206 | LINUX_MIB_TCPLOSSUNDO, /* TCPLossUndo */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 207 | LINUX_MIB_TCPLOSTRETRANSMIT, /* TCPLostRetransmit */ |
| 208 | LINUX_MIB_TCPRENOFAILURES, /* TCPRenoFailures */ |
| 209 | LINUX_MIB_TCPSACKFAILURES, /* TCPSackFailures */ |
| 210 | LINUX_MIB_TCPLOSSFAILURES, /* TCPLossFailures */ |
| 211 | LINUX_MIB_TCPFASTRETRANS, /* TCPFastRetrans */ |
| 212 | LINUX_MIB_TCPFORWARDRETRANS, /* TCPForwardRetrans */ |
| 213 | LINUX_MIB_TCPSLOWSTARTRETRANS, /* TCPSlowStartRetrans */ |
| 214 | LINUX_MIB_TCPTIMEOUTS, /* TCPTimeouts */ |
Nandita Dukkipati | 6ba8a3b | 2013-03-11 10:00:43 +0000 | [diff] [blame] | 215 | LINUX_MIB_TCPLOSSPROBES, /* TCPLossProbes */ |
Nandita Dukkipati | 9b717a8 | 2013-03-11 10:00:44 +0000 | [diff] [blame] | 216 | LINUX_MIB_TCPLOSSPROBERECOVERY, /* TCPLossProbeRecovery */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 217 | LINUX_MIB_TCPRENORECOVERYFAIL, /* TCPRenoRecoveryFail */ |
| 218 | LINUX_MIB_TCPSACKRECOVERYFAIL, /* TCPSackRecoveryFail */ |
| 219 | LINUX_MIB_TCPSCHEDULERFAILED, /* TCPSchedulerFailed */ |
| 220 | LINUX_MIB_TCPRCVCOLLAPSED, /* TCPRcvCollapsed */ |
| 221 | LINUX_MIB_TCPDSACKOLDSENT, /* TCPDSACKOldSent */ |
| 222 | LINUX_MIB_TCPDSACKOFOSENT, /* TCPDSACKOfoSent */ |
| 223 | LINUX_MIB_TCPDSACKRECV, /* TCPDSACKRecv */ |
| 224 | LINUX_MIB_TCPDSACKOFORECV, /* TCPDSACKOfoRecv */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 225 | LINUX_MIB_TCPABORTONDATA, /* TCPAbortOnData */ |
| 226 | LINUX_MIB_TCPABORTONCLOSE, /* TCPAbortOnClose */ |
| 227 | LINUX_MIB_TCPABORTONMEMORY, /* TCPAbortOnMemory */ |
| 228 | LINUX_MIB_TCPABORTONTIMEOUT, /* TCPAbortOnTimeout */ |
| 229 | LINUX_MIB_TCPABORTONLINGER, /* TCPAbortOnLinger */ |
| 230 | LINUX_MIB_TCPABORTFAILED, /* TCPAbortFailed */ |
| 231 | LINUX_MIB_TCPMEMORYPRESSURES, /* TCPMemoryPressures */ |
Ilpo Järvinen | 18f0254 | 2007-08-24 22:55:52 -0700 | [diff] [blame] | 232 | LINUX_MIB_TCPSACKDISCARD, /* TCPSACKDiscard */ |
| 233 | LINUX_MIB_TCPDSACKIGNOREDOLD, /* TCPSACKIgnoredOld */ |
| 234 | LINUX_MIB_TCPDSACKIGNOREDNOUNDO, /* TCPSACKIgnoredNoUndo */ |
Ilpo Järvinen | 912d8f0 | 2007-09-25 22:47:31 -0700 | [diff] [blame] | 235 | LINUX_MIB_TCPSPURIOUSRTOS, /* TCPSpuriousRTOs */ |
David S. Miller | 785957d | 2008-07-30 03:03:15 -0700 | [diff] [blame] | 236 | LINUX_MIB_TCPMD5NOTFOUND, /* TCPMD5NotFound */ |
| 237 | LINUX_MIB_TCPMD5UNEXPECTED, /* TCPMD5Unexpected */ |
Ilpo Järvinen | 111cc8b | 2008-11-24 21:27:22 -0800 | [diff] [blame] | 238 | LINUX_MIB_SACKSHIFTED, |
| 239 | LINUX_MIB_SACKMERGED, |
| 240 | LINUX_MIB_SACKSHIFTFALLBACK, |
Eric Dumazet | 6cce09f | 2010-03-07 23:21:57 +0000 | [diff] [blame] | 241 | LINUX_MIB_TCPBACKLOGDROP, |
| 242 | LINUX_MIB_TCPMINTTLDROP, /* RFC 5082 */ |
Eric Dumazet | 907cdda | 2010-03-19 05:37:18 +0000 | [diff] [blame] | 243 | LINUX_MIB_TCPDEFERACCEPTDROP, |
Eric Dumazet | b5f7e75 | 2010-06-02 12:05:27 +0000 | [diff] [blame] | 244 | LINUX_MIB_IPRPFILTER, /* IP Reverse Path Filter (rp_filter) */ |
Tom Herbert | 6763151 | 2010-12-08 12:16:33 -0800 | [diff] [blame] | 245 | LINUX_MIB_TCPTIMEWAITOVERFLOW, /* TCPTimeWaitOverflow */ |
Eric Dumazet | 946cedc | 2011-08-30 03:21:44 +0000 | [diff] [blame] | 246 | LINUX_MIB_TCPREQQFULLDOCOOKIES, /* TCPReqQFullDoCookies */ |
| 247 | LINUX_MIB_TCPREQQFULLDROP, /* TCPReqQFullDrop */ |
Eric Dumazet | 09e9b81 | 2012-01-25 04:44:20 +0000 | [diff] [blame] | 248 | LINUX_MIB_TCPRETRANSFAIL, /* TCPRetransFail */ |
Eric Dumazet | a6df1ae | 2012-07-16 01:41:36 +0000 | [diff] [blame] | 249 | LINUX_MIB_TCPRCVCOALESCE, /* TCPRcvCoalesce */ |
| 250 | LINUX_MIB_TCPOFOQUEUE, /* TCPOFOQueue */ |
| 251 | LINUX_MIB_TCPOFODROP, /* TCPOFODrop */ |
| 252 | LINUX_MIB_TCPOFOMERGE, /* TCPOFOMerge */ |
Eric Dumazet | 282f23c | 2012-07-17 10:13:05 +0200 | [diff] [blame] | 253 | LINUX_MIB_TCPCHALLENGEACK, /* TCPChallengeACK */ |
Eric Dumazet | 0c24604 | 2012-07-17 01:41:30 +0000 | [diff] [blame] | 254 | LINUX_MIB_TCPSYNCHALLENGE, /* TCPSYNChallenge */ |
Yuchung Cheng | 783237e | 2012-07-19 06:43:07 +0000 | [diff] [blame] | 255 | LINUX_MIB_TCPFASTOPENACTIVE, /* TCPFastOpenActive */ |
Yuchung Cheng | f19c29e | 2014-03-03 12:31:36 -0800 | [diff] [blame] | 256 | LINUX_MIB_TCPFASTOPENACTIVEFAIL, /* TCPFastOpenActiveFail */ |
Jerry Chu | 1046716 | 2012-08-31 12:29:11 +0000 | [diff] [blame] | 257 | LINUX_MIB_TCPFASTOPENPASSIVE, /* TCPFastOpenPassive*/ |
| 258 | LINUX_MIB_TCPFASTOPENPASSIVEFAIL, /* TCPFastOpenPassiveFail */ |
| 259 | LINUX_MIB_TCPFASTOPENLISTENOVERFLOW, /* TCPFastOpenListenOverflow */ |
| 260 | LINUX_MIB_TCPFASTOPENCOOKIEREQD, /* TCPFastOpenCookieReqd */ |
Eric Dumazet | 0e280af | 2013-04-18 06:52:51 +0000 | [diff] [blame] | 261 | LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES, /* TCPSpuriousRtxHostQueues */ |
Eliezer Tamir | 288a9376 | 2013-08-07 11:33:25 +0300 | [diff] [blame] | 262 | LINUX_MIB_BUSYPOLLRXPACKETS, /* BusyPollRxPackets */ |
Eric Dumazet | f54b311 | 2013-12-05 22:36:05 -0800 | [diff] [blame] | 263 | LINUX_MIB_TCPAUTOCORKING, /* TCPAutoCorking */ |
Florian Westphal | 8e165e2 | 2014-02-25 14:34:32 +0100 | [diff] [blame] | 264 | LINUX_MIB_TCPFROMZEROWINDOWADV, /* TCPFromZeroWindowAdv */ |
| 265 | LINUX_MIB_TCPTOZEROWINDOWADV, /* TCPToZeroWindowAdv */ |
| 266 | LINUX_MIB_TCPWANTZEROWINDOWADV, /* TCPWantZeroWindowAdv */ |
Yuchung Cheng | f19c29e | 2014-03-03 12:31:36 -0800 | [diff] [blame] | 267 | LINUX_MIB_TCPSYNRETRANS, /* TCPSynRetrans */ |
| 268 | LINUX_MIB_TCPORIGDATASENT, /* TCPOrigDataSent */ |
Eric Dumazet | 6e3a8a9 | 2014-12-04 16:13:23 -0800 | [diff] [blame] | 269 | LINUX_MIB_TCPHYSTARTTRAINDETECT, /* TCPHystartTrainDetect */ |
| 270 | LINUX_MIB_TCPHYSTARTTRAINCWND, /* TCPHystartTrainCwnd */ |
| 271 | LINUX_MIB_TCPHYSTARTDELAYDETECT, /* TCPHystartDelayDetect */ |
| 272 | LINUX_MIB_TCPHYSTARTDELAYCWND, /* TCPHystartDelayCwnd */ |
Neal Cardwell | 032ee42 | 2015-02-06 16:04:38 -0500 | [diff] [blame] | 273 | LINUX_MIB_TCPACKSKIPPEDSYNRECV, /* TCPACKSkippedSynRecv */ |
| 274 | LINUX_MIB_TCPACKSKIPPEDPAWS, /* TCPACKSkippedPAWS */ |
| 275 | LINUX_MIB_TCPACKSKIPPEDSEQ, /* TCPACKSkippedSeq */ |
| 276 | LINUX_MIB_TCPACKSKIPPEDFINWAIT2, /* TCPACKSkippedFinWait2 */ |
| 277 | LINUX_MIB_TCPACKSKIPPEDTIMEWAIT, /* TCPACKSkippedTimeWait */ |
| 278 | LINUX_MIB_TCPACKSKIPPEDCHALLENGE, /* TCPACKSkippedChallenge */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 279 | __LINUX_MIB_MAX |
| 280 | }; |
| 281 | |
Masahide NAKAMURA | 558f82e | 2007-12-20 20:42:57 -0800 | [diff] [blame] | 282 | /* linux Xfrm mib definitions */ |
| 283 | enum |
| 284 | { |
| 285 | LINUX_MIB_XFRMNUM = 0, |
| 286 | LINUX_MIB_XFRMINERROR, /* XfrmInError */ |
| 287 | LINUX_MIB_XFRMINBUFFERERROR, /* XfrmInBufferError */ |
| 288 | LINUX_MIB_XFRMINHDRERROR, /* XfrmInHdrError */ |
| 289 | LINUX_MIB_XFRMINNOSTATES, /* XfrmInNoStates */ |
| 290 | LINUX_MIB_XFRMINSTATEPROTOERROR, /* XfrmInStateProtoError */ |
| 291 | LINUX_MIB_XFRMINSTATEMODEERROR, /* XfrmInStateModeError */ |
Masahide NAKAMURA | 9472c9e | 2008-01-31 17:14:58 -0800 | [diff] [blame] | 292 | LINUX_MIB_XFRMINSTATESEQERROR, /* XfrmInStateSeqError */ |
Masahide NAKAMURA | 558f82e | 2007-12-20 20:42:57 -0800 | [diff] [blame] | 293 | LINUX_MIB_XFRMINSTATEEXPIRED, /* XfrmInStateExpired */ |
| 294 | LINUX_MIB_XFRMINSTATEMISMATCH, /* XfrmInStateMismatch */ |
| 295 | LINUX_MIB_XFRMINSTATEINVALID, /* XfrmInStateInvalid */ |
| 296 | LINUX_MIB_XFRMINTMPLMISMATCH, /* XfrmInTmplMismatch */ |
| 297 | LINUX_MIB_XFRMINNOPOLS, /* XfrmInNoPols */ |
| 298 | LINUX_MIB_XFRMINPOLBLOCK, /* XfrmInPolBlock */ |
| 299 | LINUX_MIB_XFRMINPOLERROR, /* XfrmInPolError */ |
| 300 | LINUX_MIB_XFRMOUTERROR, /* XfrmOutError */ |
| 301 | LINUX_MIB_XFRMOUTBUNDLEGENERROR, /* XfrmOutBundleGenError */ |
| 302 | LINUX_MIB_XFRMOUTBUNDLECHECKERROR, /* XfrmOutBundleCheckError */ |
| 303 | LINUX_MIB_XFRMOUTNOSTATES, /* XfrmOutNoStates */ |
| 304 | LINUX_MIB_XFRMOUTSTATEPROTOERROR, /* XfrmOutStateProtoError */ |
| 305 | LINUX_MIB_XFRMOUTSTATEMODEERROR, /* XfrmOutStateModeError */ |
Masahide NAKAMURA | 9472c9e | 2008-01-31 17:14:58 -0800 | [diff] [blame] | 306 | LINUX_MIB_XFRMOUTSTATESEQERROR, /* XfrmOutStateSeqError */ |
Masahide NAKAMURA | 558f82e | 2007-12-20 20:42:57 -0800 | [diff] [blame] | 307 | LINUX_MIB_XFRMOUTSTATEEXPIRED, /* XfrmOutStateExpired */ |
| 308 | LINUX_MIB_XFRMOUTPOLBLOCK, /* XfrmOutPolBlock */ |
| 309 | LINUX_MIB_XFRMOUTPOLDEAD, /* XfrmOutPolDead */ |
| 310 | LINUX_MIB_XFRMOUTPOLERROR, /* XfrmOutPolError */ |
jamal | 72032fd | 2010-02-18 03:35:07 +0000 | [diff] [blame] | 311 | LINUX_MIB_XFRMFWDHDRERROR, /* XfrmFwdHdrError*/ |
Li RongQing | bb65a9c | 2012-12-28 16:06:28 +0800 | [diff] [blame] | 312 | LINUX_MIB_XFRMOUTSTATEINVALID, /* XfrmOutStateInvalid */ |
Fan Du | 4c4d41f | 2013-06-06 10:15:54 +0800 | [diff] [blame] | 313 | LINUX_MIB_XFRMACQUIREERROR, /* XfrmAcquireError */ |
Masahide NAKAMURA | 558f82e | 2007-12-20 20:42:57 -0800 | [diff] [blame] | 314 | __LINUX_MIB_XFRMMAX |
| 315 | }; |
| 316 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 317 | #endif /* _LINUX_SNMP_H */ |