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