Debian Codegraph @

agent/mibgroup/ip-mib/ipDefaultRouterTable/ipDefaultRouterTable_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 IPDEFAULTROUTERTABLE_ENUMS_H
8 #define IPDEFAULTROUTERTABLE_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 ipDefaultRouterTable
30 *
31 *************************************************************************
32 *************************************************************************/
33
34 /*************************************************************
35 * constants for enums for the MIB node
36 * ipDefaultRouterLifetime (UNSIGNED32 / ASN_UNSIGNED)
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 IPDEFAULTROUTERLIFETIME_ENUMS
42 #define IPDEFAULTROUTERLIFETIME_ENUMS
43
44 #define IPDEFAULTROUTERLIFETIME_MIN 0
45 #define IPDEFAULTROUTERLIFETIME_MAX 0xFFFFUL
46
47 #endif /* IPDEFAULTROUTERLIFETIME_ENUMS */
48
49
50 /*************************************************************
51 * constants for enums for the MIB node
52 * ipDefaultRouterAddressType (InetAddressType / ASN_INTEGER)
53 *
54 * since a Textual Convention may be referenced more than once in a
55 * MIB, protect againt redefinitions of the enum values.
56 */
57 #ifndef INETADDRESSTYPE_ENUMS
58 #define INETADDRESSTYPE_ENUMS
59
60 #define INETADDRESSTYPE_UNKNOWN 0
61 #define INETADDRESSTYPE_IPV4 1
62 #define INETADDRESSTYPE_IPV6 2
63 #define INETADDRESSTYPE_IPV4Z 3
64 #define INETADDRESSTYPE_IPV6Z 4
65 #define INETADDRESSTYPE_DNS 16
66
67 #endif /* INETADDRESSTYPE_ENUMS */
68
69
70 /*************************************************************
71 * constants for enums for the MIB node
72 * ipDefaultRouterPreference (INTEGER / ASN_INTEGER)
73 *
74 * since a Textual Convention may be referenced more than once in a
75 * MIB, protect againt redefinitions of the enum values.
76 */
77 #ifndef IPDEFAULTROUTERPREFERENCE_ENUMS
78 #define IPDEFAULTROUTERPREFERENCE_ENUMS
79
80 #define IPDEFAULTROUTERPREFERENCE_RESERVED -2
81 #define IPDEFAULTROUTERPREFERENCE_LOW -1
82 #define IPDEFAULTROUTERPREFERENCE_MEDIUM 0
83 #define IPDEFAULTROUTERPREFERENCE_HIGH 1
84
85 #endif /* IPDEFAULTROUTERPREFERENCE_ENUMS */
86
87
88
89
90 #ifdef __cplusplus
91 }
92 #endif
93 #endif /* IPDEFAULTROUTERTABLE_ENUMS_H */