Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / test / dumps / netsnmp / rmon2-mib.h
1 /*
2  * This C header file has been generated by smidump 0.4.5.
3  * It is intended to be used with the NET-SNMP package.
4  *
5  * This header is derived from the RMON2-MIB module.
6  *
7  * $Id: rmon2-mib.h 4432 2006-05-29 16:21:11Z strauss $
8  */
9
10 #ifndef _RMON2_MIB_H_
11 #define _RMON2_MIB_H_
12
13 #include <stdlib.h>
14
15 #ifdef HAVE_STDINT_H
16 #include <stdint.h>
17 #endif
18
19 /*
20  * C type definitions for RMON2-MIB::etherStats2Entry.
21  */
22
23 typedef struct etherStats2Entry {
24     uint32_t  *etherStatsDroppedFrames;
25     uint32_t  *etherStatsCreateTime;
26     void      *_clientData;             /* pointer to client data structure */
27     struct etherStats2Entry *_nextPtr;  /* pointer to next table entry */
28
29     /* private space to hold actual values */
30
31     uint32_t  __etherStatsDroppedFrames;
32     uint32_t  __etherStatsCreateTime;
33 } etherStats2Entry_t;
34
35 /*
36  * C manager interface stubs for RMON2-MIB::etherStats2Entry.
37  */
38
39 extern int
40 rmon2_mib_mgr_get_etherStats2Entry(struct snmp_session *s, etherStats2Entry_t **etherStats2Entry);
41
42 /*
43  * C agent interface stubs for RMON2-MIB::etherStats2Entry.
44  */
45
46 extern int
47 rmon2_mib_agt_read_etherStats2Entry(etherStats2Entry_t *etherStats2Entry);
48 extern int
49 rmon2_mib_agt_register_etherStats2Entry();
50
51 /*
52  * C type definitions for RMON2-MIB::tokenRingMLStats2Entry.
53  */
54
55 typedef struct tokenRingMLStats2Entry {
56     uint32_t  *tokenRingMLStatsDroppedFrames;
57     uint32_t  *tokenRingMLStatsCreateTime;
58     void      *_clientData;             /* pointer to client data structure */
59     struct tokenRingMLStats2Entry *_nextPtr;    /* pointer to next table entry */
60
61     /* private space to hold actual values */
62
63     uint32_t  __tokenRingMLStatsDroppedFrames;
64     uint32_t  __tokenRingMLStatsCreateTime;
65 } tokenRingMLStats2Entry_t;
66
67 /*
68  * C manager interface stubs for RMON2-MIB::tokenRingMLStats2Entry.
69  */
70
71 extern int
72 rmon2_mib_mgr_get_tokenRingMLStats2Entry(struct snmp_session *s, tokenRingMLStats2Entry_t **tokenRingMLStats2Entry);
73
74 /*
75  * C agent interface stubs for RMON2-MIB::tokenRingMLStats2Entry.
76  */
77
78 extern int
79 rmon2_mib_agt_read_tokenRingMLStats2Entry(tokenRingMLStats2Entry_t *tokenRingMLStats2Entry);
80 extern int
81 rmon2_mib_agt_register_tokenRingMLStats2Entry();
82
83 /*
84  * C type definitions for RMON2-MIB::tokenRingPStats2Entry.
85  */
86
87 typedef struct tokenRingPStats2Entry {
88     uint32_t  *tokenRingPStatsDroppedFrames;
89     uint32_t  *tokenRingPStatsCreateTime;
90     void      *_clientData;             /* pointer to client data structure */
91     struct tokenRingPStats2Entry *_nextPtr;     /* pointer to next table entry */
92
93     /* private space to hold actual values */
94
95     uint32_t  __tokenRingPStatsDroppedFrames;
96     uint32_t  __tokenRingPStatsCreateTime;
97 } tokenRingPStats2Entry_t;
98
99 /*
100  * C manager interface stubs for RMON2-MIB::tokenRingPStats2Entry.
101  */
102
103 extern int
104 rmon2_mib_mgr_get_tokenRingPStats2Entry(struct snmp_session *s, tokenRingPStats2Entry_t **tokenRingPStats2Entry);
105
106 /*
107  * C agent interface stubs for RMON2-MIB::tokenRingPStats2Entry.
108  */
109
110 extern int
111 rmon2_mib_agt_read_tokenRingPStats2Entry(tokenRingPStats2Entry_t *tokenRingPStats2Entry);
112 extern int
113 rmon2_mib_agt_register_tokenRingPStats2Entry();
114
115 /*
116  * C type definitions for RMON2-MIB::historyControl2Entry.
117  */
118
119 typedef struct historyControl2Entry {
120     uint32_t  *historyControlDroppedFrames;
121     void      *_clientData;             /* pointer to client data structure */
122     struct historyControl2Entry *_nextPtr;      /* pointer to next table entry */
123
124     /* private space to hold actual values */
125
126     uint32_t  __historyControlDroppedFrames;
127 } historyControl2Entry_t;
128
129 /*
130  * C manager interface stubs for RMON2-MIB::historyControl2Entry.
131  */
132
133 extern int
134 rmon2_mib_mgr_get_historyControl2Entry(struct snmp_session *s, historyControl2Entry_t **historyControl2Entry);
135
136 /*
137  * C agent interface stubs for RMON2-MIB::historyControl2Entry.
138  */
139
140 extern int
141 rmon2_mib_agt_read_historyControl2Entry(historyControl2Entry_t *historyControl2Entry);
142 extern int
143 rmon2_mib_agt_register_historyControl2Entry();
144
145 /*
146  * C type definitions for RMON2-MIB::hostControl2Entry.
147  */
148
149 typedef struct hostControl2Entry {
150     uint32_t  *hostControlDroppedFrames;
151     uint32_t  *hostControlCreateTime;
152     void      *_clientData;             /* pointer to client data structure */
153     struct hostControl2Entry *_nextPtr; /* pointer to next table entry */
154
155     /* private space to hold actual values */
156
157     uint32_t  __hostControlDroppedFrames;
158     uint32_t  __hostControlCreateTime;
159 } hostControl2Entry_t;
160
161 /*
162  * C manager interface stubs for RMON2-MIB::hostControl2Entry.
163  */
164
165 extern int
166 rmon2_mib_mgr_get_hostControl2Entry(struct snmp_session *s, hostControl2Entry_t **hostControl2Entry);
167
168 /*
169  * C agent interface stubs for RMON2-MIB::hostControl2Entry.
170  */
171
172 extern int
173 rmon2_mib_agt_read_hostControl2Entry(hostControl2Entry_t *hostControl2Entry);
174 extern int
175 rmon2_mib_agt_register_hostControl2Entry();
176
177 /*
178  * C type definitions for RMON2-MIB::matrixControl2Entry.
179  */
180
181 typedef struct matrixControl2Entry {
182     uint32_t  *matrixControlDroppedFrames;
183     uint32_t  *matrixControlCreateTime;
184     void      *_clientData;             /* pointer to client data structure */
185     struct matrixControl2Entry *_nextPtr;       /* pointer to next table entry */
186
187     /* private space to hold actual values */
188
189     uint32_t  __matrixControlDroppedFrames;
190     uint32_t  __matrixControlCreateTime;
191 } matrixControl2Entry_t;
192
193 /*
194  * C manager interface stubs for RMON2-MIB::matrixControl2Entry.
195  */
196
197 extern int
198 rmon2_mib_mgr_get_matrixControl2Entry(struct snmp_session *s, matrixControl2Entry_t **matrixControl2Entry);
199
200 /*
201  * C agent interface stubs for RMON2-MIB::matrixControl2Entry.
202  */
203
204 extern int
205 rmon2_mib_agt_read_matrixControl2Entry(matrixControl2Entry_t *matrixControl2Entry);
206 extern int
207 rmon2_mib_agt_register_matrixControl2Entry();
208
209 /*
210  * C type definitions for RMON2-MIB::channel2Entry.
211  */
212
213 typedef struct channel2Entry {
214     uint32_t  *channelDroppedFrames;
215     uint32_t  *channelCreateTime;
216     void      *_clientData;             /* pointer to client data structure */
217     struct channel2Entry *_nextPtr;     /* pointer to next table entry */
218
219     /* private space to hold actual values */
220
221     uint32_t  __channelDroppedFrames;
222     uint32_t  __channelCreateTime;
223 } channel2Entry_t;
224
225 /*
226  * C manager interface stubs for RMON2-MIB::channel2Entry.
227  */
228
229 extern int
230 rmon2_mib_mgr_get_channel2Entry(struct snmp_session *s, channel2Entry_t **channel2Entry);
231
232 /*
233  * C agent interface stubs for RMON2-MIB::channel2Entry.
234  */
235
236 extern int
237 rmon2_mib_agt_read_channel2Entry(channel2Entry_t *channel2Entry);
238 extern int
239 rmon2_mib_agt_register_channel2Entry();
240
241 /*
242  * C type definitions for RMON2-MIB::filter2Entry.
243  */
244
245 typedef struct filter2Entry {
246     int32_t   *filterProtocolDirDataLocalIndex;
247     int32_t   *filterProtocolDirLocalIndex;
248     void      *_clientData;             /* pointer to client data structure */
249     struct filter2Entry *_nextPtr;      /* pointer to next table entry */
250
251     /* private space to hold actual values */
252
253     int32_t   __filterProtocolDirDataLocalIndex;
254     int32_t   __filterProtocolDirLocalIndex;
255 } filter2Entry_t;
256
257 /*
258  * C manager interface stubs for RMON2-MIB::filter2Entry.
259  */
260
261 extern int
262 rmon2_mib_mgr_get_filter2Entry(struct snmp_session *s, filter2Entry_t **filter2Entry);
263
264 /*
265  * C agent interface stubs for RMON2-MIB::filter2Entry.
266  */
267
268 extern int
269 rmon2_mib_agt_read_filter2Entry(filter2Entry_t *filter2Entry);
270 extern int
271 rmon2_mib_agt_register_filter2Entry();
272
273 /*
274  * C type definitions for RMON2-MIB::ringStationControl2Entry.
275  */
276
277 typedef struct ringStationControl2Entry {
278     uint32_t  *ringStationControlDroppedFrames;
279     uint32_t  *ringStationControlCreateTime;
280     void      *_clientData;             /* pointer to client data structure */
281     struct ringStationControl2Entry *_nextPtr;  /* pointer to next table entry */
282
283     /* private space to hold actual values */
284
285     uint32_t  __ringStationControlDroppedFrames;
286     uint32_t  __ringStationControlCreateTime;
287 } ringStationControl2Entry_t;
288
289 /*
290  * C manager interface stubs for RMON2-MIB::ringStationControl2Entry.
291  */
292
293 extern int
294 rmon2_mib_mgr_get_ringStationControl2Entry(struct snmp_session *s, ringStationControl2Entry_t **ringStationControl2Entry);
295
296 /*
297  * C agent interface stubs for RMON2-MIB::ringStationControl2Entry.
298  */
299
300 extern int
301 rmon2_mib_agt_read_ringStationControl2Entry(ringStationControl2Entry_t *ringStationControl2Entry);
302 extern int
303 rmon2_mib_agt_register_ringStationControl2Entry();
304
305 /*
306  * C type definitions for RMON2-MIB::sourceRoutingStats2Entry.
307  */
308
309 typedef struct sourceRoutingStats2Entry {
310     uint32_t  *sourceRoutingStatsDroppedFrames;
311     uint32_t  *sourceRoutingStatsCreateTime;
312     void      *_clientData;             /* pointer to client data structure */
313     struct sourceRoutingStats2Entry *_nextPtr;  /* pointer to next table entry */
314
315     /* private space to hold actual values */
316
317     uint32_t  __sourceRoutingStatsDroppedFrames;
318     uint32_t  __sourceRoutingStatsCreateTime;
319 } sourceRoutingStats2Entry_t;
320
321 /*
322  * C manager interface stubs for RMON2-MIB::sourceRoutingStats2Entry.
323  */
324
325 extern int
326 rmon2_mib_mgr_get_sourceRoutingStats2Entry(struct snmp_session *s, sourceRoutingStats2Entry_t **sourceRoutingStats2Entry);
327
328 /*
329  * C agent interface stubs for RMON2-MIB::sourceRoutingStats2Entry.
330  */
331
332 extern int
333 rmon2_mib_agt_read_sourceRoutingStats2Entry(sourceRoutingStats2Entry_t *sourceRoutingStats2Entry);
334 extern int
335 rmon2_mib_agt_register_sourceRoutingStats2Entry();
336
337 /*
338  * C type definitions for RMON2-MIB::protocolDir.
339  */
340
341 typedef struct protocolDir {
342     uint32_t  *protocolDirLastChange;
343     void      *_clientData;             /* pointer to client data structure */
344
345     /* private space to hold actual values */
346
347     uint32_t  __protocolDirLastChange;
348 } protocolDir_t;
349
350 /*
351  * C manager interface stubs for RMON2-MIB::protocolDir.
352  */
353
354 extern int
355 rmon2_mib_mgr_get_protocolDir(struct snmp_session *s, protocolDir_t **protocolDir);
356
357 /*
358  * C agent interface stubs for RMON2-MIB::protocolDir.
359  */
360
361 extern int
362 rmon2_mib_agt_read_protocolDir(protocolDir_t *protocolDir);
363 extern int
364 rmon2_mib_agt_register_protocolDir();
365
366 /*
367  * C type definitions for RMON2-MIB::protocolDirEntry.
368  */
369
370 typedef struct protocolDirEntry {
371     u_char    *protocolDirID;
372     size_t    _protocolDirIDLength;
373     u_char    *protocolDirParameters;
374     size_t    _protocolDirParametersLength;
375     int32_t   *protocolDirLocalIndex;
376     u_char    *protocolDirDescr;
377     size_t    _protocolDirDescrLength;
378     u_char    *protocolDirType;
379     size_t    _protocolDirTypeLength;
380     int32_t   *protocolDirAddressMapConfig;
381     int32_t   *protocolDirHostConfig;
382     int32_t   *protocolDirMatrixConfig;
383     u_char    *protocolDirOwner;
384     size_t    _protocolDirOwnerLength;
385     int32_t   *protocolDirStatus;
386     void      *_clientData;             /* pointer to client data structure */
387     struct protocolDirEntry *_nextPtr;  /* pointer to next table entry */
388
389     /* private space to hold actual values */
390
391     u_char    __protocolDirID[128];
392     u_char    __protocolDirParameters[32];
393     int32_t   __protocolDirLocalIndex;
394     u_char    __protocolDirDescr[64];
395     u_char    __protocolDirType[1];
396     int32_t   __protocolDirAddressMapConfig;
397     int32_t   __protocolDirHostConfig;
398     int32_t   __protocolDirMatrixConfig;
399     u_char    __protocolDirOwner[127];
400     int32_t   __protocolDirStatus;
401 } protocolDirEntry_t;
402
403 /*
404  * C manager interface stubs for RMON2-MIB::protocolDirEntry.
405  */
406
407 extern int
408 rmon2_mib_mgr_get_protocolDirEntry(struct snmp_session *s, protocolDirEntry_t **protocolDirEntry);
409
410 /*
411  * C agent interface stubs for RMON2-MIB::protocolDirEntry.
412  */
413
414 extern int
415 rmon2_mib_agt_read_protocolDirEntry(protocolDirEntry_t *protocolDirEntry);
416 extern int
417 rmon2_mib_agt_register_protocolDirEntry();
418
419 /*
420  * C type definitions for RMON2-MIB::protocolDistControlEntry.
421  */
422
423 typedef struct protocolDistControlEntry {
424     int32_t   *protocolDistControlIndex;
425     uint32_t  *protocolDistControlDataSource;
426     size_t    _protocolDistControlDataSourceLength;
427     uint32_t  *protocolDistControlDroppedFrames;
428     uint32_t  *protocolDistControlCreateTime;
429     u_char    *protocolDistControlOwner;
430     size_t    _protocolDistControlOwnerLength;
431     int32_t   *protocolDistControlStatus;
432     void      *_clientData;             /* pointer to client data structure */
433     struct protocolDistControlEntry *_nextPtr;  /* pointer to next table entry */
434
435     /* private space to hold actual values */
436
437     int32_t   __protocolDistControlIndex;
438     uint32_t  __protocolDistControlDataSource[128];
439     uint32_t  __protocolDistControlDroppedFrames;
440     uint32_t  __protocolDistControlCreateTime;
441     u_char    __protocolDistControlOwner[127];
442     int32_t   __protocolDistControlStatus;
443 } protocolDistControlEntry_t;
444
445 /*
446  * C manager interface stubs for RMON2-MIB::protocolDistControlEntry.
447  */
448
449 extern int
450 rmon2_mib_mgr_get_protocolDistControlEntry(struct snmp_session *s, protocolDistControlEntry_t **protocolDistControlEntry);
451
452 /*
453  * C agent interface stubs for RMON2-MIB::protocolDistControlEntry.
454  */
455
456 extern int
457 rmon2_mib_agt_read_protocolDistControlEntry(protocolDistControlEntry_t *protocolDistControlEntry);
458 extern int
459 rmon2_mib_agt_register_protocolDistControlEntry();
460
461 /*
462  * C type definitions for RMON2-MIB::protocolDistStatsEntry.
463  */
464
465 typedef struct protocolDistStatsEntry {
466     uint32_t  *protocolDistStatsPkts;
467     uint32_t  *protocolDistStatsOctets;
468     void      *_clientData;             /* pointer to client data structure */
469     struct protocolDistStatsEntry *_nextPtr;    /* pointer to next table entry */
470
471     /* private space to hold actual values */
472
473     uint32_t  __protocolDistStatsPkts;
474     uint32_t  __protocolDistStatsOctets;
475 } protocolDistStatsEntry_t;
476
477 /*
478  * C manager interface stubs for RMON2-MIB::protocolDistStatsEntry.
479  */
480
481 extern int
482 rmon2_mib_mgr_get_protocolDistStatsEntry(struct snmp_session *s, protocolDistStatsEntry_t **protocolDistStatsEntry);
483
484 /*
485  * C agent interface stubs for RMON2-MIB::protocolDistStatsEntry.
486  */
487
488 extern int
489 rmon2_mib_agt_read_protocolDistStatsEntry(protocolDistStatsEntry_t *protocolDistStatsEntry);
490 extern int
491 rmon2_mib_agt_register_protocolDistStatsEntry();
492
493 /*
494  * C type definitions for RMON2-MIB::addressMap.
495  */
496
497 typedef struct addressMap {
498     uint32_t  *addressMapInserts;
499     uint32_t  *addressMapDeletes;
500     int32_t   *addressMapMaxDesiredEntries;
501     void      *_clientData;             /* pointer to client data structure */
502
503     /* private space to hold actual values */
504
505     uint32_t  __addressMapInserts;
506     uint32_t  __addressMapDeletes;
507     int32_t   __addressMapMaxDesiredEntries;
508 } addressMap_t;
509
510 /*
511  * C manager interface stubs for RMON2-MIB::addressMap.
512  */
513
514 extern int
515 rmon2_mib_mgr_get_addressMap(struct snmp_session *s, addressMap_t **addressMap);
516
517 /*
518  * C agent interface stubs for RMON2-MIB::addressMap.
519  */
520
521 extern int
522 rmon2_mib_agt_read_addressMap(addressMap_t *addressMap);
523 extern int
524 rmon2_mib_agt_register_addressMap();
525
526 /*
527  * C type definitions for RMON2-MIB::addressMapControlEntry.
528  */
529
530 typedef struct addressMapControlEntry {
531     int32_t   *addressMapControlIndex;
532     uint32_t  *addressMapControlDataSource;
533     size_t    _addressMapControlDataSourceLength;
534     uint32_t  *addressMapControlDroppedFrames;
535     u_char    *addressMapControlOwner;
536     size_t    _addressMapControlOwnerLength;
537     int32_t   *addressMapControlStatus;
538     void      *_clientData;             /* pointer to client data structure */
539     struct addressMapControlEntry *_nextPtr;    /* pointer to next table entry */
540
541     /* private space to hold actual values */
542
543     int32_t   __addressMapControlIndex;
544     uint32_t  __addressMapControlDataSource[128];
545     uint32_t  __addressMapControlDroppedFrames;
546     u_char    __addressMapControlOwner[127];
547     int32_t   __addressMapControlStatus;
548 } addressMapControlEntry_t;
549
550 /*
551  * C manager interface stubs for RMON2-MIB::addressMapControlEntry.
552  */
553
554 extern int
555 rmon2_mib_mgr_get_addressMapControlEntry(struct snmp_session *s, addressMapControlEntry_t **addressMapControlEntry);
556
557 /*
558  * C agent interface stubs for RMON2-MIB::addressMapControlEntry.
559  */
560
561 extern int
562 rmon2_mib_agt_read_addressMapControlEntry(addressMapControlEntry_t *addressMapControlEntry);
563 extern int
564 rmon2_mib_agt_register_addressMapControlEntry();
565
566 /*
567  * C type definitions for RMON2-MIB::addressMapEntry.
568  */
569
570 typedef struct addressMapEntry {
571     uint32_t  *addressMapTimeMark;
572     u_char    *addressMapNetworkAddress;
573     size_t    _addressMapNetworkAddressLength;
574     uint32_t  *addressMapSource;
575     size_t    _addressMapSourceLength;
576     u_char    *addressMapPhysicalAddress;
577     size_t    _addressMapPhysicalAddressLength;
578     uint32_t  *addressMapLastChange;
579     void      *_clientData;             /* pointer to client data structure */
580     struct addressMapEntry *_nextPtr;   /* pointer to next table entry */
581
582     /* private space to hold actual values */
583
584     uint32_t  __addressMapTimeMark;
585     u_char    __addressMapNetworkAddress[255];
586     uint32_t  __addressMapSource[128];
587     u_char    __addressMapPhysicalAddress[65535];
588     uint32_t  __addressMapLastChange;
589 } addressMapEntry_t;
590
591 /*
592  * C manager interface stubs for RMON2-MIB::addressMapEntry.
593  */
594
595 extern int
596 rmon2_mib_mgr_get_addressMapEntry(struct snmp_session *s, addressMapEntry_t **addressMapEntry);
597
598 /*
599  * C agent interface stubs for RMON2-MIB::addressMapEntry.
600  */
601
602 extern int
603 rmon2_mib_agt_read_addressMapEntry(addressMapEntry_t *addressMapEntry);
604 extern int
605 rmon2_mib_agt_register_addressMapEntry();
606
607 /*
608  * C type definitions for RMON2-MIB::hlHostControlEntry.
609  */
610
611 typedef struct hlHostControlEntry {
612     int32_t   *hlHostControlIndex;
613     uint32_t  *hlHostControlDataSource;
614     size_t    _hlHostControlDataSourceLength;
615     uint32_t  *hlHostControlNlDroppedFrames;
616     uint32_t  *hlHostControlNlInserts;
617     uint32_t  *hlHostControlNlDeletes;
618     int32_t   *hlHostControlNlMaxDesiredEntries;
619     uint32_t  *hlHostControlAlDroppedFrames;
620     uint32_t  *hlHostControlAlInserts;
621     uint32_t  *hlHostControlAlDeletes;
622     int32_t   *hlHostControlAlMaxDesiredEntries;
623     u_char    *hlHostControlOwner;
624     size_t    _hlHostControlOwnerLength;
625     int32_t   *hlHostControlStatus;
626     void      *_clientData;             /* pointer to client data structure */
627     struct hlHostControlEntry *_nextPtr;        /* pointer to next table entry */
628
629     /* private space to hold actual values */
630
631     int32_t   __hlHostControlIndex;
632     uint32_t  __hlHostControlDataSource[128];
633     uint32_t  __hlHostControlNlDroppedFrames;
634     uint32_t  __hlHostControlNlInserts;
635     uint32_t  __hlHostControlNlDeletes;
636     int32_t   __hlHostControlNlMaxDesiredEntries;
637     uint32_t  __hlHostControlAlDroppedFrames;
638     uint32_t  __hlHostControlAlInserts;
639     uint32_t  __hlHostControlAlDeletes;
640     int32_t   __hlHostControlAlMaxDesiredEntries;
641     u_char    __hlHostControlOwner[127];
642     int32_t   __hlHostControlStatus;
643 } hlHostControlEntry_t;
644
645 /*
646  * C manager interface stubs for RMON2-MIB::hlHostControlEntry.
647  */
648
649 extern int
650 rmon2_mib_mgr_get_hlHostControlEntry(struct snmp_session *s, hlHostControlEntry_t **hlHostControlEntry);
651
652 /*
653  * C agent interface stubs for RMON2-MIB::hlHostControlEntry.
654  */
655
656 extern int
657 rmon2_mib_agt_read_hlHostControlEntry(hlHostControlEntry_t *hlHostControlEntry);
658 extern int
659 rmon2_mib_agt_register_hlHostControlEntry();
660
661 /*
662  * C type definitions for RMON2-MIB::nlHostEntry.
663  */
664
665 typedef struct nlHostEntry {
666     uint32_t  *nlHostTimeMark;
667     u_char    *nlHostAddress;
668     size_t    _nlHostAddressLength;
669     uint32_t  *nlHostInPkts;
670     uint32_t  *nlHostOutPkts;
671     uint32_t  *nlHostInOctets;
672     uint32_t  *nlHostOutOctets;
673     uint32_t  *nlHostOutMacNonUnicastPkts;
674     uint32_t  *nlHostCreateTime;
675     void      *_clientData;             /* pointer to client data structure */
676     struct nlHostEntry *_nextPtr;       /* pointer to next table entry */
677
678     /* private space to hold actual values */
679
680     uint32_t  __nlHostTimeMark;
681     u_char    __nlHostAddress[255];
682     uint32_t  __nlHostInPkts;
683     uint32_t  __nlHostOutPkts;
684     uint32_t  __nlHostInOctets;
685     uint32_t  __nlHostOutOctets;
686     uint32_t  __nlHostOutMacNonUnicastPkts;
687     uint32_t  __nlHostCreateTime;
688 } nlHostEntry_t;
689
690 /*
691  * C manager interface stubs for RMON2-MIB::nlHostEntry.
692  */
693
694 extern int
695 rmon2_mib_mgr_get_nlHostEntry(struct snmp_session *s, nlHostEntry_t **nlHostEntry);
696
697 /*
698  * C agent interface stubs for RMON2-MIB::nlHostEntry.
699  */
700
701 extern int
702 rmon2_mib_agt_read_nlHostEntry(nlHostEntry_t *nlHostEntry);
703 extern int
704 rmon2_mib_agt_register_nlHostEntry();
705
706 /*
707  * C type definitions for RMON2-MIB::hlMatrixControlEntry.
708  */
709
710 typedef struct hlMatrixControlEntry {
711     int32_t   *hlMatrixControlIndex;
712     uint32_t  *hlMatrixControlDataSource;
713     size_t    _hlMatrixControlDataSourceLength;
714     uint32_t  *hlMatrixControlNlDroppedFrames;
715     uint32_t  *hlMatrixControlNlInserts;
716     uint32_t  *hlMatrixControlNlDeletes;
717     int32_t   *hlMatrixControlNlMaxDesiredEntries;
718     uint32_t  *hlMatrixControlAlDroppedFrames;
719     uint32_t  *hlMatrixControlAlInserts;
720     uint32_t  *hlMatrixControlAlDeletes;
721     int32_t   *hlMatrixControlAlMaxDesiredEntries;
722     u_char    *hlMatrixControlOwner;
723     size_t    _hlMatrixControlOwnerLength;
724     int32_t   *hlMatrixControlStatus;
725     void      *_clientData;             /* pointer to client data structure */
726     struct hlMatrixControlEntry *_nextPtr;      /* pointer to next table entry */
727
728     /* private space to hold actual values */
729
730     int32_t   __hlMatrixControlIndex;
731     uint32_t  __hlMatrixControlDataSource[128];
732     uint32_t  __hlMatrixControlNlDroppedFrames;
733     uint32_t  __hlMatrixControlNlInserts;
734     uint32_t  __hlMatrixControlNlDeletes;
735     int32_t   __hlMatrixControlNlMaxDesiredEntries;
736     uint32_t  __hlMatrixControlAlDroppedFrames;
737     uint32_t  __hlMatrixControlAlInserts;
738     uint32_t  __hlMatrixControlAlDeletes;
739     int32_t   __hlMatrixControlAlMaxDesiredEntries;
740     u_char    __hlMatrixControlOwner[127];
741     int32_t   __hlMatrixControlStatus;
742 } hlMatrixControlEntry_t;
743
744 /*
745  * C manager interface stubs for RMON2-MIB::hlMatrixControlEntry.
746  */
747
748 extern int
749 rmon2_mib_mgr_get_hlMatrixControlEntry(struct snmp_session *s, hlMatrixControlEntry_t **hlMatrixControlEntry);
750
751 /*
752  * C agent interface stubs for RMON2-MIB::hlMatrixControlEntry.
753  */
754
755 extern int
756 rmon2_mib_agt_read_hlMatrixControlEntry(hlMatrixControlEntry_t *hlMatrixControlEntry);
757 extern int
758 rmon2_mib_agt_register_hlMatrixControlEntry();
759
760 /*
761  * C type definitions for RMON2-MIB::nlMatrixSDEntry.
762  */
763
764 typedef struct nlMatrixSDEntry {
765     uint32_t  *nlMatrixSDTimeMark;
766     u_char    *nlMatrixSDSourceAddress;
767     size_t    _nlMatrixSDSourceAddressLength;
768     u_char    *nlMatrixSDDestAddress;
769     size_t    _nlMatrixSDDestAddressLength;
770     uint32_t  *nlMatrixSDPkts;
771     uint32_t  *nlMatrixSDOctets;
772     uint32_t  *nlMatrixSDCreateTime;
773     void      *_clientData;             /* pointer to client data structure */
774     struct nlMatrixSDEntry *_nextPtr;   /* pointer to next table entry */
775
776     /* private space to hold actual values */
777
778     uint32_t  __nlMatrixSDTimeMark;
779     u_char    __nlMatrixSDSourceAddress[255];
780     u_char    __nlMatrixSDDestAddress[255];
781     uint32_t  __nlMatrixSDPkts;
782     uint32_t  __nlMatrixSDOctets;
783     uint32_t  __nlMatrixSDCreateTime;
784 } nlMatrixSDEntry_t;
785
786 /*
787  * C manager interface stubs for RMON2-MIB::nlMatrixSDEntry.
788  */
789
790 extern int
791 rmon2_mib_mgr_get_nlMatrixSDEntry(struct snmp_session *s, nlMatrixSDEntry_t **nlMatrixSDEntry);
792
793 /*
794  * C agent interface stubs for RMON2-MIB::nlMatrixSDEntry.
795  */
796
797 extern int
798 rmon2_mib_agt_read_nlMatrixSDEntry(nlMatrixSDEntry_t *nlMatrixSDEntry);
799 extern int
800 rmon2_mib_agt_register_nlMatrixSDEntry();
801
802 /*
803  * C type definitions for RMON2-MIB::nlMatrixDSEntry.
804  */
805
806 typedef struct nlMatrixDSEntry {
807     uint32_t  *nlMatrixDSTimeMark;
808     u_char    *nlMatrixDSSourceAddress;
809     size_t    _nlMatrixDSSourceAddressLength;
810     u_char    *nlMatrixDSDestAddress;
811     size_t    _nlMatrixDSDestAddressLength;
812     uint32_t  *nlMatrixDSPkts;
813     uint32_t  *nlMatrixDSOctets;
814     uint32_t  *nlMatrixDSCreateTime;
815     void      *_clientData;             /* pointer to client data structure */
816     struct nlMatrixDSEntry *_nextPtr;   /* pointer to next table entry */
817
818     /* private space to hold actual values */
819
820     uint32_t  __nlMatrixDSTimeMark;
821     u_char    __nlMatrixDSSourceAddress[255];
822     u_char    __nlMatrixDSDestAddress[255];
823     uint32_t  __nlMatrixDSPkts;
824     uint32_t  __nlMatrixDSOctets;
825     uint32_t  __nlMatrixDSCreateTime;
826 } nlMatrixDSEntry_t;
827
828 /*
829  * C manager interface stubs for RMON2-MIB::nlMatrixDSEntry.
830  */
831
832 extern int
833 rmon2_mib_mgr_get_nlMatrixDSEntry(struct snmp_session *s, nlMatrixDSEntry_t **nlMatrixDSEntry);
834
835 /*
836  * C agent interface stubs for RMON2-MIB::nlMatrixDSEntry.
837  */
838
839 extern int
840 rmon2_mib_agt_read_nlMatrixDSEntry(nlMatrixDSEntry_t *nlMatrixDSEntry);
841 extern int
842 rmon2_mib_agt_register_nlMatrixDSEntry();
843
844 /*
845  * C type definitions for RMON2-MIB::nlMatrixTopNControlEntry.
846  */
847
848 typedef struct nlMatrixTopNControlEntry {
849     int32_t   *nlMatrixTopNControlIndex;
850     int32_t   *nlMatrixTopNControlMatrixIndex;
851     int32_t   *nlMatrixTopNControlRateBase;
852     int32_t   *nlMatrixTopNControlTimeRemaining;
853     uint32_t  *nlMatrixTopNControlGeneratedReports;
854     int32_t   *nlMatrixTopNControlDuration;
855     int32_t   *nlMatrixTopNControlRequestedSize;
856     int32_t   *nlMatrixTopNControlGrantedSize;
857     uint32_t  *nlMatrixTopNControlStartTime;
858     u_char    *nlMatrixTopNControlOwner;
859     size_t    _nlMatrixTopNControlOwnerLength;
860     int32_t   *nlMatrixTopNControlStatus;
861     void      *_clientData;             /* pointer to client data structure */
862     struct nlMatrixTopNControlEntry *_nextPtr;  /* pointer to next table entry */
863
864     /* private space to hold actual values */
865
866     int32_t   __nlMatrixTopNControlIndex;
867     int32_t   __nlMatrixTopNControlMatrixIndex;
868     int32_t   __nlMatrixTopNControlRateBase;
869     int32_t   __nlMatrixTopNControlTimeRemaining;
870     uint32_t  __nlMatrixTopNControlGeneratedReports;
871     int32_t   __nlMatrixTopNControlDuration;
872     int32_t   __nlMatrixTopNControlRequestedSize;
873     int32_t   __nlMatrixTopNControlGrantedSize;
874     uint32_t  __nlMatrixTopNControlStartTime;
875     u_char    __nlMatrixTopNControlOwner[127];
876     int32_t   __nlMatrixTopNControlStatus;
877 } nlMatrixTopNControlEntry_t;
878
879 /*
880  * C manager interface stubs for RMON2-MIB::nlMatrixTopNControlEntry.
881  */
882
883 extern int
884 rmon2_mib_mgr_get_nlMatrixTopNControlEntry(struct snmp_session *s, nlMatrixTopNControlEntry_t **nlMatrixTopNControlEntry);
885
886 /*
887  * C agent interface stubs for RMON2-MIB::nlMatrixTopNControlEntry.
888  */
889
890 extern int
891 rmon2_mib_agt_read_nlMatrixTopNControlEntry(nlMatrixTopNControlEntry_t *nlMatrixTopNControlEntry);
892 extern int
893 rmon2_mib_agt_register_nlMatrixTopNControlEntry();
894
895 /*
896  * C type definitions for RMON2-MIB::nlMatrixTopNEntry.
897  */
898
899 typedef struct nlMatrixTopNEntry {
900     int32_t   *nlMatrixTopNIndex;
901     int32_t   *nlMatrixTopNProtocolDirLocalIndex;
902     u_char    *nlMatrixTopNSourceAddress;
903     size_t    _nlMatrixTopNSourceAddressLength;
904     u_char    *nlMatrixTopNDestAddress;
905     size_t    _nlMatrixTopNDestAddressLength;
906     uint32_t  *nlMatrixTopNPktRate;
907     uint32_t  *nlMatrixTopNReversePktRate;
908     uint32_t  *nlMatrixTopNOctetRate;
909     uint32_t  *nlMatrixTopNReverseOctetRate;
910     void      *_clientData;             /* pointer to client data structure */
911     struct nlMatrixTopNEntry *_nextPtr; /* pointer to next table entry */
912
913     /* private space to hold actual values */
914
915     int32_t   __nlMatrixTopNIndex;
916     int32_t   __nlMatrixTopNProtocolDirLocalIndex;
917     u_char    __nlMatrixTopNSourceAddress[255];
918     u_char    __nlMatrixTopNDestAddress[255];
919     uint32_t  __nlMatrixTopNPktRate;
920     uint32_t  __nlMatrixTopNReversePktRate;
921     uint32_t  __nlMatrixTopNOctetRate;
922     uint32_t  __nlMatrixTopNReverseOctetRate;
923 } nlMatrixTopNEntry_t;
924
925 /*
926  * C manager interface stubs for RMON2-MIB::nlMatrixTopNEntry.
927  */
928
929 extern int
930 rmon2_mib_mgr_get_nlMatrixTopNEntry(struct snmp_session *s, nlMatrixTopNEntry_t **nlMatrixTopNEntry);
931
932 /*
933  * C agent interface stubs for RMON2-MIB::nlMatrixTopNEntry.
934  */
935
936 extern int
937 rmon2_mib_agt_read_nlMatrixTopNEntry(nlMatrixTopNEntry_t *nlMatrixTopNEntry);
938 extern int
939 rmon2_mib_agt_register_nlMatrixTopNEntry();
940
941 /*
942  * C type definitions for RMON2-MIB::alHostEntry.
943  */
944
945 typedef struct alHostEntry {
946     uint32_t  *alHostTimeMark;
947     uint32_t  *alHostInPkts;
948     uint32_t  *alHostOutPkts;
949     uint32_t  *alHostInOctets;
950     uint32_t  *alHostOutOctets;
951     uint32_t  *alHostCreateTime;
952     void      *_clientData;             /* pointer to client data structure */
953     struct alHostEntry *_nextPtr;       /* pointer to next table entry */
954
955     /* private space to hold actual values */
956
957     uint32_t  __alHostTimeMark;
958     uint32_t  __alHostInPkts;
959     uint32_t  __alHostOutPkts;
960     uint32_t  __alHostInOctets;
961     uint32_t  __alHostOutOctets;
962     uint32_t  __alHostCreateTime;
963 } alHostEntry_t;
964
965 /*
966  * C manager interface stubs for RMON2-MIB::alHostEntry.
967  */
968
969 extern int
970 rmon2_mib_mgr_get_alHostEntry(struct snmp_session *s, alHostEntry_t **alHostEntry);
971
972 /*
973  * C agent interface stubs for RMON2-MIB::alHostEntry.
974  */
975
976 extern int
977 rmon2_mib_agt_read_alHostEntry(alHostEntry_t *alHostEntry);
978 extern int
979 rmon2_mib_agt_register_alHostEntry();
980
981 /*
982  * C type definitions for RMON2-MIB::alMatrixSDEntry.
983  */
984
985 typedef struct alMatrixSDEntry {
986     uint32_t  *alMatrixSDTimeMark;
987     uint32_t  *alMatrixSDPkts;
988     uint32_t  *alMatrixSDOctets;
989     uint32_t  *alMatrixSDCreateTime;
990     void      *_clientData;             /* pointer to client data structure */
991     struct alMatrixSDEntry *_nextPtr;   /* pointer to next table entry */
992
993     /* private space to hold actual values */
994
995     uint32_t  __alMatrixSDTimeMark;
996     uint32_t  __alMatrixSDPkts;
997     uint32_t  __alMatrixSDOctets;
998     uint32_t  __alMatrixSDCreateTime;
999 } alMatrixSDEntry_t;
1000
1001 /*
1002  * C manager interface stubs for RMON2-MIB::alMatrixSDEntry.
1003  */
1004
1005 extern int
1006 rmon2_mib_mgr_get_alMatrixSDEntry(struct snmp_session *s, alMatrixSDEntry_t **alMatrixSDEntry);
1007
1008 /*
1009  * C agent interface stubs for RMON2-MIB::alMatrixSDEntry.
1010  */
1011
1012 extern int
1013 rmon2_mib_agt_read_alMatrixSDEntry(alMatrixSDEntry_t *alMatrixSDEntry);
1014 extern int
1015 rmon2_mib_agt_register_alMatrixSDEntry();
1016
1017 /*
1018  * C type definitions for RMON2-MIB::alMatrixDSEntry.
1019  */
1020
1021 typedef struct alMatrixDSEntry {
1022     uint32_t  *alMatrixDSTimeMark;
1023     uint32_t  *alMatrixDSPkts;
1024     uint32_t  *alMatrixDSOctets;
1025     uint32_t  *alMatrixDSCreateTime;
1026     void      *_clientData;             /* pointer to client data structure */
1027     struct alMatrixDSEntry *_nextPtr;   /* pointer to next table entry */
1028
1029     /* private space to hold actual values */
1030
1031     uint32_t  __alMatrixDSTimeMark;
1032     uint32_t  __alMatrixDSPkts;
1033     uint32_t  __alMatrixDSOctets;
1034     uint32_t  __alMatrixDSCreateTime;
1035 } alMatrixDSEntry_t;
1036
1037 /*
1038  * C manager interface stubs for RMON2-MIB::alMatrixDSEntry.
1039  */
1040
1041 extern int
1042 rmon2_mib_mgr_get_alMatrixDSEntry(struct snmp_session *s, alMatrixDSEntry_t **alMatrixDSEntry);
1043
1044 /*
1045  * C agent interface stubs for RMON2-MIB::alMatrixDSEntry.
1046  */
1047
1048 extern int
1049 rmon2_mib_agt_read_alMatrixDSEntry(alMatrixDSEntry_t *alMatrixDSEntry);
1050 extern int
1051 rmon2_mib_agt_register_alMatrixDSEntry();
1052
1053 /*
1054  * C type definitions for RMON2-MIB::alMatrixTopNControlEntry.
1055  */
1056
1057 typedef struct alMatrixTopNControlEntry {
1058     int32_t   *alMatrixTopNControlIndex;
1059     int32_t   *alMatrixTopNControlMatrixIndex;
1060     int32_t   *alMatrixTopNControlRateBase;
1061     int32_t   *alMatrixTopNControlTimeRemaining;
1062     uint32_t  *alMatrixTopNControlGeneratedReports;
1063     int32_t   *alMatrixTopNControlDuration;
1064     int32_t   *alMatrixTopNControlRequestedSize;
1065     int32_t   *alMatrixTopNControlGrantedSize;
1066     uint32_t  *alMatrixTopNControlStartTime;
1067     u_char    *alMatrixTopNControlOwner;
1068     size_t    _alMatrixTopNControlOwnerLength;
1069     int32_t   *alMatrixTopNControlStatus;
1070     void      *_clientData;             /* pointer to client data structure */
1071     struct alMatrixTopNControlEntry *_nextPtr;  /* pointer to next table entry */
1072
1073     /* private space to hold actual values */
1074
1075     int32_t   __alMatrixTopNControlIndex;
1076     int32_t   __alMatrixTopNControlMatrixIndex;
1077     int32_t   __alMatrixTopNControlRateBase;
1078     int32_t   __alMatrixTopNControlTimeRemaining;
1079     uint32_t  __alMatrixTopNControlGeneratedReports;
1080     int32_t   __alMatrixTopNControlDuration;
1081     int32_t   __alMatrixTopNControlRequestedSize;
1082     int32_t   __alMatrixTopNControlGrantedSize;
1083     uint32_t  __alMatrixTopNControlStartTime;
1084     u_char    __alMatrixTopNControlOwner[127];
1085     int32_t   __alMatrixTopNControlStatus;
1086 } alMatrixTopNControlEntry_t;
1087
1088 /*
1089  * C manager interface stubs for RMON2-MIB::alMatrixTopNControlEntry.
1090  */
1091
1092 extern int
1093 rmon2_mib_mgr_get_alMatrixTopNControlEntry(struct snmp_session *s, alMatrixTopNControlEntry_t **alMatrixTopNControlEntry);
1094
1095 /*
1096  * C agent interface stubs for RMON2-MIB::alMatrixTopNControlEntry.
1097  */
1098
1099 extern int
1100 rmon2_mib_agt_read_alMatrixTopNControlEntry(alMatrixTopNControlEntry_t *alMatrixTopNControlEntry);
1101 extern int
1102 rmon2_mib_agt_register_alMatrixTopNControlEntry();
1103
1104 /*
1105  * C type definitions for RMON2-MIB::alMatrixTopNEntry.
1106  */
1107
1108 typedef struct alMatrixTopNEntry {
1109     int32_t   *alMatrixTopNIndex;
1110     int32_t   *alMatrixTopNProtocolDirLocalIndex;
1111     u_char    *alMatrixTopNSourceAddress;
1112     size_t    _alMatrixTopNSourceAddressLength;
1113     u_char    *alMatrixTopNDestAddress;
1114     size_t    _alMatrixTopNDestAddressLength;
1115     int32_t   *alMatrixTopNAppProtocolDirLocalIndex;
1116     uint32_t  *alMatrixTopNPktRate;
1117     uint32_t  *alMatrixTopNReversePktRate;
1118     uint32_t  *alMatrixTopNOctetRate;
1119     uint32_t  *alMatrixTopNReverseOctetRate;
1120     void      *_clientData;             /* pointer to client data structure */
1121     struct alMatrixTopNEntry *_nextPtr; /* pointer to next table entry */
1122
1123     /* private space to hold actual values */
1124
1125     int32_t   __alMatrixTopNIndex;
1126     int32_t   __alMatrixTopNProtocolDirLocalIndex;
1127     u_char    __alMatrixTopNSourceAddress[255];
1128     u_char    __alMatrixTopNDestAddress[255];
1129     int32_t   __alMatrixTopNAppProtocolDirLocalIndex;
1130     uint32_t  __alMatrixTopNPktRate;
1131     uint32_t  __alMatrixTopNReversePktRate;
1132     uint32_t  __alMatrixTopNOctetRate;
1133     uint32_t  __alMatrixTopNReverseOctetRate;
1134 } alMatrixTopNEntry_t;
1135
1136 /*
1137  * C manager interface stubs for RMON2-MIB::alMatrixTopNEntry.
1138  */
1139
1140 extern int
1141 rmon2_mib_mgr_get_alMatrixTopNEntry(struct snmp_session *s, alMatrixTopNEntry_t **alMatrixTopNEntry);
1142
1143 /*
1144  * C agent interface stubs for RMON2-MIB::alMatrixTopNEntry.
1145  */
1146
1147 extern int
1148 rmon2_mib_agt_read_alMatrixTopNEntry(alMatrixTopNEntry_t *alMatrixTopNEntry);
1149 extern int
1150 rmon2_mib_agt_register_alMatrixTopNEntry();
1151
1152 /*
1153  * C type definitions for RMON2-MIB::usrHistoryControlEntry.
1154  */
1155
1156 typedef struct usrHistoryControlEntry {
1157     int32_t   *usrHistoryControlIndex;
1158     int32_t   *usrHistoryControlObjects;
1159     int32_t   *usrHistoryControlBucketsRequested;
1160     int32_t   *usrHistoryControlBucketsGranted;
1161     int32_t   *usrHistoryControlInterval;
1162     u_char    *usrHistoryControlOwner;
1163     size_t    _usrHistoryControlOwnerLength;
1164     int32_t   *usrHistoryControlStatus;
1165     void      *_clientData;             /* pointer to client data structure */
1166     struct usrHistoryControlEntry *_nextPtr;    /* pointer to next table entry */
1167
1168     /* private space to hold actual values */
1169
1170     int32_t   __usrHistoryControlIndex;
1171     int32_t   __usrHistoryControlObjects;
1172     int32_t   __usrHistoryControlBucketsRequested;
1173     int32_t   __usrHistoryControlBucketsGranted;
1174     int32_t   __usrHistoryControlInterval;
1175     u_char    __usrHistoryControlOwner[127];
1176     int32_t   __usrHistoryControlStatus;
1177 } usrHistoryControlEntry_t;
1178
1179 /*
1180  * C manager interface stubs for RMON2-MIB::usrHistoryControlEntry.
1181  */
1182
1183 extern int
1184 rmon2_mib_mgr_get_usrHistoryControlEntry(struct snmp_session *s, usrHistoryControlEntry_t **usrHistoryControlEntry);
1185
1186 /*
1187  * C agent interface stubs for RMON2-MIB::usrHistoryControlEntry.
1188  */
1189
1190 extern int
1191 rmon2_mib_agt_read_usrHistoryControlEntry(usrHistoryControlEntry_t *usrHistoryControlEntry);
1192 extern int
1193 rmon2_mib_agt_register_usrHistoryControlEntry();
1194
1195 /*
1196  * C type definitions for RMON2-MIB::usrHistoryObjectEntry.
1197  */
1198
1199 typedef struct usrHistoryObjectEntry {
1200     int32_t   *usrHistoryObjectIndex;
1201     uint32_t  *usrHistoryObjectVariable;
1202     size_t    _usrHistoryObjectVariableLength;
1203     int32_t   *usrHistoryObjectSampleType;
1204     void      *_clientData;             /* pointer to client data structure */
1205     struct usrHistoryObjectEntry *_nextPtr;     /* pointer to next table entry */
1206
1207     /* private space to hold actual values */
1208
1209     int32_t   __usrHistoryObjectIndex;
1210     uint32_t  __usrHistoryObjectVariable[128];
1211     int32_t   __usrHistoryObjectSampleType;
1212 } usrHistoryObjectEntry_t;
1213
1214 /*
1215  * C manager interface stubs for RMON2-MIB::usrHistoryObjectEntry.
1216  */
1217
1218 extern int
1219 rmon2_mib_mgr_get_usrHistoryObjectEntry(struct snmp_session *s, usrHistoryObjectEntry_t **usrHistoryObjectEntry);
1220
1221 /*
1222  * C agent interface stubs for RMON2-MIB::usrHistoryObjectEntry.
1223  */
1224
1225 extern int
1226 rmon2_mib_agt_read_usrHistoryObjectEntry(usrHistoryObjectEntry_t *usrHistoryObjectEntry);
1227 extern int
1228 rmon2_mib_agt_register_usrHistoryObjectEntry();
1229
1230 /*
1231  * C type definitions for RMON2-MIB::usrHistoryEntry.
1232  */
1233
1234 typedef struct usrHistoryEntry {
1235     int32_t   *usrHistorySampleIndex;
1236     uint32_t  *usrHistoryIntervalStart;
1237     uint32_t  *usrHistoryIntervalEnd;
1238     uint32_t  *usrHistoryAbsValue;
1239     int32_t   *usrHistoryValStatus;
1240     void      *_clientData;             /* pointer to client data structure */
1241     struct usrHistoryEntry *_nextPtr;   /* pointer to next table entry */
1242
1243     /* private space to hold actual values */
1244
1245     int32_t   __usrHistorySampleIndex;
1246     uint32_t  __usrHistoryIntervalStart;
1247     uint32_t  __usrHistoryIntervalEnd;
1248     uint32_t  __usrHistoryAbsValue;
1249     int32_t   __usrHistoryValStatus;
1250 } usrHistoryEntry_t;
1251
1252 /*
1253  * C manager interface stubs for RMON2-MIB::usrHistoryEntry.
1254  */
1255
1256 extern int
1257 rmon2_mib_mgr_get_usrHistoryEntry(struct snmp_session *s, usrHistoryEntry_t **usrHistoryEntry);
1258
1259 /*
1260  * C agent interface stubs for RMON2-MIB::usrHistoryEntry.
1261  */
1262
1263 extern int
1264 rmon2_mib_agt_read_usrHistoryEntry(usrHistoryEntry_t *usrHistoryEntry);
1265 extern int
1266 rmon2_mib_agt_register_usrHistoryEntry();
1267
1268 /*
1269  * C type definitions for RMON2-MIB::probeConfig.
1270  */
1271
1272 typedef struct probeConfig {
1273     u_char    *probeCapabilities;
1274     size_t    _probeCapabilitiesLength;
1275     u_char    *probeSoftwareRev;
1276     size_t    _probeSoftwareRevLength;
1277     u_char    *probeHardwareRev;
1278     size_t    _probeHardwareRevLength;
1279     u_char    *probeDateTime;
1280     size_t    _probeDateTimeLength;
1281     int32_t   *probeResetControl;
1282     u_char    *probeDownloadFile;
1283     size_t    _probeDownloadFileLength;
1284     u_char    *probeDownloadTFTPServer;
1285     int32_t   *probeDownloadAction;
1286     int32_t   *probeDownloadStatus;
1287     u_char    *netDefaultGateway;
1288     void      *_clientData;             /* pointer to client data structure */
1289
1290     /* private space to hold actual values */
1291
1292     u_char    __probeCapabilities[4];
1293     u_char    __probeSoftwareRev[15];
1294     u_char    __probeHardwareRev[31];
1295     u_char    __probeDateTime[11];
1296     int32_t   __probeResetControl;
1297     u_char    __probeDownloadFile[127];
1298     u_char    __probeDownloadTFTPServer[4];
1299     int32_t   __probeDownloadAction;
1300     int32_t   __probeDownloadStatus;
1301     u_char    __netDefaultGateway[4];
1302 } probeConfig_t;
1303
1304 /*
1305  * C manager interface stubs for RMON2-MIB::probeConfig.
1306  */
1307
1308 extern int
1309 rmon2_mib_mgr_get_probeConfig(struct snmp_session *s, probeConfig_t **probeConfig);
1310
1311 /*
1312  * C agent interface stubs for RMON2-MIB::probeConfig.
1313  */
1314
1315 extern int
1316 rmon2_mib_agt_read_probeConfig(probeConfig_t *probeConfig);
1317 extern int
1318 rmon2_mib_agt_register_probeConfig();
1319
1320 /*
1321  * C type definitions for RMON2-MIB::serialConfigEntry.
1322  */
1323
1324 typedef struct serialConfigEntry {
1325     int32_t   *serialMode;
1326     int32_t   *serialProtocol;
1327     int32_t   *serialTimeout;
1328     u_char    *serialModemInitString;
1329     size_t    _serialModemInitStringLength;
1330     u_char    *serialModemHangUpString;
1331     size_t    _serialModemHangUpStringLength;
1332     u_char    *serialModemConnectResp;
1333     size_t    _serialModemConnectRespLength;
1334     u_char    *serialModemNoConnectResp;
1335     size_t    _serialModemNoConnectRespLength;
1336     int32_t   *serialDialoutTimeout;
1337     int32_t   *serialStatus;
1338     void      *_clientData;             /* pointer to client data structure */
1339     struct serialConfigEntry *_nextPtr; /* pointer to next table entry */
1340
1341     /* private space to hold actual values */
1342
1343     int32_t   __serialMode;
1344     int32_t   __serialProtocol;
1345     int32_t   __serialTimeout;
1346     u_char    __serialModemInitString[255];
1347     u_char    __serialModemHangUpString[255];
1348     u_char    __serialModemConnectResp[255];
1349     u_char    __serialModemNoConnectResp[255];
1350     int32_t   __serialDialoutTimeout;
1351     int32_t   __serialStatus;
1352 } serialConfigEntry_t;
1353
1354 /*
1355  * C manager interface stubs for RMON2-MIB::serialConfigEntry.
1356  */
1357
1358 extern int
1359 rmon2_mib_mgr_get_serialConfigEntry(struct snmp_session *s, serialConfigEntry_t **serialConfigEntry);
1360
1361 /*
1362  * C agent interface stubs for RMON2-MIB::serialConfigEntry.
1363  */
1364
1365 extern int
1366 rmon2_mib_agt_read_serialConfigEntry(serialConfigEntry_t *serialConfigEntry);
1367 extern int
1368 rmon2_mib_agt_register_serialConfigEntry();
1369
1370 /*
1371  * C type definitions for RMON2-MIB::netConfigEntry.
1372  */
1373
1374 typedef struct netConfigEntry {
1375     u_char    *netConfigIPAddress;
1376     u_char    *netConfigSubnetMask;
1377     int32_t   *netConfigStatus;
1378     void      *_clientData;             /* pointer to client data structure */
1379     struct netConfigEntry *_nextPtr;    /* pointer to next table entry */
1380
1381     /* private space to hold actual values */
1382
1383     u_char    __netConfigIPAddress[4];
1384     u_char    __netConfigSubnetMask[4];
1385     int32_t   __netConfigStatus;
1386 } netConfigEntry_t;
1387
1388 /*
1389  * C manager interface stubs for RMON2-MIB::netConfigEntry.
1390  */
1391
1392 extern int
1393 rmon2_mib_mgr_get_netConfigEntry(struct snmp_session *s, netConfigEntry_t **netConfigEntry);
1394
1395 /*
1396  * C agent interface stubs for RMON2-MIB::netConfigEntry.
1397  */
1398
1399 extern int
1400 rmon2_mib_agt_read_netConfigEntry(netConfigEntry_t *netConfigEntry);
1401 extern int
1402 rmon2_mib_agt_register_netConfigEntry();
1403
1404 /*
1405  * C type definitions for RMON2-MIB::trapDestEntry.
1406  */
1407
1408 typedef struct trapDestEntry {
1409     int32_t   *trapDestIndex;
1410     u_char    *trapDestCommunity;
1411     size_t    _trapDestCommunityLength;
1412     int32_t   *trapDestProtocol;
1413     u_char    *trapDestAddress;
1414     size_t    _trapDestAddressLength;
1415     u_char    *trapDestOwner;
1416     size_t    _trapDestOwnerLength;
1417     int32_t   *trapDestStatus;
1418     void      *_clientData;             /* pointer to client data structure */
1419     struct trapDestEntry *_nextPtr;     /* pointer to next table entry */
1420
1421     /* private space to hold actual values */
1422
1423     int32_t   __trapDestIndex;
1424     u_char    __trapDestCommunity[127];
1425     int32_t   __trapDestProtocol;
1426     u_char    __trapDestAddress[65535];
1427     u_char    __trapDestOwner[127];
1428     int32_t   __trapDestStatus;
1429 } trapDestEntry_t;
1430
1431 /*
1432  * C manager interface stubs for RMON2-MIB::trapDestEntry.
1433  */
1434
1435 extern int
1436 rmon2_mib_mgr_get_trapDestEntry(struct snmp_session *s, trapDestEntry_t **trapDestEntry);
1437
1438 /*
1439  * C agent interface stubs for RMON2-MIB::trapDestEntry.
1440  */
1441
1442 extern int
1443 rmon2_mib_agt_read_trapDestEntry(trapDestEntry_t *trapDestEntry);
1444 extern int
1445 rmon2_mib_agt_register_trapDestEntry();
1446
1447 /*
1448  * C type definitions for RMON2-MIB::serialConnectionEntry.
1449  */
1450
1451 typedef struct serialConnectionEntry {
1452     int32_t   *serialConnectIndex;
1453     u_char    *serialConnectDestIpAddress;
1454     int32_t   *serialConnectType;
1455     u_char    *serialConnectDialString;
1456     size_t    _serialConnectDialStringLength;
1457     u_char    *serialConnectSwitchConnectSeq;
1458     size_t    _serialConnectSwitchConnectSeqLength;
1459     u_char    *serialConnectSwitchDisconnectSeq;
1460     size_t    _serialConnectSwitchDisconnectSeqLength;
1461     u_char    *serialConnectSwitchResetSeq;
1462     size_t    _serialConnectSwitchResetSeqLength;
1463     u_char    *serialConnectOwner;
1464     size_t    _serialConnectOwnerLength;
1465     int32_t   *serialConnectStatus;
1466     void      *_clientData;             /* pointer to client data structure */
1467     struct serialConnectionEntry *_nextPtr;     /* pointer to next table entry */
1468
1469     /* private space to hold actual values */
1470
1471     int32_t   __serialConnectIndex;
1472     u_char    __serialConnectDestIpAddress[4];
1473     int32_t   __serialConnectType;
1474     u_char    __serialConnectDialString[255];
1475     u_char    __serialConnectSwitchConnectSeq[255];
1476     u_char    __serialConnectSwitchDisconnectSeq[255];
1477     u_char    __serialConnectSwitchResetSeq[255];
1478     u_char    __serialConnectOwner[127];
1479     int32_t   __serialConnectStatus;
1480 } serialConnectionEntry_t;
1481
1482 /*
1483  * C manager interface stubs for RMON2-MIB::serialConnectionEntry.
1484  */
1485
1486 extern int
1487 rmon2_mib_mgr_get_serialConnectionEntry(struct snmp_session *s, serialConnectionEntry_t **serialConnectionEntry);
1488
1489 /*
1490  * C agent interface stubs for RMON2-MIB::serialConnectionEntry.
1491  */
1492
1493 extern int
1494 rmon2_mib_agt_read_serialConnectionEntry(serialConnectionEntry_t *serialConnectionEntry);
1495 extern int
1496 rmon2_mib_agt_register_serialConnectionEntry();
1497
1498
1499 typedef struct rmon2_mib {
1500     etherStats2Entry_t  *etherStats2Entry;
1501     tokenRingMLStats2Entry_t    *tokenRingMLStats2Entry;
1502     tokenRingPStats2Entry_t     *tokenRingPStats2Entry;
1503     historyControl2Entry_t      *historyControl2Entry;
1504     hostControl2Entry_t *hostControl2Entry;
1505     matrixControl2Entry_t       *matrixControl2Entry;
1506     channel2Entry_t     *channel2Entry;
1507     filter2Entry_t      *filter2Entry;
1508     ringStationControl2Entry_t  *ringStationControl2Entry;
1509     sourceRoutingStats2Entry_t  *sourceRoutingStats2Entry;
1510     protocolDir_t       protocolDir;
1511     protocolDirEntry_t  *protocolDirEntry;
1512     protocolDistControlEntry_t  *protocolDistControlEntry;
1513     protocolDistStatsEntry_t    *protocolDistStatsEntry;
1514     addressMap_t        addressMap;
1515     addressMapControlEntry_t    *addressMapControlEntry;
1516     addressMapEntry_t   *addressMapEntry;
1517     hlHostControlEntry_t        *hlHostControlEntry;
1518     nlHostEntry_t       *nlHostEntry;
1519     hlMatrixControlEntry_t      *hlMatrixControlEntry;
1520     nlMatrixSDEntry_t   *nlMatrixSDEntry;
1521     nlMatrixDSEntry_t   *nlMatrixDSEntry;
1522     nlMatrixTopNControlEntry_t  *nlMatrixTopNControlEntry;
1523     nlMatrixTopNEntry_t *nlMatrixTopNEntry;
1524     alHostEntry_t       *alHostEntry;
1525     alMatrixSDEntry_t   *alMatrixSDEntry;
1526     alMatrixDSEntry_t   *alMatrixDSEntry;
1527     alMatrixTopNControlEntry_t  *alMatrixTopNControlEntry;
1528     alMatrixTopNEntry_t *alMatrixTopNEntry;
1529     usrHistoryControlEntry_t    *usrHistoryControlEntry;
1530     usrHistoryObjectEntry_t     *usrHistoryObjectEntry;
1531     usrHistoryEntry_t   *usrHistoryEntry;
1532     probeConfig_t       probeConfig;
1533     serialConfigEntry_t *serialConfigEntry;
1534     netConfigEntry_t    *netConfigEntry;
1535     trapDestEntry_t     *trapDestEntry;
1536     serialConnectionEntry_t     *serialConnectionEntry;
1537 } rmon2_mib_t;
1538
1539 /*
1540  * Initialization function:
1541  */
1542
1543 void rmon2_mib_agt_init(void);
1544
1545 #endif /* _RMON2_MIB_H_ */