Debian Codegraph @

agent/mibgroup/rmon-mib/etherStatsTable/etherStatsTable_oids.h

raw
1 /*
2 * Note: this file originally auto-generated by mib2c using
3 * : generic-table-oids.m2c 12855 2005-09-27 15:56:08Z rstory $
4 *
5 * $Id:$
6 */
7 #ifndef ETHERSTATSTABLE_OIDS_H
8 #define ETHERSTATSTABLE_OIDS_H
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14
15 /*
16 * column number definitions for table etherStatsTable
17 */
18 #define ETHERSTATSTABLE_OID 1,3,6,1,2,1,16,1,1
19
20 #define COLUMN_ETHERSTATSINDEX 1
21 #define COLUMN_ETHERSTATSINDEX_FLAG (0x1 << 0)
22
23 #define COLUMN_ETHERSTATSDATASOURCE 2
24 #define COLUMN_ETHERSTATSDATASOURCE_FLAG (0x1 << 1)
25
26 #define COLUMN_ETHERSTATSDROPEVENTS 3
27 #define COLUMN_ETHERSTATSDROPEVENTS_FLAG (0x1 << 2)
28
29 #define COLUMN_ETHERSTATSOCTETS 4
30 #define COLUMN_ETHERSTATSOCTETS_FLAG (0x1 << 3)
31
32 #define COLUMN_ETHERSTATSPKTS 5
33 #define COLUMN_ETHERSTATSPKTS_FLAG (0x1 << 4)
34
35 #define COLUMN_ETHERSTATSBROADCASTPKTS 6
36 #define COLUMN_ETHERSTATSBROADCASTPKTS_FLAG (0x1 << 5)
37
38 #define COLUMN_ETHERSTATSMULTICASTPKTS 7
39 #define COLUMN_ETHERSTATSMULTICASTPKTS_FLAG (0x1 << 6)
40
41 #define COLUMN_ETHERSTATSCRCALIGNERRORS 8
42 #define COLUMN_ETHERSTATSCRCALIGNERRORS_FLAG (0x1 << 7)
43
44 #define COLUMN_ETHERSTATSUNDERSIZEPKTS 9
45 #define COLUMN_ETHERSTATSUNDERSIZEPKTS_FLAG (0x1 << 8)
46
47 #define COLUMN_ETHERSTATSOVERSIZEPKTS 10
48 #define COLUMN_ETHERSTATSOVERSIZEPKTS_FLAG (0x1 << 9)
49
50 #define COLUMN_ETHERSTATSFRAGMENTS 11
51 #define COLUMN_ETHERSTATSFRAGMENTS_FLAG (0x1 << 10)
52
53 #define COLUMN_ETHERSTATSJABBERS 12
54 #define COLUMN_ETHERSTATSJABBERS_FLAG (0x1 << 11)
55
56 #define COLUMN_ETHERSTATSCOLLISIONS 13
57 #define COLUMN_ETHERSTATSCOLLISIONS_FLAG (0x1 << 12)
58
59 #define COLUMN_ETHERSTATSPKTS64OCTETS 14
60 #define COLUMN_ETHERSTATSPKTS64OCTETS_FLAG (0x1 << 13)
61
62 #define COLUMN_ETHERSTATSPKTS65TO127OCTETS 15
63 #define COLUMN_ETHERSTATSPKTS65TO127OCTETS_FLAG (0x1 << 14)
64
65 #define COLUMN_ETHERSTATSPKTS128TO255OCTETS 16
66 #define COLUMN_ETHERSTATSPKTS128TO255OCTETS_FLAG (0x1 << 15)
67
68 #define COLUMN_ETHERSTATSPKTS256TO511OCTETS 17
69 #define COLUMN_ETHERSTATSPKTS256TO511OCTETS_FLAG (0x1 << 16)
70
71 #define COLUMN_ETHERSTATSPKTS512TO1023OCTETS 18
72 #define COLUMN_ETHERSTATSPKTS512TO1023OCTETS_FLAG (0x1 << 17)
73
74 #define COLUMN_ETHERSTATSPKTS1024TO1518OCTETS 19
75 #define COLUMN_ETHERSTATSPKTS1024TO1518OCTETS_FLAG (0x1 << 18)
76
77 #define COLUMN_ETHERSTATSOWNER 20
78 #define COLUMN_ETHERSTATSOWNER_FLAG (0x1 << 19)
79
80 #define COLUMN_ETHERSTATSSTATUS 21
81 #define COLUMN_ETHERSTATSSTATUS_FLAG (0x1 << 20)
82
83
84 #define ETHERSTATSTABLE_MIN_COL COLUMN_ETHERSTATSINDEX
85 #define ETHERSTATSTABLE_MAX_COL COLUMN_ETHERSTATSSTATUS
86
87
88 /*
89 * TODO:405:r: Review ETHERSTATSTABLE_SETTABLE_COLS macro.
90 * OR together all the writable cols.
91 */
92 #define ETHERSTATSTABLE_SETTABLE_COLS (COLUMN_ETHERSTATSINDEX_FLAG | COLUMN_ETHERSTATSDATASOURCE_FLAG | COLUMN_ETHERSTATSDROPEVENTS_FLAG | COLUMN_ETHERSTATSOCTETS_FLAG | COLUMN_ETHERSTATSPKTS_FLAG | COLUMN_ETHERSTATSBROADCASTPKTS_FLAG | COLUMN_ETHERSTATSMULTICASTPKTS_FLAG | COLUMN_ETHERSTATSCRCALIGNERRORS_FLAG | COLUMN_ETHERSTATSUNDERSIZEPKTS_FLAG | COLUMN_ETHERSTATSOVERSIZEPKTS_FLAG | COLUMN_ETHERSTATSFRAGMENTS_FLAG | COLUMN_ETHERSTATSJABBERS_FLAG | COLUMN_ETHERSTATSCOLLISIONS_FLAG | COLUMN_ETHERSTATSPKTS64OCTETS_FLAG | COLUMN_ETHERSTATSPKTS65TO127OCTETS_FLAG | COLUMN_ETHERSTATSPKTS128TO255OCTETS_FLAG | COLUMN_ETHERSTATSPKTS256TO511OCTETS_FLAG | COLUMN_ETHERSTATSPKTS512TO1023OCTETS_FLAG | COLUMN_ETHERSTATSPKTS1024TO1518OCTETS_FLAG | COLUMN_ETHERSTATSOWNER_FLAG | COLUMN_ETHERSTATSSTATUS_FLAG)
93 /*
94 * TODO:405:r: Review ETHERSTATSTABLE_REQUIRED_COLS macro.
95 * OR together all the required rows for row creation.
96 * default is writable cols w/out defaults.
97 */
98 #define ETHERSTATSTABLE_REQUIRED_COLS (COLUMN_ETHERSTATSDATASOURCE_FLAG | COLUMN_ETHERSTATSOWNER_FLAG | COLUMN_ETHERSTATSSTATUS_FLAG)
99
100 #define ETHERSTATSTABLE_VALID_COL COLUMN_ETHERSTATSJABBERS_FLAG
101
102
103
104 #ifdef __cplusplus
105 }
106 #endif
107 #endif /* ETHERSTATSTABLE_OIDS_H */