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.

256 lines
11 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. nipxe.h
  5. Abstract:
  6. Novell-ipx mib entry indeces
  7. Author:
  8. Vadim Eydelman (vadime) 30-May-1996
  9. Revision History:
  10. --*/
  11. #ifndef _SNMP_NIPXE_
  12. #define _SNMP_NIPXE_
  13. ///////////////////////////////////////////////////////////////////////////////
  14. // //
  15. // Mib entry indices //
  16. // //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. #define mi_nipxSystem 0
  19. #define mi_nipxBasicSysTable mi_nipxSystem+1
  20. #define mi_nipxBasicSysEntry mi_nipxBasicSysTable+1
  21. #define mi_nipxBasicSysInstance mi_nipxBasicSysEntry+1
  22. #define mi_nipxBasicSysExistState mi_nipxBasicSysInstance+1
  23. #define mi_nipxBasicSysNetNumber mi_nipxBasicSysExistState+1
  24. #define mi_nipxBasicSysNode mi_nipxBasicSysNetNumber+1
  25. #define mi_nipxBasicSysName mi_nipxBasicSysNode+1
  26. #define mi_nipxBasicSysInReceives mi_nipxBasicSysName+1
  27. #define mi_nipxBasicSysInHdrErrors mi_nipxBasicSysInReceives+1
  28. #define mi_nipxBasicSysInUnknownSockets mi_nipxBasicSysInHdrErrors+1
  29. #define mi_nipxBasicSysInDiscards mi_nipxBasicSysInUnknownSockets+1
  30. #define mi_nipxBasicSysInBadChecksums mi_nipxBasicSysInDiscards+1
  31. #define mi_nipxBasicSysInDelivers mi_nipxBasicSysInBadChecksums+1
  32. #define mi_nipxBasicSysNoRoutes mi_nipxBasicSysInDelivers+1
  33. #define mi_nipxBasicSysOutRequests mi_nipxBasicSysNoRoutes+1
  34. #define mi_nipxBasicSysOutMalformedRequests mi_nipxBasicSysOutRequests+1
  35. #define mi_nipxBasicSysOutDiscards mi_nipxBasicSysOutMalformedRequests+1
  36. #define mi_nipxBasicSysOutPackets mi_nipxBasicSysOutDiscards+1
  37. #define mi_nipxBasicSysConfigSockets mi_nipxBasicSysOutPackets+1
  38. #define mi_nipxBasicSysOpenSocketFails mi_nipxBasicSysConfigSockets+1
  39. #define mi_nipxAdvSysTable mi_nipxBasicSysOpenSocketFails+1
  40. #define mi_nipxAdvSysEntry mi_nipxAdvSysTable+1
  41. #define mi_nipxAdvSysInstance mi_nipxAdvSysEntry+1
  42. #define mi_nipxAdvSysMaxPathSplits mi_nipxAdvSysInstance+1
  43. #define mi_nipxAdvSysMaxHops mi_nipxAdvSysMaxPathSplits+1
  44. #define mi_nipxAdvSysInTooManyHops mi_nipxAdvSysMaxHops+1
  45. #define mi_nipxAdvSysInFiltered mi_nipxAdvSysInTooManyHops+1
  46. #define mi_nipxAdvSysInCompressDiscards mi_nipxAdvSysInFiltered+1
  47. #define mi_nipxAdvSysNETBIOSPackets mi_nipxAdvSysInCompressDiscards+1
  48. #define mi_nipxAdvSysForwPackets mi_nipxAdvSysNETBIOSPackets+1
  49. #define mi_nipxAdvSysOutFiltered mi_nipxAdvSysForwPackets+1
  50. #define mi_nipxAdvSysOutCompressDiscards mi_nipxAdvSysOutFiltered+1
  51. #define mi_nipxAdvSysCircCount mi_nipxAdvSysOutCompressDiscards+1
  52. #define mi_nipxAdvSysDestCount mi_nipxAdvSysCircCount+1
  53. #define mi_nipxAdvSysServCount mi_nipxAdvSysDestCount+1
  54. #define mi_nipxCircuit mi_nipxAdvSysServCount+1
  55. #define mi_nipxCircTable mi_nipxCircuit+1
  56. #define mi_nipxCircEntry mi_nipxCircTable+1
  57. #define mi_nipxCircSysInstance mi_nipxCircEntry+1
  58. #define mi_nipxCircIndex mi_nipxCircSysInstance+1
  59. #define mi_nipxCircExistState mi_nipxCircIndex+1
  60. #define mi_nipxCircOperState mi_nipxCircExistState+1
  61. #define mi_nipxCircIfIndex mi_nipxCircOperState+1
  62. #define mi_nipxCircName mi_nipxCircIfIndex+1
  63. #define mi_nipxCircType mi_nipxCircName+1
  64. #define mi_nipxCircDialName mi_nipxCircType+1
  65. #define mi_nipxCircLocalMaxPacketSize mi_nipxCircDialName+1
  66. #define mi_nipxCircCompressState mi_nipxCircLocalMaxPacketSize+1
  67. #define mi_nipxCircCompressSlots mi_nipxCircCompressState+1
  68. #define mi_nipxCircStaticStatus mi_nipxCircCompressSlots+1
  69. #define mi_nipxCircCompressedSent mi_nipxCircStaticStatus+1
  70. #define mi_nipxCircCompressedInitSent mi_nipxCircCompressedSent+1
  71. #define mi_nipxCircCompressedRejectsSent mi_nipxCircCompressedInitSent+1
  72. #define mi_nipxCircUncompressedSent mi_nipxCircCompressedRejectsSent+1
  73. #define mi_nipxCircCompressedReceived mi_nipxCircUncompressedSent+1
  74. #define mi_nipxCircCompressedInitReceived mi_nipxCircCompressedReceived+1
  75. #define mi_nipxCircCompressedRejectsReceived mi_nipxCircCompressedInitReceived+1
  76. #define mi_nipxCircUncompressedReceived mi_nipxCircCompressedRejectsReceived+1
  77. #define mi_nipxCircMediaType mi_nipxCircUncompressedReceived+1
  78. #define mi_nipxCircNetNumber mi_nipxCircMediaType+1
  79. #define mi_nipxCircStateChanges mi_nipxCircNetNumber+1
  80. #define mi_nipxCircInitFails mi_nipxCircStateChanges+1
  81. #define mi_nipxCircDelay mi_nipxCircInitFails+1
  82. #define mi_nipxCircThroughput mi_nipxCircDelay+1
  83. #define mi_nipxCircNeighRouterName mi_nipxCircThroughput+1
  84. #define mi_nipxCircNeighInternalNetNum mi_nipxCircNeighRouterName+1
  85. #define mi_nipxForwarding mi_nipxCircNeighInternalNetNum+1
  86. #define mi_nipxDestTable mi_nipxForwarding+1
  87. #define mi_nipxDestEntry mi_nipxDestTable+1
  88. #define mi_nipxDestSysInstance mi_nipxDestEntry+1
  89. #define mi_nipxDestNetNum mi_nipxDestSysInstance+1
  90. #define mi_nipxDestProtocol mi_nipxDestNetNum+1
  91. #define mi_nipxDestTicks mi_nipxDestProtocol+1
  92. #define mi_nipxDestHopCount mi_nipxDestTicks+1
  93. #define mi_nipxDestNextHopCircIndex mi_nipxDestHopCount+1
  94. #define mi_nipxDestNextHopNICAddress mi_nipxDestNextHopCircIndex+1
  95. #define mi_nipxDestNextHopNetNum mi_nipxDestNextHopNICAddress+1
  96. #define mi_nipxStaticRouteTable mi_nipxDestNextHopNetNum+1
  97. #define mi_nipxStaticRouteEntry mi_nipxStaticRouteTable+1
  98. #define mi_nipxStaticRouteSysInstance mi_nipxStaticRouteEntry+1
  99. #define mi_nipxStaticRouteCircIndex mi_nipxStaticRouteSysInstance+1
  100. #define mi_nipxStaticRouteNetNum mi_nipxStaticRouteCircIndex+1
  101. #define mi_nipxStaticRouteExistState mi_nipxStaticRouteNetNum+1
  102. #define mi_nipxStaticRouteTicks mi_nipxStaticRouteExistState+1
  103. #define mi_nipxStaticRouteHopCount mi_nipxStaticRouteTicks+1
  104. #define mi_nipxServices mi_nipxStaticRouteHopCount+1
  105. #define mi_nipxServTable mi_nipxServices+1
  106. #define mi_nipxServEntry mi_nipxServTable+1
  107. #define mi_nipxServSysInstance mi_nipxServEntry+1
  108. #define mi_nipxServType mi_nipxServSysInstance+1
  109. #define mi_nipxServName mi_nipxServType+1
  110. #define mi_nipxServProtocol mi_nipxServName+1
  111. #define mi_nipxServNetNum mi_nipxServProtocol+1
  112. #define mi_nipxServNode mi_nipxServNetNum+1
  113. #define mi_nipxServSocket mi_nipxServNode+1
  114. #define mi_nipxServHopCount mi_nipxServSocket+1
  115. #define mi_nipxDestServTable mi_nipxServHopCount+1
  116. #define mi_nipxDestServEntry mi_nipxDestServTable+1
  117. #define mi_nipxDestServSysInstance mi_nipxDestServEntry+1
  118. #define mi_nipxDestServNetNum mi_nipxDestServSysInstance+1
  119. #define mi_nipxDestServNode mi_nipxDestServNetNum+1
  120. #define mi_nipxDestServSocket mi_nipxDestServNode+1
  121. #define mi_nipxDestServName mi_nipxDestServSocket+1
  122. #define mi_nipxDestServType mi_nipxDestServName+1
  123. #define mi_nipxDestServProtocol mi_nipxDestServType+1
  124. #define mi_nipxDestServHopCount mi_nipxDestServProtocol+1
  125. #define mi_nipxStaticServTable mi_nipxDestServHopCount+1
  126. #define mi_nipxStaticServEntry mi_nipxStaticServTable+1
  127. #define mi_nipxStaticServSysInstance mi_nipxStaticServEntry+1
  128. #define mi_nipxStaticServCircIndex mi_nipxStaticServSysInstance+1
  129. #define mi_nipxStaticServType mi_nipxStaticServCircIndex+1
  130. #define mi_nipxStaticServName mi_nipxStaticServType+1
  131. #define mi_nipxStaticServExistState mi_nipxStaticServName+1
  132. #define mi_nipxStaticServNetNum mi_nipxStaticServExistState+1
  133. #define mi_nipxStaticServNode mi_nipxStaticServNetNum+1
  134. #define mi_nipxStaticServSocket mi_nipxStaticServNode+1
  135. #define mi_nipxStaticServHopCount mi_nipxStaticServSocket+1
  136. //nipxTraps
  137. ///////////////////////////////////////////////////////////////////////////////
  138. // //
  139. // nipxBasicSysEntry table (1.3.6.1.4.1.23.2.5.1.1.1) //
  140. // //
  141. ///////////////////////////////////////////////////////////////////////////////
  142. #define ne_nipxBasicSysEntry 18
  143. #define ni_nipxBasicSysEntry 1
  144. ///////////////////////////////////////////////////////////////////////////////
  145. // //
  146. // nipxAdvSysEntry table (1.3.6.1.4.1.23.2.5.1.2.1) //
  147. // //
  148. ///////////////////////////////////////////////////////////////////////////////
  149. #define ne_nipxAdvSysEntry 13
  150. #define ni_nipxAdvSysEntry 1
  151. ///////////////////////////////////////////////////////////////////////////////
  152. // //
  153. // nipxCircEntry table (1.3.6.1.4.1.23.2.5.2.1.1) //
  154. // //
  155. ///////////////////////////////////////////////////////////////////////////////
  156. #define ne_nipxCircEntry 28
  157. #define ni_nipxCircEntry 2
  158. ///////////////////////////////////////////////////////////////////////////////
  159. // //
  160. // nipxDestEntry table (1.3.6.1.4.1.23.2.5.3.1.1) //
  161. // //
  162. ///////////////////////////////////////////////////////////////////////////////
  163. #define ne_nipxDestEntry 8
  164. #define ni_nipxDestEntry 2
  165. ///////////////////////////////////////////////////////////////////////////////
  166. // //
  167. // nipxStaticRouteEntry table (1.3.6.1.4.1.23.2.5.3.2.1) //
  168. // //
  169. ///////////////////////////////////////////////////////////////////////////////
  170. #define ne_nipxStaticRouteEntry 6
  171. #define ni_nipxStaticRouteEntry 3
  172. ///////////////////////////////////////////////////////////////////////////////
  173. // //
  174. // nipxServEntry table (1.3.6.1.4.1.23.2.5.4.1.1) //
  175. // //
  176. ///////////////////////////////////////////////////////////////////////////////
  177. #define ne_nipxServEntry 8
  178. #define ni_nipxServEntry 3
  179. ///////////////////////////////////////////////////////////////////////////////
  180. // //
  181. // nipxDestServEntry table (1.3.6.1.4.1.23.2.5.4.2.1) //
  182. // //
  183. ///////////////////////////////////////////////////////////////////////////////
  184. #define ne_nipxDestServEntry 8
  185. #define ni_nipxDestServEntry 6
  186. ///////////////////////////////////////////////////////////////////////////////
  187. // //
  188. // nipxStaticServEntry table (1.3.6.1.4.1.23.2.5.4.3.1) //
  189. // //
  190. ///////////////////////////////////////////////////////////////////////////////
  191. #define ne_nipxStaticServEntry 9
  192. #define ni_nipxStaticServEntry 4
  193. #endif