summaryrefslogtreecommitdiff
path: root/agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_data_get.h
blob: 5775212261caf2404eb45825c8fe28bccc45f713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
/*
 * Note: this file originally auto-generated by mib2c using
 *       version : 12088 $ of $
 *
 * $Id:$
 *
 * @file etherStatsTable_data_get.h
 *
 * @addtogroup get
 *
 * Prototypes for get functions
 *
 * @{
 */
#ifndef ETHERSTATSTABLE_DATA_GET_H
#define ETHERSTATSTABLE_DATA_GET_H

#ifdef __cplusplus
extern          "C" {
#endif

    /*
     *********************************************************************
     * GET function declarations
     */

    /*
     *********************************************************************
     * GET Table declarations
     */
/**********************************************************************
 **********************************************************************
 ***
 *** Table etherStatsTable
 ***
 **********************************************************************
 **********************************************************************/
    /*
     * RMON-MIB::etherStatsTable is subid 1 of statistics.
     * Its status is Current.
     * OID: .1.3.6.1.2.1.16.1.1, length: 9
     */
    /*
     * indexes
     */

    int             etherStatsDataSource_get(etherStatsTable_rowreq_ctx *
                                             rowreq_ctx,
                                             oid **
                                             etherStatsDataSource_val_ptr_ptr,
                                             size_t
                                             *etherStatsDataSource_val_ptr_len_ptr);
    int             etherStatsDropEvents_get(etherStatsTable_rowreq_ctx *
                                             rowreq_ctx,
                                             u_long *
                                             etherStatsDropEvents_val_ptr);
    int             etherStatsOctets_get(etherStatsTable_rowreq_ctx *
                                         rowreq_ctx,
                                         u_long *
                                         etherStatsOctets_val_ptr);
    int             etherStatsPkts_get(etherStatsTable_rowreq_ctx *
                                       rowreq_ctx,
                                       u_long * etherStatsPkts_val_ptr);
    int             etherStatsBroadcastPkts_get(etherStatsTable_rowreq_ctx
                                                * rowreq_ctx,
                                                u_long *
                                                etherStatsBroadcastPkts_val_ptr);
    int             etherStatsMulticastPkts_get(etherStatsTable_rowreq_ctx
                                                * rowreq_ctx,
                                                u_long *
                                                etherStatsMulticastPkts_val_ptr);
    int             etherStatsCRCAlignErrors_get(etherStatsTable_rowreq_ctx
                                                 * rowreq_ctx,
                                                 u_long *
                                                 etherStatsCRCAlignErrors_val_ptr);
    int             etherStatsUndersizePkts_get(etherStatsTable_rowreq_ctx
                                                * rowreq_ctx,
                                                u_long *
                                                etherStatsUndersizePkts_val_ptr);
    int             etherStatsOversizePkts_get(etherStatsTable_rowreq_ctx *
                                               rowreq_ctx,
                                               u_long *
                                               etherStatsOversizePkts_val_ptr);
    int             etherStatsFragments_get(etherStatsTable_rowreq_ctx *
                                            rowreq_ctx,
                                            u_long *
                                            etherStatsFragments_val_ptr);
    int             etherStatsJabbers_get(etherStatsTable_rowreq_ctx *
                                          rowreq_ctx,
                                          u_long *
                                          etherStatsJabbers_val_ptr);
    int             etherStatsCollisions_get(etherStatsTable_rowreq_ctx *
                                             rowreq_ctx,
                                             u_long *
                                             etherStatsCollisions_val_ptr);
    int             etherStatsPkts64Octets_get(etherStatsTable_rowreq_ctx *
                                               rowreq_ctx,
                                               u_long *
                                               etherStatsPkts64Octets_val_ptr);
    int            
        etherStatsPkts65to127Octets_get(etherStatsTable_rowreq_ctx *
                                        rowreq_ctx,
                                        u_long *
                                        etherStatsPkts65to127Octets_val_ptr);
    int            
        etherStatsPkts128to255Octets_get(etherStatsTable_rowreq_ctx *
                                         rowreq_ctx,
                                         u_long *
                                         etherStatsPkts128to255Octets_val_ptr);
    int            
        etherStatsPkts256to511Octets_get(etherStatsTable_rowreq_ctx *
                                         rowreq_ctx,
                                         u_long *
                                         etherStatsPkts256to511Octets_val_ptr);
    int            
        etherStatsPkts512to1023Octets_get(etherStatsTable_rowreq_ctx *
                                          rowreq_ctx,
                                          u_long *
                                          etherStatsPkts512to1023Octets_val_ptr);
    int            
        etherStatsPkts1024to1518Octets_get(etherStatsTable_rowreq_ctx *
                                           rowreq_ctx,
                                           u_long *
                                           etherStatsPkts1024to1518Octets_val_ptr);
    int             etherStatsOwner_get(etherStatsTable_rowreq_ctx *
                                        rowreq_ctx,
                                        char **etherStatsOwner_val_ptr_ptr,
                                        size_t
                                        *etherStatsOwner_val_ptr_len_ptr);
    int             etherStatsStatus_get(etherStatsTable_rowreq_ctx *
                                         rowreq_ctx,
                                         u_long *
                                         etherStatsStatus_val_ptr);


    int            
        etherStatsTable_indexes_set_tbl_idx(etherStatsTable_mib_index *
                                            tbl_idx,
                                            long etherStatsIndex_val);
    int             etherStatsTable_indexes_set(etherStatsTable_rowreq_ctx
                                                * rowreq_ctx,
                                                long etherStatsIndex_val);




#ifdef __cplusplus
}
#endif
#endif                          /* ETHERSTATSTABLE_DATA_GET_H */
/** @} */