Debian Codegraph @

agent/mibgroup/ip-mib/ipIfStatsTable/ipIfStatsTable_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 IPIFSTATSTABLE_ENUMS_H
8 #define IPIFSTATSTABLE_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 ipIfStatsTable
30 *
31 *************************************************************************
32 *************************************************************************/
33
34 /*************************************************************
35 * constants for enums for the MIB node
36 * ipIfStatsIPVersion (InetVersion / 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 INETVERSION_ENUMS
42 #define INETVERSION_ENUMS
43
44 #define INETVERSION_UNKNOWN 0
45 #define INETVERSION_IPV4 1
46 #define INETVERSION_IPV6 2
47
48 #endif /* INETVERSION_ENUMS */
49
50
51
52
53 #ifdef __cplusplus
54 }
55 #endif
56 #endif /* IPIFSTATSTABLE_ENUMS_H */