Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / mibs / ietf / IPV6-TCP-MIB
1 IPV6-TCP-MIB DEFINITIONS ::= BEGIN
2
3 IMPORTS
4    MODULE-COMPLIANCE, OBJECT-GROUP      FROM SNMPv2-CONF
5    MODULE-IDENTITY, OBJECT-TYPE,
6    mib-2, experimental                  FROM SNMPv2-SMI
7    Ipv6Address, Ipv6IfIndexOrZero       FROM IPV6-TC;
8
9 ipv6TcpMIB MODULE-IDENTITY
10    LAST-UPDATED "9801290000Z"
11    ORGANIZATION "IETF IPv6 MIB Working Group"
12    CONTACT-INFO
13         "       Mike Daniele
14
15                 Postal: Compaq Computer Corporation
16                         110 Spitbrook Rd
17                         Nashua, NH 03062.
18                         US
19
20                 Phone:  +1 603 884 1423
21                 Email:  daniele@zk3.dec.com"
22    DESCRIPTION
23         "The MIB module for entities implementing TCP over IPv6."
24    ::= { experimental 86 }
25
26 -- objects specific to TCP for IPv6
27
28 tcp      OBJECT IDENTIFIER ::= { mib-2 6 }
29
30 -- the TCP over IPv6 Connection table
31
32 -- This connection table contains information about this
33 -- entity's existing TCP connections between IPv6 endpoints.
34 -- Only connections between IPv6 addresses are contained in
35 -- this table.  This entity's connections between IPv4
36 -- endpoints are contained in tcpConnTable.
37
38 ipv6TcpConnTable OBJECT-TYPE
39    SYNTAX      SEQUENCE OF Ipv6TcpConnEntry
40    MAX-ACCESS  not-accessible
41    STATUS      current
42    DESCRIPTION
43         "A table containing TCP connection-specific information,
44          for only those connections whose endpoints are IPv6 addresses."
45    ::= { tcp 16 }
46
47 ipv6TcpConnEntry OBJECT-TYPE
48    SYNTAX      Ipv6TcpConnEntry
49    MAX-ACCESS  not-accessible
50    STATUS      current
51    DESCRIPTION
52         "A conceptual row of the ipv6TcpConnTable containing
53          information about a particular current TCP connection.
54          Each row of this table is transient, in that it ceases to
55          exist when (or soon after) the connection makes the transition
56          to the CLOSED state.
57
58          Note that conceptual rows in this table require an additional
59          index object compared to tcpConnTable, since IPv6 addresses
60          are not guaranteed to be unique on the managed node."
61    INDEX   { ipv6TcpConnLocalAddress,
62              ipv6TcpConnLocalPort,
63              ipv6TcpConnRemAddress,
64              ipv6TcpConnRemPort,
65              ipv6TcpConnIfIndex }
66    ::= { ipv6TcpConnTable 1 }
67
68 Ipv6TcpConnEntry ::=
69    SEQUENCE { ipv6TcpConnLocalAddress    Ipv6Address,
70               ipv6TcpConnLocalPort       INTEGER,
71               ipv6TcpConnRemAddress      Ipv6Address,
72               ipv6TcpConnRemPort         INTEGER,
73               ipv6TcpConnIfIndex         Ipv6IfIndexOrZero,
74               ipv6TcpConnState           INTEGER }
75
76 ipv6TcpConnLocalAddress OBJECT-TYPE
77    SYNTAX     Ipv6Address
78    MAX-ACCESS not-accessible
79    STATUS     current
80    DESCRIPTION
81         "The local IPv6 address for this TCP connection. In
82          the case of a connection in the listen state which
83          is willing to accept connections for any IPv6
84          address associated with the managed node, the value
85          ::0 is used."
86    ::= { ipv6TcpConnEntry 1 }
87
88 ipv6TcpConnLocalPort OBJECT-TYPE
89    SYNTAX     INTEGER (0..65535)
90    MAX-ACCESS not-accessible
91    STATUS     current
92    DESCRIPTION
93         "The local port number for this TCP connection."
94    ::= { ipv6TcpConnEntry 2 }
95
96 ipv6TcpConnRemAddress OBJECT-TYPE
97    SYNTAX     Ipv6Address
98    MAX-ACCESS not-accessible
99    STATUS     current
100    DESCRIPTION
101         "The remote IPv6 address for this TCP connection."
102    ::= { ipv6TcpConnEntry 3 }
103
104 ipv6TcpConnRemPort OBJECT-TYPE
105    SYNTAX     INTEGER (0..65535)
106    MAX-ACCESS not-accessible
107    STATUS     current
108    DESCRIPTION
109         "The remote port number for this TCP connection."
110    ::= { ipv6TcpConnEntry 4 }
111
112 ipv6TcpConnIfIndex OBJECT-TYPE
113    SYNTAX     Ipv6IfIndexOrZero
114    MAX-ACCESS not-accessible
115    STATUS     current
116    DESCRIPTION
117         "An index object used to disambiguate conceptual rows in
118          the table, since the connection 4-tuple may not be unique.
119
120          If the connection's remote address (ipv6TcpConnRemAddress)
121          is a link-local address and the connection's local address
122          (ipv6TcpConnLocalAddress) is not a link-local address, this
123          object identifies a local interface on the same link as
124          the connection's remote link-local address.
125
126          Otherwise, this object identifies the local interface that
127          is associated with the ipv6TcpConnLocalAddress for this
128          TCP connection.  If such a local interface cannot be determined,
129          this object should take on the value 0.  (A possible example
130          of this would be if the value of ipv6TcpConnLocalAddress is ::0.)
131
132          The interface identified by a particular non-0 value of this
133          index is the same interface as identified by the same value
134          of ipv6IfIndex.
135
136          The value of this object must remain constant during the life
137          of the TCP connection."
138    ::= { ipv6TcpConnEntry 5 }
139
140 ipv6TcpConnState OBJECT-TYPE
141    SYNTAX     INTEGER {
142         closed(1),
143         listen(2),
144         synSent(3),
145         synReceived(4),
146         established(5),
147         finWait1(6),
148         finWait2(7),
149         closeWait(8),
150         lastAck(9),
151         closing(10),
152         timeWait(11),
153         deleteTCB(12) }
154    MAX-ACCESS read-write
155    STATUS     current
156    DESCRIPTION
157         "The state of this TCP connection.
158
159          The only value which may be set by a management station is
160          deleteTCB(12).  Accordingly, it is appropriate for an agent
161          to return an error response (`badValue' for SNMPv1, 'wrongValue'
162          for SNMPv2) if a management station attempts to set this
163          object to any other value.
164
165          If a management station sets this object to the value
166          deleteTCB(12), then this has the effect of deleting the TCB
167          (as defined in RFC 793) of the corresponding connection on
168          the managed node, resulting in immediate termination of the
169          connection.
170          As an implementation-specific option, a RST segment may be
171          sent from the managed node to the other TCP endpoint (note
172          however that RST segments are not sent reliably)."
173    ::= { ipv6TcpConnEntry 6 }
174
175 --
176 -- conformance information
177 --
178
179 ipv6TcpConformance OBJECT IDENTIFIER ::= { ipv6TcpMIB 2 }
180
181 ipv6TcpCompliances OBJECT IDENTIFIER ::= { ipv6TcpConformance 1 }
182 ipv6TcpGroups      OBJECT IDENTIFIER ::= { ipv6TcpConformance 2 }
183
184 -- compliance statements
185
186 ipv6TcpCompliance MODULE-COMPLIANCE
187    STATUS  current
188    DESCRIPTION
189         "The compliance statement for SNMPv2 entities which
190          implement TCP over IPv6."
191    MODULE  -- this module
192    MANDATORY-GROUPS { ipv6TcpGroup }
193    ::= { ipv6TcpCompliances 1 }
194
195 ipv6TcpGroup OBJECT-GROUP
196    OBJECTS   { -- these are defined in this module
197                -- ipv6TcpConnLocalAddress (not-accessible)
198                -- ipv6TcpConnLocalPort (not-accessible)
199                -- ipv6TcpConnRemAddress (not-accessible)
200                -- ipv6TcpConnRemPort (not-accessible)
201                -- ipv6TcpConnIfIndex (not-accessible)
202                ipv6TcpConnState }
203    STATUS    current
204    DESCRIPTION
205         "The group of objects providing management of
206          TCP over IPv6."
207    ::= { ipv6TcpGroups 1 }
208
209 END