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