Debian Codegraph @

agent/mibgroup/udp-mib/udpEndpointTable/udpEndpointTable_constants.h

raw
1 /*
2 * Note: this file originally auto-generated by mib2c using
3 * : generic-table-constants.m2c,v 1.5 2005/07/15 22:41:16 rstory Exp $
4 *
5 * $Id$
6 */
7 #ifndef UDPENDPOINTTABLE_CONSTANTS_H
8 #define UDPENDPOINTTABLE_CONSTANTS_H
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14
15 /*
16 * column number definitions for table udpEndpointTable
17 */
18 #define UDPENDPOINTTABLE_OID 1,3,6,1,2,1,7,7
19
20 #define COLUMN_UDPENDPOINTLOCALADDRESSTYPE 1
21
22 #define COLUMN_UDPENDPOINTLOCALADDRESS 2
23
24 #define COLUMN_UDPENDPOINTLOCALPORT 3
25
26 #define COLUMN_UDPENDPOINTREMOTEADDRESSTYPE 4
27
28 #define COLUMN_UDPENDPOINTREMOTEADDRESS 5
29
30 #define COLUMN_UDPENDPOINTREMOTEPORT 6
31
32 #define COLUMN_UDPENDPOINTINSTANCE 7
33
34 #define COLUMN_UDPENDPOINTPROCESS 8
35
36
37 #define UDPENDPOINTTABLE_MIN_COL COLUMN_UDPENDPOINTPROCESS
38 #define UDPENDPOINTTABLE_MAX_COL COLUMN_UDPENDPOINTPROCESS
39
40
41 /*
42 * NOTES on enums
43 * ==============
44 *
45 * Value Mapping
46 * -------------
47 * If the values for your data type don't exactly match the
48 * possible values defined by the mib, you should map them
49 * below. For example, a boolean flag (1/0) is usually represented
50 * as a TruthValue in a MIB, which maps to the values (1/2).
51 *
52 */
53 /*************************************************************************
54 *************************************************************************
55 *
56 * enum definitions for table udpEndpointTable
57 *
58 *************************************************************************
59 *************************************************************************/
60
61 /*************************************************************
62 * constants for enums for the MIB node
63 * udpEndpointLocalAddressType (InetAddressType / ASN_INTEGER)
64 *
65 * since a Textual Convention may be referenced more than once in a
66 * MIB, protect againt redefinitions of the enum values.
67 */
68 #ifndef INETADDRESSTYPE_ENUMS
69 #define INETADDRESSTYPE_ENUMS
70
71 #define INETADDRESSTYPE_UNKNOWN 0
72 #define INETADDRESSTYPE_IPV4 1
73 #define INETADDRESSTYPE_IPV6 2
74 #define INETADDRESSTYPE_IPV4Z 3
75 #define INETADDRESSTYPE_IPV6Z 4
76 #define INETADDRESSTYPE_DNS 16
77
78 #endif /* INETADDRESSTYPE_ENUMS */
79
80
81
82 #ifdef __cplusplus
83 }
84 #endif
85 #endif /* UDPENDPOINTTABLE_OIDS_H */