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.

154 lines
8.1 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. mipxe.h
  5. Abstract:
  6. ms-ipx mib entry indeces
  7. Author:
  8. Vadim Eydelman (vadime) 30-May-1996
  9. Revision History:
  10. --*/
  11. #ifndef _SNMP_MIPXE_
  12. #define _SNMP_MIPXE_
  13. ///////////////////////////////////////////////////////////////////////////////
  14. // //
  15. // Mib entry indices //
  16. // //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. #define mi_mipxBase 0
  19. #define mi_mipxBaseOperState mi_mipxBase+1
  20. #define mi_mipxBasePrimaryNetNumber mi_mipxBaseOperState+1
  21. #define mi_mipxBaseNode mi_mipxBasePrimaryNetNumber+1
  22. #define mi_mipxBaseSysName mi_mipxBaseNode+1
  23. #define mi_mipxBaseMaxPathSplits mi_mipxBaseSysName+1
  24. #define mi_mipxBaseIfCount mi_mipxBaseMaxPathSplits+1
  25. #define mi_mipxBaseDestCount mi_mipxBaseIfCount+1
  26. #define mi_mipxBaseServCount mi_mipxBaseDestCount+1
  27. #define mi_mipxInterface mi_mipxBaseServCount+1
  28. #define mi_mipxIfTable mi_mipxInterface+1
  29. #define mi_mipxIfEntry mi_mipxIfTable+1
  30. #define mi_mipxIfIndex mi_mipxIfEntry+1
  31. #define mi_mipxIfAdminState mi_mipxIfIndex+1
  32. #define mi_mipxIfOperState mi_mipxIfAdminState+1
  33. #define mi_mipxIfAdapterIndex mi_mipxIfOperState+1
  34. #define mi_mipxIfName mi_mipxIfAdapterIndex+1
  35. #define mi_mipxIfType mi_mipxIfName+1
  36. #define mi_mipxIfLocalMaxPacketSize mi_mipxIfType+1
  37. #define mi_mipxIfMediaType mi_mipxIfLocalMaxPacketSize+1
  38. #define mi_mipxIfNetNumber mi_mipxIfMediaType+1
  39. #define mi_mipxIfMacAddress mi_mipxIfNetNumber+1
  40. #define mi_mipxIfDelay mi_mipxIfMacAddress+1
  41. #define mi_mipxIfThroughput mi_mipxIfDelay+1
  42. #define mi_mipxIfIpxWanEnable mi_mipxIfThroughput+1
  43. #define mi_mipxIfNetbiosAccept mi_mipxIfIpxWanEnable+1
  44. #define mi_mipxIfNetbiosDeliver mi_mipxIfNetbiosAccept+1
  45. #define mi_mipxIfInHdrErrors mi_mipxIfNetbiosDeliver+1
  46. #define mi_mipxIfInFilterDrops mi_mipxIfInHdrErrors+1
  47. #define mi_mipxIfInNoRoutes mi_mipxIfInFilterDrops+1
  48. #define mi_mipxIfInDiscards mi_mipxIfInNoRoutes+1
  49. #define mi_mipxIfInDelivers mi_mipxIfInDiscards+1
  50. #define mi_mipxIfOutFilterDrops mi_mipxIfInDelivers+1
  51. #define mi_mipxIfOutDiscards mi_mipxIfOutFilterDrops+1
  52. #define mi_mipxIfOutDelivers mi_mipxIfOutDiscards+1
  53. #define mi_mipxIfInNetbiosPackets mi_mipxIfOutDelivers+1
  54. #define mi_mipxIfOutNetbiosPackets mi_mipxIfInNetbiosPackets+1
  55. #define mi_mipxForwarding mi_mipxIfOutNetbiosPackets+1
  56. #define mi_mipxDestTable mi_mipxForwarding+1
  57. #define mi_mipxDestEntry mi_mipxDestTable+1
  58. #define mi_mipxDestNetNum mi_mipxDestEntry+1
  59. #define mi_mipxDestProtocol mi_mipxDestNetNum+1
  60. #define mi_mipxDestTicks mi_mipxDestProtocol+1
  61. #define mi_mipxDestHopCount mi_mipxDestTicks+1
  62. #define mi_mipxDestNextHopIfIndex mi_mipxDestHopCount+1
  63. #define mi_mipxDestNextHopMacAddress mi_mipxDestNextHopIfIndex+1
  64. #define mi_mipxDestFlags mi_mipxDestNextHopMacAddress+1
  65. #define mi_mipxStaticRouteTable mi_mipxDestFlags+1
  66. #define mi_mipxStaticRouteEntry mi_mipxStaticRouteTable+1
  67. #define mi_mipxStaticRouteIfIndex mi_mipxStaticRouteEntry+1
  68. #define mi_mipxStaticRouteNetNum mi_mipxStaticRouteIfIndex+1
  69. #define mi_mipxStaticRouteEntryStatus mi_mipxStaticRouteNetNum+1
  70. #define mi_mipxStaticRouteTicks mi_mipxStaticRouteEntryStatus+1
  71. #define mi_mipxStaticRouteHopCount mi_mipxStaticRouteTicks+1
  72. #define mi_mipxStaticRouteNextHopMacAddress mi_mipxStaticRouteHopCount+1
  73. #define mi_mipxServices mi_mipxStaticRouteNextHopMacAddress+1
  74. #define mi_mipxServTable mi_mipxServices+1
  75. #define mi_mipxServEntry mi_mipxServTable+1
  76. #define mi_mipxServType mi_mipxServEntry+1
  77. #define mi_mipxServName mi_mipxServType+1
  78. #define mi_mipxServProtocol mi_mipxServName+1
  79. #define mi_mipxServNetNum mi_mipxServProtocol+1
  80. #define mi_mipxServNode mi_mipxServNetNum+1
  81. #define mi_mipxServSocket mi_mipxServNode+1
  82. #define mi_mipxServHopCount mi_mipxServSocket+1
  83. #define mi_mipxStaticServTable mi_mipxServHopCount+1
  84. #define mi_mipxStaticServEntry mi_mipxStaticServTable+1
  85. #define mi_mipxStaticServIfIndex mi_mipxStaticServEntry+1
  86. #define mi_mipxStaticServType mi_mipxStaticServIfIndex+1
  87. #define mi_mipxStaticServName mi_mipxStaticServType+1
  88. #define mi_mipxStaticServEntryStatus mi_mipxStaticServName+1
  89. #define mi_mipxStaticServNetNum mi_mipxStaticServEntryStatus+1
  90. #define mi_mipxStaticServNode mi_mipxStaticServNetNum+1
  91. #define mi_mipxStaticServSocket mi_mipxStaticServNode+1
  92. #define mi_mipxStaticServHopCount mi_mipxStaticServSocket+1
  93. ///////////////////////////////////////////////////////////////////////////////
  94. // //
  95. // mipxIfEntry table (1.3.6.1.4.1.311.1.8.2.1.1) //
  96. // //
  97. ///////////////////////////////////////////////////////////////////////////////
  98. #define ne_mipxIfEntry 25
  99. #define ni_mipxIfEntry 1
  100. ///////////////////////////////////////////////////////////////////////////////
  101. // //
  102. // mipxDestEntry table (1.3.6.1.4.1.311.1.8.3.1.1) //
  103. // //
  104. ///////////////////////////////////////////////////////////////////////////////
  105. #define ne_mipxDestEntry 7
  106. #define ni_mipxDestEntry 1
  107. ///////////////////////////////////////////////////////////////////////////////
  108. // //
  109. // mipxStaticRouteEntry table (1.3.6.1.4.1.311.1.8.3.2.1) //
  110. // //
  111. ///////////////////////////////////////////////////////////////////////////////
  112. #define ne_mipxStaticRouteEntry 6
  113. #define ni_mipxStaticRouteEntry 2
  114. ///////////////////////////////////////////////////////////////////////////////
  115. // //
  116. // mipxServEntry table (1.3.6.1.4.1.311.1.8.4.1.1) //
  117. // //
  118. ///////////////////////////////////////////////////////////////////////////////
  119. #define ne_mipxServEntry 7
  120. #define ni_mipxServEntry 2
  121. ///////////////////////////////////////////////////////////////////////////////
  122. // //
  123. // mipxStaticServEntry table (1.3.6.1.4.1.311.1.8.4.2.1) //
  124. // //
  125. ///////////////////////////////////////////////////////////////////////////////
  126. #define ne_mipxStaticServEntry 8
  127. #define ni_mipxStaticServEntry 3
  128. #endif