2 * This C file has been generated by smidump 0.4.2-pre1.
3 * It is intended to be used with the NET-SNMP agent library.
5 * This C file is derived from the RMON2-MIB module.
7 * $Id: rmon2-mib-agt-stub.c 1606 2003-12-01 12:24:15Z strauss $
14 #include "rmon2-mib.h"
16 #include <ucd-snmp/asn1.h>
17 #include <ucd-snmp/snmp.h>
18 #include <ucd-snmp/snmp_api.h>
19 #include <ucd-snmp/snmp_impl.h>
20 #include <ucd-snmp/snmp_vars.h>
23 * Forward declaration of read methods for groups of scalars and tables:
26 static unsigned char *
27 read_etherStats2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
28 static unsigned char *
29 read_tokenRingMLStats2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
30 static unsigned char *
31 read_tokenRingPStats2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
32 static unsigned char *
33 read_historyControl2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
34 static unsigned char *
35 read_hostControl2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
36 static unsigned char *
37 read_matrixControl2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
38 static unsigned char *
39 read_channel2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
40 static unsigned char *
41 read_filter2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
42 static unsigned char *
43 read_ringStationControl2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
44 static unsigned char *
45 read_sourceRoutingStats2Entry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
46 static unsigned char *
47 read_protocolDir_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
48 static unsigned char *
49 read_protocolDirEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
50 static unsigned char *
51 read_protocolDistControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
52 static unsigned char *
53 read_protocolDistStatsEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
54 static unsigned char *
55 read_addressMap_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
56 static unsigned char *
57 read_addressMapControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
58 static unsigned char *
59 read_addressMapEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
60 static unsigned char *
61 read_hlHostControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
62 static unsigned char *
63 read_nlHostEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
64 static unsigned char *
65 read_hlMatrixControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
66 static unsigned char *
67 read_nlMatrixSDEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
68 static unsigned char *
69 read_nlMatrixDSEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
70 static unsigned char *
71 read_nlMatrixTopNControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
72 static unsigned char *
73 read_nlMatrixTopNEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
74 static unsigned char *
75 read_alHostEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
76 static unsigned char *
77 read_alMatrixSDEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
78 static unsigned char *
79 read_alMatrixDSEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
80 static unsigned char *
81 read_alMatrixTopNControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
82 static unsigned char *
83 read_alMatrixTopNEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
84 static unsigned char *
85 read_usrHistoryControlEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
86 static unsigned char *
87 read_usrHistoryObjectEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
88 static unsigned char *
89 read_usrHistoryEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
90 static unsigned char *
91 read_probeConfig_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
92 static unsigned char *
93 read_serialConfigEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
94 static unsigned char *
95 read_netConfigEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
96 static unsigned char *
97 read_trapDestEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
98 static unsigned char *
99 read_serialConnectionEntry_stub(struct variable *, oid *, size_t *, int, size_t *, WriteMethod **);
102 * Forward declaration of write methods for writable objects:
106 write_filterProtocolDirDataLocalIndex_stub(int, u_char *, u_char, int, u_char *, oid *, int);
108 write_filterProtocolDirLocalIndex_stub(int, u_char *, u_char, int, u_char *, oid *, int);
110 write_protocolDirDescr_stub(int, u_char *, u_char, int, u_char *, oid *, int);
112 write_protocolDirAddressMapConfig_stub(int, u_char *, u_char, int, u_char *, oid *, int);
114 write_protocolDirHostConfig_stub(int, u_char *, u_char, int, u_char *, oid *, int);
116 write_protocolDirMatrixConfig_stub(int, u_char *, u_char, int, u_char *, oid *, int);
118 write_protocolDirOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
120 write_protocolDirStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
122 write_protocolDistControlDataSource_stub(int, u_char *, u_char, int, u_char *, oid *, int);
124 write_protocolDistControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
126 write_protocolDistControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
128 write_addressMapMaxDesiredEntries_stub(int, u_char *, u_char, int, u_char *, oid *, int);
130 write_addressMapControlDataSource_stub(int, u_char *, u_char, int, u_char *, oid *, int);
132 write_addressMapControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
134 write_addressMapControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
136 write_hlHostControlDataSource_stub(int, u_char *, u_char, int, u_char *, oid *, int);
138 write_hlHostControlNlMaxDesiredEntries_stub(int, u_char *, u_char, int, u_char *, oid *, int);
140 write_hlHostControlAlMaxDesiredEntries_stub(int, u_char *, u_char, int, u_char *, oid *, int);
142 write_hlHostControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
144 write_hlHostControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
146 write_hlMatrixControlDataSource_stub(int, u_char *, u_char, int, u_char *, oid *, int);
148 write_hlMatrixControlNlMaxDesiredEntries_stub(int, u_char *, u_char, int, u_char *, oid *, int);
150 write_hlMatrixControlAlMaxDesiredEntries_stub(int, u_char *, u_char, int, u_char *, oid *, int);
152 write_hlMatrixControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
154 write_hlMatrixControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
156 write_nlMatrixTopNControlMatrixIndex_stub(int, u_char *, u_char, int, u_char *, oid *, int);
158 write_nlMatrixTopNControlRateBase_stub(int, u_char *, u_char, int, u_char *, oid *, int);
160 write_nlMatrixTopNControlTimeRemaining_stub(int, u_char *, u_char, int, u_char *, oid *, int);
162 write_nlMatrixTopNControlRequestedSize_stub(int, u_char *, u_char, int, u_char *, oid *, int);
164 write_nlMatrixTopNControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
166 write_nlMatrixTopNControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
168 write_alMatrixTopNControlMatrixIndex_stub(int, u_char *, u_char, int, u_char *, oid *, int);
170 write_alMatrixTopNControlRateBase_stub(int, u_char *, u_char, int, u_char *, oid *, int);
172 write_alMatrixTopNControlTimeRemaining_stub(int, u_char *, u_char, int, u_char *, oid *, int);
174 write_alMatrixTopNControlRequestedSize_stub(int, u_char *, u_char, int, u_char *, oid *, int);
176 write_alMatrixTopNControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
178 write_alMatrixTopNControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
180 write_usrHistoryControlObjects_stub(int, u_char *, u_char, int, u_char *, oid *, int);
182 write_usrHistoryControlBucketsRequested_stub(int, u_char *, u_char, int, u_char *, oid *, int);
184 write_usrHistoryControlInterval_stub(int, u_char *, u_char, int, u_char *, oid *, int);
186 write_usrHistoryControlOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
188 write_usrHistoryControlStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
190 write_usrHistoryObjectVariable_stub(int, u_char *, u_char, int, u_char *, oid *, int);
192 write_usrHistoryObjectSampleType_stub(int, u_char *, u_char, int, u_char *, oid *, int);
194 write_probeDateTime_stub(int, u_char *, u_char, int, u_char *, oid *, int);
196 write_probeResetControl_stub(int, u_char *, u_char, int, u_char *, oid *, int);
198 write_probeDownloadFile_stub(int, u_char *, u_char, int, u_char *, oid *, int);
200 write_probeDownloadTFTPServer_stub(int, u_char *, u_char, int, u_char *, oid *, int);
202 write_probeDownloadAction_stub(int, u_char *, u_char, int, u_char *, oid *, int);
204 write_serialMode_stub(int, u_char *, u_char, int, u_char *, oid *, int);
206 write_serialProtocol_stub(int, u_char *, u_char, int, u_char *, oid *, int);
208 write_serialTimeout_stub(int, u_char *, u_char, int, u_char *, oid *, int);
210 write_serialModemInitString_stub(int, u_char *, u_char, int, u_char *, oid *, int);
212 write_serialModemHangUpString_stub(int, u_char *, u_char, int, u_char *, oid *, int);
214 write_serialModemConnectResp_stub(int, u_char *, u_char, int, u_char *, oid *, int);
216 write_serialModemNoConnectResp_stub(int, u_char *, u_char, int, u_char *, oid *, int);
218 write_serialDialoutTimeout_stub(int, u_char *, u_char, int, u_char *, oid *, int);
220 write_serialStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
222 write_netConfigIPAddress_stub(int, u_char *, u_char, int, u_char *, oid *, int);
224 write_netConfigSubnetMask_stub(int, u_char *, u_char, int, u_char *, oid *, int);
226 write_netConfigStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
228 write_netDefaultGateway_stub(int, u_char *, u_char, int, u_char *, oid *, int);
230 write_trapDestCommunity_stub(int, u_char *, u_char, int, u_char *, oid *, int);
232 write_trapDestProtocol_stub(int, u_char *, u_char, int, u_char *, oid *, int);
234 write_trapDestAddress_stub(int, u_char *, u_char, int, u_char *, oid *, int);
236 write_trapDestOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
238 write_trapDestStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
240 write_serialConnectDestIpAddress_stub(int, u_char *, u_char, int, u_char *, oid *, int);
242 write_serialConnectType_stub(int, u_char *, u_char, int, u_char *, oid *, int);
244 write_serialConnectDialString_stub(int, u_char *, u_char, int, u_char *, oid *, int);
246 write_serialConnectSwitchConnectSeq_stub(int, u_char *, u_char, int, u_char *, oid *, int);
248 write_serialConnectSwitchDisconnectSeq_stub(int, u_char *, u_char, int, u_char *, oid *, int);
250 write_serialConnectSwitchResetSeq_stub(int, u_char *, u_char, int, u_char *, oid *, int);
252 write_serialConnectOwner_stub(int, u_char *, u_char, int, u_char *, oid *, int);
254 write_serialConnectStatus_stub(int, u_char *, u_char, int, u_char *, oid *, int);
257 * Definitions of tags that are used internally to read/write
258 * the selected object type. These tags should be unique.
261 #define ETHERSTATSDROPPEDFRAMES 1
262 #define ETHERSTATSCREATETIME 2
264 static oid etherStats2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 1, 4, 1};
266 struct variable etherStats2Entry_variables[] = {
267 { ETHERSTATSDROPPEDFRAMES, ASN_INTEGER, RONLY, read_etherStats2Entry_stub, 1, {1} },
268 { ETHERSTATSCREATETIME, ASN_INTEGER, RONLY, read_etherStats2Entry_stub, 1, {2} },
271 #define TOKENRINGMLSTATSDROPPEDFRAMES 1
272 #define TOKENRINGMLSTATSCREATETIME 2
274 static oid tokenRingMLStats2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 1, 5, 1};
276 struct variable tokenRingMLStats2Entry_variables[] = {
277 { TOKENRINGMLSTATSDROPPEDFRAMES, ASN_INTEGER, RONLY, read_tokenRingMLStats2Entry_stub, 1, {1} },
278 { TOKENRINGMLSTATSCREATETIME, ASN_INTEGER, RONLY, read_tokenRingMLStats2Entry_stub, 1, {2} },
281 #define TOKENRINGPSTATSDROPPEDFRAMES 1
282 #define TOKENRINGPSTATSCREATETIME 2
284 static oid tokenRingPStats2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 1, 6, 1};
286 struct variable tokenRingPStats2Entry_variables[] = {
287 { TOKENRINGPSTATSDROPPEDFRAMES, ASN_INTEGER, RONLY, read_tokenRingPStats2Entry_stub, 1, {1} },
288 { TOKENRINGPSTATSCREATETIME, ASN_INTEGER, RONLY, read_tokenRingPStats2Entry_stub, 1, {2} },
291 #define HISTORYCONTROLDROPPEDFRAMES 1
293 static oid historyControl2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 2, 5, 1};
295 struct variable historyControl2Entry_variables[] = {
296 { HISTORYCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_historyControl2Entry_stub, 1, {1} },
299 #define HOSTCONTROLDROPPEDFRAMES 1
300 #define HOSTCONTROLCREATETIME 2
302 static oid hostControl2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 4, 4, 1};
304 struct variable hostControl2Entry_variables[] = {
305 { HOSTCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_hostControl2Entry_stub, 1, {1} },
306 { HOSTCONTROLCREATETIME, ASN_INTEGER, RONLY, read_hostControl2Entry_stub, 1, {2} },
309 #define MATRIXCONTROLDROPPEDFRAMES 1
310 #define MATRIXCONTROLCREATETIME 2
312 static oid matrixControl2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 6, 4, 1};
314 struct variable matrixControl2Entry_variables[] = {
315 { MATRIXCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_matrixControl2Entry_stub, 1, {1} },
316 { MATRIXCONTROLCREATETIME, ASN_INTEGER, RONLY, read_matrixControl2Entry_stub, 1, {2} },
319 #define CHANNELDROPPEDFRAMES 1
320 #define CHANNELCREATETIME 2
322 static oid channel2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 7, 3, 1};
324 struct variable channel2Entry_variables[] = {
325 { CHANNELDROPPEDFRAMES, ASN_INTEGER, RONLY, read_channel2Entry_stub, 1, {1} },
326 { CHANNELCREATETIME, ASN_INTEGER, RONLY, read_channel2Entry_stub, 1, {2} },
329 #define FILTERPROTOCOLDIRDATALOCALINDEX 1
330 #define FILTERPROTOCOLDIRLOCALINDEX 2
332 static oid filter2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 7, 4, 1};
334 struct variable filter2Entry_variables[] = {
335 { FILTERPROTOCOLDIRDATALOCALINDEX, ASN_INTEGER, RWRITE, read_filter2Entry_stub, 1, {1} },
336 { FILTERPROTOCOLDIRLOCALINDEX, ASN_INTEGER, RWRITE, read_filter2Entry_stub, 1, {2} },
339 #define RINGSTATIONCONTROLDROPPEDFRAMES 1
340 #define RINGSTATIONCONTROLCREATETIME 2
342 static oid ringStationControl2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 10, 7, 1};
344 struct variable ringStationControl2Entry_variables[] = {
345 { RINGSTATIONCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_ringStationControl2Entry_stub, 1, {1} },
346 { RINGSTATIONCONTROLCREATETIME, ASN_INTEGER, RONLY, read_ringStationControl2Entry_stub, 1, {2} },
349 #define SOURCEROUTINGSTATSDROPPEDFRAMES 1
350 #define SOURCEROUTINGSTATSCREATETIME 2
352 static oid sourceRoutingStats2Entry_base[] = {1, 3, 6, 1, 2, 1, 16, 10, 8, 1};
354 struct variable sourceRoutingStats2Entry_variables[] = {
355 { SOURCEROUTINGSTATSDROPPEDFRAMES, ASN_INTEGER, RONLY, read_sourceRoutingStats2Entry_stub, 1, {1} },
356 { SOURCEROUTINGSTATSCREATETIME, ASN_INTEGER, RONLY, read_sourceRoutingStats2Entry_stub, 1, {2} },
359 #define PROTOCOLDIRLASTCHANGE 1
361 static oid protocolDir_base[] = {1, 3, 6, 1, 2, 1, 16, 11};
363 struct variable protocolDir_variables[] = {
364 { PROTOCOLDIRLASTCHANGE, ASN_INTEGER, RONLY, read_protocolDir_stub, 1, {1} },
367 #define PROTOCOLDIRLOCALINDEX 3
368 #define PROTOCOLDIRDESCR 4
369 #define PROTOCOLDIRTYPE 5
370 #define PROTOCOLDIRADDRESSMAPCONFIG 6
371 #define PROTOCOLDIRHOSTCONFIG 7
372 #define PROTOCOLDIRMATRIXCONFIG 8
373 #define PROTOCOLDIROWNER 9
374 #define PROTOCOLDIRSTATUS 10
376 static oid protocolDirEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 11, 2, 1};
378 struct variable protocolDirEntry_variables[] = {
379 { PROTOCOLDIRLOCALINDEX, ASN_INTEGER, RONLY, read_protocolDirEntry_stub, 1, {3} },
380 { PROTOCOLDIRDESCR, ASN_OCTET_STR, RWRITE, read_protocolDirEntry_stub, 1, {4} },
381 { PROTOCOLDIRTYPE, ASN_OCTET_STR, RONLY, read_protocolDirEntry_stub, 1, {5} },
382 { PROTOCOLDIRADDRESSMAPCONFIG, ASN_INTEGER, RWRITE, read_protocolDirEntry_stub, 1, {6} },
383 { PROTOCOLDIRHOSTCONFIG, ASN_INTEGER, RWRITE, read_protocolDirEntry_stub, 1, {7} },
384 { PROTOCOLDIRMATRIXCONFIG, ASN_INTEGER, RWRITE, read_protocolDirEntry_stub, 1, {8} },
385 { PROTOCOLDIROWNER, ASN_OCTET_STR, RWRITE, read_protocolDirEntry_stub, 1, {9} },
386 { PROTOCOLDIRSTATUS, ASN_INTEGER, RWRITE, read_protocolDirEntry_stub, 1, {10} },
389 #define PROTOCOLDISTCONTROLDATASOURCE 2
390 #define PROTOCOLDISTCONTROLDROPPEDFRAMES 3
391 #define PROTOCOLDISTCONTROLCREATETIME 4
392 #define PROTOCOLDISTCONTROLOWNER 5
393 #define PROTOCOLDISTCONTROLSTATUS 6
395 static oid protocolDistControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 12, 1, 1};
397 struct variable protocolDistControlEntry_variables[] = {
398 { PROTOCOLDISTCONTROLDATASOURCE, ASN_OBJECT_ID, RWRITE, read_protocolDistControlEntry_stub, 1, {2} },
399 { PROTOCOLDISTCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_protocolDistControlEntry_stub, 1, {3} },
400 { PROTOCOLDISTCONTROLCREATETIME, ASN_INTEGER, RONLY, read_protocolDistControlEntry_stub, 1, {4} },
401 { PROTOCOLDISTCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_protocolDistControlEntry_stub, 1, {5} },
402 { PROTOCOLDISTCONTROLSTATUS, ASN_INTEGER, RWRITE, read_protocolDistControlEntry_stub, 1, {6} },
405 #define PROTOCOLDISTSTATSPKTS 1
406 #define PROTOCOLDISTSTATSOCTETS 2
408 static oid protocolDistStatsEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 12, 2, 1};
410 struct variable protocolDistStatsEntry_variables[] = {
411 { PROTOCOLDISTSTATSPKTS, ASN_INTEGER, RONLY, read_protocolDistStatsEntry_stub, 1, {1} },
412 { PROTOCOLDISTSTATSOCTETS, ASN_INTEGER, RONLY, read_protocolDistStatsEntry_stub, 1, {2} },
415 #define ADDRESSMAPINSERTS 1
416 #define ADDRESSMAPDELETES 2
417 #define ADDRESSMAPMAXDESIREDENTRIES 3
419 static oid addressMap_base[] = {1, 3, 6, 1, 2, 1, 16, 13};
421 struct variable addressMap_variables[] = {
422 { ADDRESSMAPINSERTS, ASN_INTEGER, RONLY, read_addressMap_stub, 1, {1} },
423 { ADDRESSMAPDELETES, ASN_INTEGER, RONLY, read_addressMap_stub, 1, {2} },
424 { ADDRESSMAPMAXDESIREDENTRIES, ASN_INTEGER, RWRITE, read_addressMap_stub, 1, {3} },
427 #define ADDRESSMAPCONTROLDATASOURCE 2
428 #define ADDRESSMAPCONTROLDROPPEDFRAMES 3
429 #define ADDRESSMAPCONTROLOWNER 4
430 #define ADDRESSMAPCONTROLSTATUS 5
432 static oid addressMapControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 13, 4, 1};
434 struct variable addressMapControlEntry_variables[] = {
435 { ADDRESSMAPCONTROLDATASOURCE, ASN_OBJECT_ID, RWRITE, read_addressMapControlEntry_stub, 1, {2} },
436 { ADDRESSMAPCONTROLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_addressMapControlEntry_stub, 1, {3} },
437 { ADDRESSMAPCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_addressMapControlEntry_stub, 1, {4} },
438 { ADDRESSMAPCONTROLSTATUS, ASN_INTEGER, RWRITE, read_addressMapControlEntry_stub, 1, {5} },
441 #define ADDRESSMAPPHYSICALADDRESS 4
442 #define ADDRESSMAPLASTCHANGE 5
444 static oid addressMapEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 13, 5, 1};
446 struct variable addressMapEntry_variables[] = {
447 { ADDRESSMAPPHYSICALADDRESS, ASN_OCTET_STR, RONLY, read_addressMapEntry_stub, 1, {4} },
448 { ADDRESSMAPLASTCHANGE, ASN_INTEGER, RONLY, read_addressMapEntry_stub, 1, {5} },
451 #define HLHOSTCONTROLDATASOURCE 2
452 #define HLHOSTCONTROLNLDROPPEDFRAMES 3
453 #define HLHOSTCONTROLNLINSERTS 4
454 #define HLHOSTCONTROLNLDELETES 5
455 #define HLHOSTCONTROLNLMAXDESIREDENTRIES 6
456 #define HLHOSTCONTROLALDROPPEDFRAMES 7
457 #define HLHOSTCONTROLALINSERTS 8
458 #define HLHOSTCONTROLALDELETES 9
459 #define HLHOSTCONTROLALMAXDESIREDENTRIES 10
460 #define HLHOSTCONTROLOWNER 11
461 #define HLHOSTCONTROLSTATUS 12
463 static oid hlHostControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 14, 1, 1};
465 struct variable hlHostControlEntry_variables[] = {
466 { HLHOSTCONTROLDATASOURCE, ASN_OBJECT_ID, RWRITE, read_hlHostControlEntry_stub, 1, {2} },
467 { HLHOSTCONTROLNLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {3} },
468 { HLHOSTCONTROLNLINSERTS, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {4} },
469 { HLHOSTCONTROLNLDELETES, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {5} },
470 { HLHOSTCONTROLNLMAXDESIREDENTRIES, ASN_INTEGER, RWRITE, read_hlHostControlEntry_stub, 1, {6} },
471 { HLHOSTCONTROLALDROPPEDFRAMES, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {7} },
472 { HLHOSTCONTROLALINSERTS, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {8} },
473 { HLHOSTCONTROLALDELETES, ASN_INTEGER, RONLY, read_hlHostControlEntry_stub, 1, {9} },
474 { HLHOSTCONTROLALMAXDESIREDENTRIES, ASN_INTEGER, RWRITE, read_hlHostControlEntry_stub, 1, {10} },
475 { HLHOSTCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_hlHostControlEntry_stub, 1, {11} },
476 { HLHOSTCONTROLSTATUS, ASN_INTEGER, RWRITE, read_hlHostControlEntry_stub, 1, {12} },
479 #define NLHOSTINPKTS 3
480 #define NLHOSTOUTPKTS 4
481 #define NLHOSTINOCTETS 5
482 #define NLHOSTOUTOCTETS 6
483 #define NLHOSTOUTMACNONUNICASTPKTS 7
484 #define NLHOSTCREATETIME 8
486 static oid nlHostEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 14, 2, 1};
488 struct variable nlHostEntry_variables[] = {
489 { NLHOSTINPKTS, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {3} },
490 { NLHOSTOUTPKTS, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {4} },
491 { NLHOSTINOCTETS, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {5} },
492 { NLHOSTOUTOCTETS, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {6} },
493 { NLHOSTOUTMACNONUNICASTPKTS, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {7} },
494 { NLHOSTCREATETIME, ASN_INTEGER, RONLY, read_nlHostEntry_stub, 1, {8} },
497 #define HLMATRIXCONTROLDATASOURCE 2
498 #define HLMATRIXCONTROLNLDROPPEDFRAMES 3
499 #define HLMATRIXCONTROLNLINSERTS 4
500 #define HLMATRIXCONTROLNLDELETES 5
501 #define HLMATRIXCONTROLNLMAXDESIREDENTRIES 6
502 #define HLMATRIXCONTROLALDROPPEDFRAMES 7
503 #define HLMATRIXCONTROLALINSERTS 8
504 #define HLMATRIXCONTROLALDELETES 9
505 #define HLMATRIXCONTROLALMAXDESIREDENTRIES 10
506 #define HLMATRIXCONTROLOWNER 11
507 #define HLMATRIXCONTROLSTATUS 12
509 static oid hlMatrixControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 15, 1, 1};
511 struct variable hlMatrixControlEntry_variables[] = {
512 { HLMATRIXCONTROLDATASOURCE, ASN_OBJECT_ID, RWRITE, read_hlMatrixControlEntry_stub, 1, {2} },
513 { HLMATRIXCONTROLNLDROPPEDFRAMES, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {3} },
514 { HLMATRIXCONTROLNLINSERTS, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {4} },
515 { HLMATRIXCONTROLNLDELETES, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {5} },
516 { HLMATRIXCONTROLNLMAXDESIREDENTRIES, ASN_INTEGER, RWRITE, read_hlMatrixControlEntry_stub, 1, {6} },
517 { HLMATRIXCONTROLALDROPPEDFRAMES, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {7} },
518 { HLMATRIXCONTROLALINSERTS, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {8} },
519 { HLMATRIXCONTROLALDELETES, ASN_INTEGER, RONLY, read_hlMatrixControlEntry_stub, 1, {9} },
520 { HLMATRIXCONTROLALMAXDESIREDENTRIES, ASN_INTEGER, RWRITE, read_hlMatrixControlEntry_stub, 1, {10} },
521 { HLMATRIXCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_hlMatrixControlEntry_stub, 1, {11} },
522 { HLMATRIXCONTROLSTATUS, ASN_INTEGER, RWRITE, read_hlMatrixControlEntry_stub, 1, {12} },
525 #define NLMATRIXSDPKTS 4
526 #define NLMATRIXSDOCTETS 5
527 #define NLMATRIXSDCREATETIME 6
529 static oid nlMatrixSDEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 15, 2, 1};
531 struct variable nlMatrixSDEntry_variables[] = {
532 { NLMATRIXSDPKTS, ASN_INTEGER, RONLY, read_nlMatrixSDEntry_stub, 1, {4} },
533 { NLMATRIXSDOCTETS, ASN_INTEGER, RONLY, read_nlMatrixSDEntry_stub, 1, {5} },
534 { NLMATRIXSDCREATETIME, ASN_INTEGER, RONLY, read_nlMatrixSDEntry_stub, 1, {6} },
537 #define NLMATRIXDSPKTS 4
538 #define NLMATRIXDSOCTETS 5
539 #define NLMATRIXDSCREATETIME 6
541 static oid nlMatrixDSEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 15, 3, 1};
543 struct variable nlMatrixDSEntry_variables[] = {
544 { NLMATRIXDSPKTS, ASN_INTEGER, RONLY, read_nlMatrixDSEntry_stub, 1, {4} },
545 { NLMATRIXDSOCTETS, ASN_INTEGER, RONLY, read_nlMatrixDSEntry_stub, 1, {5} },
546 { NLMATRIXDSCREATETIME, ASN_INTEGER, RONLY, read_nlMatrixDSEntry_stub, 1, {6} },
549 #define NLMATRIXTOPNCONTROLMATRIXINDEX 2
550 #define NLMATRIXTOPNCONTROLRATEBASE 3
551 #define NLMATRIXTOPNCONTROLTIMEREMAINING 4
552 #define NLMATRIXTOPNCONTROLGENERATEDREPORTS 5
553 #define NLMATRIXTOPNCONTROLDURATION 6
554 #define NLMATRIXTOPNCONTROLREQUESTEDSIZE 7
555 #define NLMATRIXTOPNCONTROLGRANTEDSIZE 8
556 #define NLMATRIXTOPNCONTROLSTARTTIME 9
557 #define NLMATRIXTOPNCONTROLOWNER 10
558 #define NLMATRIXTOPNCONTROLSTATUS 11
560 static oid nlMatrixTopNControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 15, 4, 1};
562 struct variable nlMatrixTopNControlEntry_variables[] = {
563 { NLMATRIXTOPNCONTROLMATRIXINDEX, ASN_INTEGER, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {2} },
564 { NLMATRIXTOPNCONTROLRATEBASE, ASN_INTEGER, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {3} },
565 { NLMATRIXTOPNCONTROLTIMEREMAINING, ASN_INTEGER, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {4} },
566 { NLMATRIXTOPNCONTROLGENERATEDREPORTS, ASN_INTEGER, RONLY, read_nlMatrixTopNControlEntry_stub, 1, {5} },
567 { NLMATRIXTOPNCONTROLDURATION, ASN_INTEGER, RONLY, read_nlMatrixTopNControlEntry_stub, 1, {6} },
568 { NLMATRIXTOPNCONTROLREQUESTEDSIZE, ASN_INTEGER, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {7} },
569 { NLMATRIXTOPNCONTROLGRANTEDSIZE, ASN_INTEGER, RONLY, read_nlMatrixTopNControlEntry_stub, 1, {8} },
570 { NLMATRIXTOPNCONTROLSTARTTIME, ASN_INTEGER, RONLY, read_nlMatrixTopNControlEntry_stub, 1, {9} },
571 { NLMATRIXTOPNCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {10} },
572 { NLMATRIXTOPNCONTROLSTATUS, ASN_INTEGER, RWRITE, read_nlMatrixTopNControlEntry_stub, 1, {11} },
575 #define NLMATRIXTOPNPROTOCOLDIRLOCALINDEX 2
576 #define NLMATRIXTOPNSOURCEADDRESS 3
577 #define NLMATRIXTOPNDESTADDRESS 4
578 #define NLMATRIXTOPNPKTRATE 5
579 #define NLMATRIXTOPNREVERSEPKTRATE 6
580 #define NLMATRIXTOPNOCTETRATE 7
581 #define NLMATRIXTOPNREVERSEOCTETRATE 8
583 static oid nlMatrixTopNEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 15, 5, 1};
585 struct variable nlMatrixTopNEntry_variables[] = {
586 { NLMATRIXTOPNPROTOCOLDIRLOCALINDEX, ASN_INTEGER, RONLY, read_nlMatrixTopNEntry_stub, 1, {2} },
587 { NLMATRIXTOPNSOURCEADDRESS, ASN_OCTET_STR, RONLY, read_nlMatrixTopNEntry_stub, 1, {3} },
588 { NLMATRIXTOPNDESTADDRESS, ASN_OCTET_STR, RONLY, read_nlMatrixTopNEntry_stub, 1, {4} },
589 { NLMATRIXTOPNPKTRATE, ASN_INTEGER, RONLY, read_nlMatrixTopNEntry_stub, 1, {5} },
590 { NLMATRIXTOPNREVERSEPKTRATE, ASN_INTEGER, RONLY, read_nlMatrixTopNEntry_stub, 1, {6} },
591 { NLMATRIXTOPNOCTETRATE, ASN_INTEGER, RONLY, read_nlMatrixTopNEntry_stub, 1, {7} },
592 { NLMATRIXTOPNREVERSEOCTETRATE, ASN_INTEGER, RONLY, read_nlMatrixTopNEntry_stub, 1, {8} },
595 #define ALHOSTINPKTS 2
596 #define ALHOSTOUTPKTS 3
597 #define ALHOSTINOCTETS 4
598 #define ALHOSTOUTOCTETS 5
599 #define ALHOSTCREATETIME 6
601 static oid alHostEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 16, 1, 1};
603 struct variable alHostEntry_variables[] = {
604 { ALHOSTINPKTS, ASN_INTEGER, RONLY, read_alHostEntry_stub, 1, {2} },
605 { ALHOSTOUTPKTS, ASN_INTEGER, RONLY, read_alHostEntry_stub, 1, {3} },
606 { ALHOSTINOCTETS, ASN_INTEGER, RONLY, read_alHostEntry_stub, 1, {4} },
607 { ALHOSTOUTOCTETS, ASN_INTEGER, RONLY, read_alHostEntry_stub, 1, {5} },
608 { ALHOSTCREATETIME, ASN_INTEGER, RONLY, read_alHostEntry_stub, 1, {6} },
611 #define ALMATRIXSDPKTS 2
612 #define ALMATRIXSDOCTETS 3
613 #define ALMATRIXSDCREATETIME 4
615 static oid alMatrixSDEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 17, 1, 1};
617 struct variable alMatrixSDEntry_variables[] = {
618 { ALMATRIXSDPKTS, ASN_INTEGER, RONLY, read_alMatrixSDEntry_stub, 1, {2} },
619 { ALMATRIXSDOCTETS, ASN_INTEGER, RONLY, read_alMatrixSDEntry_stub, 1, {3} },
620 { ALMATRIXSDCREATETIME, ASN_INTEGER, RONLY, read_alMatrixSDEntry_stub, 1, {4} },
623 #define ALMATRIXDSPKTS 2
624 #define ALMATRIXDSOCTETS 3
625 #define ALMATRIXDSCREATETIME 4
627 static oid alMatrixDSEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 17, 2, 1};
629 struct variable alMatrixDSEntry_variables[] = {
630 { ALMATRIXDSPKTS, ASN_INTEGER, RONLY, read_alMatrixDSEntry_stub, 1, {2} },
631 { ALMATRIXDSOCTETS, ASN_INTEGER, RONLY, read_alMatrixDSEntry_stub, 1, {3} },
632 { ALMATRIXDSCREATETIME, ASN_INTEGER, RONLY, read_alMatrixDSEntry_stub, 1, {4} },
635 #define ALMATRIXTOPNCONTROLMATRIXINDEX 2
636 #define ALMATRIXTOPNCONTROLRATEBASE 3
637 #define ALMATRIXTOPNCONTROLTIMEREMAINING 4
638 #define ALMATRIXTOPNCONTROLGENERATEDREPORTS 5
639 #define ALMATRIXTOPNCONTROLDURATION 6
640 #define ALMATRIXTOPNCONTROLREQUESTEDSIZE 7
641 #define ALMATRIXTOPNCONTROLGRANTEDSIZE 8
642 #define ALMATRIXTOPNCONTROLSTARTTIME 9
643 #define ALMATRIXTOPNCONTROLOWNER 10
644 #define ALMATRIXTOPNCONTROLSTATUS 11
646 static oid alMatrixTopNControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 17, 3, 1};
648 struct variable alMatrixTopNControlEntry_variables[] = {
649 { ALMATRIXTOPNCONTROLMATRIXINDEX, ASN_INTEGER, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {2} },
650 { ALMATRIXTOPNCONTROLRATEBASE, ASN_INTEGER, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {3} },
651 { ALMATRIXTOPNCONTROLTIMEREMAINING, ASN_INTEGER, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {4} },
652 { ALMATRIXTOPNCONTROLGENERATEDREPORTS, ASN_INTEGER, RONLY, read_alMatrixTopNControlEntry_stub, 1, {5} },
653 { ALMATRIXTOPNCONTROLDURATION, ASN_INTEGER, RONLY, read_alMatrixTopNControlEntry_stub, 1, {6} },
654 { ALMATRIXTOPNCONTROLREQUESTEDSIZE, ASN_INTEGER, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {7} },
655 { ALMATRIXTOPNCONTROLGRANTEDSIZE, ASN_INTEGER, RONLY, read_alMatrixTopNControlEntry_stub, 1, {8} },
656 { ALMATRIXTOPNCONTROLSTARTTIME, ASN_INTEGER, RONLY, read_alMatrixTopNControlEntry_stub, 1, {9} },
657 { ALMATRIXTOPNCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {10} },
658 { ALMATRIXTOPNCONTROLSTATUS, ASN_INTEGER, RWRITE, read_alMatrixTopNControlEntry_stub, 1, {11} },
661 #define ALMATRIXTOPNPROTOCOLDIRLOCALINDEX 2
662 #define ALMATRIXTOPNSOURCEADDRESS 3
663 #define ALMATRIXTOPNDESTADDRESS 4
664 #define ALMATRIXTOPNAPPPROTOCOLDIRLOCALINDEX 5
665 #define ALMATRIXTOPNPKTRATE 6
666 #define ALMATRIXTOPNREVERSEPKTRATE 7
667 #define ALMATRIXTOPNOCTETRATE 8
668 #define ALMATRIXTOPNREVERSEOCTETRATE 9
670 static oid alMatrixTopNEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 17, 4, 1};
672 struct variable alMatrixTopNEntry_variables[] = {
673 { ALMATRIXTOPNPROTOCOLDIRLOCALINDEX, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {2} },
674 { ALMATRIXTOPNSOURCEADDRESS, ASN_OCTET_STR, RONLY, read_alMatrixTopNEntry_stub, 1, {3} },
675 { ALMATRIXTOPNDESTADDRESS, ASN_OCTET_STR, RONLY, read_alMatrixTopNEntry_stub, 1, {4} },
676 { ALMATRIXTOPNAPPPROTOCOLDIRLOCALINDEX, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {5} },
677 { ALMATRIXTOPNPKTRATE, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {6} },
678 { ALMATRIXTOPNREVERSEPKTRATE, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {7} },
679 { ALMATRIXTOPNOCTETRATE, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {8} },
680 { ALMATRIXTOPNREVERSEOCTETRATE, ASN_INTEGER, RONLY, read_alMatrixTopNEntry_stub, 1, {9} },
683 #define USRHISTORYCONTROLOBJECTS 2
684 #define USRHISTORYCONTROLBUCKETSREQUESTED 3
685 #define USRHISTORYCONTROLBUCKETSGRANTED 4
686 #define USRHISTORYCONTROLINTERVAL 5
687 #define USRHISTORYCONTROLOWNER 6
688 #define USRHISTORYCONTROLSTATUS 7
690 static oid usrHistoryControlEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 18, 1, 1};
692 struct variable usrHistoryControlEntry_variables[] = {
693 { USRHISTORYCONTROLOBJECTS, ASN_INTEGER, RWRITE, read_usrHistoryControlEntry_stub, 1, {2} },
694 { USRHISTORYCONTROLBUCKETSREQUESTED, ASN_INTEGER, RWRITE, read_usrHistoryControlEntry_stub, 1, {3} },
695 { USRHISTORYCONTROLBUCKETSGRANTED, ASN_INTEGER, RONLY, read_usrHistoryControlEntry_stub, 1, {4} },
696 { USRHISTORYCONTROLINTERVAL, ASN_INTEGER, RWRITE, read_usrHistoryControlEntry_stub, 1, {5} },
697 { USRHISTORYCONTROLOWNER, ASN_OCTET_STR, RWRITE, read_usrHistoryControlEntry_stub, 1, {6} },
698 { USRHISTORYCONTROLSTATUS, ASN_INTEGER, RWRITE, read_usrHistoryControlEntry_stub, 1, {7} },
701 #define USRHISTORYOBJECTVARIABLE 2
702 #define USRHISTORYOBJECTSAMPLETYPE 3
704 static oid usrHistoryObjectEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 18, 2, 1};
706 struct variable usrHistoryObjectEntry_variables[] = {
707 { USRHISTORYOBJECTVARIABLE, ASN_OBJECT_ID, RWRITE, read_usrHistoryObjectEntry_stub, 1, {2} },
708 { USRHISTORYOBJECTSAMPLETYPE, ASN_INTEGER, RWRITE, read_usrHistoryObjectEntry_stub, 1, {3} },
711 #define USRHISTORYINTERVALSTART 2
712 #define USRHISTORYINTERVALEND 3
713 #define USRHISTORYABSVALUE 4
714 #define USRHISTORYVALSTATUS 5
716 static oid usrHistoryEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 18, 3, 1};
718 struct variable usrHistoryEntry_variables[] = {
719 { USRHISTORYINTERVALSTART, ASN_INTEGER, RONLY, read_usrHistoryEntry_stub, 1, {2} },
720 { USRHISTORYINTERVALEND, ASN_INTEGER, RONLY, read_usrHistoryEntry_stub, 1, {3} },
721 { USRHISTORYABSVALUE, ASN_INTEGER, RONLY, read_usrHistoryEntry_stub, 1, {4} },
722 { USRHISTORYVALSTATUS, ASN_INTEGER, RONLY, read_usrHistoryEntry_stub, 1, {5} },
725 #define PROBECAPABILITIES 1
726 #define PROBESOFTWAREREV 2
727 #define PROBEHARDWAREREV 3
728 #define PROBEDATETIME 4
729 #define PROBERESETCONTROL 5
730 #define PROBEDOWNLOADFILE 6
731 #define PROBEDOWNLOADTFTPSERVER 7
732 #define PROBEDOWNLOADACTION 8
733 #define PROBEDOWNLOADSTATUS 9
734 #define NETDEFAULTGATEWAY 12
736 static oid probeConfig_base[] = {1, 3, 6, 1, 2, 1, 16, 19};
738 struct variable probeConfig_variables[] = {
739 { PROBECAPABILITIES, ASN_OCTET_STR, RONLY, read_probeConfig_stub, 1, {1} },
740 { PROBESOFTWAREREV, ASN_OCTET_STR, RONLY, read_probeConfig_stub, 1, {2} },
741 { PROBEHARDWAREREV, ASN_OCTET_STR, RONLY, read_probeConfig_stub, 1, {3} },
742 { PROBEDATETIME, ASN_OCTET_STR, RWRITE, read_probeConfig_stub, 1, {4} },
743 { PROBERESETCONTROL, ASN_INTEGER, RWRITE, read_probeConfig_stub, 1, {5} },
744 { PROBEDOWNLOADFILE, ASN_OCTET_STR, RWRITE, read_probeConfig_stub, 1, {6} },
745 { PROBEDOWNLOADTFTPSERVER, ASN_OCTET_STR, RWRITE, read_probeConfig_stub, 1, {7} },
746 { PROBEDOWNLOADACTION, ASN_INTEGER, RWRITE, read_probeConfig_stub, 1, {8} },
747 { PROBEDOWNLOADSTATUS, ASN_INTEGER, RONLY, read_probeConfig_stub, 1, {9} },
748 { NETDEFAULTGATEWAY, ASN_OCTET_STR, RWRITE, read_probeConfig_stub, 1, {12} },
752 #define SERIALPROTOCOL 2
753 #define SERIALTIMEOUT 3
754 #define SERIALMODEMINITSTRING 4
755 #define SERIALMODEMHANGUPSTRING 5
756 #define SERIALMODEMCONNECTRESP 6
757 #define SERIALMODEMNOCONNECTRESP 7
758 #define SERIALDIALOUTTIMEOUT 8
759 #define SERIALSTATUS 9
761 static oid serialConfigEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 19, 10, 1};
763 struct variable serialConfigEntry_variables[] = {
764 { SERIALMODE, ASN_INTEGER, RWRITE, read_serialConfigEntry_stub, 1, {1} },
765 { SERIALPROTOCOL, ASN_INTEGER, RWRITE, read_serialConfigEntry_stub, 1, {2} },
766 { SERIALTIMEOUT, ASN_INTEGER, RWRITE, read_serialConfigEntry_stub, 1, {3} },
767 { SERIALMODEMINITSTRING, ASN_OCTET_STR, RWRITE, read_serialConfigEntry_stub, 1, {4} },
768 { SERIALMODEMHANGUPSTRING, ASN_OCTET_STR, RWRITE, read_serialConfigEntry_stub, 1, {5} },
769 { SERIALMODEMCONNECTRESP, ASN_OCTET_STR, RWRITE, read_serialConfigEntry_stub, 1, {6} },
770 { SERIALMODEMNOCONNECTRESP, ASN_OCTET_STR, RWRITE, read_serialConfigEntry_stub, 1, {7} },
771 { SERIALDIALOUTTIMEOUT, ASN_INTEGER, RWRITE, read_serialConfigEntry_stub, 1, {8} },
772 { SERIALSTATUS, ASN_INTEGER, RWRITE, read_serialConfigEntry_stub, 1, {9} },
775 #define NETCONFIGIPADDRESS 1
776 #define NETCONFIGSUBNETMASK 2
777 #define NETCONFIGSTATUS 3
779 static oid netConfigEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 19, 11, 1};
781 struct variable netConfigEntry_variables[] = {
782 { NETCONFIGIPADDRESS, ASN_OCTET_STR, RWRITE, read_netConfigEntry_stub, 1, {1} },
783 { NETCONFIGSUBNETMASK, ASN_OCTET_STR, RWRITE, read_netConfigEntry_stub, 1, {2} },
784 { NETCONFIGSTATUS, ASN_INTEGER, RWRITE, read_netConfigEntry_stub, 1, {3} },
787 #define TRAPDESTCOMMUNITY 2
788 #define TRAPDESTPROTOCOL 3
789 #define TRAPDESTADDRESS 4
790 #define TRAPDESTOWNER 5
791 #define TRAPDESTSTATUS 6
793 static oid trapDestEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 19, 13, 1};
795 struct variable trapDestEntry_variables[] = {
796 { TRAPDESTCOMMUNITY, ASN_OCTET_STR, RWRITE, read_trapDestEntry_stub, 1, {2} },
797 { TRAPDESTPROTOCOL, ASN_INTEGER, RWRITE, read_trapDestEntry_stub, 1, {3} },
798 { TRAPDESTADDRESS, ASN_OCTET_STR, RWRITE, read_trapDestEntry_stub, 1, {4} },
799 { TRAPDESTOWNER, ASN_OCTET_STR, RWRITE, read_trapDestEntry_stub, 1, {5} },
800 { TRAPDESTSTATUS, ASN_INTEGER, RWRITE, read_trapDestEntry_stub, 1, {6} },
803 #define SERIALCONNECTDESTIPADDRESS 2
804 #define SERIALCONNECTTYPE 3
805 #define SERIALCONNECTDIALSTRING 4
806 #define SERIALCONNECTSWITCHCONNECTSEQ 5
807 #define SERIALCONNECTSWITCHDISCONNECTSEQ 6
808 #define SERIALCONNECTSWITCHRESETSEQ 7
809 #define SERIALCONNECTOWNER 8
810 #define SERIALCONNECTSTATUS 9
812 static oid serialConnectionEntry_base[] = {1, 3, 6, 1, 2, 1, 16, 19, 14, 1};
814 struct variable serialConnectionEntry_variables[] = {
815 { SERIALCONNECTDESTIPADDRESS, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {2} },
816 { SERIALCONNECTTYPE, ASN_INTEGER, RWRITE, read_serialConnectionEntry_stub, 1, {3} },
817 { SERIALCONNECTDIALSTRING, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {4} },
818 { SERIALCONNECTSWITCHCONNECTSEQ, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {5} },
819 { SERIALCONNECTSWITCHDISCONNECTSEQ, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {6} },
820 { SERIALCONNECTSWITCHRESETSEQ, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {7} },
821 { SERIALCONNECTOWNER, ASN_OCTET_STR, RWRITE, read_serialConnectionEntry_stub, 1, {8} },
822 { SERIALCONNECTSTATUS, ASN_INTEGER, RWRITE, read_serialConnectionEntry_stub, 1, {9} },
828 * Registration functions for the various MIB groups.
831 int register_etherStats2Entry()
833 return register_mib("etherStats2Entry",
834 etherStats2Entry_variables,
835 sizeof(struct variable),
836 sizeof(etherStats2Entry_variables)/sizeof(struct variable),
837 etherStats2Entry_base,
838 sizeof(etherStats2Entry_base)/sizeof(oid));
842 int register_tokenRingMLStats2Entry()
844 return register_mib("tokenRingMLStats2Entry",
845 tokenRingMLStats2Entry_variables,
846 sizeof(struct variable),
847 sizeof(tokenRingMLStats2Entry_variables)/sizeof(struct variable),
848 tokenRingMLStats2Entry_base,
849 sizeof(tokenRingMLStats2Entry_base)/sizeof(oid));
853 int register_tokenRingPStats2Entry()
855 return register_mib("tokenRingPStats2Entry",
856 tokenRingPStats2Entry_variables,
857 sizeof(struct variable),
858 sizeof(tokenRingPStats2Entry_variables)/sizeof(struct variable),
859 tokenRingPStats2Entry_base,
860 sizeof(tokenRingPStats2Entry_base)/sizeof(oid));
864 int register_historyControl2Entry()
866 return register_mib("historyControl2Entry",
867 historyControl2Entry_variables,
868 sizeof(struct variable),
869 sizeof(historyControl2Entry_variables)/sizeof(struct variable),
870 historyControl2Entry_base,
871 sizeof(historyControl2Entry_base)/sizeof(oid));
875 int register_hostControl2Entry()
877 return register_mib("hostControl2Entry",
878 hostControl2Entry_variables,
879 sizeof(struct variable),
880 sizeof(hostControl2Entry_variables)/sizeof(struct variable),
881 hostControl2Entry_base,
882 sizeof(hostControl2Entry_base)/sizeof(oid));
886 int register_matrixControl2Entry()
888 return register_mib("matrixControl2Entry",
889 matrixControl2Entry_variables,
890 sizeof(struct variable),
891 sizeof(matrixControl2Entry_variables)/sizeof(struct variable),
892 matrixControl2Entry_base,
893 sizeof(matrixControl2Entry_base)/sizeof(oid));
897 int register_channel2Entry()
899 return register_mib("channel2Entry",
900 channel2Entry_variables,
901 sizeof(struct variable),
902 sizeof(channel2Entry_variables)/sizeof(struct variable),
904 sizeof(channel2Entry_base)/sizeof(oid));
908 int register_filter2Entry()
910 return register_mib("filter2Entry",
911 filter2Entry_variables,
912 sizeof(struct variable),
913 sizeof(filter2Entry_variables)/sizeof(struct variable),
915 sizeof(filter2Entry_base)/sizeof(oid));
919 int register_ringStationControl2Entry()
921 return register_mib("ringStationControl2Entry",
922 ringStationControl2Entry_variables,
923 sizeof(struct variable),
924 sizeof(ringStationControl2Entry_variables)/sizeof(struct variable),
925 ringStationControl2Entry_base,
926 sizeof(ringStationControl2Entry_base)/sizeof(oid));
930 int register_sourceRoutingStats2Entry()
932 return register_mib("sourceRoutingStats2Entry",
933 sourceRoutingStats2Entry_variables,
934 sizeof(struct variable),
935 sizeof(sourceRoutingStats2Entry_variables)/sizeof(struct variable),
936 sourceRoutingStats2Entry_base,
937 sizeof(sourceRoutingStats2Entry_base)/sizeof(oid));
941 int register_protocolDir()
943 return register_mib("protocolDir",
944 protocolDir_variables,
945 sizeof(struct variable),
946 sizeof(protocolDir_variables)/sizeof(struct variable),
948 sizeof(protocolDir_base)/sizeof(oid));
952 int register_protocolDirEntry()
954 return register_mib("protocolDirEntry",
955 protocolDirEntry_variables,
956 sizeof(struct variable),
957 sizeof(protocolDirEntry_variables)/sizeof(struct variable),
958 protocolDirEntry_base,
959 sizeof(protocolDirEntry_base)/sizeof(oid));
963 int register_protocolDistControlEntry()
965 return register_mib("protocolDistControlEntry",
966 protocolDistControlEntry_variables,
967 sizeof(struct variable),
968 sizeof(protocolDistControlEntry_variables)/sizeof(struct variable),
969 protocolDistControlEntry_base,
970 sizeof(protocolDistControlEntry_base)/sizeof(oid));
974 int register_protocolDistStatsEntry()
976 return register_mib("protocolDistStatsEntry",
977 protocolDistStatsEntry_variables,
978 sizeof(struct variable),
979 sizeof(protocolDistStatsEntry_variables)/sizeof(struct variable),
980 protocolDistStatsEntry_base,
981 sizeof(protocolDistStatsEntry_base)/sizeof(oid));
985 int register_addressMap()
987 return register_mib("addressMap",
988 addressMap_variables,
989 sizeof(struct variable),
990 sizeof(addressMap_variables)/sizeof(struct variable),
992 sizeof(addressMap_base)/sizeof(oid));
996 int register_addressMapControlEntry()
998 return register_mib("addressMapControlEntry",
999 addressMapControlEntry_variables,
1000 sizeof(struct variable),
1001 sizeof(addressMapControlEntry_variables)/sizeof(struct variable),
1002 addressMapControlEntry_base,
1003 sizeof(addressMapControlEntry_base)/sizeof(oid));
1007 int register_addressMapEntry()
1009 return register_mib("addressMapEntry",
1010 addressMapEntry_variables,
1011 sizeof(struct variable),
1012 sizeof(addressMapEntry_variables)/sizeof(struct variable),
1013 addressMapEntry_base,
1014 sizeof(addressMapEntry_base)/sizeof(oid));
1018 int register_hlHostControlEntry()
1020 return register_mib("hlHostControlEntry",
1021 hlHostControlEntry_variables,
1022 sizeof(struct variable),
1023 sizeof(hlHostControlEntry_variables)/sizeof(struct variable),
1024 hlHostControlEntry_base,
1025 sizeof(hlHostControlEntry_base)/sizeof(oid));
1029 int register_nlHostEntry()
1031 return register_mib("nlHostEntry",
1032 nlHostEntry_variables,
1033 sizeof(struct variable),
1034 sizeof(nlHostEntry_variables)/sizeof(struct variable),
1036 sizeof(nlHostEntry_base)/sizeof(oid));
1040 int register_hlMatrixControlEntry()
1042 return register_mib("hlMatrixControlEntry",
1043 hlMatrixControlEntry_variables,
1044 sizeof(struct variable),
1045 sizeof(hlMatrixControlEntry_variables)/sizeof(struct variable),
1046 hlMatrixControlEntry_base,
1047 sizeof(hlMatrixControlEntry_base)/sizeof(oid));
1051 int register_nlMatrixSDEntry()
1053 return register_mib("nlMatrixSDEntry",
1054 nlMatrixSDEntry_variables,
1055 sizeof(struct variable),
1056 sizeof(nlMatrixSDEntry_variables)/sizeof(struct variable),
1057 nlMatrixSDEntry_base,
1058 sizeof(nlMatrixSDEntry_base)/sizeof(oid));
1062 int register_nlMatrixDSEntry()
1064 return register_mib("nlMatrixDSEntry",
1065 nlMatrixDSEntry_variables,
1066 sizeof(struct variable),
1067 sizeof(nlMatrixDSEntry_variables)/sizeof(struct variable),
1068 nlMatrixDSEntry_base,
1069 sizeof(nlMatrixDSEntry_base)/sizeof(oid));
1073 int register_nlMatrixTopNControlEntry()
1075 return register_mib("nlMatrixTopNControlEntry",
1076 nlMatrixTopNControlEntry_variables,
1077 sizeof(struct variable),
1078 sizeof(nlMatrixTopNControlEntry_variables)/sizeof(struct variable),
1079 nlMatrixTopNControlEntry_base,
1080 sizeof(nlMatrixTopNControlEntry_base)/sizeof(oid));
1084 int register_nlMatrixTopNEntry()
1086 return register_mib("nlMatrixTopNEntry",
1087 nlMatrixTopNEntry_variables,
1088 sizeof(struct variable),
1089 sizeof(nlMatrixTopNEntry_variables)/sizeof(struct variable),
1090 nlMatrixTopNEntry_base,
1091 sizeof(nlMatrixTopNEntry_base)/sizeof(oid));
1095 int register_alHostEntry()
1097 return register_mib("alHostEntry",
1098 alHostEntry_variables,
1099 sizeof(struct variable),
1100 sizeof(alHostEntry_variables)/sizeof(struct variable),
1102 sizeof(alHostEntry_base)/sizeof(oid));
1106 int register_alMatrixSDEntry()
1108 return register_mib("alMatrixSDEntry",
1109 alMatrixSDEntry_variables,
1110 sizeof(struct variable),
1111 sizeof(alMatrixSDEntry_variables)/sizeof(struct variable),
1112 alMatrixSDEntry_base,
1113 sizeof(alMatrixSDEntry_base)/sizeof(oid));
1117 int register_alMatrixDSEntry()
1119 return register_mib("alMatrixDSEntry",
1120 alMatrixDSEntry_variables,
1121 sizeof(struct variable),
1122 sizeof(alMatrixDSEntry_variables)/sizeof(struct variable),
1123 alMatrixDSEntry_base,
1124 sizeof(alMatrixDSEntry_base)/sizeof(oid));
1128 int register_alMatrixTopNControlEntry()
1130 return register_mib("alMatrixTopNControlEntry",
1131 alMatrixTopNControlEntry_variables,
1132 sizeof(struct variable),
1133 sizeof(alMatrixTopNControlEntry_variables)/sizeof(struct variable),
1134 alMatrixTopNControlEntry_base,
1135 sizeof(alMatrixTopNControlEntry_base)/sizeof(oid));
1139 int register_alMatrixTopNEntry()
1141 return register_mib("alMatrixTopNEntry",
1142 alMatrixTopNEntry_variables,
1143 sizeof(struct variable),
1144 sizeof(alMatrixTopNEntry_variables)/sizeof(struct variable),
1145 alMatrixTopNEntry_base,
1146 sizeof(alMatrixTopNEntry_base)/sizeof(oid));
1150 int register_usrHistoryControlEntry()
1152 return register_mib("usrHistoryControlEntry",
1153 usrHistoryControlEntry_variables,
1154 sizeof(struct variable),
1155 sizeof(usrHistoryControlEntry_variables)/sizeof(struct variable),
1156 usrHistoryControlEntry_base,
1157 sizeof(usrHistoryControlEntry_base)/sizeof(oid));
1161 int register_usrHistoryObjectEntry()
1163 return register_mib("usrHistoryObjectEntry",
1164 usrHistoryObjectEntry_variables,
1165 sizeof(struct variable),
1166 sizeof(usrHistoryObjectEntry_variables)/sizeof(struct variable),
1167 usrHistoryObjectEntry_base,
1168 sizeof(usrHistoryObjectEntry_base)/sizeof(oid));
1172 int register_usrHistoryEntry()
1174 return register_mib("usrHistoryEntry",
1175 usrHistoryEntry_variables,
1176 sizeof(struct variable),
1177 sizeof(usrHistoryEntry_variables)/sizeof(struct variable),
1178 usrHistoryEntry_base,
1179 sizeof(usrHistoryEntry_base)/sizeof(oid));
1183 int register_probeConfig()
1185 return register_mib("probeConfig",
1186 probeConfig_variables,
1187 sizeof(struct variable),
1188 sizeof(probeConfig_variables)/sizeof(struct variable),
1190 sizeof(probeConfig_base)/sizeof(oid));
1194 int register_serialConfigEntry()
1196 return register_mib("serialConfigEntry",
1197 serialConfigEntry_variables,
1198 sizeof(struct variable),
1199 sizeof(serialConfigEntry_variables)/sizeof(struct variable),
1200 serialConfigEntry_base,
1201 sizeof(serialConfigEntry_base)/sizeof(oid));
1205 int register_netConfigEntry()
1207 return register_mib("netConfigEntry",
1208 netConfigEntry_variables,
1209 sizeof(struct variable),
1210 sizeof(netConfigEntry_variables)/sizeof(struct variable),
1211 netConfigEntry_base,
1212 sizeof(netConfigEntry_base)/sizeof(oid));
1216 int register_trapDestEntry()
1218 return register_mib("trapDestEntry",
1219 trapDestEntry_variables,
1220 sizeof(struct variable),
1221 sizeof(trapDestEntry_variables)/sizeof(struct variable),
1223 sizeof(trapDestEntry_base)/sizeof(oid));
1227 int register_serialConnectionEntry()
1229 return register_mib("serialConnectionEntry",
1230 serialConnectionEntry_variables,
1231 sizeof(struct variable),
1232 sizeof(serialConnectionEntry_variables)/sizeof(struct variable),
1233 serialConnectionEntry_base,
1234 sizeof(serialConnectionEntry_base)/sizeof(oid));
1239 * Read methods for groups of scalars and tables:
1242 static unsigned char *
1243 read_etherStats2Entry_stub(struct variable *vp,
1248 WriteMethod **write_method)
1250 static etherStats2Entry_t etherStats2Entry;
1252 /* call the user supplied function to retrieve values */
1254 read_etherStats2Entry(ðerStats2Entry);
1256 /* return the current value of the variable */
1258 switch (vp->magic) {
1260 case ETHERSTATSDROPPEDFRAMES:
1261 return (unsigned char *) ðerStats2Entry.etherStatsDroppedFrames;
1263 case ETHERSTATSCREATETIME:
1264 return (unsigned char *) ðerStats2Entry.etherStatsCreateTime;
1273 static unsigned char *
1274 read_tokenRingMLStats2Entry_stub(struct variable *vp,
1279 WriteMethod **write_method)
1281 static tokenRingMLStats2Entry_t tokenRingMLStats2Entry;
1283 /* call the user supplied function to retrieve values */
1285 read_tokenRingMLStats2Entry(&tokenRingMLStats2Entry);
1287 /* return the current value of the variable */
1289 switch (vp->magic) {
1291 case TOKENRINGMLSTATSDROPPEDFRAMES:
1292 return (unsigned char *) &tokenRingMLStats2Entry.tokenRingMLStatsDroppedFrames;
1294 case TOKENRINGMLSTATSCREATETIME:
1295 return (unsigned char *) &tokenRingMLStats2Entry.tokenRingMLStatsCreateTime;
1304 static unsigned char *
1305 read_tokenRingPStats2Entry_stub(struct variable *vp,
1310 WriteMethod **write_method)
1312 static tokenRingPStats2Entry_t tokenRingPStats2Entry;
1314 /* call the user supplied function to retrieve values */
1316 read_tokenRingPStats2Entry(&tokenRingPStats2Entry);
1318 /* return the current value of the variable */
1320 switch (vp->magic) {
1322 case TOKENRINGPSTATSDROPPEDFRAMES:
1323 return (unsigned char *) &tokenRingPStats2Entry.tokenRingPStatsDroppedFrames;
1325 case TOKENRINGPSTATSCREATETIME:
1326 return (unsigned char *) &tokenRingPStats2Entry.tokenRingPStatsCreateTime;
1335 static unsigned char *
1336 read_historyControl2Entry_stub(struct variable *vp,
1341 WriteMethod **write_method)
1343 static historyControl2Entry_t historyControl2Entry;
1345 /* call the user supplied function to retrieve values */
1347 read_historyControl2Entry(&historyControl2Entry);
1349 /* return the current value of the variable */
1351 switch (vp->magic) {
1353 case HISTORYCONTROLDROPPEDFRAMES:
1354 return (unsigned char *) &historyControl2Entry.historyControlDroppedFrames;
1363 static unsigned char *
1364 read_hostControl2Entry_stub(struct variable *vp,
1369 WriteMethod **write_method)
1371 static hostControl2Entry_t hostControl2Entry;
1373 /* call the user supplied function to retrieve values */
1375 read_hostControl2Entry(&hostControl2Entry);
1377 /* return the current value of the variable */
1379 switch (vp->magic) {
1381 case HOSTCONTROLDROPPEDFRAMES:
1382 return (unsigned char *) &hostControl2Entry.hostControlDroppedFrames;
1384 case HOSTCONTROLCREATETIME:
1385 return (unsigned char *) &hostControl2Entry.hostControlCreateTime;
1394 static unsigned char *
1395 read_matrixControl2Entry_stub(struct variable *vp,
1400 WriteMethod **write_method)
1402 static matrixControl2Entry_t matrixControl2Entry;
1404 /* call the user supplied function to retrieve values */
1406 read_matrixControl2Entry(&matrixControl2Entry);
1408 /* return the current value of the variable */
1410 switch (vp->magic) {
1412 case MATRIXCONTROLDROPPEDFRAMES:
1413 return (unsigned char *) &matrixControl2Entry.matrixControlDroppedFrames;
1415 case MATRIXCONTROLCREATETIME:
1416 return (unsigned char *) &matrixControl2Entry.matrixControlCreateTime;
1425 static unsigned char *
1426 read_channel2Entry_stub(struct variable *vp,
1431 WriteMethod **write_method)
1433 static channel2Entry_t channel2Entry;
1435 /* call the user supplied function to retrieve values */
1437 read_channel2Entry(&channel2Entry);
1439 /* return the current value of the variable */
1441 switch (vp->magic) {
1443 case CHANNELDROPPEDFRAMES:
1444 return (unsigned char *) &channel2Entry.channelDroppedFrames;
1446 case CHANNELCREATETIME:
1447 return (unsigned char *) &channel2Entry.channelCreateTime;
1456 static unsigned char *
1457 read_filter2Entry_stub(struct variable *vp,
1462 WriteMethod **write_method)
1464 static filter2Entry_t filter2Entry;
1466 /* call the user supplied function to retrieve values */
1468 read_filter2Entry(&filter2Entry);
1470 /* return the current value of the variable */
1472 switch (vp->magic) {
1474 case FILTERPROTOCOLDIRDATALOCALINDEX:
1475 return (unsigned char *) &filter2Entry.filterProtocolDirDataLocalIndex;
1477 case FILTERPROTOCOLDIRLOCALINDEX:
1478 return (unsigned char *) &filter2Entry.filterProtocolDirLocalIndex;
1487 static unsigned char *
1488 read_ringStationControl2Entry_stub(struct variable *vp,
1493 WriteMethod **write_method)
1495 static ringStationControl2Entry_t ringStationControl2Entry;
1497 /* call the user supplied function to retrieve values */
1499 read_ringStationControl2Entry(&ringStationControl2Entry);
1501 /* return the current value of the variable */
1503 switch (vp->magic) {
1505 case RINGSTATIONCONTROLDROPPEDFRAMES:
1506 return (unsigned char *) &ringStationControl2Entry.ringStationControlDroppedFrames;
1508 case RINGSTATIONCONTROLCREATETIME:
1509 return (unsigned char *) &ringStationControl2Entry.ringStationControlCreateTime;
1518 static unsigned char *
1519 read_sourceRoutingStats2Entry_stub(struct variable *vp,
1524 WriteMethod **write_method)
1526 static sourceRoutingStats2Entry_t sourceRoutingStats2Entry;
1528 /* call the user supplied function to retrieve values */
1530 read_sourceRoutingStats2Entry(&sourceRoutingStats2Entry);
1532 /* return the current value of the variable */
1534 switch (vp->magic) {
1536 case SOURCEROUTINGSTATSDROPPEDFRAMES:
1537 return (unsigned char *) &sourceRoutingStats2Entry.sourceRoutingStatsDroppedFrames;
1539 case SOURCEROUTINGSTATSCREATETIME:
1540 return (unsigned char *) &sourceRoutingStats2Entry.sourceRoutingStatsCreateTime;
1549 static unsigned char *
1550 read_protocolDir_stub(struct variable *vp,
1555 WriteMethod **write_method)
1557 static protocolDir_t protocolDir;
1559 /* check whether the instance identifier is valid */
1561 if (header_generic(vp, name, length, exact, var_len,
1562 write_method) == MATCH_FAILED) {
1566 /* call the user supplied function to retrieve values */
1568 read_protocolDir(&protocolDir);
1570 /* return the current value of the variable */
1572 switch (vp->magic) {
1574 case PROTOCOLDIRLASTCHANGE:
1575 return (unsigned char *) &protocolDir.protocolDirLastChange;
1584 static unsigned char *
1585 read_protocolDirEntry_stub(struct variable *vp,
1590 WriteMethod **write_method)
1592 static protocolDirEntry_t protocolDirEntry;
1594 /* call the user supplied function to retrieve values */
1596 read_protocolDirEntry(&protocolDirEntry);
1598 /* return the current value of the variable */
1600 switch (vp->magic) {
1602 case PROTOCOLDIRLOCALINDEX:
1603 return (unsigned char *) &protocolDirEntry.protocolDirLocalIndex;
1605 case PROTOCOLDIRDESCR:
1606 *var_len = protocolDirEntry._protocolDirDescrLength;
1607 return (unsigned char *) protocolDirEntry.protocolDirDescr;
1609 case PROTOCOLDIRTYPE:
1610 *var_len = protocolDirEntry._protocolDirTypeLength;
1611 return (unsigned char *) protocolDirEntry.protocolDirType;
1613 case PROTOCOLDIRADDRESSMAPCONFIG:
1614 return (unsigned char *) &protocolDirEntry.protocolDirAddressMapConfig;
1616 case PROTOCOLDIRHOSTCONFIG:
1617 return (unsigned char *) &protocolDirEntry.protocolDirHostConfig;
1619 case PROTOCOLDIRMATRIXCONFIG:
1620 return (unsigned char *) &protocolDirEntry.protocolDirMatrixConfig;
1622 case PROTOCOLDIROWNER:
1623 *var_len = protocolDirEntry._protocolDirOwnerLength;
1624 return (unsigned char *) protocolDirEntry.protocolDirOwner;
1626 case PROTOCOLDIRSTATUS:
1627 return (unsigned char *) &protocolDirEntry.protocolDirStatus;
1636 static unsigned char *
1637 read_protocolDistControlEntry_stub(struct variable *vp,
1642 WriteMethod **write_method)
1644 static protocolDistControlEntry_t protocolDistControlEntry;
1646 /* call the user supplied function to retrieve values */
1648 read_protocolDistControlEntry(&protocolDistControlEntry);
1650 /* return the current value of the variable */
1652 switch (vp->magic) {
1654 case PROTOCOLDISTCONTROLDATASOURCE:
1655 *var_len = protocolDistControlEntry._protocolDistControlDataSourceLength;
1656 return (unsigned char *) protocolDistControlEntry.protocolDistControlDataSource;
1658 case PROTOCOLDISTCONTROLDROPPEDFRAMES:
1659 return (unsigned char *) &protocolDistControlEntry.protocolDistControlDroppedFrames;
1661 case PROTOCOLDISTCONTROLCREATETIME:
1662 return (unsigned char *) &protocolDistControlEntry.protocolDistControlCreateTime;
1664 case PROTOCOLDISTCONTROLOWNER:
1665 *var_len = protocolDistControlEntry._protocolDistControlOwnerLength;
1666 return (unsigned char *) protocolDistControlEntry.protocolDistControlOwner;
1668 case PROTOCOLDISTCONTROLSTATUS:
1669 return (unsigned char *) &protocolDistControlEntry.protocolDistControlStatus;
1678 static unsigned char *
1679 read_protocolDistStatsEntry_stub(struct variable *vp,
1684 WriteMethod **write_method)
1686 static protocolDistStatsEntry_t protocolDistStatsEntry;
1688 /* call the user supplied function to retrieve values */
1690 read_protocolDistStatsEntry(&protocolDistStatsEntry);
1692 /* return the current value of the variable */
1694 switch (vp->magic) {
1696 case PROTOCOLDISTSTATSPKTS:
1697 return (unsigned char *) &protocolDistStatsEntry.protocolDistStatsPkts;
1699 case PROTOCOLDISTSTATSOCTETS:
1700 return (unsigned char *) &protocolDistStatsEntry.protocolDistStatsOctets;
1709 static unsigned char *
1710 read_addressMap_stub(struct variable *vp,
1715 WriteMethod **write_method)
1717 static addressMap_t addressMap;
1719 /* check whether the instance identifier is valid */
1721 if (header_generic(vp, name, length, exact, var_len,
1722 write_method) == MATCH_FAILED) {
1726 /* call the user supplied function to retrieve values */
1728 read_addressMap(&addressMap);
1730 /* return the current value of the variable */
1732 switch (vp->magic) {
1734 case ADDRESSMAPINSERTS:
1735 return (unsigned char *) &addressMap.addressMapInserts;
1737 case ADDRESSMAPDELETES:
1738 return (unsigned char *) &addressMap.addressMapDeletes;
1740 case ADDRESSMAPMAXDESIREDENTRIES:
1741 return (unsigned char *) &addressMap.addressMapMaxDesiredEntries;
1750 static unsigned char *
1751 read_addressMapControlEntry_stub(struct variable *vp,
1756 WriteMethod **write_method)
1758 static addressMapControlEntry_t addressMapControlEntry;
1760 /* call the user supplied function to retrieve values */
1762 read_addressMapControlEntry(&addressMapControlEntry);
1764 /* return the current value of the variable */
1766 switch (vp->magic) {
1768 case ADDRESSMAPCONTROLDATASOURCE:
1769 *var_len = addressMapControlEntry._addressMapControlDataSourceLength;
1770 return (unsigned char *) addressMapControlEntry.addressMapControlDataSource;
1772 case ADDRESSMAPCONTROLDROPPEDFRAMES:
1773 return (unsigned char *) &addressMapControlEntry.addressMapControlDroppedFrames;
1775 case ADDRESSMAPCONTROLOWNER:
1776 *var_len = addressMapControlEntry._addressMapControlOwnerLength;
1777 return (unsigned char *) addressMapControlEntry.addressMapControlOwner;
1779 case ADDRESSMAPCONTROLSTATUS:
1780 return (unsigned char *) &addressMapControlEntry.addressMapControlStatus;
1789 static unsigned char *
1790 read_addressMapEntry_stub(struct variable *vp,
1795 WriteMethod **write_method)
1797 static addressMapEntry_t addressMapEntry;
1799 /* call the user supplied function to retrieve values */
1801 read_addressMapEntry(&addressMapEntry);
1803 /* return the current value of the variable */
1805 switch (vp->magic) {
1807 case ADDRESSMAPPHYSICALADDRESS:
1808 *var_len = addressMapEntry._addressMapPhysicalAddressLength;
1809 return (unsigned char *) addressMapEntry.addressMapPhysicalAddress;
1811 case ADDRESSMAPLASTCHANGE:
1812 return (unsigned char *) &addressMapEntry.addressMapLastChange;
1821 static unsigned char *
1822 read_hlHostControlEntry_stub(struct variable *vp,
1827 WriteMethod **write_method)
1829 static hlHostControlEntry_t hlHostControlEntry;
1831 /* call the user supplied function to retrieve values */
1833 read_hlHostControlEntry(&hlHostControlEntry);
1835 /* return the current value of the variable */
1837 switch (vp->magic) {
1839 case HLHOSTCONTROLDATASOURCE:
1840 *var_len = hlHostControlEntry._hlHostControlDataSourceLength;
1841 return (unsigned char *) hlHostControlEntry.hlHostControlDataSource;
1843 case HLHOSTCONTROLNLDROPPEDFRAMES:
1844 return (unsigned char *) &hlHostControlEntry.hlHostControlNlDroppedFrames;
1846 case HLHOSTCONTROLNLINSERTS:
1847 return (unsigned char *) &hlHostControlEntry.hlHostControlNlInserts;
1849 case HLHOSTCONTROLNLDELETES:
1850 return (unsigned char *) &hlHostControlEntry.hlHostControlNlDeletes;
1852 case HLHOSTCONTROLNLMAXDESIREDENTRIES:
1853 return (unsigned char *) &hlHostControlEntry.hlHostControlNlMaxDesiredEntries;
1855 case HLHOSTCONTROLALDROPPEDFRAMES:
1856 return (unsigned char *) &hlHostControlEntry.hlHostControlAlDroppedFrames;
1858 case HLHOSTCONTROLALINSERTS:
1859 return (unsigned char *) &hlHostControlEntry.hlHostControlAlInserts;
1861 case HLHOSTCONTROLALDELETES:
1862 return (unsigned char *) &hlHostControlEntry.hlHostControlAlDeletes;
1864 case HLHOSTCONTROLALMAXDESIREDENTRIES:
1865 return (unsigned char *) &hlHostControlEntry.hlHostControlAlMaxDesiredEntries;
1867 case HLHOSTCONTROLOWNER:
1868 *var_len = hlHostControlEntry._hlHostControlOwnerLength;
1869 return (unsigned char *) hlHostControlEntry.hlHostControlOwner;
1871 case HLHOSTCONTROLSTATUS:
1872 return (unsigned char *) &hlHostControlEntry.hlHostControlStatus;
1881 static unsigned char *
1882 read_nlHostEntry_stub(struct variable *vp,
1887 WriteMethod **write_method)
1889 static nlHostEntry_t nlHostEntry;
1891 /* call the user supplied function to retrieve values */
1893 read_nlHostEntry(&nlHostEntry);
1895 /* return the current value of the variable */
1897 switch (vp->magic) {
1900 return (unsigned char *) &nlHostEntry.nlHostInPkts;
1903 return (unsigned char *) &nlHostEntry.nlHostOutPkts;
1905 case NLHOSTINOCTETS:
1906 return (unsigned char *) &nlHostEntry.nlHostInOctets;
1908 case NLHOSTOUTOCTETS:
1909 return (unsigned char *) &nlHostEntry.nlHostOutOctets;
1911 case NLHOSTOUTMACNONUNICASTPKTS:
1912 return (unsigned char *) &nlHostEntry.nlHostOutMacNonUnicastPkts;
1914 case NLHOSTCREATETIME:
1915 return (unsigned char *) &nlHostEntry.nlHostCreateTime;
1924 static unsigned char *
1925 read_hlMatrixControlEntry_stub(struct variable *vp,
1930 WriteMethod **write_method)
1932 static hlMatrixControlEntry_t hlMatrixControlEntry;
1934 /* call the user supplied function to retrieve values */
1936 read_hlMatrixControlEntry(&hlMatrixControlEntry);
1938 /* return the current value of the variable */
1940 switch (vp->magic) {
1942 case HLMATRIXCONTROLDATASOURCE:
1943 *var_len = hlMatrixControlEntry._hlMatrixControlDataSourceLength;
1944 return (unsigned char *) hlMatrixControlEntry.hlMatrixControlDataSource;
1946 case HLMATRIXCONTROLNLDROPPEDFRAMES:
1947 return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlNlDroppedFrames;
1949 case HLMATRIXCONTROLNLINSERTS:
1950 return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlNlInserts;
1952 case HLMATRIXCONTROLNLDELETES:
1953 return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlNlDeletes;
1955 case HLMATRIXCONTROLNLMAXDESIREDENTRIES:
1956 return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlNlMaxDesiredEntries;
1958 case HLMATRIXCONTROLALDROPPEDFRAMES:
1959 return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlAlDroppedFrames;
1961 case HLMATRIXCONTROLALINSERTS:
1962 return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlAlInserts;
1964 case HLMATRIXCONTROLALDELETES:
1965 return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlAlDeletes;
1967 case HLMATRIXCONTROLALMAXDESIREDENTRIES:
1968 return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlAlMaxDesiredEntries;
1970 case HLMATRIXCONTROLOWNER:
1971 *var_len = hlMatrixControlEntry._hlMatrixControlOwnerLength;
1972 return (unsigned char *) hlMatrixControlEntry.hlMatrixControlOwner;
1974 case HLMATRIXCONTROLSTATUS:
1975 return (unsigned char *) &hlMatrixControlEntry.hlMatrixControlStatus;
1984 static unsigned char *
1985 read_nlMatrixSDEntry_stub(struct variable *vp,
1990 WriteMethod **write_method)
1992 static nlMatrixSDEntry_t nlMatrixSDEntry;
1994 /* call the user supplied function to retrieve values */
1996 read_nlMatrixSDEntry(&nlMatrixSDEntry);
1998 /* return the current value of the variable */
2000 switch (vp->magic) {
2002 case NLMATRIXSDPKTS:
2003 return (unsigned char *) &nlMatrixSDEntry.nlMatrixSDPkts;
2005 case NLMATRIXSDOCTETS:
2006 return (unsigned char *) &nlMatrixSDEntry.nlMatrixSDOctets;
2008 case NLMATRIXSDCREATETIME:
2009 return (unsigned char *) &nlMatrixSDEntry.nlMatrixSDCreateTime;
2018 static unsigned char *
2019 read_nlMatrixDSEntry_stub(struct variable *vp,
2024 WriteMethod **write_method)
2026 static nlMatrixDSEntry_t nlMatrixDSEntry;
2028 /* call the user supplied function to retrieve values */
2030 read_nlMatrixDSEntry(&nlMatrixDSEntry);
2032 /* return the current value of the variable */
2034 switch (vp->magic) {
2036 case NLMATRIXDSPKTS:
2037 return (unsigned char *) &nlMatrixDSEntry.nlMatrixDSPkts;
2039 case NLMATRIXDSOCTETS:
2040 return (unsigned char *) &nlMatrixDSEntry.nlMatrixDSOctets;
2042 case NLMATRIXDSCREATETIME:
2043 return (unsigned char *) &nlMatrixDSEntry.nlMatrixDSCreateTime;
2052 static unsigned char *
2053 read_nlMatrixTopNControlEntry_stub(struct variable *vp,
2058 WriteMethod **write_method)
2060 static nlMatrixTopNControlEntry_t nlMatrixTopNControlEntry;
2062 /* call the user supplied function to retrieve values */
2064 read_nlMatrixTopNControlEntry(&nlMatrixTopNControlEntry);
2066 /* return the current value of the variable */
2068 switch (vp->magic) {
2070 case NLMATRIXTOPNCONTROLMATRIXINDEX:
2071 return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlMatrixIndex;
2073 case NLMATRIXTOPNCONTROLRATEBASE:
2074 return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlRateBase;
2076 case NLMATRIXTOPNCONTROLTIMEREMAINING:
2077 return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlTimeRemaining;
2079 case NLMATRIXTOPNCONTROLGENERATEDREPORTS:
2080 return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlGeneratedReports;
2082 case NLMATRIXTOPNCONTROLDURATION:
2083 return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlDuration;
2085 case NLMATRIXTOPNCONTROLREQUESTEDSIZE:
2086 return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlRequestedSize;
2088 case NLMATRIXTOPNCONTROLGRANTEDSIZE:
2089 return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlGrantedSize;
2091 case NLMATRIXTOPNCONTROLSTARTTIME:
2092 return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlStartTime;
2094 case NLMATRIXTOPNCONTROLOWNER:
2095 *var_len = nlMatrixTopNControlEntry._nlMatrixTopNControlOwnerLength;
2096 return (unsigned char *) nlMatrixTopNControlEntry.nlMatrixTopNControlOwner;
2098 case NLMATRIXTOPNCONTROLSTATUS:
2099 return (unsigned char *) &nlMatrixTopNControlEntry.nlMatrixTopNControlStatus;
2108 static unsigned char *
2109 read_nlMatrixTopNEntry_stub(struct variable *vp,
2114 WriteMethod **write_method)
2116 static nlMatrixTopNEntry_t nlMatrixTopNEntry;
2118 /* call the user supplied function to retrieve values */
2120 read_nlMatrixTopNEntry(&nlMatrixTopNEntry);
2122 /* return the current value of the variable */
2124 switch (vp->magic) {
2126 case NLMATRIXTOPNPROTOCOLDIRLOCALINDEX:
2127 return (unsigned char *) &nlMatrixTopNEntry.nlMatrixTopNProtocolDirLocalIndex;
2129 case NLMATRIXTOPNSOURCEADDRESS:
2130 *var_len = nlMatrixTopNEntry._nlMatrixTopNSourceAddressLength;
2131 return (unsigned char *) nlMatrixTopNEntry.nlMatrixTopNSourceAddress;
2133 case NLMATRIXTOPNDESTADDRESS:
2134 *var_len = nlMatrixTopNEntry._nlMatrixTopNDestAddressLength;
2135 return (unsigned char *) nlMatrixTopNEntry.nlMatrixTopNDestAddress;
2137 case NLMATRIXTOPNPKTRATE:
2138 return (unsigned char *) &nlMatrixTopNEntry.nlMatrixTopNPktRate;
2140 case NLMATRIXTOPNREVERSEPKTRATE:
2141 return (unsigned char *) &nlMatrixTopNEntry.nlMatrixTopNReversePktRate;
2143 case NLMATRIXTOPNOCTETRATE:
2144 return (unsigned char *) &nlMatrixTopNEntry.nlMatrixTopNOctetRate;
2146 case NLMATRIXTOPNREVERSEOCTETRATE:
2147 return (unsigned char *) &nlMatrixTopNEntry.nlMatrixTopNReverseOctetRate;
2156 static unsigned char *
2157 read_alHostEntry_stub(struct variable *vp,
2162 WriteMethod **write_method)
2164 static alHostEntry_t alHostEntry;
2166 /* call the user supplied function to retrieve values */
2168 read_alHostEntry(&alHostEntry);
2170 /* return the current value of the variable */
2172 switch (vp->magic) {
2175 return (unsigned char *) &alHostEntry.alHostInPkts;
2178 return (unsigned char *) &alHostEntry.alHostOutPkts;
2180 case ALHOSTINOCTETS:
2181 return (unsigned char *) &alHostEntry.alHostInOctets;
2183 case ALHOSTOUTOCTETS:
2184 return (unsigned char *) &alHostEntry.alHostOutOctets;
2186 case ALHOSTCREATETIME:
2187 return (unsigned char *) &alHostEntry.alHostCreateTime;
2196 static unsigned char *
2197 read_alMatrixSDEntry_stub(struct variable *vp,
2202 WriteMethod **write_method)
2204 static alMatrixSDEntry_t alMatrixSDEntry;
2206 /* call the user supplied function to retrieve values */
2208 read_alMatrixSDEntry(&alMatrixSDEntry);
2210 /* return the current value of the variable */
2212 switch (vp->magic) {
2214 case ALMATRIXSDPKTS:
2215 return (unsigned char *) &alMatrixSDEntry.alMatrixSDPkts;
2217 case ALMATRIXSDOCTETS:
2218 return (unsigned char *) &alMatrixSDEntry.alMatrixSDOctets;
2220 case ALMATRIXSDCREATETIME:
2221 return (unsigned char *) &alMatrixSDEntry.alMatrixSDCreateTime;
2230 static unsigned char *
2231 read_alMatrixDSEntry_stub(struct variable *vp,
2236 WriteMethod **write_method)
2238 static alMatrixDSEntry_t alMatrixDSEntry;
2240 /* call the user supplied function to retrieve values */
2242 read_alMatrixDSEntry(&alMatrixDSEntry);
2244 /* return the current value of the variable */
2246 switch (vp->magic) {
2248 case ALMATRIXDSPKTS:
2249 return (unsigned char *) &alMatrixDSEntry.alMatrixDSPkts;
2251 case ALMATRIXDSOCTETS:
2252 return (unsigned char *) &alMatrixDSEntry.alMatrixDSOctets;
2254 case ALMATRIXDSCREATETIME:
2255 return (unsigned char *) &alMatrixDSEntry.alMatrixDSCreateTime;
2264 static unsigned char *
2265 read_alMatrixTopNControlEntry_stub(struct variable *vp,
2270 WriteMethod **write_method)
2272 static alMatrixTopNControlEntry_t alMatrixTopNControlEntry;
2274 /* call the user supplied function to retrieve values */
2276 read_alMatrixTopNControlEntry(&alMatrixTopNControlEntry);
2278 /* return the current value of the variable */
2280 switch (vp->magic) {
2282 case ALMATRIXTOPNCONTROLMATRIXINDEX:
2283 return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlMatrixIndex;
2285 case ALMATRIXTOPNCONTROLRATEBASE:
2286 return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlRateBase;
2288 case ALMATRIXTOPNCONTROLTIMEREMAINING:
2289 return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlTimeRemaining;
2291 case ALMATRIXTOPNCONTROLGENERATEDREPORTS:
2292 return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlGeneratedReports;
2294 case ALMATRIXTOPNCONTROLDURATION:
2295 return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlDuration;
2297 case ALMATRIXTOPNCONTROLREQUESTEDSIZE:
2298 return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlRequestedSize;
2300 case ALMATRIXTOPNCONTROLGRANTEDSIZE:
2301 return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlGrantedSize;
2303 case ALMATRIXTOPNCONTROLSTARTTIME:
2304 return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlStartTime;
2306 case ALMATRIXTOPNCONTROLOWNER:
2307 *var_len = alMatrixTopNControlEntry._alMatrixTopNControlOwnerLength;
2308 return (unsigned char *) alMatrixTopNControlEntry.alMatrixTopNControlOwner;
2310 case ALMATRIXTOPNCONTROLSTATUS:
2311 return (unsigned char *) &alMatrixTopNControlEntry.alMatrixTopNControlStatus;
2320 static unsigned char *
2321 read_alMatrixTopNEntry_stub(struct variable *vp,
2326 WriteMethod **write_method)
2328 static alMatrixTopNEntry_t alMatrixTopNEntry;
2330 /* call the user supplied function to retrieve values */
2332 read_alMatrixTopNEntry(&alMatrixTopNEntry);
2334 /* return the current value of the variable */
2336 switch (vp->magic) {
2338 case ALMATRIXTOPNPROTOCOLDIRLOCALINDEX:
2339 return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNProtocolDirLocalIndex;
2341 case ALMATRIXTOPNSOURCEADDRESS:
2342 *var_len = alMatrixTopNEntry._alMatrixTopNSourceAddressLength;
2343 return (unsigned char *) alMatrixTopNEntry.alMatrixTopNSourceAddress;
2345 case ALMATRIXTOPNDESTADDRESS:
2346 *var_len = alMatrixTopNEntry._alMatrixTopNDestAddressLength;
2347 return (unsigned char *) alMatrixTopNEntry.alMatrixTopNDestAddress;
2349 case ALMATRIXTOPNAPPPROTOCOLDIRLOCALINDEX:
2350 return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNAppProtocolDirLocalIndex;
2352 case ALMATRIXTOPNPKTRATE:
2353 return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNPktRate;
2355 case ALMATRIXTOPNREVERSEPKTRATE:
2356 return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNReversePktRate;
2358 case ALMATRIXTOPNOCTETRATE:
2359 return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNOctetRate;
2361 case ALMATRIXTOPNREVERSEOCTETRATE:
2362 return (unsigned char *) &alMatrixTopNEntry.alMatrixTopNReverseOctetRate;
2371 static unsigned char *
2372 read_usrHistoryControlEntry_stub(struct variable *vp,
2377 WriteMethod **write_method)
2379 static usrHistoryControlEntry_t usrHistoryControlEntry;
2381 /* call the user supplied function to retrieve values */
2383 read_usrHistoryControlEntry(&usrHistoryControlEntry);
2385 /* return the current value of the variable */
2387 switch (vp->magic) {
2389 case USRHISTORYCONTROLOBJECTS:
2390 return (unsigned char *) &usrHistoryControlEntry.usrHistoryControlObjects;
2392 case USRHISTORYCONTROLBUCKETSREQUESTED:
2393 return (unsigned char *) &usrHistoryControlEntry.usrHistoryControlBucketsRequested;
2395 case USRHISTORYCONTROLBUCKETSGRANTED:
2396 return (unsigned char *) &usrHistoryControlEntry.usrHistoryControlBucketsGranted;
2398 case USRHISTORYCONTROLINTERVAL:
2399 return (unsigned char *) &usrHistoryControlEntry.usrHistoryControlInterval;
2401 case USRHISTORYCONTROLOWNER:
2402 *var_len = usrHistoryControlEntry._usrHistoryControlOwnerLength;
2403 return (unsigned char *) usrHistoryControlEntry.usrHistoryControlOwner;
2405 case USRHISTORYCONTROLSTATUS:
2406 return (unsigned char *) &usrHistoryControlEntry.usrHistoryControlStatus;
2415 static unsigned char *
2416 read_usrHistoryObjectEntry_stub(struct variable *vp,
2421 WriteMethod **write_method)
2423 static usrHistoryObjectEntry_t usrHistoryObjectEntry;
2425 /* call the user supplied function to retrieve values */
2427 read_usrHistoryObjectEntry(&usrHistoryObjectEntry);
2429 /* return the current value of the variable */
2431 switch (vp->magic) {
2433 case USRHISTORYOBJECTVARIABLE:
2434 *var_len = usrHistoryObjectEntry._usrHistoryObjectVariableLength;
2435 return (unsigned char *) usrHistoryObjectEntry.usrHistoryObjectVariable;
2437 case USRHISTORYOBJECTSAMPLETYPE:
2438 return (unsigned char *) &usrHistoryObjectEntry.usrHistoryObjectSampleType;
2447 static unsigned char *
2448 read_usrHistoryEntry_stub(struct variable *vp,
2453 WriteMethod **write_method)
2455 static usrHistoryEntry_t usrHistoryEntry;
2457 /* call the user supplied function to retrieve values */
2459 read_usrHistoryEntry(&usrHistoryEntry);
2461 /* return the current value of the variable */
2463 switch (vp->magic) {
2465 case USRHISTORYINTERVALSTART:
2466 return (unsigned char *) &usrHistoryEntry.usrHistoryIntervalStart;
2468 case USRHISTORYINTERVALEND:
2469 return (unsigned char *) &usrHistoryEntry.usrHistoryIntervalEnd;
2471 case USRHISTORYABSVALUE:
2472 return (unsigned char *) &usrHistoryEntry.usrHistoryAbsValue;
2474 case USRHISTORYVALSTATUS:
2475 return (unsigned char *) &usrHistoryEntry.usrHistoryValStatus;
2484 static unsigned char *
2485 read_probeConfig_stub(struct variable *vp,
2490 WriteMethod **write_method)
2492 static probeConfig_t probeConfig;
2494 /* check whether the instance identifier is valid */
2496 if (header_generic(vp, name, length, exact, var_len,
2497 write_method) == MATCH_FAILED) {
2501 /* call the user supplied function to retrieve values */
2503 read_probeConfig(&probeConfig);
2505 /* return the current value of the variable */
2507 switch (vp->magic) {
2509 case PROBECAPABILITIES:
2510 *var_len = probeConfig._probeCapabilitiesLength;
2511 return (unsigned char *) probeConfig.probeCapabilities;
2513 case PROBESOFTWAREREV:
2514 *var_len = probeConfig._probeSoftwareRevLength;
2515 return (unsigned char *) probeConfig.probeSoftwareRev;
2517 case PROBEHARDWAREREV:
2518 *var_len = probeConfig._probeHardwareRevLength;
2519 return (unsigned char *) probeConfig.probeHardwareRev;
2522 *var_len = probeConfig._probeDateTimeLength;
2523 return (unsigned char *) probeConfig.probeDateTime;
2525 case PROBERESETCONTROL:
2526 return (unsigned char *) &probeConfig.probeResetControl;
2528 case PROBEDOWNLOADFILE:
2529 *var_len = probeConfig._probeDownloadFileLength;
2530 return (unsigned char *) probeConfig.probeDownloadFile;
2532 case PROBEDOWNLOADTFTPSERVER:
2533 *var_len = probeConfig._probeDownloadTFTPServerLength;
2534 return (unsigned char *) probeConfig.probeDownloadTFTPServer;
2536 case PROBEDOWNLOADACTION:
2537 return (unsigned char *) &probeConfig.probeDownloadAction;
2539 case PROBEDOWNLOADSTATUS:
2540 return (unsigned char *) &probeConfig.probeDownloadStatus;
2542 case NETDEFAULTGATEWAY:
2543 *var_len = probeConfig._netDefaultGatewayLength;
2544 return (unsigned char *) probeConfig.netDefaultGateway;
2553 static unsigned char *
2554 read_serialConfigEntry_stub(struct variable *vp,
2559 WriteMethod **write_method)
2561 static serialConfigEntry_t serialConfigEntry;
2563 /* call the user supplied function to retrieve values */
2565 read_serialConfigEntry(&serialConfigEntry);
2567 /* return the current value of the variable */
2569 switch (vp->magic) {
2572 return (unsigned char *) &serialConfigEntry.serialMode;
2574 case SERIALPROTOCOL:
2575 return (unsigned char *) &serialConfigEntry.serialProtocol;
2578 return (unsigned char *) &serialConfigEntry.serialTimeout;
2580 case SERIALMODEMINITSTRING:
2581 *var_len = serialConfigEntry._serialModemInitStringLength;
2582 return (unsigned char *) serialConfigEntry.serialModemInitString;
2584 case SERIALMODEMHANGUPSTRING:
2585 *var_len = serialConfigEntry._serialModemHangUpStringLength;
2586 return (unsigned char *) serialConfigEntry.serialModemHangUpString;
2588 case SERIALMODEMCONNECTRESP:
2589 *var_len = serialConfigEntry._serialModemConnectRespLength;
2590 return (unsigned char *) serialConfigEntry.serialModemConnectResp;
2592 case SERIALMODEMNOCONNECTRESP:
2593 *var_len = serialConfigEntry._serialModemNoConnectRespLength;
2594 return (unsigned char *) serialConfigEntry.serialModemNoConnectResp;
2596 case SERIALDIALOUTTIMEOUT:
2597 return (unsigned char *) &serialConfigEntry.serialDialoutTimeout;
2600 return (unsigned char *) &serialConfigEntry.serialStatus;
2609 static unsigned char *
2610 read_netConfigEntry_stub(struct variable *vp,
2615 WriteMethod **write_method)
2617 static netConfigEntry_t netConfigEntry;
2619 /* call the user supplied function to retrieve values */
2621 read_netConfigEntry(&netConfigEntry);
2623 /* return the current value of the variable */
2625 switch (vp->magic) {
2627 case NETCONFIGIPADDRESS:
2628 *var_len = netConfigEntry._netConfigIPAddressLength;
2629 return (unsigned char *) netConfigEntry.netConfigIPAddress;
2631 case NETCONFIGSUBNETMASK:
2632 *var_len = netConfigEntry._netConfigSubnetMaskLength;
2633 return (unsigned char *) netConfigEntry.netConfigSubnetMask;
2635 case NETCONFIGSTATUS:
2636 return (unsigned char *) &netConfigEntry.netConfigStatus;
2645 static unsigned char *
2646 read_trapDestEntry_stub(struct variable *vp,
2651 WriteMethod **write_method)
2653 static trapDestEntry_t trapDestEntry;
2655 /* call the user supplied function to retrieve values */
2657 read_trapDestEntry(&trapDestEntry);
2659 /* return the current value of the variable */
2661 switch (vp->magic) {
2663 case TRAPDESTCOMMUNITY:
2664 *var_len = trapDestEntry._trapDestCommunityLength;
2665 return (unsigned char *) trapDestEntry.trapDestCommunity;
2667 case TRAPDESTPROTOCOL:
2668 return (unsigned char *) &trapDestEntry.trapDestProtocol;
2670 case TRAPDESTADDRESS:
2671 *var_len = trapDestEntry._trapDestAddressLength;
2672 return (unsigned char *) trapDestEntry.trapDestAddress;
2675 *var_len = trapDestEntry._trapDestOwnerLength;
2676 return (unsigned char *) trapDestEntry.trapDestOwner;
2678 case TRAPDESTSTATUS:
2679 return (unsigned char *) &trapDestEntry.trapDestStatus;
2688 static unsigned char *
2689 read_serialConnectionEntry_stub(struct variable *vp,
2694 WriteMethod **write_method)
2696 static serialConnectionEntry_t serialConnectionEntry;
2698 /* call the user supplied function to retrieve values */
2700 read_serialConnectionEntry(&serialConnectionEntry);
2702 /* return the current value of the variable */
2704 switch (vp->magic) {
2706 case SERIALCONNECTDESTIPADDRESS:
2707 *var_len = serialConnectionEntry._serialConnectDestIpAddressLength;
2708 return (unsigned char *) serialConnectionEntry.serialConnectDestIpAddress;
2710 case SERIALCONNECTTYPE:
2711 return (unsigned char *) &serialConnectionEntry.serialConnectType;
2713 case SERIALCONNECTDIALSTRING:
2714 *var_len = serialConnectionEntry._serialConnectDialStringLength;
2715 return (unsigned char *) serialConnectionEntry.serialConnectDialString;
2717 case SERIALCONNECTSWITCHCONNECTSEQ:
2718 *var_len = serialConnectionEntry._serialConnectSwitchConnectSeqLength;
2719 return (unsigned char *) serialConnectionEntry.serialConnectSwitchConnectSeq;
2721 case SERIALCONNECTSWITCHDISCONNECTSEQ:
2722 *var_len = serialConnectionEntry._serialConnectSwitchDisconnectSeqLength;
2723 return (unsigned char *) serialConnectionEntry.serialConnectSwitchDisconnectSeq;
2725 case SERIALCONNECTSWITCHRESETSEQ:
2726 *var_len = serialConnectionEntry._serialConnectSwitchResetSeqLength;
2727 return (unsigned char *) serialConnectionEntry.serialConnectSwitchResetSeq;
2729 case SERIALCONNECTOWNER:
2730 *var_len = serialConnectionEntry._serialConnectOwnerLength;
2731 return (unsigned char *) serialConnectionEntry.serialConnectOwner;
2733 case SERIALCONNECTSTATUS:
2734 return (unsigned char *) &serialConnectionEntry.serialConnectStatus;
2745 * Forward declaration of write methods for writable objects:
2749 write_filterProtocolDirDataLocalIndex_stub(int action,
2751 u_char var_val_type,
2757 return SNMP_ERR_NOERROR;
2761 write_filterProtocolDirLocalIndex_stub(int action,
2763 u_char var_val_type,
2769 return SNMP_ERR_NOERROR;
2773 write_protocolDirDescr_stub(int action,
2775 u_char var_val_type,
2781 return SNMP_ERR_NOERROR;
2785 write_protocolDirAddressMapConfig_stub(int action,
2787 u_char var_val_type,
2793 return SNMP_ERR_NOERROR;
2797 write_protocolDirHostConfig_stub(int action,
2799 u_char var_val_type,
2805 return SNMP_ERR_NOERROR;
2809 write_protocolDirMatrixConfig_stub(int action,
2811 u_char var_val_type,
2817 return SNMP_ERR_NOERROR;
2821 write_protocolDirOwner_stub(int action,
2823 u_char var_val_type,
2829 return SNMP_ERR_NOERROR;
2833 write_protocolDirStatus_stub(int action,
2835 u_char var_val_type,
2841 return SNMP_ERR_NOERROR;
2845 write_protocolDistControlDataSource_stub(int action,
2847 u_char var_val_type,
2853 return SNMP_ERR_NOERROR;
2857 write_protocolDistControlOwner_stub(int action,
2859 u_char var_val_type,
2865 return SNMP_ERR_NOERROR;
2869 write_protocolDistControlStatus_stub(int action,
2871 u_char var_val_type,
2877 return SNMP_ERR_NOERROR;
2881 write_addressMapMaxDesiredEntries_stub(int action,
2883 u_char var_val_type,
2889 return SNMP_ERR_NOERROR;
2893 write_addressMapControlDataSource_stub(int action,
2895 u_char var_val_type,
2901 return SNMP_ERR_NOERROR;
2905 write_addressMapControlOwner_stub(int action,
2907 u_char var_val_type,
2913 return SNMP_ERR_NOERROR;
2917 write_addressMapControlStatus_stub(int action,
2919 u_char var_val_type,
2925 return SNMP_ERR_NOERROR;
2929 write_hlHostControlDataSource_stub(int action,
2931 u_char var_val_type,
2937 return SNMP_ERR_NOERROR;
2941 write_hlHostControlNlMaxDesiredEntries_stub(int action,
2943 u_char var_val_type,
2949 return SNMP_ERR_NOERROR;
2953 write_hlHostControlAlMaxDesiredEntries_stub(int action,
2955 u_char var_val_type,
2961 return SNMP_ERR_NOERROR;
2965 write_hlHostControlOwner_stub(int action,
2967 u_char var_val_type,
2973 return SNMP_ERR_NOERROR;
2977 write_hlHostControlStatus_stub(int action,
2979 u_char var_val_type,
2985 return SNMP_ERR_NOERROR;
2989 write_hlMatrixControlDataSource_stub(int action,
2991 u_char var_val_type,
2997 return SNMP_ERR_NOERROR;
3001 write_hlMatrixControlNlMaxDesiredEntries_stub(int action,
3003 u_char var_val_type,
3009 return SNMP_ERR_NOERROR;
3013 write_hlMatrixControlAlMaxDesiredEntries_stub(int action,
3015 u_char var_val_type,
3021 return SNMP_ERR_NOERROR;
3025 write_hlMatrixControlOwner_stub(int action,
3027 u_char var_val_type,
3033 return SNMP_ERR_NOERROR;
3037 write_hlMatrixControlStatus_stub(int action,
3039 u_char var_val_type,
3045 return SNMP_ERR_NOERROR;
3049 write_nlMatrixTopNControlMatrixIndex_stub(int action,
3051 u_char var_val_type,
3057 return SNMP_ERR_NOERROR;
3061 write_nlMatrixTopNControlRateBase_stub(int action,
3063 u_char var_val_type,
3069 return SNMP_ERR_NOERROR;
3073 write_nlMatrixTopNControlTimeRemaining_stub(int action,
3075 u_char var_val_type,
3081 return SNMP_ERR_NOERROR;
3085 write_nlMatrixTopNControlRequestedSize_stub(int action,
3087 u_char var_val_type,
3093 return SNMP_ERR_NOERROR;
3097 write_nlMatrixTopNControlOwner_stub(int action,
3099 u_char var_val_type,
3105 return SNMP_ERR_NOERROR;
3109 write_nlMatrixTopNControlStatus_stub(int action,
3111 u_char var_val_type,
3117 return SNMP_ERR_NOERROR;
3121 write_alMatrixTopNControlMatrixIndex_stub(int action,
3123 u_char var_val_type,
3129 return SNMP_ERR_NOERROR;
3133 write_alMatrixTopNControlRateBase_stub(int action,
3135 u_char var_val_type,
3141 return SNMP_ERR_NOERROR;
3145 write_alMatrixTopNControlTimeRemaining_stub(int action,
3147 u_char var_val_type,
3153 return SNMP_ERR_NOERROR;
3157 write_alMatrixTopNControlRequestedSize_stub(int action,
3159 u_char var_val_type,
3165 return SNMP_ERR_NOERROR;
3169 write_alMatrixTopNControlOwner_stub(int action,
3171 u_char var_val_type,
3177 return SNMP_ERR_NOERROR;
3181 write_alMatrixTopNControlStatus_stub(int action,
3183 u_char var_val_type,
3189 return SNMP_ERR_NOERROR;
3193 write_usrHistoryControlObjects_stub(int action,
3195 u_char var_val_type,
3201 return SNMP_ERR_NOERROR;
3205 write_usrHistoryControlBucketsRequested_stub(int action,
3207 u_char var_val_type,
3213 return SNMP_ERR_NOERROR;
3217 write_usrHistoryControlInterval_stub(int action,
3219 u_char var_val_type,
3225 return SNMP_ERR_NOERROR;
3229 write_usrHistoryControlOwner_stub(int action,
3231 u_char var_val_type,
3237 return SNMP_ERR_NOERROR;
3241 write_usrHistoryControlStatus_stub(int action,
3243 u_char var_val_type,
3249 return SNMP_ERR_NOERROR;
3253 write_usrHistoryObjectVariable_stub(int action,
3255 u_char var_val_type,
3261 return SNMP_ERR_NOERROR;
3265 write_usrHistoryObjectSampleType_stub(int action,
3267 u_char var_val_type,
3273 return SNMP_ERR_NOERROR;
3277 write_probeDateTime_stub(int action,
3279 u_char var_val_type,
3285 return SNMP_ERR_NOERROR;
3289 write_probeResetControl_stub(int action,
3291 u_char var_val_type,
3297 return SNMP_ERR_NOERROR;
3301 write_probeDownloadFile_stub(int action,
3303 u_char var_val_type,
3309 return SNMP_ERR_NOERROR;
3313 write_probeDownloadTFTPServer_stub(int action,
3315 u_char var_val_type,
3321 return SNMP_ERR_NOERROR;
3325 write_probeDownloadAction_stub(int action,
3327 u_char var_val_type,
3333 return SNMP_ERR_NOERROR;
3337 write_serialMode_stub(int action,
3339 u_char var_val_type,
3345 return SNMP_ERR_NOERROR;
3349 write_serialProtocol_stub(int action,
3351 u_char var_val_type,
3357 return SNMP_ERR_NOERROR;
3361 write_serialTimeout_stub(int action,
3363 u_char var_val_type,
3369 return SNMP_ERR_NOERROR;
3373 write_serialModemInitString_stub(int action,
3375 u_char var_val_type,
3381 return SNMP_ERR_NOERROR;
3385 write_serialModemHangUpString_stub(int action,
3387 u_char var_val_type,
3393 return SNMP_ERR_NOERROR;
3397 write_serialModemConnectResp_stub(int action,
3399 u_char var_val_type,
3405 return SNMP_ERR_NOERROR;
3409 write_serialModemNoConnectResp_stub(int action,
3411 u_char var_val_type,
3417 return SNMP_ERR_NOERROR;
3421 write_serialDialoutTimeout_stub(int action,
3423 u_char var_val_type,
3429 return SNMP_ERR_NOERROR;
3433 write_serialStatus_stub(int action,
3435 u_char var_val_type,
3441 return SNMP_ERR_NOERROR;
3445 write_netConfigIPAddress_stub(int action,
3447 u_char var_val_type,
3453 return SNMP_ERR_NOERROR;
3457 write_netConfigSubnetMask_stub(int action,
3459 u_char var_val_type,
3465 return SNMP_ERR_NOERROR;
3469 write_netConfigStatus_stub(int action,
3471 u_char var_val_type,
3477 return SNMP_ERR_NOERROR;
3481 write_netDefaultGateway_stub(int action,
3483 u_char var_val_type,
3489 return SNMP_ERR_NOERROR;
3493 write_trapDestCommunity_stub(int action,
3495 u_char var_val_type,
3501 return SNMP_ERR_NOERROR;
3505 write_trapDestProtocol_stub(int action,
3507 u_char var_val_type,
3513 return SNMP_ERR_NOERROR;
3517 write_trapDestAddress_stub(int action,
3519 u_char var_val_type,
3525 return SNMP_ERR_NOERROR;
3529 write_trapDestOwner_stub(int action,
3531 u_char var_val_type,
3537 return SNMP_ERR_NOERROR;
3541 write_trapDestStatus_stub(int action,
3543 u_char var_val_type,
3549 return SNMP_ERR_NOERROR;
3553 write_serialConnectDestIpAddress_stub(int action,
3555 u_char var_val_type,
3561 return SNMP_ERR_NOERROR;
3565 write_serialConnectType_stub(int action,
3567 u_char var_val_type,
3573 return SNMP_ERR_NOERROR;
3577 write_serialConnectDialString_stub(int action,
3579 u_char var_val_type,
3585 return SNMP_ERR_NOERROR;
3589 write_serialConnectSwitchConnectSeq_stub(int action,
3591 u_char var_val_type,
3597 return SNMP_ERR_NOERROR;
3601 write_serialConnectSwitchDisconnectSeq_stub(int action,
3603 u_char var_val_type,
3609 return SNMP_ERR_NOERROR;
3613 write_serialConnectSwitchResetSeq_stub(int action,
3615 u_char var_val_type,
3621 return SNMP_ERR_NOERROR;
3625 write_serialConnectOwner_stub(int action,
3627 u_char var_val_type,
3633 return SNMP_ERR_NOERROR;
3637 write_serialConnectStatus_stub(int action,
3639 u_char var_val_type,
3645 return SNMP_ERR_NOERROR;