Source code of Windows XP (NT5)
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.

248 lines
14 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. mibentry.h
  5. Abstract:
  6. Sample subagent mib structures.
  7. Note:
  8. This file is an example of the output to be produced from the
  9. code generation utility.
  10. --*/
  11. #ifndef _MIBENTRY_H_
  12. #define _MIBENTRY_H_
  13. ///////////////////////////////////////////////////////////////////////////////
  14. // //
  15. // Mib entry indices //
  16. // //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. #define mi_global 0
  19. #define mi_globalSystemRouteChanges mi_global+1
  20. #define mi_globalTotalResponseSends mi_globalSystemRouteChanges+1
  21. #define mi_globalLoggingLevel mi_globalTotalResponseSends+1
  22. #define mi_globalMaxRecQueueSize mi_globalLoggingLevel+1
  23. #define mi_globalMaxSendQueueSize mi_globalMaxRecQueueSize+1
  24. #define mi_globalMinTriggeredUpdateInterval mi_globalMaxSendQueueSize+1
  25. #define mi_globalPeerFilterMode mi_globalMinTriggeredUpdateInterval+1
  26. #define mi_globalPeerFilterCount mi_globalPeerFilterMode+1
  27. #define mi_globalPeerFilterTable mi_globalPeerFilterCount+1
  28. #define mi_globalPeerFilterEntry mi_globalPeerFilterTable+1
  29. #define mi_globalPFAddr mi_globalPeerFilterEntry+1
  30. #define mi_globalPFTag mi_globalPFAddr+1
  31. #define mi_interface mi_globalPFTag+1
  32. #define mi_ifStatsTable mi_interface+1
  33. #define mi_ifStatsEntry mi_ifStatsTable+1
  34. #define mi_ifSEIndex mi_ifStatsEntry+1
  35. #define mi_ifSEState mi_ifSEIndex+1
  36. #define mi_ifSESendFailures mi_ifSEState+1
  37. #define mi_ifSEReceiveFailures mi_ifSESendFailures+1
  38. #define mi_ifSERequestSends mi_ifSEReceiveFailures+1
  39. #define mi_ifSERequestReceiveds mi_ifSERequestSends+1
  40. #define mi_ifSEResponseSends mi_ifSERequestReceiveds+1
  41. #define mi_ifSEResponseReceiveds mi_ifSEResponseSends+1
  42. #define mi_ifSEBadResponsePacketReceiveds mi_ifSEResponseReceiveds+1
  43. #define mi_ifSEBadResponseEntriesReceiveds mi_ifSEBadResponsePacketReceiveds+1
  44. #define mi_ifSETriggeredUpdateSends mi_ifSEBadResponseEntriesReceiveds+1
  45. #define mi_ifConfigTable mi_ifSETriggeredUpdateSends+1
  46. #define mi_ifConfigEntry mi_ifConfigTable+1
  47. #define mi_ifCEIndex mi_ifConfigEntry+1
  48. #define mi_ifCEState mi_ifCEIndex+1
  49. #define mi_ifCEMetric mi_ifCEState+1
  50. #define mi_ifCEUpdateMode mi_ifCEMetric+1
  51. #define mi_ifCEAcceptMode mi_ifCEUpdateMode+1
  52. #define mi_ifCEAnnounceMode mi_ifCEAcceptMode+1
  53. #define mi_ifCEProtocolFlags mi_ifCEAnnounceMode+1
  54. #define mi_ifCERouteExpirationInterval mi_ifCEProtocolFlags+1
  55. #define mi_ifCERouteRemovalInterval mi_ifCERouteExpirationInterval+1
  56. #define mi_ifCEFullUpdateInterval mi_ifCERouteRemovalInterval+1
  57. #define mi_ifCEAuthenticationType mi_ifCEFullUpdateInterval+1
  58. #define mi_ifCEAuthenticationKey mi_ifCEAuthenticationType+1
  59. #define mi_ifCERouteTag mi_ifCEAuthenticationKey+1
  60. #define mi_ifCEUnicastPeerMode mi_ifCERouteTag+1
  61. #define mi_ifCEAcceptFilterMode mi_ifCEUnicastPeerMode+1
  62. #define mi_ifCEAnnounceFilterMode mi_ifCEAcceptFilterMode+1
  63. #define mi_ifCEUnicastPeerCount mi_ifCEAnnounceFilterMode+1
  64. #define mi_ifCEAcceptFilterCount mi_ifCEUnicastPeerCount+1
  65. #define mi_ifCEAnnounceFilterCount mi_ifCEAcceptFilterCount+1
  66. #define mi_ifUnicastPeersTable mi_ifCEAnnounceFilterCount+1
  67. #define mi_ifUnicastPeersEntry mi_ifUnicastPeersTable+1
  68. #define mi_ifUPIfIndex mi_ifUnicastPeersEntry+1
  69. #define mi_ifUPAddress mi_ifUPIfIndex+1
  70. #define mi_ifUPTag mi_ifUPAddress+1
  71. #define mi_ifAcceptRouteFilterTable mi_ifUPTag+1
  72. #define mi_ifAcceptRouteFilterEntry mi_ifAcceptRouteFilterTable+1
  73. #define mi_ifAcceptRFIfIndex mi_ifAcceptRouteFilterEntry+1
  74. #define mi_ifAcceptRFLoAddress mi_ifAcceptRFIfIndex+1
  75. #define mi_ifAcceptRFHiAddress mi_ifAcceptRFLoAddress+1
  76. #define mi_ifAcceptRFTag mi_ifAcceptRFHiAddress+1
  77. #define mi_ifAnnounceRouteFilterTable mi_ifAcceptRFTag+1
  78. #define mi_ifAnnounceRouteFilterEntry mi_ifAnnounceRouteFilterTable+1
  79. #define mi_ifAnnounceRFIfIndex mi_ifAnnounceRouteFilterEntry+1
  80. #define mi_ifAnnounceRFLoAddress mi_ifAnnounceRFIfIndex+1
  81. #define mi_ifAnnounceRFHiAddress mi_ifAnnounceRFLoAddress+1
  82. #define mi_ifAnnounceRFTag mi_ifAnnounceRFHiAddress+1
  83. #define mi_ifBindingTable mi_ifAnnounceRFTag+1
  84. #define mi_ifBindingEntry mi_ifBindingTable+1
  85. #define mi_ifBindingIndex mi_ifBindingEntry+1
  86. #define mi_ifBindingState mi_ifBindingIndex+1
  87. #define mi_ifBindingCounts mi_ifBindingState+1
  88. #define mi_ifAddressTable mi_ifBindingCounts+1
  89. #define mi_ifAddressEntry mi_ifAddressTable+1
  90. #define mi_ifAEIfIndex mi_ifAddressEntry+1
  91. #define mi_ifAEAddress mi_ifAEIfIndex+1
  92. #define mi_ifAEMask mi_ifAEAddress+1
  93. #define mi_peer mi_ifAEMask+1
  94. #define mi_ifPeerStatsTable mi_peer+1
  95. #define mi_ifPeerStatsEntry mi_ifPeerStatsTable+1
  96. #define mi_ifPSAddress mi_ifPeerStatsEntry+1
  97. #define mi_ifPSLastPeerRouteTag mi_ifPSAddress+1
  98. #define mi_ifPSLastPeerUpdateTickCount mi_ifPSLastPeerRouteTag+1
  99. #define mi_ifPSLastPeerUpdateVersion mi_ifPSLastPeerUpdateTickCount+1
  100. #define mi_ifPSPeerBadResponsePackets mi_ifPSLastPeerUpdateVersion+1
  101. #define mi_ifPSPeerBadResponseEntries mi_ifPSPeerBadResponsePackets+1
  102. ///////////////////////////////////////////////////////////////////////////////
  103. // //
  104. // globalPeerFilterEntry table (1.3.6.1.4.1.311.1.11.1.9.1) //
  105. // //
  106. ///////////////////////////////////////////////////////////////////////////////
  107. #define ne_globalPeerFilterEntry 2
  108. #define ni_globalPeerFilterEntry 1
  109. ///////////////////////////////////////////////////////////////////////////////
  110. // //
  111. // ifStatsEntry table (1.3.6.1.4.1.311.1.11.2.1.1) //
  112. // //
  113. ///////////////////////////////////////////////////////////////////////////////
  114. #define ne_ifStatsEntry 11
  115. #define ni_ifStatsEntry 1
  116. ///////////////////////////////////////////////////////////////////////////////
  117. // //
  118. // ifConfigEntry table (1.3.6.1.4.1.311.1.11.2.2.1) //
  119. // //
  120. ///////////////////////////////////////////////////////////////////////////////
  121. #define ne_ifConfigEntry 19
  122. #define ni_ifConfigEntry 1
  123. ///////////////////////////////////////////////////////////////////////////////
  124. // //
  125. // ifUnicastPeersEntry table (1.3.6.1.4.1.311.1.11.2.3.1) //
  126. // //
  127. ///////////////////////////////////////////////////////////////////////////////
  128. #define ne_ifUnicastPeersEntry 3
  129. #define ni_ifUnicastPeersEntry 2
  130. ///////////////////////////////////////////////////////////////////////////////
  131. // //
  132. // ifAcceptRouteFilterEntry table (1.3.6.1.4.1.311.1.11.2.4.1) //
  133. // //
  134. ///////////////////////////////////////////////////////////////////////////////
  135. #define ne_ifAcceptRouteFilterEntry 4
  136. #define ni_ifAcceptRouteFilterEntry 3
  137. ///////////////////////////////////////////////////////////////////////////////
  138. // //
  139. // ifAnnounceRouteFilterEntry table (1.3.6.1.4.1.311.1.11.2.5.1) //
  140. // //
  141. ///////////////////////////////////////////////////////////////////////////////
  142. #define ne_ifAnnounceRouteFilterEntry 4
  143. #define ni_ifAnnounceRouteFilterEntry 3
  144. ///////////////////////////////////////////////////////////////////////////////
  145. // //
  146. // ifBindingEntry table (1.3.6.1.4.1.311.1.11.2.6.1) //
  147. // //
  148. ///////////////////////////////////////////////////////////////////////////////
  149. #define ne_ifBindingEntry 3
  150. #define ni_ifBindingEntry 1
  151. ///////////////////////////////////////////////////////////////////////////////
  152. // //
  153. // ifAddressEntry table (1.3.6.1.4.1.311.1.11.2.7.1) //
  154. // //
  155. ///////////////////////////////////////////////////////////////////////////////
  156. #define ne_ifAddressEntry 3
  157. #define ni_ifAddressEntry 3
  158. ///////////////////////////////////////////////////////////////////////////////
  159. // //
  160. // ifPeerStatsEntry table (1.3.6.1.4.1.311.1.11.3.1.1) //
  161. // //
  162. ///////////////////////////////////////////////////////////////////////////////
  163. #define ne_ifPeerStatsEntry 6
  164. #define ni_ifPeerStatsEntry 1
  165. ///////////////////////////////////////////////////////////////////////////////
  166. // //
  167. // Other definitions //
  168. // //
  169. ///////////////////////////////////////////////////////////////////////////////
  170. #define d_globalLoggingLevel_none 1
  171. #define d_globalLoggingLevel_error 2
  172. #define d_globalLoggingLevel_warning 3
  173. #define d_globalLoggingLevel_information 4
  174. #define d_globalPeerFilterMode_disable 1
  175. #define d_globalPeerFilterMode_include 2
  176. #define d_globalPeerFilterMode_exclude 3
  177. #define d_ifSEState_enabled 1
  178. #define d_ifSEState_bound 2
  179. #define d_ifCEState_enabled 1
  180. #define d_ifCEState_bound 2
  181. #define d_ifCEUpdateMode_periodic 1
  182. #define d_ifCEUpdateMode_demand 2
  183. #define d_ifCEAcceptMode_disable 1
  184. #define d_ifCEAcceptMode_rip1 2
  185. #define d_ifCEAcceptMode_rip1Compat 3
  186. #define d_ifCEAcceptMode_rip2 4
  187. #define d_ifCEAnnounceMode_disable 1
  188. #define d_ifCEAnnounceMode_rip1 2
  189. #define d_ifCEAnnounceMode_rip1Compat 3
  190. #define d_ifCEAnnounceMode_rip2 4
  191. #define d_ifCEAuthenticationType_noAuthentication 1
  192. #define d_ifCEAuthenticationType_simplePassword 2
  193. #define d_ifCEAuthenticationType_md5 3
  194. #define d_ifCEUnicastPeerMode_disable 1
  195. #define d_ifCEUnicastPeerMode_peerAlso 2
  196. #define d_ifCEUnicastPeerMode_peerOnly 3
  197. #define d_ifCEAcceptFilterMode_disable 1
  198. #define d_ifCEAcceptFilterMode_include 2
  199. #define d_ifCEAcceptFilterMode_exclude 3
  200. #define d_ifCEAnnounceFilterMode_disable 1
  201. #define d_ifCEAnnounceFilterMode_include 2
  202. #define d_ifCEAnnounceFilterMode_exclude 3
  203. #define d_ifBindingState_enabled 1
  204. #define d_ifBindingState_bound 2
  205. #define d_Tag_create 1
  206. #define d_Tag_delete 2
  207. ///////////////////////////////////////////////////////////////////////////////
  208. // //
  209. // Declaration of supported view //
  210. // //
  211. ///////////////////////////////////////////////////////////////////////////////
  212. extern SnmpMibView v_msiprip2;
  213. #endif // _MIBENTRY_H_