1 /* $OpenBSD: mib.h,v 1.44 2024/01/27 09:53:59 martijn Exp $ */ 2 3 /* 4 * Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org> 5 * 6 * Permission to use, copy, modify, and distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 */ 18 19 #ifndef SNMPD_MIB_H 20 #define SNMPD_MIB_H 21 22 #include <stddef.h> 23 24 struct ber_oid; 25 enum mib_oidfmt { 26 MIB_OIDNUMERIC, 27 MIB_OIDSYMBOLIC 28 }; 29 30 void mib_parsefile(const char *); 31 void mib_parsedir(const char *); 32 void mib_resolve(void); 33 void mib_clear(void); 34 char *mib_oid2string(struct ber_oid *, char *, size_t, 35 enum mib_oidfmt); 36 const char *mib_string2oid(const char *, struct ber_oid *); 37 38 #define MIBDECL(...) { { MIB_##__VA_ARGS__ }, \ 39 (sizeof((uint32_t []) { MIB_##__VA_ARGS__ }) / sizeof(uint32_t))}, #__VA_ARGS__ 40 #define MIBEND { { 0 } }, NULL 41 42 /* 43 * Adding new MIBs: 44 * - add the OID definitions below 45 * - add the OIDs to the MIB_TREE table at the end of this file 46 * - optional: write the implementation in mib.c 47 */ 48 49 /* From the SNMPv2-SMI MIB */ 50 #define MIB_iso 1 51 #define MIB_org MIB_iso, 3 52 #define MIB_dod MIB_org, 6 53 #define MIB_internet MIB_dod, 1 54 #define MIB_directory MIB_internet, 1 55 #define MIB_mgmt MIB_internet, 2 56 #define MIB_mib_2 MIB_mgmt, 1 /* XXX mib-2 */ 57 #define MIB_system MIB_mib_2, 1 58 #define OIDIDX_system 7 59 #define MIB_sysDescr MIB_system, 1 60 #define MIB_sysOID MIB_system, 2 61 #define MIB_sysUpTime MIB_system, 3 62 #define MIB_sysContact MIB_system, 4 63 #define MIB_sysName MIB_system, 5 64 #define MIB_sysLocation MIB_system, 6 65 #define MIB_sysServices MIB_system, 7 66 #define MIB_sysORLastChange MIB_system, 8 67 #define MIB_sysORTable MIB_system, 9 68 #define MIB_sysOREntry MIB_sysORTable, 1 69 #define OIDIDX_sysOR 9 70 #define OIDIDX_sysOREntry 10 71 #define MIB_sysORIndex MIB_sysOREntry, 1 72 #define MIB_sysORID MIB_sysOREntry, 2 73 #define MIB_sysORDescr MIB_sysOREntry, 3 74 #define MIB_sysORUpTime MIB_sysOREntry, 4 75 #define MIB_transmission MIB_mib_2, 10 76 #define MIB_snmp MIB_mib_2, 11 77 #define OIDIDX_snmp 7 78 #define MIB_snmpInPkts MIB_snmp, 1 79 #define MIB_snmpOutPkts MIB_snmp, 2 80 #define MIB_snmpInBadVersions MIB_snmp, 3 81 #define MIB_snmpInBadCommunityNames MIB_snmp, 4 82 #define MIB_snmpInBadCommunityUses MIB_snmp, 5 83 #define MIB_snmpInASNParseErrs MIB_snmp, 6 84 #define MIB_snmpInTooBigs MIB_snmp, 8 85 #define MIB_snmpInNoSuchNames MIB_snmp, 9 86 #define MIB_snmpInBadValues MIB_snmp, 10 87 #define MIB_snmpInReadOnlys MIB_snmp, 11 88 #define MIB_snmpInGenErrs MIB_snmp, 12 89 #define MIB_snmpInTotalReqVars MIB_snmp, 13 90 #define MIB_snmpInTotalSetVars MIB_snmp, 14 91 #define MIB_snmpInGetRequests MIB_snmp, 15 92 #define MIB_snmpInGetNexts MIB_snmp, 16 93 #define MIB_snmpInSetRequests MIB_snmp, 17 94 #define MIB_snmpInGetResponses MIB_snmp, 18 95 #define MIB_snmpInTraps MIB_snmp, 19 96 #define MIB_snmpOutTooBigs MIB_snmp, 20 97 #define MIB_snmpOutNoSuchNames MIB_snmp, 21 98 #define MIB_snmpOutBadValues MIB_snmp, 22 99 #define MIB_snmpOutGenErrs MIB_snmp, 24 100 #define MIB_snmpOutGetRequests MIB_snmp, 25 101 #define MIB_snmpOutGetNexts MIB_snmp, 26 102 #define MIB_snmpOutSetRequests MIB_snmp, 27 103 #define MIB_snmpOutGetResponses MIB_snmp, 28 104 #define MIB_snmpOutTraps MIB_snmp, 29 105 #define MIB_snmpEnableAuthenTraps MIB_snmp, 30 106 #define MIB_snmpSilentDrops MIB_snmp, 31 107 #define MIB_snmpProxyDrops MIB_snmp, 32 108 #define MIB_experimental MIB_internet, 3 109 #define MIB_private MIB_internet, 4 110 #define MIB_enterprises MIB_private, 1 111 #define MIB_security MIB_internet, 5 112 #define MIB_snmpV2 MIB_internet, 6 113 #define MIB_snmpDomains MIB_snmpV2, 1 114 #define MIB_snmpProxies MIB_snmpV2, 2 115 #define MIB_snmpModules MIB_snmpV2, 3 116 #define MIB_snmpMIB MIB_snmpModules, 1 117 #define MIB_snmpMIBObjects MIB_snmpMIB, 1 118 #define MIB_snmpTrap MIB_snmpMIBObjects, 4 119 #define MIB_snmpTrapOID MIB_snmpTrap, 1 120 #define MIB_snmpTrapEnterprise MIB_snmpTrap, 3 121 #define MIB_snmpTraps MIB_snmpMIBObjects, 5 122 #define MIB_coldStart MIB_snmpTraps, 1 123 #define MIB_warmStart MIB_snmpTraps, 2 124 #define MIB_linkDown MIB_snmpTraps, 3 125 #define MIB_linkUp MIB_snmpTraps, 4 126 #define MIB_authenticationFailure MIB_snmpTraps, 5 127 #define MIB_egpNeighborLoss MIB_snmpTraps, 6 128 129 /* SNMP-USER-BASED-SM-MIB */ 130 #define MIB_framework MIB_snmpModules, 10 131 #define MIB_frameworkObjects MIB_framework, 2 132 #define OIDIDX_snmpEngine 9 133 #define MIB_snmpEngine MIB_frameworkObjects, 1 134 #define MIB_snmpEngineID MIB_snmpEngine, 1 135 #define MIB_snmpEngineBoots MIB_snmpEngine, 2 136 #define MIB_snmpEngineTime MIB_snmpEngine, 3 137 #define MIB_snmpEngineMaxMsgSize MIB_snmpEngine, 4 138 #define MIB_usm MIB_snmpModules, 15 139 #define MIB_usmObjects MIB_usm, 1 140 #define MIB_usmStats MIB_usmObjects, 1 141 #define OIDIDX_usmStats 9 142 #define OIDVAL_usmErrSecLevel 1 143 #define OIDVAL_usmErrTimeWindow 2 144 #define OIDVAL_usmErrUserName 3 145 #define OIDVAL_usmErrEngineId 4 146 #define OIDVAL_usmErrDigest 5 147 #define OIDVAL_usmErrDecrypt 6 148 #define MIB_usmStatsUnsupportedSecLevels MIB_usmStats, OIDVAL_usmErrSecLevel 149 #define MIB_usmStatsNotInTimeWindow MIB_usmStats, OIDVAL_usmErrTimeWindow 150 #define MIB_usmStatsUnknownUserNames MIB_usmStats, OIDVAL_usmErrUserName 151 #define MIB_usmStatsUnknownEngineId MIB_usmStats, OIDVAL_usmErrEngineId 152 #define MIB_usmStatsWrongDigests MIB_usmStats, OIDVAL_usmErrDigest 153 #define MIB_usmStatsDecryptionErrors MIB_usmStats, OIDVAL_usmErrDecrypt 154 155 /* SNMP-TARGET-MIB */ 156 #define MIB_snmpTargetMIB MIB_snmpModules, 12 157 #define MIB_snmpTargetObjects MIB_snmpTargetMIB, 1 158 #define MIB_snmpTargetSpinLock MIB_snmpTargetObjects, 1 159 #define MIB_snmpTargetAddrTable MIB_snmpTargetObjects, 2 160 #define MIB_snmpTargetAddrEntry MIB_snmpTargetAddrTable, 1 161 #define MIB_snmpTargetAddrName MIB_snmpTargetAddrEntry, 1 162 #define MIB_snmpTargetAddrTDomain MIB_snmpTargetAddrEntry, 2 163 #define MIB_snmpTargetAddrTAddress MIB_snmpTargetAddrEntry, 3 164 #define MIB_snmpTargetAddrTimeout MIB_snmpTargetAddrEntry, 4 165 #define MIB_snmpTargetAddrRetryCount MIB_snmpTargetAddrEntry, 5 166 #define MIB_snmpTargetAddrTagList MIB_snmpTargetAddrEntry, 6 167 #define MIB_snmpTargetAddrParams MIB_snmpTargetAddrEntry, 7 168 #define MIB_snmpTargetAddrStorageType MIB_snmpTargetAddrEntry, 8 169 #define MIB_snmpTargetAddrRowStatus MIB_snmpTargetAddrEntry, 9 170 #define MIB_snmpTargetParamsTable MIB_snmpTargetObjects, 3 171 #define MIB_snmpTargetParamsEntry MIB_snmpTargetParamsTable, 1 172 #define MIB_snmpTargetParamsName MIB_snmpTargetParamsEntry, 1 173 #define MIB_snmpTargetParamsMPModel MIB_snmpTargetParamsEntry, 2 174 #define MIB_snmpTargetParamsSecurityModel MIB_snmpTargetParamsEntry, 3 175 #define MIB_snmpTargetParamsSecurityName MIB_snmpTargetParamsEntry, 4 176 #define MIB_snmpTargetParamsSecurityLevel MIB_snmpTargetParamsEntry, 5 177 #define MIB_snmpTargetParamsStorageType MIB_snmpTargetParamsEntry, 6 178 #define MIB_snmpTargetParamsRowStatus MIB_snmpTargetParamsEntry, 7 179 #define MIB_snmpUnavailableContexts MIB_snmpTargetObjects, 4 180 #define MIB_snmpUnknownContexts MIB_snmpTargetObjects, 5 181 182 /* HOST-RESOURCES-MIB */ 183 #define MIB_host MIB_mib_2, 25 184 #define MIB_hrSystem MIB_host, 1 185 #define OIDIDX_hrsystem 8 186 #define MIB_hrSystemUptime MIB_hrSystem, 1 187 #define MIB_hrSystemDate MIB_hrSystem, 2 188 #define MIB_hrSystemInitialLoadDevice MIB_hrSystem, 3 189 #define MIB_hrSystemInitialLoadParameters MIB_hrSystem, 4 190 #define MIB_hrSystemNumUsers MIB_hrSystem, 5 191 #define MIB_hrSystemProcesses MIB_hrSystem, 6 192 #define MIB_hrSystemMaxProcesses MIB_hrSystem, 7 193 #define MIB_hrStorage MIB_host, 2 194 #define MIB_hrStorageTypes MIB_hrStorage, 1 195 #define MIB_hrStorageOther MIB_hrStorageTypes, 1 196 #define MIB_hrStorageRam MIB_hrStorageTypes, 2 197 #define MIB_hrStorageVirtualMemory MIB_hrStorageTypes, 3 198 #define MIB_hrStorageFixedDisk MIB_hrStorageTypes, 4 199 #define MIB_hrStorageRemovableDisk MIB_hrStorageTypes, 5 200 #define MIB_hrStorageFloppyDisk MIB_hrStorageTypes, 6 201 #define MIB_hrStorageCompactDisc MIB_hrStorageTypes, 7 202 #define MIB_hrStorageRamDisk MIB_hrStorageTypes, 8 203 #define MIB_hrStorageFlashMemory MIB_hrStorageTypes, 9 204 #define MIB_hrStorageNetworkDisk MIB_hrStorageTypes, 10 205 #define MIB_hrMemorySize MIB_hrStorage, 2 206 #define MIB_hrStorageTable MIB_hrStorage, 3 207 #define MIB_hrStorageEntry MIB_hrStorageTable, 1 208 #define OIDIDX_hrStorage 10 209 #define OIDIDX_hrStorageEntry 11 210 #define MIB_hrStorageIndex MIB_hrStorageEntry, 1 211 #define MIB_hrStorageType MIB_hrStorageEntry, 2 212 #define MIB_hrStorageDescr MIB_hrStorageEntry, 3 213 #define MIB_hrStorageAllocationUnits MIB_hrStorageEntry, 4 214 #define MIB_hrStorageSize MIB_hrStorageEntry, 5 215 #define MIB_hrStorageUsed MIB_hrStorageEntry, 6 216 #define MIB_hrStorageAllocationFailures MIB_hrStorageEntry, 7 217 #define MIB_hrDevice MIB_host, 3 218 #define MIB_hrDeviceTypes MIB_hrDevice, 1 219 #define MIB_hrDeviceOther MIB_hrDeviceTypes, 1 220 #define MIB_hrDeviceUnknown MIB_hrDeviceTypes, 2 221 #define MIB_hrDeviceProcessor MIB_hrDeviceTypes, 3 222 #define MIB_hrDeviceNetwork MIB_hrDeviceTypes, 4 223 #define MIB_hrDevicePrinter MIB_hrDeviceTypes, 5 224 #define MIB_hrDeviceDiskStorage MIB_hrDeviceTypes, 6 225 #define MIB_hrDeviceVideo MIB_hrDeviceTypes, 10 226 #define MIB_hrDeviceAudio MIB_hrDeviceTypes, 11 227 #define MIB_hrDeviceCoprocessor MIB_hrDeviceTypes, 12 228 #define MIB_hrDeviceKeyboard MIB_hrDeviceTypes, 13 229 #define MIB_hrDeviceModem MIB_hrDeviceTypes, 14 230 #define MIB_hrDeviceParallelPort MIB_hrDeviceTypes, 15 231 #define MIB_hrDevicePointing MIB_hrDeviceTypes, 16 232 #define MIB_hrDeviceSerialPort MIB_hrDeviceTypes, 17 233 #define MIB_hrDeviceTape MIB_hrDeviceTypes, 18 234 #define MIB_hrDeviceClock MIB_hrDeviceTypes, 19 235 #define MIB_hrDeviceVolatileMemory MIB_hrDeviceTypes, 20 236 #define MIB_hrDeviceNonVolatileMemory MIB_hrDeviceTypes, 21 237 #define MIB_hrDeviceTable MIB_hrDevice, 2 238 #define MIB_hrDeviceEntry MIB_hrDeviceTable, 1 239 #define OIDIDX_hrDevice 10 240 #define OIDIDX_hrDeviceEntry 11 241 #define MIB_hrDeviceIndex MIB_hrDeviceEntry, 1 242 #define MIB_hrDeviceType MIB_hrDeviceEntry, 2 243 #define MIB_hrDeviceDescr MIB_hrDeviceEntry, 3 244 #define MIB_hrDeviceID MIB_hrDeviceEntry, 4 245 #define MIB_hrDeviceStatus MIB_hrDeviceEntry, 5 246 #define MIB_hrDeviceErrors MIB_hrDeviceEntry, 6 247 #define MIB_hrProcessorTable MIB_hrDevice, 3 248 #define MIB_hrProcessorEntry MIB_hrProcessorTable, 1 249 #define OIDIDX_hrProcessor 10 250 #define OIDIDX_hrProcessorEntry 11 251 #define MIB_hrProcessorFrwID MIB_hrProcessorEntry, 1 252 #define MIB_hrProcessorLoad MIB_hrProcessorEntry, 2 253 #define MIB_hrSWRun MIB_host, 4 254 #define MIB_hrSWOSIndex MIB_hrSWRun, 1 255 #define MIB_hrSWRunTable MIB_hrSWRun, 2 256 #define MIB_hrSWRunEntry MIB_hrSWRunTable, 1 257 #define OIDIDX_hrSWRun 10 258 #define OIDIDX_hrSWRunEntry 11 259 #define MIB_hrSWRunIndex MIB_hrSWRunEntry, 1 260 #define MIB_hrSWRunName MIB_hrSWRunEntry, 2 261 #define MIB_hrSWRunID MIB_hrSWRunEntry, 3 262 #define MIB_hrSWRunPath MIB_hrSWRunEntry, 4 263 #define MIB_hrSWRunParameters MIB_hrSWRunEntry, 5 264 #define MIB_hrSWRunType MIB_hrSWRunEntry, 6 265 #define MIB_hrSWRunStatus MIB_hrSWRunEntry, 7 266 #define MIB_hrSWRunPerf MIB_host, 5 267 #define MIB_hrSWRunPerfTable MIB_hrSWRunPerf, 1 268 #define OIDIDX_hrSWRunPerf 10 269 #define OIDIDX_hrSWRunPerfEntry 11 270 #define MIB_hrSWRunPerfEntry MIB_hrSWRunPerfTable, 1 271 #define MIB_hrSWRunPerfCPU MIB_hrSWRunPerfEntry, 1 272 #define MIB_hrSWRunPerfMem MIB_hrSWRunPerfEntry, 2 273 #define MIB_hrSWInstalled MIB_host, 6 274 #define MIB_hrMIBAdminInfo MIB_host, 7 275 276 /* IF-MIB */ 277 #define MIB_ifMIB MIB_mib_2, 31 278 #define MIB_ifMIBObjects MIB_ifMIB, 1 279 #define MIB_ifXTable MIB_ifMIBObjects, 1 280 #define MIB_ifXEntry MIB_ifXTable, 1 281 #define OIDIDX_ifX 10 282 #define OIDIDX_ifXEntry 11 283 #define MIB_ifName MIB_ifXEntry, 1 284 #define MIB_ifInMulticastPkts MIB_ifXEntry, 2 285 #define MIB_ifInBroadcastPkts MIB_ifXEntry, 3 286 #define MIB_ifOutMulticastPkts MIB_ifXEntry, 4 287 #define MIB_ifOutBroadcastPkts MIB_ifXEntry, 5 288 #define MIB_ifHCInOctets MIB_ifXEntry, 6 289 #define MIB_ifHCInUcastPkts MIB_ifXEntry, 7 290 #define MIB_ifHCInMulticastPkts MIB_ifXEntry, 8 291 #define MIB_ifHCInBroadcastPkts MIB_ifXEntry, 9 292 #define MIB_ifHCOutOctets MIB_ifXEntry, 10 293 #define MIB_ifHCOutUcastPkts MIB_ifXEntry, 11 294 #define MIB_ifHCOutMulticastPkts MIB_ifXEntry, 12 295 #define MIB_ifHCOutBroadcastPkts MIB_ifXEntry, 13 296 #define MIB_ifLinkUpDownTrapEnable MIB_ifXEntry, 14 297 #define MIB_ifHighSpeed MIB_ifXEntry, 15 298 #define MIB_ifPromiscuousMode MIB_ifXEntry, 16 299 #define MIB_ifConnectorPresent MIB_ifXEntry, 17 300 #define MIB_ifAlias MIB_ifXEntry, 18 301 #define MIB_ifCounterDiscontinuityTime MIB_ifXEntry, 19 302 #define MIB_ifStackTable MIB_ifMIBObjects, 2 303 #define MIB_ifStackEntry MIB_ifStackTable, 1 304 #define OIDIDX_ifStack 10 305 #define OIDIDX_ifStackEntry 11 306 #define MIB_ifStackStatus MIB_ifStackEntry, 3 307 #define MIB_ifRcvAddressTable MIB_ifMIBObjects, 4 308 #define MIB_ifRcvAddressEntry MIB_ifRcvAddressTable, 1 309 #define OIDIDX_ifRcvAddress 10 310 #define OIDIDX_ifRcvAddressEntry 11 311 #define MIB_ifRcvAddressStatus MIB_ifRcvAddressEntry, 2 312 #define MIB_ifRcvAddressType MIB_ifRcvAddressEntry, 3 313 #define MIB_ifStackLastChange MIB_ifMIBObjects, 6 314 #define MIB_interfaces MIB_mib_2, 2 315 #define MIB_ifNumber MIB_interfaces, 1 316 #define MIB_ifTable MIB_interfaces, 2 317 #define MIB_ifEntry MIB_ifTable, 1 318 #define OIDIDX_if 9 319 #define OIDIDX_ifEntry 10 320 #define MIB_ifIndex MIB_ifEntry, 1 321 #define MIB_ifDescr MIB_ifEntry, 2 322 #define MIB_ifType MIB_ifEntry, 3 323 #define MIB_ifMtu MIB_ifEntry, 4 324 #define MIB_ifSpeed MIB_ifEntry, 5 325 #define MIB_ifPhysAddress MIB_ifEntry, 6 326 #define MIB_ifAdminStatus MIB_ifEntry, 7 327 #define MIB_ifOperStatus MIB_ifEntry, 8 328 #define MIB_ifLastChange MIB_ifEntry, 9 329 #define MIB_ifInOctets MIB_ifEntry, 10 330 #define MIB_ifInUcastPkts MIB_ifEntry, 11 331 #define MIB_ifInNUcastPkts MIB_ifEntry, 12 332 #define MIB_ifInDiscards MIB_ifEntry, 13 333 #define MIB_ifInErrors MIB_ifEntry, 14 334 #define MIB_ifInUnknownProtos MIB_ifEntry, 15 335 #define MIB_ifOutOctets MIB_ifEntry, 16 336 #define MIB_ifOutUcastPkts MIB_ifEntry, 17 337 #define MIB_ifOutNUcastPkts MIB_ifEntry, 18 338 #define MIB_ifOutDiscards MIB_ifEntry, 19 339 #define MIB_ifOutErrors MIB_ifEntry, 20 340 #define MIB_ifOutQLen MIB_ifEntry, 21 341 #define MIB_ifSpecific MIB_ifEntry, 22 342 343 /* IP-MIB */ 344 #define MIB_ipMIB MIB_mib_2, 4 345 #define OIDIDX_ip 7 346 #define MIB_ipForwarding MIB_ipMIB, 1 347 #define MIB_ipDefaultTTL MIB_ipMIB, 2 348 #define MIB_ipInReceives MIB_ipMIB, 3 349 #define MIB_ipInHdrErrors MIB_ipMIB, 4 350 #define MIB_ipInAddrErrors MIB_ipMIB, 5 351 #define MIB_ipForwDatagrams MIB_ipMIB, 6 352 #define MIB_ipInUnknownProtos MIB_ipMIB, 7 353 #define MIB_ipInDiscards MIB_ipMIB, 8 354 #define MIB_ipInDelivers MIB_ipMIB, 9 355 #define MIB_ipOutRequests MIB_ipMIB, 10 356 #define MIB_ipOutDiscards MIB_ipMIB, 11 357 #define MIB_ipOutNoRoutes MIB_ipMIB, 12 358 #define MIB_ipReasmTimeout MIB_ipMIB, 13 359 #define MIB_ipReasmReqds MIB_ipMIB, 14 360 #define MIB_ipReasmOKs MIB_ipMIB, 15 361 #define MIB_ipReasmFails MIB_ipMIB, 16 362 #define MIB_ipFragOKs MIB_ipMIB, 17 363 #define MIB_ipFragFails MIB_ipMIB, 18 364 #define MIB_ipFragCreates MIB_ipMIB, 19 365 #define MIB_ipAddrTable MIB_ipMIB, 20 366 #define MIB_ipAddrEntry MIB_ipAddrTable, 1 367 #define OIDIDX_ipAddr 9 368 #define OIDIDX_ipAddrEntry 10 369 #define MIB_ipAdEntAddr MIB_ipAddrEntry, 1 370 #define MIB_ipAdEntIfIndex MIB_ipAddrEntry, 2 371 #define MIB_ipAdEntNetMask MIB_ipAddrEntry, 3 372 #define MIB_ipAdEntBcastAddr MIB_ipAddrEntry, 4 373 #define MIB_ipAdEntReasmMaxSize MIB_ipAddrEntry, 5 374 #define MIB_ipNetToMediaTable MIB_ipMIB, 22 375 #define MIB_ipNetToMediaEntry MIB_ipNetToMediaTable, 1 376 #define OIDIDX_ipNetToMedia 9 377 #define MIB_ipNetToMediaIfIndex MIB_ipNetToMediaEntry, 1 378 #define MIB_ipNetToMediaPhysAddress MIB_ipNetToMediaEntry, 2 379 #define MIB_ipNetToMediaNetAddress MIB_ipNetToMediaEntry, 3 380 #define MIB_ipNetToMediaType MIB_ipNetToMediaEntry, 4 381 #define MIB_ipRoutingDiscards MIB_ipMIB, 23 382 383 /* IP-FORWARD-MIB */ 384 #define MIB_ipfMIB MIB_ipMIB, 24 385 #define MIB_ipfInetCidrRouteNumber MIB_ipfMIB, 6 386 #define MIB_ipfInetCidrRouteTable MIB_ipfMIB, 7 387 #define MIB_ipfInetCidrRouteEntry MIB_ipfInetCidrRouteTable, 1 388 #define OIDIDX_ipfInetCidrRoute 10 389 #define MIB_ipfRouteEntDestType MIB_ipfInetCidrRouteEntry, 1 390 #define MIB_ipfRouteEntDest MIB_ipfInetCidrRouteEntry, 2 391 #define MIB_ipfRouteEntPfxLen MIB_ipfInetCidrRouteEntry, 3 392 #define MIB_ipfRouteEntPolicy MIB_ipfInetCidrRouteEntry, 4 393 #define MIB_ipfRouteEntNextHopType MIB_ipfInetCidrRouteEntry, 5 394 #define MIB_ipfRouteEntNextHop MIB_ipfInetCidrRouteEntry, 6 395 #define MIB_ipfRouteEntIfIndex MIB_ipfInetCidrRouteEntry, 7 396 #define MIB_ipfRouteEntType MIB_ipfInetCidrRouteEntry, 8 397 #define MIB_ipfRouteEntProto MIB_ipfInetCidrRouteEntry, 9 398 #define MIB_ipfRouteEntAge MIB_ipfInetCidrRouteEntry, 10 399 #define MIB_ipfRouteEntNextHopAS MIB_ipfInetCidrRouteEntry, 11 400 #define MIB_ipfRouteEntRouteMetric1 MIB_ipfInetCidrRouteEntry, 12 401 #define MIB_ipfRouteEntRouteMetric2 MIB_ipfInetCidrRouteEntry, 13 402 #define MIB_ipfRouteEntRouteMetric3 MIB_ipfInetCidrRouteEntry, 14 403 #define MIB_ipfRouteEntRouteMetric4 MIB_ipfInetCidrRouteEntry, 15 404 #define MIB_ipfRouteEntRouteMetric5 MIB_ipfInetCidrRouteEntry, 16 405 #define MIB_ipfRouteEntStatus MIB_ipfInetCidrRouteEntry, 17 406 #define MIB_ipfInetCidrRouteDiscards MIB_ipfMIB, 8 407 408 /* BRIDGE-MIB */ 409 #define MIB_dot1dBridge MIB_mib_2, 17 410 #define MIB_dot1dBase MIB_dot1dBridge, 1 411 #define MIB_dot1dBaseBridgeAddress MIB_dot1dBase, 1 412 #define MIB_dot1dBaseNumPorts MIB_dot1dBase, 2 413 #define MIB_dot1dBaseType MIB_dot1dBase, 3 414 #define MIB_dot1dBasePortTable MIB_dot1dBase, 4 415 #define OIDIDX_dot1d 10 416 #define OIDIDX_dot1dEntry 11 417 #define MIB_dot1dBasePortEntry MIB_dot1dBasePortTable, 1 418 #define MIB_dot1dBasePort MIB_dot1dBasePortEntry, 1 419 #define MIB_dot1dBasePortIfIndex MIB_dot1dBasePortEntry, 2 420 #define MIB_dot1dBasePortCircuit MIB_dot1dBasePortEntry, 3 421 #define MIB_dot1dBasePortDelayExceededDiscards MIB_dot1dBasePortEntry, 4 422 #define MIB_dot1dBasePortMtuExceededDiscards MIB_dot1dBasePortEntry, 5 423 #define MIB_dot1dStp MIB_dot1dBridge, 2 424 #define MIB_dot1dSr MIB_dot1dBridge, 3 425 #define MIB_dot1dTp MIB_dot1dBridge, 4 426 #define MIB_dot1dStatic MIB_dot1dBridge, 5 427 428 /* 429 * PRIVATE ENTERPRISE NUMBERS from 430 * https://www.iana.org/assignments/enterprise-numbers 431 * 432 * This is not the complete list of private enterprise numbers, it only 433 * includes some well-known companies and especially network companies 434 * that are very common in the datacenters around the world, other 435 * companies that contributed to snmpd or OpenBSD in some way, or just 436 * any other organizations that we wanted to include. It would be an 437 * overkill to include ~30.000 entries for all the organizations from 438 * the official list. 439 */ 440 #define MIB_ibm MIB_enterprises, 2 441 #define MIB_cmu MIB_enterprises, 3 442 #define MIB_unix MIB_enterprises, 4 443 #define MIB_ciscoSystems MIB_enterprises, 9 444 #define MIB_hp MIB_enterprises, 11 445 #define MIB_mit MIB_enterprises, 20 446 #define MIB_nortelNetworks MIB_enterprises, 35 447 #define MIB_sun MIB_enterprises, 42 448 #define MIB_3com MIB_enterprises, 43 449 #define MIB_synOptics MIB_enterprises, 45 450 #define MIB_enterasys MIB_enterprises, 52 451 #define MIB_sgi MIB_enterprises, 59 452 #define MIB_apple MIB_enterprises, 63 453 #define MIB_nasa MIB_enterprises, 71 454 #define MIB_att MIB_enterprises, 74 455 #define MIB_nokia MIB_enterprises, 94 456 #define MIB_cern MIB_enterprises, 96 457 #define MIB_oracle MIB_enterprises, 111 458 #define MIB_motorola MIB_enterprises, 161 459 #define MIB_ncr MIB_enterprises, 191 460 #define MIB_ericsson MIB_enterprises, 193 461 #define MIB_fsc MIB_enterprises, 231 462 #define MIB_compaq MIB_enterprises, 232 463 #define MIB_bmw MIB_enterprises, 513 464 #define MIB_dell MIB_enterprises, 674 465 #define MIB_iij MIB_enterprises, 770 466 #define MIB_sandia MIB_enterprises, 1400 467 #define MIB_mercedesBenz MIB_enterprises, 1635 468 #define MIB_alteon MIB_enterprises, 1872 469 #define MIB_extremeNetworks MIB_enterprises, 1916 470 #define MIB_foundryNetworks MIB_enterprises, 1991 471 #define MIB_huawaiTechnology MIB_enterprises, 2011 472 #define MIB_ucDavis MIB_enterprises, 2021 473 #define MIB_freeBSD MIB_enterprises, 2238 474 #define MIB_checkPoint MIB_enterprises, 2620 475 #define MIB_juniper MIB_enterprises, 2636 476 #define MIB_printerWorkingGroup MIB_enterprises, 2699 477 #define MIB_audi MIB_enterprises, 3195 478 #define MIB_volkswagen MIB_enterprises, 3210 479 #define MIB_genua MIB_enterprises, 3717 480 #define MIB_amazon MIB_enterprises, 4843 481 #define MIB_force10Networks MIB_enterprises, 6027 482 #define MIB_vMware MIB_enterprises, 6876 483 #define MIB_alcatelLucent MIB_enterprises, 7483 484 #define MIB_snom MIB_enterprises, 7526 485 #define MIB_netSNMP MIB_enterprises, 8072 486 #define MIB_netflix MIB_enterprises, 10949 487 #define MIB_google MIB_enterprises, 11129 488 #define MIB_f5Networks MIB_enterprises, 12276 489 #define MIB_bsws MIB_enterprises, 13635 490 #define MIB_sFlow MIB_enterprises, 14706 491 #define MIB_microSystems MIB_enterprises, 18623 492 #define MIB_paloAltoNetworks MIB_enterprises, 25461 493 #define MIB_h3c MIB_enterprises, 25506 494 #define MIB_vantronix MIB_enterprises, 26766 495 #define MIB_netBSD MIB_enterprises, 32388 496 #define OIDVAL_openBSD_eid 30155 497 #define MIB_openBSD MIB_enterprises, OIDVAL_openBSD_eid 498 #define MIB_nicira MIB_enterprises, 39961 499 #define MIB_esdenera MIB_enterprises, 42459 500 #define MIB_arcaTrust MIB_enterprises, 52198 501 502 /* UCD-DISKIO-MIB */ 503 #define MIB_ucdExperimental MIB_ucDavis, 13 504 #define MIB_ucdDiskIOMIB MIB_ucdExperimental, 15 505 #define MIB_diskIOTable MIB_ucdDiskIOMIB, 1 506 #define MIB_diskIOEntry MIB_diskIOTable, 1 507 #define OIDIDX_diskIO 11 508 #define OIDIDX_diskIOEntry 12 509 #define MIB_diskIOIndex MIB_diskIOEntry, 1 510 #define MIB_diskIODevice MIB_diskIOEntry, 2 511 #define MIB_diskIONRead MIB_diskIOEntry, 3 512 #define MIB_diskIONWritten MIB_diskIOEntry, 4 513 #define MIB_diskIOReads MIB_diskIOEntry, 5 514 #define MIB_diskIOWrites MIB_diskIOEntry, 6 515 #define MIB_diskIONReadX MIB_diskIOEntry, 12 516 #define MIB_diskIONWrittenX MIB_diskIOEntry, 13 517 518 /* OPENBSD-MIB */ 519 #define MIB_pfMIBObjects MIB_openBSD, 1 520 #define MIB_pfInfo MIB_pfMIBObjects, 1 521 #define MIB_pfRunning MIB_pfInfo, 1 522 #define MIB_pfRuntime MIB_pfInfo, 2 523 #define MIB_pfDebug MIB_pfInfo, 3 524 #define MIB_pfHostid MIB_pfInfo, 4 525 #define MIB_pfCounters MIB_pfMIBObjects, 2 526 #define MIB_pfCntMatch MIB_pfCounters, 1 527 #define MIB_pfCntBadOffset MIB_pfCounters, 2 528 #define MIB_pfCntFragment MIB_pfCounters, 3 529 #define MIB_pfCntShort MIB_pfCounters, 4 530 #define MIB_pfCntNormalize MIB_pfCounters, 5 531 #define MIB_pfCntMemory MIB_pfCounters, 6 532 #define MIB_pfCntTimestamp MIB_pfCounters, 7 533 #define MIB_pfCntCongestion MIB_pfCounters, 8 534 #define MIB_pfCntIpOptions MIB_pfCounters, 9 535 #define MIB_pfCntProtoCksum MIB_pfCounters, 10 536 #define MIB_pfCntStateMismatch MIB_pfCounters, 11 537 #define MIB_pfCntStateInsert MIB_pfCounters, 12 538 #define MIB_pfCntStateLimit MIB_pfCounters, 13 539 #define MIB_pfCntSrcLimit MIB_pfCounters, 14 540 #define MIB_pfCntSynproxy MIB_pfCounters, 15 541 #define MIB_pfCntTranslate MIB_pfCounters, 16 542 #define MIB_pfCntNoRoute MIB_pfCounters, 17 543 #define MIB_pfStateTable MIB_pfMIBObjects, 3 544 #define MIB_pfStateCount MIB_pfStateTable, 1 545 #define MIB_pfStateSearches MIB_pfStateTable, 2 546 #define MIB_pfStateInserts MIB_pfStateTable, 3 547 #define MIB_pfStateRemovals MIB_pfStateTable, 4 548 #define MIB_pfLogInterface MIB_pfMIBObjects, 4 549 #define MIB_pfLogIfName MIB_pfLogInterface, 1 550 #define MIB_pfLogIfIpBytesIn MIB_pfLogInterface, 2 551 #define MIB_pfLogIfIpBytesOut MIB_pfLogInterface, 3 552 #define MIB_pfLogIfIpPktsInPass MIB_pfLogInterface, 4 553 #define MIB_pfLogIfIpPktsInDrop MIB_pfLogInterface, 5 554 #define MIB_pfLogIfIpPktsOutPass MIB_pfLogInterface, 6 555 #define MIB_pfLogIfIpPktsOutDrop MIB_pfLogInterface, 7 556 #define MIB_pfLogIfIp6BytesIn MIB_pfLogInterface, 8 557 #define MIB_pfLogIfIp6BytesOut MIB_pfLogInterface, 9 558 #define MIB_pfLogIfIp6PktsInPass MIB_pfLogInterface, 10 559 #define MIB_pfLogIfIp6PktsInDrop MIB_pfLogInterface, 11 560 #define MIB_pfLogIfIp6PktsOutPass MIB_pfLogInterface, 12 561 #define MIB_pfLogIfIp6PktsOutDrop MIB_pfLogInterface, 13 562 #define MIB_pfSrcTracking MIB_pfMIBObjects, 5 563 #define MIB_pfSrcTrackCount MIB_pfSrcTracking, 1 564 #define MIB_pfSrcTrackSearches MIB_pfSrcTracking, 2 565 #define MIB_pfSrcTrackInserts MIB_pfSrcTracking, 3 566 #define MIB_pfSrcTrackRemovals MIB_pfSrcTracking, 4 567 #define MIB_pfLimits MIB_pfMIBObjects, 6 568 #define MIB_pfLimitStates MIB_pfLimits, 1 569 #define MIB_pfLimitSourceNodes MIB_pfLimits, 2 570 #define MIB_pfLimitFragments MIB_pfLimits, 3 571 #define MIB_pfLimitMaxTables MIB_pfLimits, 4 572 #define MIB_pfLimitMaxTableEntries MIB_pfLimits, 5 573 #define MIB_pfTimeouts MIB_pfMIBObjects, 7 574 #define MIB_pfTimeoutTcpFirst MIB_pfTimeouts, 1 575 #define MIB_pfTimeoutTcpOpening MIB_pfTimeouts, 2 576 #define MIB_pfTimeoutTcpEstablished MIB_pfTimeouts, 3 577 #define MIB_pfTimeoutTcpClosing MIB_pfTimeouts, 4 578 #define MIB_pfTimeoutTcpFinWait MIB_pfTimeouts, 5 579 #define MIB_pfTimeoutTcpClosed MIB_pfTimeouts, 6 580 #define MIB_pfTimeoutUdpFirst MIB_pfTimeouts, 7 581 #define MIB_pfTimeoutUdpSingle MIB_pfTimeouts, 8 582 #define MIB_pfTimeoutUdpMultiple MIB_pfTimeouts, 9 583 #define MIB_pfTimeoutIcmpFirst MIB_pfTimeouts, 10 584 #define MIB_pfTimeoutIcmpError MIB_pfTimeouts, 11 585 #define MIB_pfTimeoutOtherFirst MIB_pfTimeouts, 12 586 #define MIB_pfTimeoutOtherSingle MIB_pfTimeouts, 13 587 #define MIB_pfTimeoutOtherMultiple MIB_pfTimeouts, 14 588 #define MIB_pfTimeoutFragment MIB_pfTimeouts, 15 589 #define MIB_pfTimeoutInterval MIB_pfTimeouts, 16 590 #define MIB_pfTimeoutAdaptiveStart MIB_pfTimeouts, 17 591 #define MIB_pfTimeoutAdaptiveEnd MIB_pfTimeouts, 18 592 #define MIB_pfTimeoutSrcTrack MIB_pfTimeouts, 19 593 #define OIDIDX_pfstatus 9 594 #define MIB_pfInterfaces MIB_pfMIBObjects, 8 595 #define MIB_pfIfNumber MIB_pfInterfaces, 1 596 #define MIB_pfIfTable MIB_pfInterfaces, 128 597 #define MIB_pfIfEntry MIB_pfIfTable, 1 598 #define OIDIDX_pfInterface 11 599 #define OIDIDX_pfIfEntry 12 600 #define MIB_pfIfIndex MIB_pfIfEntry, 1 601 #define MIB_pfIfDescr MIB_pfIfEntry, 2 602 #define MIB_pfIfType MIB_pfIfEntry, 3 603 #define MIB_pfIfRefs MIB_pfIfEntry, 4 604 #define MIB_pfIfRules MIB_pfIfEntry, 5 605 #define MIB_pfIfIn4PassPkts MIB_pfIfEntry, 6 606 #define MIB_pfIfIn4PassBytes MIB_pfIfEntry, 7 607 #define MIB_pfIfIn4BlockPkts MIB_pfIfEntry, 8 608 #define MIB_pfIfIn4BlockBytes MIB_pfIfEntry, 9 609 #define MIB_pfIfOut4PassPkts MIB_pfIfEntry, 10 610 #define MIB_pfIfOut4PassBytes MIB_pfIfEntry, 11 611 #define MIB_pfIfOut4BlockPkts MIB_pfIfEntry, 12 612 #define MIB_pfIfOut4BlockBytes MIB_pfIfEntry, 13 613 #define MIB_pfIfIn6PassPkts MIB_pfIfEntry, 14 614 #define MIB_pfIfIn6PassBytes MIB_pfIfEntry, 15 615 #define MIB_pfIfIn6BlockPkts MIB_pfIfEntry, 16 616 #define MIB_pfIfIn6BlockBytes MIB_pfIfEntry, 17 617 #define MIB_pfIfOut6PassPkts MIB_pfIfEntry, 18 618 #define MIB_pfIfOut6PassBytes MIB_pfIfEntry, 19 619 #define MIB_pfIfOut6BlockPkts MIB_pfIfEntry, 20 620 #define MIB_pfIfOut6BlockBytes MIB_pfIfEntry, 21 621 #define MIB_pfTables MIB_pfMIBObjects, 9 622 #define MIB_pfTblNumber MIB_pfTables, 1 623 #define MIB_pfTblTable MIB_pfTables, 128 624 #define MIB_pfTblEntry MIB_pfTblTable, 1 625 #define OIDIDX_pfTable 11 626 #define OIDIDX_pfTableEntry 12 627 #define MIB_pfTblIndex MIB_pfTblEntry, 1 628 #define MIB_pfTblName MIB_pfTblEntry, 2 629 #define MIB_pfTblAddresses MIB_pfTblEntry, 3 630 #define MIB_pfTblAnchorRefs MIB_pfTblEntry, 4 631 #define MIB_pfTblRuleRefs MIB_pfTblEntry, 5 632 #define MIB_pfTblEvalsMatch MIB_pfTblEntry, 6 633 #define MIB_pfTblEvalsNoMatch MIB_pfTblEntry, 7 634 #define MIB_pfTblInPassPkts MIB_pfTblEntry, 8 635 #define MIB_pfTblInPassBytes MIB_pfTblEntry, 9 636 #define MIB_pfTblInBlockPkts MIB_pfTblEntry, 10 637 #define MIB_pfTblInBlockBytes MIB_pfTblEntry, 11 638 #define MIB_pfTblInXPassPkts MIB_pfTblEntry, 12 639 #define MIB_pfTblInXPassBytes MIB_pfTblEntry, 13 640 #define MIB_pfTblOutPassPkts MIB_pfTblEntry, 14 641 #define MIB_pfTblOutPassBytes MIB_pfTblEntry, 15 642 #define MIB_pfTblOutBlockPkts MIB_pfTblEntry, 16 643 #define MIB_pfTblOutBlockBytes MIB_pfTblEntry, 17 644 #define MIB_pfTblOutXPassPkts MIB_pfTblEntry, 18 645 #define MIB_pfTblOutXPassBytes MIB_pfTblEntry, 19 646 #define MIB_pfTblStatsCleared MIB_pfTblEntry, 20 647 #define MIB_pfTblInMatchPkts MIB_pfTblEntry, 21 648 #define MIB_pfTblInMatchBytes MIB_pfTblEntry, 22 649 #define MIB_pfTblOutMatchPkts MIB_pfTblEntry, 23 650 #define MIB_pfTblOutMatchBytes MIB_pfTblEntry, 24 651 #define MIB_pfTblAddrTable MIB_pfTables, 129 652 #define MIB_pfTblAddrEntry MIB_pfTblAddrTable, 1 653 #define OIDIDX_pfTblAddr 11 654 #define MIB_pfTblAddrTblIndex MIB_pfTblAddrEntry, 1 655 #define MIB_pfTblAddrNet MIB_pfTblAddrEntry, 2 656 #define MIB_pfTblAddrMask MIB_pfTblAddrEntry, 3 657 #define MIB_pfTblAddrCleared MIB_pfTblAddrEntry, 4 658 #define MIB_pfTblAddrInBlockPkts MIB_pfTblAddrEntry, 5 659 #define MIB_pfTblAddrInBlockBytes MIB_pfTblAddrEntry, 6 660 #define MIB_pfTblAddrInPassPkts MIB_pfTblAddrEntry, 7 661 #define MIB_pfTblAddrInPassBytes MIB_pfTblAddrEntry, 8 662 #define MIB_pfTblAddrOutBlockPkts MIB_pfTblAddrEntry, 9 663 #define MIB_pfTblAddrOutBlockBytes MIB_pfTblAddrEntry, 10 664 #define MIB_pfTblAddrOutPassPkts MIB_pfTblAddrEntry, 11 665 #define MIB_pfTblAddrOutPassBytes MIB_pfTblAddrEntry, 12 666 #define MIB_pfTblAddrInMatchPkts MIB_pfTblAddrEntry, 13 667 #define MIB_pfTblAddrInMatchBytes MIB_pfTblAddrEntry, 14 668 #define MIB_pfTblAddrOutMatchPkts MIB_pfTblAddrEntry, 15 669 #define MIB_pfTblAddrOutMatchBytes MIB_pfTblAddrEntry, 16 670 #define MIB_pfLabels MIB_pfMIBObjects, 10 671 #define MIB_pfLabelNumber MIB_pfLabels, 1 672 #define MIB_pfLabelTable MIB_pfLabels, 128 673 #define OIDIDX_pfLabel 11 674 #define OIDIDX_pfLabelEntry 12 675 #define MIB_pfLabelEntry MIB_pfLabelTable, 1 676 #define MIB_pfLabelIndex MIB_pfLabelEntry, 1 677 #define MIB_pfLabelName MIB_pfLabelEntry, 2 678 #define MIB_pfLabelEvals MIB_pfLabelEntry, 3 679 #define MIB_pfLabelPkts MIB_pfLabelEntry, 4 680 #define MIB_pfLabelBytes MIB_pfLabelEntry, 5 681 #define MIB_pfLabelInPkts MIB_pfLabelEntry, 6 682 #define MIB_pfLabelInBytes MIB_pfLabelEntry, 7 683 #define MIB_pfLabelOutPkts MIB_pfLabelEntry, 8 684 #define MIB_pfLabelOutBytes MIB_pfLabelEntry, 9 685 #define MIB_pfLabelTotalStates MIB_pfLabelEntry, 10 686 #define MIB_pfsyncStats MIB_pfMIBObjects, 11 687 #define MIB_pfsyncIpPktsRecv MIB_pfsyncStats, 1 688 #define MIB_pfsyncIp6PktsRecv MIB_pfsyncStats, 2 689 #define MIB_pfsyncPktDiscardsForBadInterface MIB_pfsyncStats, 3 690 #define MIB_pfsyncPktDiscardsForBadTtl MIB_pfsyncStats, 4 691 #define MIB_pfsyncPktShorterThanHeader MIB_pfsyncStats, 5 692 #define MIB_pfsyncPktDiscardsForBadVersion MIB_pfsyncStats, 6 693 #define MIB_pfsyncPktDiscardsForBadAction MIB_pfsyncStats, 7 694 #define MIB_pfsyncPktDiscardsForBadLength MIB_pfsyncStats, 8 695 #define MIB_pfsyncPktDiscardsForBadAuth MIB_pfsyncStats, 9 696 #define MIB_pfsyncPktDiscardsForStaleState MIB_pfsyncStats, 10 697 #define MIB_pfsyncPktDiscardsForBadValues MIB_pfsyncStats, 11 698 #define MIB_pfsyncPktDiscardsForBadState MIB_pfsyncStats, 12 699 #define MIB_pfsyncIpPktsSent MIB_pfsyncStats, 13 700 #define MIB_pfsyncIp6PktsSent MIB_pfsyncStats, 14 701 #define MIB_pfsyncNoMemory MIB_pfsyncStats, 15 702 #define MIB_pfsyncOutputErrors MIB_pfsyncStats, 16 703 #define MIB_sensorsMIBObjects MIB_openBSD, 2 704 #define MIB_sensors MIB_sensorsMIBObjects, 1 705 #define MIB_sensorNumber MIB_sensors, 1 706 #define MIB_sensorTable MIB_sensors, 2 707 #define MIB_sensorEntry MIB_sensorTable, 1 708 #define OIDIDX_sensor 11 709 #define OIDIDX_sensorEntry 12 710 #define MIB_sensorIndex MIB_sensorEntry, 1 711 #define MIB_sensorDescr MIB_sensorEntry, 2 712 #define MIB_sensorType MIB_sensorEntry, 3 713 #define MIB_sensorDevice MIB_sensorEntry, 4 714 #define MIB_sensorValue MIB_sensorEntry, 5 715 #define MIB_sensorUnits MIB_sensorEntry, 6 716 #define MIB_sensorStatus MIB_sensorEntry, 7 717 #define MIB_relaydMIBObjects MIB_openBSD, 3 718 #define MIB_relaydHostTrap MIB_relaydMIBObjects, 1 719 #define MIB_relaydHostTrapHostName MIB_relaydHostTrap, 1 720 #define MIB_relaydHostTrapUp MIB_relaydHostTrap, 2 721 #define MIB_relaydHostTrapLastUp MIB_relaydHostTrap, 3 722 #define MIB_relaydHostTrapUpCount MIB_relaydHostTrap, 4 723 #define MIB_relaydHostTrapCheckCount MIB_relaydHostTrap, 5 724 #define MIB_relaydHostTrapTableName MIB_relaydHostTrap, 6 725 #define MIB_relaydHostTrapTableUp MIB_relaydHostTrap, 7 726 #define MIB_relaydHostTrapRetry MIB_relaydHostTrap, 8 727 #define MIB_relaydHostTrapRetryCount MIB_relaydHostTrap, 9 728 #define MIB_ipsecMIBObjects MIB_openBSD, 4 729 #define MIB_memMIBObjects MIB_openBSD, 5 730 #define MIB_memMIBVersion MIB_memMIBObjects, 1 731 #define OIDVER_OPENBSD_MEM 1 732 #define MIB_memIfTable MIB_memMIBObjects, 2 733 #define MIB_memIfEntry MIB_memIfTable, 1 734 #define OIDIDX_memIf 10 735 #define OIDIDX_memIfEntry 11 736 #define MIB_memIfName MIB_memIfEntry, 1 737 #define MIB_memIfLiveLocks MIB_memIfEntry, 2 738 #define MIB_carpMIBObjects MIB_openBSD, 6 739 #define MIB_carpSysctl MIB_carpMIBObjects, 1 740 #define MIB_carpAllow MIB_carpSysctl, 1 741 #define MIB_carpPreempt MIB_carpSysctl, 2 742 #define MIB_carpLog MIB_carpSysctl, 3 743 #define OIDIDX_carpsysctl 9 744 #define MIB_carpIf MIB_carpMIBObjects, 2 745 #define MIB_carpIfNumber MIB_carpIf, 1 746 #define MIB_carpIfTable MIB_carpIf, 2 747 #define MIB_carpIfEntry MIB_carpIfTable, 1 748 #define OIDIDX_carpIf 11 749 #define OIDIDX_carpIfEntry 12 750 #define MIB_carpIfIndex MIB_carpIfEntry, 1 751 #define MIB_carpIfDescr MIB_carpIfEntry, 2 752 #define MIB_carpIfVhid MIB_carpIfEntry, 3 753 #define MIB_carpIfDev MIB_carpIfEntry, 4 754 #define MIB_carpIfAdvbase MIB_carpIfEntry, 5 755 #define MIB_carpIfAdvskew MIB_carpIfEntry, 6 756 #define MIB_carpIfState MIB_carpIfEntry, 7 757 #define OIDIDX_carpstats 9 758 #define MIB_carpStats MIB_carpMIBObjects, 3 759 #define MIB_carpIpPktsRecv MIB_carpStats, 1 760 #define MIB_carpIp6PktsRecv MIB_carpStats, 2 761 #define MIB_carpPktDiscardsBadIface MIB_carpStats, 3 762 #define MIB_carpPktDiscardsBadTtl MIB_carpStats, 4 763 #define MIB_carpPktShorterThanHdr MIB_carpStats, 5 764 #define MIB_carpDiscardsBadCksum MIB_carpStats, 6 765 #define MIB_carpDiscardsBadVersion MIB_carpStats, 7 766 #define MIB_carpDiscardsTooShort MIB_carpStats, 8 767 #define MIB_carpDiscardsBadAuth MIB_carpStats, 9 768 #define MIB_carpDiscardsBadVhid MIB_carpStats, 10 769 #define MIB_carpDiscardsBadAddrList MIB_carpStats, 11 770 #define MIB_carpIpPktsSent MIB_carpStats, 12 771 #define MIB_carpIp6PktsSent MIB_carpStats, 13 772 #define MIB_carpNoMemory MIB_carpStats, 14 773 #define MIB_carpTransitionsToMaster MIB_carpStats, 15 774 #define MIB_carpGroupTable MIB_carpMIBObjects, 4 775 #define MIB_carpGroupEntry MIB_carpGroupTable, 1 776 #define OIDIDX_carpGroupEntry 10 777 #define OIDIDX_carpGroupIndex 11 778 #define MIB_carpGroupName MIB_carpGroupEntry, 2 779 #define MIB_carpGroupDemote MIB_carpGroupEntry, 3 780 #define MIB_localSystem MIB_openBSD, 23 781 #define MIB_SYSOID_DEFAULT MIB_openBSD, 23, 1 782 #define MIB_localTest MIB_openBSD, 42 783 784 #define MIB_TREE { \ 785 { MIBDECL(iso) }, \ 786 { MIBDECL(org) }, \ 787 { MIBDECL(dod) }, \ 788 { MIBDECL(internet) }, \ 789 { MIBDECL(directory) }, \ 790 { MIBDECL(mgmt) }, \ 791 { MIBDECL(mib_2) }, \ 792 { MIBDECL(system) }, \ 793 { MIBDECL(sysDescr) }, \ 794 { MIBDECL(sysOID) }, \ 795 { MIBDECL(sysUpTime) }, \ 796 { MIBDECL(sysContact) }, \ 797 { MIBDECL(sysName) }, \ 798 { MIBDECL(sysLocation) }, \ 799 { MIBDECL(sysServices) }, \ 800 { MIBDECL(sysORLastChange) }, \ 801 { MIBDECL(sysORTable) }, \ 802 { MIBDECL(sysOREntry) }, \ 803 { MIBDECL(sysORIndex) }, \ 804 { MIBDECL(sysORID) }, \ 805 { MIBDECL(sysORDescr) }, \ 806 { MIBDECL(sysORUpTime) }, \ 807 { MIBDECL(transmission) }, \ 808 { MIBDECL(snmp) }, \ 809 { MIBDECL(snmpInPkts) }, \ 810 { MIBDECL(snmpOutPkts) }, \ 811 { MIBDECL(snmpInBadVersions) }, \ 812 { MIBDECL(snmpInBadCommunityNames) }, \ 813 { MIBDECL(snmpInBadCommunityUses) }, \ 814 { MIBDECL(snmpInASNParseErrs) }, \ 815 { MIBDECL(snmpInTooBigs) }, \ 816 { MIBDECL(snmpInNoSuchNames) }, \ 817 { MIBDECL(snmpInBadValues) }, \ 818 { MIBDECL(snmpInReadOnlys) }, \ 819 { MIBDECL(snmpInGenErrs) }, \ 820 { MIBDECL(snmpInTotalReqVars) }, \ 821 { MIBDECL(snmpInTotalSetVars) }, \ 822 { MIBDECL(snmpInGetRequests) }, \ 823 { MIBDECL(snmpInGetNexts) }, \ 824 { MIBDECL(snmpInSetRequests) }, \ 825 { MIBDECL(snmpInGetResponses) }, \ 826 { MIBDECL(snmpInTraps) }, \ 827 { MIBDECL(snmpOutTooBigs) }, \ 828 { MIBDECL(snmpOutNoSuchNames) }, \ 829 { MIBDECL(snmpOutBadValues) }, \ 830 { MIBDECL(snmpOutGenErrs) }, \ 831 { MIBDECL(snmpOutGetRequests) }, \ 832 { MIBDECL(snmpOutGetNexts) }, \ 833 { MIBDECL(snmpOutSetRequests) }, \ 834 { MIBDECL(snmpOutGetResponses) }, \ 835 { MIBDECL(snmpOutTraps) }, \ 836 { MIBDECL(snmpEnableAuthenTraps) }, \ 837 { MIBDECL(snmpSilentDrops) }, \ 838 { MIBDECL(snmpProxyDrops) }, \ 839 { MIBDECL(experimental) }, \ 840 { MIBDECL(private) }, \ 841 { MIBDECL(enterprises) }, \ 842 { MIBDECL(security) }, \ 843 { MIBDECL(snmpV2) }, \ 844 { MIBDECL(snmpDomains) }, \ 845 { MIBDECL(snmpProxies) }, \ 846 { MIBDECL(snmpModules) }, \ 847 { MIBDECL(snmpMIB) }, \ 848 { MIBDECL(snmpMIBObjects) }, \ 849 { MIBDECL(snmpTrap) }, \ 850 { MIBDECL(snmpTrapOID) }, \ 851 { MIBDECL(snmpTrapEnterprise) }, \ 852 { MIBDECL(snmpTraps) }, \ 853 { MIBDECL(coldStart) }, \ 854 { MIBDECL(warmStart) }, \ 855 { MIBDECL(linkDown) }, \ 856 { MIBDECL(linkUp) }, \ 857 { MIBDECL(authenticationFailure) }, \ 858 { MIBDECL(egpNeighborLoss) }, \ 859 \ 860 { MIBDECL(framework) }, \ 861 { MIBDECL(frameworkObjects) }, \ 862 { MIBDECL(snmpEngine) }, \ 863 { MIBDECL(snmpEngineID) }, \ 864 { MIBDECL(snmpEngineBoots) }, \ 865 { MIBDECL(snmpEngineTime) }, \ 866 { MIBDECL(snmpEngineMaxMsgSize) }, \ 867 { MIBDECL(usm) }, \ 868 { MIBDECL(usmObjects) }, \ 869 { MIBDECL(usmStats) }, \ 870 { MIBDECL(usmStatsUnsupportedSecLevels) }, \ 871 { MIBDECL(usmStatsNotInTimeWindow) }, \ 872 { MIBDECL(usmStatsUnknownUserNames) }, \ 873 { MIBDECL(usmStatsUnknownEngineId) }, \ 874 { MIBDECL(usmStatsWrongDigests) }, \ 875 { MIBDECL(usmStatsDecryptionErrors) }, \ 876 \ 877 { MIBDECL(snmpTargetMIB) }, \ 878 { MIBDECL(snmpTargetObjects) }, \ 879 { MIBDECL(snmpTargetSpinLock) }, \ 880 { MIBDECL(snmpTargetAddrTable) }, \ 881 { MIBDECL(snmpTargetAddrEntry) }, \ 882 { MIBDECL(snmpTargetAddrName) }, \ 883 { MIBDECL(snmpTargetAddrTDomain) }, \ 884 { MIBDECL(snmpTargetAddrTAddress) }, \ 885 { MIBDECL(snmpTargetAddrTimeout) }, \ 886 { MIBDECL(snmpTargetAddrRetryCount) }, \ 887 { MIBDECL(snmpTargetAddrTagList) }, \ 888 { MIBDECL(snmpTargetAddrParams) }, \ 889 { MIBDECL(snmpTargetAddrStorageType) }, \ 890 { MIBDECL(snmpTargetAddrRowStatus) }, \ 891 { MIBDECL(snmpTargetParamsTable) }, \ 892 { MIBDECL(snmpTargetParamsEntry) }, \ 893 { MIBDECL(snmpTargetParamsName) }, \ 894 { MIBDECL(snmpTargetParamsMPModel) }, \ 895 { MIBDECL(snmpTargetParamsSecurityModel) }, \ 896 { MIBDECL(snmpTargetParamsSecurityName) }, \ 897 { MIBDECL(snmpTargetParamsSecurityLevel) }, \ 898 { MIBDECL(snmpTargetParamsStorageType) }, \ 899 { MIBDECL(snmpTargetParamsRowStatus) }, \ 900 { MIBDECL(snmpUnavailableContexts) }, \ 901 { MIBDECL(snmpUnknownContexts) }, \ 902 \ 903 { MIBDECL(host) }, \ 904 { MIBDECL(hrSystem) }, \ 905 { MIBDECL(hrSystemUptime) }, \ 906 { MIBDECL(hrSystemDate) }, \ 907 { MIBDECL(hrSystemInitialLoadDevice) }, \ 908 { MIBDECL(hrSystemInitialLoadParameters) }, \ 909 { MIBDECL(hrSystemNumUsers) }, \ 910 { MIBDECL(hrSystemProcesses) }, \ 911 { MIBDECL(hrSystemMaxProcesses) }, \ 912 { MIBDECL(hrStorage) }, \ 913 { MIBDECL(hrStorageTypes) }, \ 914 { MIBDECL(hrMemorySize) }, \ 915 { MIBDECL(hrStorageTable) }, \ 916 { MIBDECL(hrStorageEntry) }, \ 917 { MIBDECL(hrStorageIndex) }, \ 918 { MIBDECL(hrStorageType) }, \ 919 { MIBDECL(hrStorageDescr) }, \ 920 { MIBDECL(hrStorageAllocationUnits) }, \ 921 { MIBDECL(hrStorageSize) }, \ 922 { MIBDECL(hrStorageUsed) }, \ 923 { MIBDECL(hrStorageAllocationFailures) }, \ 924 { MIBDECL(hrDevice) }, \ 925 { MIBDECL(hrDeviceTypes) }, \ 926 { MIBDECL(hrDeviceOther) }, \ 927 { MIBDECL(hrDeviceUnknown) }, \ 928 { MIBDECL(hrDeviceProcessor) }, \ 929 { MIBDECL(hrDeviceNetwork) }, \ 930 { MIBDECL(hrDevicePrinter) }, \ 931 { MIBDECL(hrDeviceDiskStorage) }, \ 932 { MIBDECL(hrDeviceVideo) }, \ 933 { MIBDECL(hrDeviceAudio) }, \ 934 { MIBDECL(hrDeviceCoprocessor) }, \ 935 { MIBDECL(hrDeviceKeyboard) }, \ 936 { MIBDECL(hrDeviceModem) }, \ 937 { MIBDECL(hrDeviceParallelPort) }, \ 938 { MIBDECL(hrDevicePointing) }, \ 939 { MIBDECL(hrDeviceSerialPort) }, \ 940 { MIBDECL(hrDeviceTape) }, \ 941 { MIBDECL(hrDeviceClock) }, \ 942 { MIBDECL(hrDeviceVolatileMemory) }, \ 943 { MIBDECL(hrDeviceNonVolatileMemory) }, \ 944 { MIBDECL(hrDeviceTable) }, \ 945 { MIBDECL(hrDeviceEntry) }, \ 946 { MIBDECL(hrDeviceIndex) }, \ 947 { MIBDECL(hrDeviceType) }, \ 948 { MIBDECL(hrDeviceDescr) }, \ 949 { MIBDECL(hrDeviceID) }, \ 950 { MIBDECL(hrDeviceStatus) }, \ 951 { MIBDECL(hrDeviceErrors) }, \ 952 { MIBDECL(hrProcessorTable) }, \ 953 { MIBDECL(hrProcessorEntry) }, \ 954 { MIBDECL(hrProcessorFrwID) }, \ 955 { MIBDECL(hrProcessorLoad) }, \ 956 { MIBDECL(hrSWRun) }, \ 957 { MIBDECL(hrSWOSIndex) }, \ 958 { MIBDECL(hrSWRunTable) }, \ 959 { MIBDECL(hrSWRunEntry) }, \ 960 { MIBDECL(hrSWRunIndex) }, \ 961 { MIBDECL(hrSWRunName) }, \ 962 { MIBDECL(hrSWRunID) }, \ 963 { MIBDECL(hrSWRunPath) }, \ 964 { MIBDECL(hrSWRunParameters) }, \ 965 { MIBDECL(hrSWRunType) }, \ 966 { MIBDECL(hrSWRunStatus) }, \ 967 { MIBDECL(hrSWRunPerf) }, \ 968 { MIBDECL(hrSWRunPerfTable) }, \ 969 { MIBDECL(hrSWRunPerfEntry) }, \ 970 { MIBDECL(hrSWRunPerfCPU) }, \ 971 { MIBDECL(hrSWRunPerfMem) }, \ 972 \ 973 { MIBDECL(ifMIB) }, \ 974 { MIBDECL(ifMIBObjects) }, \ 975 { MIBDECL(ifXTable) }, \ 976 { MIBDECL(ifXEntry) }, \ 977 { MIBDECL(ifName) }, \ 978 { MIBDECL(ifInMulticastPkts) }, \ 979 { MIBDECL(ifInBroadcastPkts) }, \ 980 { MIBDECL(ifOutMulticastPkts) }, \ 981 { MIBDECL(ifOutBroadcastPkts) }, \ 982 { MIBDECL(ifHCInOctets) }, \ 983 { MIBDECL(ifHCInUcastPkts) }, \ 984 { MIBDECL(ifHCInMulticastPkts) }, \ 985 { MIBDECL(ifHCInBroadcastPkts) }, \ 986 { MIBDECL(ifHCOutOctets) }, \ 987 { MIBDECL(ifHCOutUcastPkts) }, \ 988 { MIBDECL(ifHCOutMulticastPkts) }, \ 989 { MIBDECL(ifHCOutBroadcastPkts) }, \ 990 { MIBDECL(ifLinkUpDownTrapEnable) }, \ 991 { MIBDECL(ifHighSpeed) }, \ 992 { MIBDECL(ifPromiscuousMode) }, \ 993 { MIBDECL(ifConnectorPresent) }, \ 994 { MIBDECL(ifAlias) }, \ 995 { MIBDECL(ifCounterDiscontinuityTime) }, \ 996 { MIBDECL(ifStackTable) }, \ 997 { MIBDECL(ifStackEntry) }, \ 998 { MIBDECL(ifRcvAddressTable) }, \ 999 { MIBDECL(ifRcvAddressEntry) }, \ 1000 { MIBDECL(ifRcvAddressStatus) }, \ 1001 { MIBDECL(ifRcvAddressType) }, \ 1002 { MIBDECL(ifStackLastChange) }, \ 1003 { MIBDECL(interfaces) }, \ 1004 { MIBDECL(ifNumber) }, \ 1005 { MIBDECL(ifTable) }, \ 1006 { MIBDECL(ifEntry) }, \ 1007 { MIBDECL(ifIndex) }, \ 1008 { MIBDECL(ifDescr) }, \ 1009 { MIBDECL(ifType) }, \ 1010 { MIBDECL(ifMtu) }, \ 1011 { MIBDECL(ifSpeed) }, \ 1012 { MIBDECL(ifPhysAddress) }, \ 1013 { MIBDECL(ifAdminStatus) }, \ 1014 { MIBDECL(ifOperStatus) }, \ 1015 { MIBDECL(ifLastChange) }, \ 1016 { MIBDECL(ifInOctets) }, \ 1017 { MIBDECL(ifInUcastPkts) }, \ 1018 { MIBDECL(ifInNUcastPkts) }, \ 1019 { MIBDECL(ifInDiscards) }, \ 1020 { MIBDECL(ifInErrors) }, \ 1021 { MIBDECL(ifInUnknownProtos) }, \ 1022 { MIBDECL(ifOutOctets) }, \ 1023 { MIBDECL(ifOutUcastPkts) }, \ 1024 { MIBDECL(ifOutNUcastPkts) }, \ 1025 { MIBDECL(ifOutDiscards) }, \ 1026 { MIBDECL(ifOutErrors) }, \ 1027 { MIBDECL(ifOutQLen) }, \ 1028 { MIBDECL(ifSpecific) }, \ 1029 \ 1030 { MIBDECL(dot1dBridge) }, \ 1031 { MIBDECL(dot1dBase) }, \ 1032 { MIBDECL(dot1dBaseBridgeAddress) }, \ 1033 { MIBDECL(dot1dBaseNumPorts) }, \ 1034 { MIBDECL(dot1dBaseType) }, \ 1035 { MIBDECL(dot1dBasePortTable) }, \ 1036 { MIBDECL(dot1dBasePortEntry) }, \ 1037 { MIBDECL(dot1dBasePort) }, \ 1038 { MIBDECL(dot1dBasePortIfIndex) }, \ 1039 { MIBDECL(dot1dBasePortCircuit) }, \ 1040 { MIBDECL(dot1dBasePortDelayExceededDiscards) },\ 1041 { MIBDECL(dot1dBasePortMtuExceededDiscards) }, \ 1042 { MIBDECL(dot1dStp) }, \ 1043 { MIBDECL(dot1dSr) }, \ 1044 { MIBDECL(dot1dTp) }, \ 1045 { MIBDECL(dot1dStatic) }, \ 1046 \ 1047 { MIBDECL(ibm) }, \ 1048 { MIBDECL(cmu) }, \ 1049 { MIBDECL(unix) }, \ 1050 { MIBDECL(ciscoSystems) }, \ 1051 { MIBDECL(hp) }, \ 1052 { MIBDECL(mit) }, \ 1053 { MIBDECL(nortelNetworks) }, \ 1054 { MIBDECL(sun) }, \ 1055 { MIBDECL(3com) }, \ 1056 { MIBDECL(synOptics) }, \ 1057 { MIBDECL(enterasys) }, \ 1058 { MIBDECL(sgi) }, \ 1059 { MIBDECL(apple) }, \ 1060 { MIBDECL(nasa) }, \ 1061 { MIBDECL(att) }, \ 1062 { MIBDECL(nokia) }, \ 1063 { MIBDECL(cern) }, \ 1064 { MIBDECL(oracle) }, \ 1065 { MIBDECL(motorola) }, \ 1066 { MIBDECL(ncr) }, \ 1067 { MIBDECL(ericsson) }, \ 1068 { MIBDECL(fsc) }, \ 1069 { MIBDECL(compaq) }, \ 1070 { MIBDECL(bmw) }, \ 1071 { MIBDECL(dell) }, \ 1072 { MIBDECL(iij) }, \ 1073 { MIBDECL(sandia) }, \ 1074 { MIBDECL(mercedesBenz) }, \ 1075 { MIBDECL(alteon) }, \ 1076 { MIBDECL(extremeNetworks) }, \ 1077 { MIBDECL(foundryNetworks) }, \ 1078 { MIBDECL(huawaiTechnology) }, \ 1079 { MIBDECL(ucDavis) }, \ 1080 { MIBDECL(freeBSD) }, \ 1081 { MIBDECL(checkPoint) }, \ 1082 { MIBDECL(juniper) }, \ 1083 { MIBDECL(printerWorkingGroup) }, \ 1084 { MIBDECL(audi) }, \ 1085 { MIBDECL(volkswagen) }, \ 1086 { MIBDECL(genua) }, \ 1087 { MIBDECL(amazon) }, \ 1088 { MIBDECL(force10Networks) }, \ 1089 { MIBDECL(vMware) }, \ 1090 { MIBDECL(alcatelLucent) }, \ 1091 { MIBDECL(snom) }, \ 1092 { MIBDECL(netSNMP) }, \ 1093 { MIBDECL(netflix) }, \ 1094 { MIBDECL(google) }, \ 1095 { MIBDECL(f5Networks) }, \ 1096 { MIBDECL(bsws) }, \ 1097 { MIBDECL(sFlow) }, \ 1098 { MIBDECL(microSystems) }, \ 1099 { MIBDECL(paloAltoNetworks) }, \ 1100 { MIBDECL(h3c) }, \ 1101 { MIBDECL(vantronix) }, \ 1102 { MIBDECL(netBSD) }, \ 1103 { MIBDECL(openBSD) }, \ 1104 { MIBDECL(nicira) }, \ 1105 { MIBDECL(esdenera) }, \ 1106 { MIBDECL(arcaTrust) }, \ 1107 \ 1108 { MIBDECL(ucdExperimental) }, \ 1109 { MIBDECL(ucdDiskIOMIB) }, \ 1110 { MIBDECL(diskIOTable) }, \ 1111 { MIBDECL(diskIOEntry) }, \ 1112 { MIBDECL(diskIOIndex) }, \ 1113 { MIBDECL(diskIODevice) }, \ 1114 { MIBDECL(diskIONRead) }, \ 1115 { MIBDECL(diskIONWritten) }, \ 1116 { MIBDECL(diskIOReads) }, \ 1117 { MIBDECL(diskIOWrites) }, \ 1118 { MIBDECL(diskIONReadX) }, \ 1119 { MIBDECL(diskIONWrittenX) }, \ 1120 \ 1121 { MIBDECL(pfMIBObjects) }, \ 1122 { MIBDECL(pfInfo) }, \ 1123 { MIBDECL(pfRunning) }, \ 1124 { MIBDECL(pfRuntime) }, \ 1125 { MIBDECL(pfDebug) }, \ 1126 { MIBDECL(pfHostid) }, \ 1127 { MIBDECL(pfCounters) }, \ 1128 { MIBDECL(pfCntMatch) }, \ 1129 { MIBDECL(pfCntBadOffset) }, \ 1130 { MIBDECL(pfCntFragment) }, \ 1131 { MIBDECL(pfCntShort) }, \ 1132 { MIBDECL(pfCntNormalize) }, \ 1133 { MIBDECL(pfCntMemory) }, \ 1134 { MIBDECL(pfCntTimestamp) }, \ 1135 { MIBDECL(pfCntCongestion) }, \ 1136 { MIBDECL(pfCntIpOptions) }, \ 1137 { MIBDECL(pfCntProtoCksum) }, \ 1138 { MIBDECL(pfCntStateMismatch) }, \ 1139 { MIBDECL(pfCntStateInsert) }, \ 1140 { MIBDECL(pfCntStateLimit) }, \ 1141 { MIBDECL(pfCntSrcLimit) }, \ 1142 { MIBDECL(pfCntSynproxy) }, \ 1143 { MIBDECL(pfCntTranslate) }, \ 1144 { MIBDECL(pfCntNoRoute) }, \ 1145 { MIBDECL(pfStateTable) }, \ 1146 { MIBDECL(pfStateCount) }, \ 1147 { MIBDECL(pfStateSearches) }, \ 1148 { MIBDECL(pfStateInserts) }, \ 1149 { MIBDECL(pfStateRemovals) }, \ 1150 { MIBDECL(pfLogInterface) }, \ 1151 { MIBDECL(pfLogIfName) }, \ 1152 { MIBDECL(pfLogIfIpBytesIn) }, \ 1153 { MIBDECL(pfLogIfIpBytesOut) }, \ 1154 { MIBDECL(pfLogIfIpPktsInPass) }, \ 1155 { MIBDECL(pfLogIfIpPktsInDrop) }, \ 1156 { MIBDECL(pfLogIfIpPktsOutPass) }, \ 1157 { MIBDECL(pfLogIfIpPktsOutDrop) }, \ 1158 { MIBDECL(pfLogIfIp6BytesIn) }, \ 1159 { MIBDECL(pfLogIfIp6BytesOut) }, \ 1160 { MIBDECL(pfLogIfIp6PktsInPass) }, \ 1161 { MIBDECL(pfLogIfIp6PktsInDrop) }, \ 1162 { MIBDECL(pfLogIfIp6PktsOutPass) }, \ 1163 { MIBDECL(pfLogIfIp6PktsOutDrop) }, \ 1164 { MIBDECL(pfSrcTracking) }, \ 1165 { MIBDECL(pfSrcTrackCount) }, \ 1166 { MIBDECL(pfSrcTrackSearches) }, \ 1167 { MIBDECL(pfSrcTrackInserts) }, \ 1168 { MIBDECL(pfSrcTrackRemovals) }, \ 1169 { MIBDECL(pfLimits) }, \ 1170 { MIBDECL(pfLimitStates) }, \ 1171 { MIBDECL(pfLimitSourceNodes) }, \ 1172 { MIBDECL(pfLimitFragments) }, \ 1173 { MIBDECL(pfLimitMaxTables) }, \ 1174 { MIBDECL(pfLimitMaxTableEntries) }, \ 1175 { MIBDECL(pfTimeouts) }, \ 1176 { MIBDECL(pfTimeoutTcpFirst) }, \ 1177 { MIBDECL(pfTimeoutTcpOpening) }, \ 1178 { MIBDECL(pfTimeoutTcpEstablished) }, \ 1179 { MIBDECL(pfTimeoutTcpClosing) }, \ 1180 { MIBDECL(pfTimeoutTcpFinWait) }, \ 1181 { MIBDECL(pfTimeoutTcpClosed) }, \ 1182 { MIBDECL(pfTimeoutUdpFirst) }, \ 1183 { MIBDECL(pfTimeoutUdpSingle) }, \ 1184 { MIBDECL(pfTimeoutUdpMultiple) }, \ 1185 { MIBDECL(pfTimeoutIcmpFirst) }, \ 1186 { MIBDECL(pfTimeoutIcmpError) }, \ 1187 { MIBDECL(pfTimeoutOtherFirst) }, \ 1188 { MIBDECL(pfTimeoutOtherSingle) }, \ 1189 { MIBDECL(pfTimeoutOtherMultiple) }, \ 1190 { MIBDECL(pfTimeoutFragment) }, \ 1191 { MIBDECL(pfTimeoutInterval) }, \ 1192 { MIBDECL(pfTimeoutAdaptiveStart) }, \ 1193 { MIBDECL(pfTimeoutAdaptiveEnd) }, \ 1194 { MIBDECL(pfTimeoutSrcTrack) }, \ 1195 { MIBDECL(pfInterfaces) }, \ 1196 { MIBDECL(pfIfNumber) }, \ 1197 { MIBDECL(pfIfTable) }, \ 1198 { MIBDECL(pfIfEntry) }, \ 1199 { MIBDECL(pfIfIndex) }, \ 1200 { MIBDECL(pfIfDescr) }, \ 1201 { MIBDECL(pfIfType) }, \ 1202 { MIBDECL(pfIfRefs) }, \ 1203 { MIBDECL(pfIfRules) }, \ 1204 { MIBDECL(pfIfIn4PassPkts) }, \ 1205 { MIBDECL(pfIfIn4PassBytes) }, \ 1206 { MIBDECL(pfIfIn4BlockPkts) }, \ 1207 { MIBDECL(pfIfIn4BlockBytes) }, \ 1208 { MIBDECL(pfIfOut4PassPkts) }, \ 1209 { MIBDECL(pfIfOut4PassBytes) }, \ 1210 { MIBDECL(pfIfOut4BlockPkts) }, \ 1211 { MIBDECL(pfIfOut4BlockBytes) }, \ 1212 { MIBDECL(pfIfIn6PassPkts) }, \ 1213 { MIBDECL(pfIfIn6PassBytes) }, \ 1214 { MIBDECL(pfIfIn6BlockPkts) }, \ 1215 { MIBDECL(pfIfIn6BlockBytes) }, \ 1216 { MIBDECL(pfIfOut6PassPkts) }, \ 1217 { MIBDECL(pfIfOut6PassBytes) }, \ 1218 { MIBDECL(pfIfOut6BlockPkts) }, \ 1219 { MIBDECL(pfIfOut6BlockBytes) }, \ 1220 { MIBDECL(pfTables) }, \ 1221 { MIBDECL(pfTblNumber) }, \ 1222 { MIBDECL(pfTblTable) }, \ 1223 { MIBDECL(pfTblEntry) }, \ 1224 { MIBDECL(pfTblIndex) }, \ 1225 { MIBDECL(pfTblName) }, \ 1226 { MIBDECL(pfTblAddresses) }, \ 1227 { MIBDECL(pfTblAnchorRefs) }, \ 1228 { MIBDECL(pfTblRuleRefs) }, \ 1229 { MIBDECL(pfTblEvalsMatch) }, \ 1230 { MIBDECL(pfTblEvalsNoMatch) }, \ 1231 { MIBDECL(pfTblInPassPkts) }, \ 1232 { MIBDECL(pfTblInPassBytes) }, \ 1233 { MIBDECL(pfTblInBlockPkts) }, \ 1234 { MIBDECL(pfTblInBlockBytes) }, \ 1235 { MIBDECL(pfTblInXPassPkts) }, \ 1236 { MIBDECL(pfTblInXPassBytes) }, \ 1237 { MIBDECL(pfTblOutPassPkts) }, \ 1238 { MIBDECL(pfTblOutPassBytes) }, \ 1239 { MIBDECL(pfTblOutBlockPkts) }, \ 1240 { MIBDECL(pfTblOutBlockBytes) }, \ 1241 { MIBDECL(pfTblOutXPassPkts) }, \ 1242 { MIBDECL(pfTblOutXPassBytes) }, \ 1243 { MIBDECL(pfTblStatsCleared) }, \ 1244 { MIBDECL(pfTblInMatchPkts) }, \ 1245 { MIBDECL(pfTblInMatchBytes) }, \ 1246 { MIBDECL(pfTblOutMatchPkts) }, \ 1247 { MIBDECL(pfTblOutMatchBytes) }, \ 1248 { MIBDECL(pfTblAddrTable) }, \ 1249 { MIBDECL(pfTblAddrEntry) }, \ 1250 { MIBDECL(pfTblAddrTblIndex) }, \ 1251 { MIBDECL(pfTblAddrNet) }, \ 1252 { MIBDECL(pfTblAddrMask) }, \ 1253 { MIBDECL(pfTblAddrCleared) }, \ 1254 { MIBDECL(pfTblAddrInBlockPkts) }, \ 1255 { MIBDECL(pfTblAddrInBlockBytes) }, \ 1256 { MIBDECL(pfTblAddrInPassPkts) }, \ 1257 { MIBDECL(pfTblAddrInPassBytes) }, \ 1258 { MIBDECL(pfTblAddrOutBlockPkts) }, \ 1259 { MIBDECL(pfTblAddrOutBlockBytes) }, \ 1260 { MIBDECL(pfTblAddrOutPassPkts) }, \ 1261 { MIBDECL(pfTblAddrOutPassBytes) }, \ 1262 { MIBDECL(pfTblAddrInMatchPkts) }, \ 1263 { MIBDECL(pfTblAddrInMatchBytes) }, \ 1264 { MIBDECL(pfTblAddrOutMatchPkts) }, \ 1265 { MIBDECL(pfTblAddrOutMatchBytes) }, \ 1266 { MIBDECL(pfLabels) }, \ 1267 { MIBDECL(pfLabelNumber) }, \ 1268 { MIBDECL(pfLabelTable) }, \ 1269 { MIBDECL(pfLabelEntry) }, \ 1270 { MIBDECL(pfLabelIndex) }, \ 1271 { MIBDECL(pfLabelName) }, \ 1272 { MIBDECL(pfLabelEvals) }, \ 1273 { MIBDECL(pfLabelPkts) }, \ 1274 { MIBDECL(pfLabelBytes) }, \ 1275 { MIBDECL(pfLabelInPkts) }, \ 1276 { MIBDECL(pfLabelInBytes) }, \ 1277 { MIBDECL(pfLabelOutPkts) }, \ 1278 { MIBDECL(pfLabelOutBytes) }, \ 1279 { MIBDECL(pfLabelTotalStates) }, \ 1280 { MIBDECL(pfsyncStats) }, \ 1281 { MIBDECL(pfsyncIpPktsRecv) }, \ 1282 { MIBDECL(pfsyncIp6PktsRecv) }, \ 1283 { MIBDECL(pfsyncPktDiscardsForBadInterface) }, \ 1284 { MIBDECL(pfsyncPktDiscardsForBadTtl) }, \ 1285 { MIBDECL(pfsyncPktShorterThanHeader) }, \ 1286 { MIBDECL(pfsyncPktDiscardsForBadVersion) }, \ 1287 { MIBDECL(pfsyncPktDiscardsForBadAction) }, \ 1288 { MIBDECL(pfsyncPktDiscardsForBadLength) }, \ 1289 { MIBDECL(pfsyncPktDiscardsForBadAuth) }, \ 1290 { MIBDECL(pfsyncPktDiscardsForStaleState) }, \ 1291 { MIBDECL(pfsyncPktDiscardsForBadValues) }, \ 1292 { MIBDECL(pfsyncPktDiscardsForBadState) }, \ 1293 { MIBDECL(pfsyncIpPktsSent) }, \ 1294 { MIBDECL(pfsyncIp6PktsSent) }, \ 1295 { MIBDECL(pfsyncNoMemory) }, \ 1296 { MIBDECL(pfsyncOutputErrors) }, \ 1297 { MIBDECL(sensorsMIBObjects) }, \ 1298 { MIBDECL(relaydMIBObjects) }, \ 1299 { MIBDECL(relaydHostTrap) }, \ 1300 { MIBDECL(relaydHostTrapHostName) }, \ 1301 { MIBDECL(relaydHostTrapUp) }, \ 1302 { MIBDECL(relaydHostTrapLastUp) }, \ 1303 { MIBDECL(relaydHostTrapUpCount) }, \ 1304 { MIBDECL(relaydHostTrapCheckCount) }, \ 1305 { MIBDECL(relaydHostTrapTableName) }, \ 1306 { MIBDECL(relaydHostTrapTableUp) }, \ 1307 { MIBDECL(relaydHostTrapRetry) }, \ 1308 { MIBDECL(relaydHostTrapRetryCount) }, \ 1309 { MIBDECL(sensors) }, \ 1310 { MIBDECL(sensorNumber) }, \ 1311 { MIBDECL(sensorTable) }, \ 1312 { MIBDECL(sensorEntry) }, \ 1313 { MIBDECL(sensorIndex) }, \ 1314 { MIBDECL(sensorDescr) }, \ 1315 { MIBDECL(sensorType) }, \ 1316 { MIBDECL(sensorDevice) }, \ 1317 { MIBDECL(sensorValue) }, \ 1318 { MIBDECL(sensorUnits) }, \ 1319 { MIBDECL(sensorStatus) }, \ 1320 { MIBDECL(memMIBObjects) }, \ 1321 { MIBDECL(memMIBVersion) }, \ 1322 { MIBDECL(memIfTable) }, \ 1323 { MIBDECL(memIfEntry) }, \ 1324 { MIBDECL(memIfName) }, \ 1325 { MIBDECL(memIfLiveLocks) }, \ 1326 { MIBDECL(carpMIBObjects) }, \ 1327 { MIBDECL(carpSysctl) }, \ 1328 { MIBDECL(carpAllow) }, \ 1329 { MIBDECL(carpPreempt) }, \ 1330 { MIBDECL(carpLog) }, \ 1331 { MIBDECL(carpIf) }, \ 1332 { MIBDECL(carpIfNumber) }, \ 1333 { MIBDECL(carpIfTable) }, \ 1334 { MIBDECL(carpIfEntry) }, \ 1335 { MIBDECL(carpIfIndex) }, \ 1336 { MIBDECL(carpIfDescr) }, \ 1337 { MIBDECL(carpIfVhid) }, \ 1338 { MIBDECL(carpIfDev) }, \ 1339 { MIBDECL(carpIfAdvbase) }, \ 1340 { MIBDECL(carpIfAdvskew) }, \ 1341 { MIBDECL(carpIfState) }, \ 1342 { MIBDECL(carpStats) }, \ 1343 { MIBDECL(carpIpPktsRecv) }, \ 1344 { MIBDECL(carpIp6PktsRecv) }, \ 1345 { MIBDECL(carpPktDiscardsBadIface) }, \ 1346 { MIBDECL(carpPktDiscardsBadTtl) }, \ 1347 { MIBDECL(carpPktShorterThanHdr) }, \ 1348 { MIBDECL(carpDiscardsBadCksum) }, \ 1349 { MIBDECL(carpDiscardsBadVersion) }, \ 1350 { MIBDECL(carpDiscardsTooShort) }, \ 1351 { MIBDECL(carpDiscardsBadAuth) }, \ 1352 { MIBDECL(carpDiscardsBadVhid) }, \ 1353 { MIBDECL(carpDiscardsBadAddrList) }, \ 1354 { MIBDECL(carpIpPktsSent) }, \ 1355 { MIBDECL(carpIp6PktsSent) }, \ 1356 { MIBDECL(carpNoMemory) }, \ 1357 { MIBDECL(carpTransitionsToMaster) }, \ 1358 { MIBDECL(carpGroupTable) }, \ 1359 { MIBDECL(carpGroupEntry) }, \ 1360 { MIBDECL(carpGroupName) }, \ 1361 { MIBDECL(carpGroupDemote) }, \ 1362 { MIBDECL(localSystem) }, \ 1363 { MIBDECL(localTest) }, \ 1364 \ 1365 { MIBDECL(ipMIB) }, \ 1366 { MIBDECL(ipForwarding) }, \ 1367 { MIBDECL(ipDefaultTTL) }, \ 1368 { MIBDECL(ipInReceives) }, \ 1369 { MIBDECL(ipInHdrErrors) }, \ 1370 { MIBDECL(ipInAddrErrors) }, \ 1371 { MIBDECL(ipForwDatagrams) }, \ 1372 { MIBDECL(ipInUnknownProtos) }, \ 1373 { MIBDECL(ipInDiscards) }, \ 1374 { MIBDECL(ipInDelivers) }, \ 1375 { MIBDECL(ipOutRequests) }, \ 1376 { MIBDECL(ipOutDiscards) }, \ 1377 { MIBDECL(ipOutNoRoutes) }, \ 1378 { MIBDECL(ipReasmTimeout) }, \ 1379 { MIBDECL(ipReasmReqds) }, \ 1380 { MIBDECL(ipReasmOKs) }, \ 1381 { MIBDECL(ipReasmFails) }, \ 1382 { MIBDECL(ipFragOKs) }, \ 1383 { MIBDECL(ipFragFails) }, \ 1384 { MIBDECL(ipFragCreates) }, \ 1385 { MIBDECL(ipRoutingDiscards) }, \ 1386 { MIBDECL(ipAddrTable) }, \ 1387 { MIBDECL(ipAddrEntry) }, \ 1388 { MIBDECL(ipAdEntAddr) }, \ 1389 { MIBDECL(ipAdEntIfIndex) }, \ 1390 { MIBDECL(ipAdEntNetMask) }, \ 1391 { MIBDECL(ipAdEntBcastAddr) }, \ 1392 { MIBDECL(ipAdEntReasmMaxSize) }, \ 1393 { MIBDECL(ipNetToMediaTable) }, \ 1394 { MIBDECL(ipNetToMediaEntry) }, \ 1395 { MIBDECL(ipNetToMediaIfIndex) }, \ 1396 { MIBDECL(ipNetToMediaPhysAddress) }, \ 1397 { MIBDECL(ipNetToMediaNetAddress) }, \ 1398 { MIBDECL(ipNetToMediaType) }, \ 1399 \ 1400 { MIBDECL(ipfMIB) }, \ 1401 { MIBDECL(ipfInetCidrRouteNumber) }, \ 1402 { MIBDECL(ipfInetCidrRouteTable) }, \ 1403 { MIBDECL(ipfInetCidrRouteEntry) }, \ 1404 { MIBDECL(ipfRouteEntIfIndex) }, \ 1405 { MIBDECL(ipfRouteEntType) }, \ 1406 { MIBDECL(ipfRouteEntProto) }, \ 1407 { MIBDECL(ipfRouteEntAge) }, \ 1408 { MIBDECL(ipfRouteEntNextHopAS) }, \ 1409 { MIBDECL(ipfRouteEntRouteMetric1) }, \ 1410 { MIBDECL(ipfRouteEntRouteMetric2) }, \ 1411 { MIBDECL(ipfRouteEntRouteMetric3) }, \ 1412 { MIBDECL(ipfRouteEntRouteMetric4) }, \ 1413 { MIBDECL(ipfRouteEntRouteMetric5) }, \ 1414 { MIBDECL(ipfRouteEntStatus) }, \ 1415 { MIBEND } \ 1416 } 1417 1418 #endif /* SNMPD_MIB_H */ 1419