summaryrefslogtreecommitdiff
path: root/agent/mibgroup/tcp-mib/tcpListenerTable/tcpListenerTable_constants.h
blob: fd9939ede16a5f9d350722b96e42d497bc9d59c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
 * Note: this file originally auto-generated by mib2c using
 *  : generic-table-constants.m2c,v 1.5 2005/07/15 22:41:16 rstory Exp $
 *
 * $Id: tcpListenerTable_constants.h 13787 2005-12-02 18:05:59Z rstory $
 */
#ifndef TCPLISTENERTABLE_CONSTANTS_H
#define TCPLISTENERTABLE_CONSTANTS_H

#ifdef __cplusplus
extern          "C" {
#endif


    /*
     * column number definitions for table tcpListenerTable 
     */
#define TCPLISTENERTABLE_OID              1,3,6,1,2,1,6,20

#define COLUMN_TCPLISTENERLOCALADDRESSTYPE         1

#define COLUMN_TCPLISTENERLOCALADDRESS         2

#define COLUMN_TCPLISTENERLOCALPORT         3

#define COLUMN_TCPLISTENERPROCESS         4


#define TCPLISTENERTABLE_MIN_COL   COLUMN_TCPLISTENERPROCESS
#define TCPLISTENERTABLE_MAX_COL   COLUMN_TCPLISTENERPROCESS


    /*
     * NOTES on enums
     * ==============
     *
     * Value Mapping
     * -------------
     * If the values for your data type don't exactly match the
     * possible values defined by the mib, you should map them
     * below. For example, a boolean flag (1/0) is usually represented
     * as a TruthValue in a MIB, which maps to the values (1/2).
     *
     */
/*************************************************************************
 *************************************************************************
 *
 * enum definitions for table tcpListenerTable
 *
 *************************************************************************
 *************************************************************************/

/*************************************************************
 * constants for enums for the MIB node
 * tcpListenerLocalAddressType (InetAddressType / ASN_INTEGER)
 *
 * since a Textual Convention may be referenced more than once in a
 * MIB, protect againt redefinitions of the enum values.
 */
#ifndef INETADDRESSTYPE_ENUMS
#define INETADDRESSTYPE_ENUMS

#define INETADDRESSTYPE_UNKNOWN  0
#define INETADDRESSTYPE_IPV4  1
#define INETADDRESSTYPE_IPV6  2
#define INETADDRESSTYPE_IPV4Z  3
#define INETADDRESSTYPE_IPV6Z  4
#define INETADDRESSTYPE_DNS  16

#endif                          /* INETADDRESSTYPE_ENUMS */




#ifdef __cplusplus
}
#endif
#endif                          /* TCPLISTENERTABLE_OIDS_H */