Debian Codegraph @

agent/mibgroup/etherlike-mib/dot3StatsTable/dot3StatsTable_enums.h

raw
1 /*
2 * Note: this file originally auto-generated by mib2c using
3 * : generic-table-enums.m2c 12526 2005-07-15 22:41:16Z rstory $
4 *
5 * $Id:$
6 */
7 #ifndef DOT3STATSTABLE_ENUMS_H
8 #define DOT3STATSTABLE_ENUMS_H
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 /*
15 * NOTES on enums
16 * ==============
17 *
18 * Value Mapping
19 * -------------
20 * If the values for your data type don't exactly match the
21 * possible values defined by the mib, you should map them
22 * below. For example, a boolean flag (1/0) is usually represented
23 * as a TruthValue in a MIB, which maps to the values (1/2).
24 *
25 */
26 /*************************************************************************
27 *************************************************************************
28 *
29 * enum definitions for table dot3StatsTable
30 *
31 *************************************************************************
32 *************************************************************************/
33
34 /*************************************************************
35 * constants for enums for the MIB node
36 * dot3StatsDuplexStatus (INTEGER / ASN_INTEGER)
37 *
38 * since a Textual Convention may be referenced more than once in a
39 * MIB, protect againt redefinitions of the enum values.
40 */
41 #ifndef DOT3STATSDUPLEXSTATUS_ENUMS
42 #define DOT3STATSDUPLEXSTATUS_ENUMS
43
44 #define DOT3STATSDUPLEXSTATUS_UNKNOWN 1
45 #define DOT3STATSDUPLEXSTATUS_HALFDUPLEX 2
46 #define DOT3STATSDUPLEXSTATUS_FULLDUPLEX 3
47
48 #endif /* DOT3STATSDUPLEXSTATUS_ENUMS */
49
50
51 /*************************************************************
52 * constants for enums for the MIB node
53 * dot3StatsRateControlAbility (TruthValue / ASN_INTEGER)
54 *
55 * since a Textual Convention may be referenced more than once in a
56 * MIB, protect againt redefinitions of the enum values.
57 */
58 #ifndef TRUTHVALUE_ENUMS
59 #define TRUTHVALUE_ENUMS
60
61 #define TRUTHVALUE_TRUE 1
62 #define TRUTHVALUE_FALSE 2
63
64 #endif /* TRUTHVALUE_ENUMS */
65
66
67 /*************************************************************
68 * constants for enums for the MIB node
69 * dot3StatsRateControlStatus (INTEGER / ASN_INTEGER)
70 *
71 * since a Textual Convention may be referenced more than once in a
72 * MIB, protect againt redefinitions of the enum values.
73 */
74 #ifndef DOT3STATSRATECONTROLSTATUS_ENUMS
75 #define DOT3STATSRATECONTROLSTATUS_ENUMS
76
77 #define DOT3STATSRATECONTROLSTATUS_RATECONTROLOFF 1
78 #define DOT3STATSRATECONTROLSTATUS_RATECONTROLON 2
79 #define DOT3STATSRATECONTROLSTATUS_UNKNOWN 3
80
81 #endif /* DOT3STATSRATECONTROLSTATUS_ENUMS */
82
83
84
85
86 #ifdef __cplusplus
87 }
88 #endif
89 #endif /* DOT3STATSTABLE_ENUMS_H */