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.

141 lines
7.1 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_globalLoggingLevel mi_global+1
  20. #define mi_globalMaxRecQueueSize mi_globalLoggingLevel+1
  21. #define mi_globalServerCount mi_globalMaxRecQueueSize+1
  22. #define mi_globalBOOTPServerTable mi_globalServerCount+1
  23. #define mi_globalBOOTPServerEntry mi_globalBOOTPServerTable+1
  24. #define mi_globalBOOTPServerAddr mi_globalBOOTPServerEntry+1
  25. #define mi_globalBOOTPServerTag mi_globalBOOTPServerAddr+1
  26. #define mi_interface mi_globalBOOTPServerTag+1
  27. #define mi_ifStatsTable mi_interface+1
  28. #define mi_ifStatsEntry mi_ifStatsTable+1
  29. #define mi_ifSEIndex mi_ifStatsEntry+1
  30. #define mi_ifSEState mi_ifSEIndex+1
  31. #define mi_ifSESendFailures mi_ifSEState+1
  32. #define mi_ifSEReceiveFailures mi_ifSESendFailures+1
  33. #define mi_ifSEArpUpdateFailures mi_ifSEReceiveFailures+1
  34. #define mi_ifSERequestReceiveds mi_ifSEArpUpdateFailures+1
  35. #define mi_ifSERequestDiscards mi_ifSERequestReceiveds+1
  36. #define mi_ifSEReplyReceiveds mi_ifSERequestDiscards+1
  37. #define mi_ifSEReplyDiscards mi_ifSEReplyReceiveds+1
  38. #define mi_ifConfigTable mi_ifSEReplyDiscards+1
  39. #define mi_ifConfigEntry mi_ifConfigTable+1
  40. #define mi_ifCEIndex mi_ifConfigEntry+1
  41. #define mi_ifCEState mi_ifCEIndex+1
  42. #define mi_ifCERelayMode mi_ifCEState+1
  43. #define mi_ifCEMaxHopCount mi_ifCERelayMode+1
  44. #define mi_ifCEMinSecondsSinceBoot mi_ifCEMaxHopCount+1
  45. #define mi_ifBindingTable mi_ifCEMinSecondsSinceBoot+1
  46. #define mi_ifBindingEntry mi_ifBindingTable+1
  47. #define mi_ifBindingIndex mi_ifBindingEntry+1
  48. #define mi_ifBindingState mi_ifBindingIndex+1
  49. #define mi_ifBindingAddrCount mi_ifBindingState+1
  50. #define mi_ifAddressTable mi_ifBindingAddrCount+1
  51. #define mi_ifAddressEntry mi_ifAddressTable+1
  52. #define mi_ifAEIfIndex mi_ifAddressEntry+1
  53. #define mi_ifAEAddress mi_ifAEIfIndex+1
  54. #define mi_ifAEMask mi_ifAEAddress+1
  55. ///////////////////////////////////////////////////////////////////////////////
  56. // //
  57. // globalBOOTPServerEntry table (1.3.6.1.4.1.311.1.12.1.4.1) //
  58. // //
  59. ///////////////////////////////////////////////////////////////////////////////
  60. #define ne_globalBOOTPServerEntry 2
  61. #define ni_globalBOOTPServerEntry 1
  62. ///////////////////////////////////////////////////////////////////////////////
  63. // //
  64. // ifStatsEntry table (1.3.6.1.4.1.311.1.12.2.1.1) //
  65. // //
  66. ///////////////////////////////////////////////////////////////////////////////
  67. #define ne_ifStatsEntry 9
  68. #define ni_ifStatsEntry 1
  69. ///////////////////////////////////////////////////////////////////////////////
  70. // //
  71. // ifConfigEntry table (1.3.6.1.4.1.311.1.12.2.2.1) //
  72. // //
  73. ///////////////////////////////////////////////////////////////////////////////
  74. #define ne_ifConfigEntry 5
  75. #define ni_ifConfigEntry 1
  76. ///////////////////////////////////////////////////////////////////////////////
  77. // //
  78. // ifBindingEntry table (1.3.6.1.4.1.311.1.12.2.3.1) //
  79. // //
  80. ///////////////////////////////////////////////////////////////////////////////
  81. #define ne_ifBindingEntry 3
  82. #define ni_ifBindingEntry 1
  83. ///////////////////////////////////////////////////////////////////////////////
  84. // //
  85. // ifAddressEntry table (1.3.6.1.4.1.311.1.12.2.4.1) //
  86. // //
  87. ///////////////////////////////////////////////////////////////////////////////
  88. #define ne_ifAddressEntry 3
  89. #define ni_ifAddressEntry 3
  90. ///////////////////////////////////////////////////////////////////////////////
  91. // //
  92. // Other definitions //
  93. // //
  94. ///////////////////////////////////////////////////////////////////////////////
  95. #define d_globalLoggingLevel_none 1
  96. #define d_globalLoggingLevel_error 2
  97. #define d_globalLoggingLevel_warning 3
  98. #define d_globalLoggingLevel_information 4
  99. #define d_globalBOOTPServerTag_create 1
  100. #define d_globalBOOTPServerTag_delete 2
  101. #define d_ifSEState_enabled 1
  102. #define d_ifSEState_bound 2
  103. #define d_ifCEState_enabled 1
  104. #define d_ifCEState_bound 2
  105. #define d_ifCERelayMode_disabled 1
  106. #define d_ifCERelayMode_enabled 2
  107. #define d_ifBindingState_enabled 1
  108. #define d_ifBindingState_bound 2
  109. ///////////////////////////////////////////////////////////////////////////////
  110. // //
  111. // Declaration of supported view //
  112. // //
  113. ///////////////////////////////////////////////////////////////////////////////
  114. extern SnmpMibView v_msipbootp;
  115. #endif // _MIBENTRY_H_