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