Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

229 lines
8.4 KiB

  1. PPP-IP-NCP-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. Counter
  4. FROM RFC1155-SMI
  5. ifIndex
  6. FROM RFC1213-MIB
  7. OBJECT-TYPE
  8. FROM RFC-1212
  9. ppp
  10. FROM PPP-LCP-MIB;
  11. -- The PPP IP Group.
  12. -- Implementation of this group is mandatory for all
  13. -- PPP implementations that support operating IP over PPP.
  14. pppIp OBJECT IDENTIFIER ::= { ppp 3 }
  15. pppIpTable OBJECT-TYPE
  16. SYNTAX SEQUENCE OF PppIpEntry
  17. ACCESS not-accessible
  18. STATUS mandatory
  19. DESCRIPTION
  20. "Table containing the IP parameters and
  21. statistics for the local PPP entity."
  22. ::= { pppIp 1 }
  23. pppIpEntry OBJECT-TYPE
  24. SYNTAX PppIpEntry
  25. ACCESS not-accessible
  26. STATUS mandatory
  27. DESCRIPTION
  28. "IPCP status information for a particular PPP
  29. link."
  30. INDEX { ifIndex }
  31. ::= { pppIpTable 1 }
  32. PppIpEntry ::= SEQUENCE {
  33. pppIpOperStatus
  34. INTEGER,
  35. pppIpLocalToRemoteCompressionProtocol
  36. INTEGER,
  37. pppIpRemoteToLocalCompressionProtocol
  38. INTEGER,
  39. pppIpRemoteMaxSlotId
  40. INTEGER,
  41. pppIpLocalMaxSlotId
  42. INTEGER
  43. }
  44. -- The following object reflect the values of the option
  45. -- parameters used in the PPP IP Control Protocol
  46. -- pppIpLocalToRemoteCompressionProtocol
  47. -- pppIpRemoteToLocalCompressionProtocol
  48. -- pppIpRemoteMaxSlotId
  49. -- pppIpLocalMaxSlotId
  50. -- These values are not available until after the PPP Option
  51. -- negotiation has completed, which is indicated by the link
  52. -- reaching the open state (i.e., pppIpOperStatus is set to
  53. -- opened).
  54. --
  55. -- Therefore, when pppIpOperStatus is not opened
  56. -- the contents of these objects is undefined. The value
  57. -- returned when accessing the objects is an implementation
  58. -- dependent issue.
  59. pppIpOperStatus OBJECT-TYPE
  60. SYNTAX INTEGER {opened(1), not-opened(2)}
  61. ACCESS read-only
  62. STATUS mandatory
  63. DESCRIPTION
  64. "The operational status of the IP network
  65. protocol. If the value of this object is up
  66. then the finite state machine for the IP
  67. network protocol has reached the Opened state."
  68. ::= { pppIpEntry 1 }
  69. pppIpLocalToRemoteCompressionProtocol OBJECT-TYPE
  70. SYNTAX INTEGER {
  71. none(1),
  72. vj-tcp(2)
  73. }
  74. ACCESS read-only
  75. STATUS mandatory
  76. DESCRIPTION
  77. "The IP compression protocol that the local
  78. PPP-IP entity uses when sending packets to the
  79. remote PPP-IP entity. The value of this object
  80. is meaningful only when the link has reached
  81. the open state (pppIpOperStatus is opened)."
  82. ::= { pppIpEntry 2 }
  83. pppIpRemoteToLocalCompressionProtocol OBJECT-TYPE
  84. SYNTAX INTEGER {
  85. none(1),
  86. vj-tcp(2)
  87. }
  88. ACCESS read-only
  89. STATUS mandatory
  90. DESCRIPTION
  91. "The IP compression protocol that the remote
  92. PPP-IP entity uses when sending packets to the
  93. local PPP-IP entity. The value of this object
  94. is meaningful only when the link has reached
  95. the open state (pppIpOperStatus is opened)."
  96. ::= { pppIpEntry 3 }
  97. pppIpRemoteMaxSlotId OBJECT-TYPE
  98. SYNTAX INTEGER(0..255)
  99. ACCESS read-only
  100. STATUS mandatory
  101. DESCRIPTION
  102. "The Max-Slot-Id parameter that the remote node
  103. has advertised and that is in use on the link.
  104. If vj-tcp header compression is not in use on
  105. the link then the value of this object shall be
  106. 0. The value of this object is meaningful only
  107. when the link has reached the open state
  108. (pppIpOperStatus is opened)."
  109. ::= { pppIpEntry 4 }
  110. pppIpLocalMaxSlotId OBJECT-TYPE
  111. SYNTAX INTEGER(0..255)
  112. ACCESS read-only
  113. STATUS mandatory
  114. DESCRIPTION
  115. "The Max-Slot-Id parameter that the local node
  116. has advertised and that is in use on the link.
  117. If vj-tcp header compression is not in use on
  118. the link then the value of this object shall be
  119. 0. The value of this object is meaningful only
  120. when the link has reached the open state
  121. (pppIpOperStatus is opened)."
  122. ::= { pppIpEntry 5 }
  123. --
  124. -- The PPP IP Configuration table.
  125. -- This is a separate table in order to facilitate
  126. -- placing these variables in a separate MIB view.
  127. --
  128. pppIpConfigTable OBJECT-TYPE
  129. SYNTAX SEQUENCE OF PppIpConfigEntry
  130. ACCESS not-accessible
  131. STATUS mandatory
  132. DESCRIPTION
  133. "Table containing configuration variables for
  134. the IPCP for the local PPP entity."
  135. ::= { pppIp 2 }
  136. pppIpConfigEntry OBJECT-TYPE
  137. SYNTAX PppIpConfigEntry
  138. ACCESS not-accessible
  139. STATUS mandatory
  140. DESCRIPTION
  141. "IPCP information for a particular PPP link."
  142. INDEX { ifIndex }
  143. ::= { pppIpConfigTable 1 }
  144. PppIpConfigEntry ::= SEQUENCE {
  145. pppIpConfigAdminStatus
  146. INTEGER,
  147. pppIpConfigCompression
  148. INTEGER
  149. }
  150. pppIpConfigAdminStatus OBJECT-TYPE
  151. SYNTAX INTEGER {open(1), close(2)}
  152. ACCESS read-write
  153. STATUS mandatory
  154. DESCRIPTION
  155. "The immediate desired status of the IP network
  156. protocol. Setting this object to open will
  157. inject an administrative open event into the IP
  158. network protocol's finite state machine.
  159. Setting this object to close will inject an
  160. administrative close event into the IP network
  161. protocol's finite state machine."
  162. ::= { pppIpConfigEntry 1 }
  163. pppIpConfigCompression OBJECT-TYPE
  164. SYNTAX INTEGER {
  165. none(1),
  166. vj-tcp(2)
  167. }
  168. ACCESS read-write
  169. STATUS mandatory
  170. DESCRIPTION
  171. "If none(1) then the local node will not
  172. attempt to negotiate any IP Compression option.
  173. Otherwise, the local node will attempt to
  174. negotiate compression mode indicated by the
  175. enumerated value. Changing this object will
  176. have effect when the link is next restarted."
  177. REFERENCE
  178. "Section 4.0, Van Jacobson TCP/IP Header
  179. Compression of RFC1332."
  180. DEFVAL { none }
  181. ::= { pppIpConfigEntry 2 }
  182. END