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.

231 lines
8.5 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. mripsapf.h
  5. Abstract:
  6. Header for ms-ripsap instrumentation callbacks and associated data structures
  7. Author:
  8. Vadim Eydelman (vadime) 30-May-1996
  9. Revision History:
  10. --*/
  11. #ifndef _SNMP_MRIPSAPF_
  12. #define _SNMP_MRIPSAPF_
  13. ///////////////////////////////////////////////////////////////////////////////
  14. // //
  15. // mripsapBase group (1.3.6.1.4.1.311.1.9.1) //
  16. // //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. UINT
  19. get_mripsapBase(
  20. UINT actionId,
  21. AsnAny * objectArray,
  22. UINT * errorIndex
  23. );
  24. typedef struct _buf_mripsapBase {
  25. AsnAny mripsapBaseRipOperState;
  26. AsnAny mripsapBaseSapOperState;
  27. } buf_mripsapBase;
  28. #define gf_mripsapBaseRipOperState get_mripsapBase
  29. #define gf_mripsapBaseSapOperState get_mripsapBase
  30. #define gb_mripsapBaseRipOperState buf_mripsapBase
  31. #define gb_mripsapBaseSapOperState buf_mripsapBase
  32. ///////////////////////////////////////////////////////////////////////////////
  33. // //
  34. // mripsapInterface group (1.3.6.1.4.1.311.1.9.2) //
  35. // //
  36. ///////////////////////////////////////////////////////////////////////////////
  37. ///////////////////////////////////////////////////////////////////////////////
  38. // //
  39. // mripIfEntry table (1.3.6.1.4.1.311.1.9.2.1.1) //
  40. // //
  41. ///////////////////////////////////////////////////////////////////////////////
  42. UINT
  43. get_mripIfEntry(
  44. UINT actionId,
  45. AsnAny * objectArray,
  46. UINT * errorIndex
  47. );
  48. typedef struct _buf_mripIfEntry {
  49. AsnAny mripIfIndex;
  50. AsnAny mripIfAdminState;
  51. AsnAny mripIfOperState;
  52. AsnAny mripIfUpdateMode;
  53. AsnAny mripIfUpdateInterval;
  54. AsnAny mripIfAgeMultiplier;
  55. AsnAny mripIfSupply;
  56. AsnAny mripIfListen;
  57. AsnAny mripIfOutPackets;
  58. AsnAny mripIfInPackets;
  59. } buf_mripIfEntry;
  60. #define gf_mripIfIndex get_mripIfEntry
  61. #define gf_mripIfAdminState get_mripIfEntry
  62. #define gf_mripIfOperState get_mripIfEntry
  63. #define gf_mripIfUpdateMode get_mripIfEntry
  64. #define gf_mripIfUpdateInterval get_mripIfEntry
  65. #define gf_mripIfAgeMultiplier get_mripIfEntry
  66. #define gf_mripIfSupply get_mripIfEntry
  67. #define gf_mripIfListen get_mripIfEntry
  68. #define gf_mripIfOutPackets get_mripIfEntry
  69. #define gf_mripIfInPackets get_mripIfEntry
  70. #define gb_mripIfIndex buf_mripIfEntry
  71. #define gb_mripIfAdminState buf_mripIfEntry
  72. #define gb_mripIfOperState buf_mripIfEntry
  73. #define gb_mripIfUpdateMode buf_mripIfEntry
  74. #define gb_mripIfUpdateInterval buf_mripIfEntry
  75. #define gb_mripIfAgeMultiplier buf_mripIfEntry
  76. #define gb_mripIfSupply buf_mripIfEntry
  77. #define gb_mripIfListen buf_mripIfEntry
  78. #define gb_mripIfOutPackets buf_mripIfEntry
  79. #define gb_mripIfInPackets buf_mripIfEntry
  80. UINT
  81. set_mripIfEntry(
  82. UINT actionId,
  83. AsnAny * objectArray,
  84. UINT * errorIndex
  85. );
  86. typedef struct _sav_mripIfEntry {
  87. AsnAny mripIfIndex;
  88. AsnAny mripIfAdminState;
  89. AsnAny mripIfUpdateMode;
  90. AsnAny mripIfUpdateInterval;
  91. AsnAny mripIfAgeMultiplier;
  92. AsnAny mripIfSupply;
  93. AsnAny mripIfListen;
  94. RIP_MIB_SET_INPUT_DATA MibSetInputData;
  95. } sav_mripIfEntry;
  96. #define sf_mripIfIndex set_mripIfEntry
  97. #define sf_mripIfAdminState set_mripIfEntry
  98. #define sf_mripIfUpdateMode set_mripIfEntry
  99. #define sf_mripIfUpdateInterval set_mripIfEntry
  100. #define sf_mripIfAgeMultiplier set_mripIfEntry
  101. #define sf_mripIfSupply set_mripIfEntry
  102. #define sf_mripIfListen set_mripIfEntry
  103. #define sb_mripIfIndex sav_mripIfEntry
  104. #define sb_mripIfAdminState sav_mripIfEntry
  105. #define sb_mripIfUpdateMode sav_mripIfEntry
  106. #define sb_mripIfUpdateInterval sav_mripIfEntry
  107. #define sb_mripIfAgeMultiplier sav_mripIfEntry
  108. #define sb_mripIfSupply sav_mripIfEntry
  109. #define sb_mripIfListen sav_mripIfEntry
  110. ///////////////////////////////////////////////////////////////////////////////
  111. // //
  112. // msapIfEntry table (1.3.6.1.4.1.311.1.9.2.2.1) //
  113. // //
  114. ///////////////////////////////////////////////////////////////////////////////
  115. UINT
  116. get_msapIfEntry(
  117. UINT actionId,
  118. AsnAny * objectArray,
  119. UINT * errorIndex
  120. );
  121. typedef struct _buf_msapIfEntry {
  122. AsnAny msapIfIndex;
  123. AsnAny msapIfAdminState;
  124. AsnAny msapIfOperState;
  125. AsnAny msapIfUpdateMode;
  126. AsnAny msapIfUpdateInterval;
  127. AsnAny msapIfAgeMultiplier;
  128. AsnAny msapIfSupply;
  129. AsnAny msapIfListen;
  130. AsnAny msapIfGetNearestServerReply;
  131. AsnAny msapIfOutPackets;
  132. AsnAny msapIfInPackets;
  133. } buf_msapIfEntry;
  134. #define gf_msapIfIndex get_msapIfEntry
  135. #define gf_msapIfAdminState get_msapIfEntry
  136. #define gf_msapIfOperState get_msapIfEntry
  137. #define gf_msapIfUpdateMode get_msapIfEntry
  138. #define gf_msapIfUpdateInterval get_msapIfEntry
  139. #define gf_msapIfAgeMultiplier get_msapIfEntry
  140. #define gf_msapIfSupply get_msapIfEntry
  141. #define gf_msapIfListen get_msapIfEntry
  142. #define gf_msapIfGetNearestServerReply get_msapIfEntry
  143. #define gf_msapIfOutPackets get_msapIfEntry
  144. #define gf_msapIfInPackets get_msapIfEntry
  145. #define gb_msapIfIndex buf_msapIfEntry
  146. #define gb_msapIfAdminState buf_msapIfEntry
  147. #define gb_msapIfOperState buf_msapIfEntry
  148. #define gb_msapIfUpdateMode buf_msapIfEntry
  149. #define gb_msapIfUpdateInterval buf_msapIfEntry
  150. #define gb_msapIfAgeMultiplier buf_msapIfEntry
  151. #define gb_msapIfSupply buf_msapIfEntry
  152. #define gb_msapIfListen buf_msapIfEntry
  153. #define gb_msapIfGetNearestServerReply buf_msapIfEntry
  154. #define gb_msapIfOutPackets buf_msapIfEntry
  155. #define gb_msapIfInPackets buf_msapIfEntry
  156. UINT
  157. set_msapIfEntry(
  158. UINT actionId,
  159. AsnAny * objectArray,
  160. UINT * errorIndex
  161. );
  162. typedef struct _sav_msapIfEntry {
  163. AsnAny msapIfIndex;
  164. AsnAny msapIfAdminState;
  165. AsnAny msapIfUpdateMode;
  166. AsnAny msapIfUpdateInterval;
  167. AsnAny msapIfAgeMultiplier;
  168. AsnAny msapIfSupply;
  169. AsnAny msapIfListen;
  170. AsnAny msapIfGetNearestServerReply;
  171. SAP_MIB_SET_INPUT_DATA MibSetInputData;
  172. } sav_msapIfEntry;
  173. #define sf_msapIfIndex set_msapIfEntry
  174. #define sf_msapIfAdminState set_msapIfEntry
  175. #define sf_msapIfUpdateMode set_msapIfEntry
  176. #define sf_msapIfUpdateInterval set_msapIfEntry
  177. #define sf_msapIfAgeMultiplier set_msapIfEntry
  178. #define sf_msapIfSupply set_msapIfEntry
  179. #define sf_msapIfListen set_msapIfEntry
  180. #define sf_msapIfGetNearestServerReply set_msapIfEntry
  181. #define sb_msapIfIndex sav_msapIfEntry
  182. #define sb_msapIfAdminState sav_msapIfEntry
  183. #define sb_msapIfUpdateMode sav_msapIfEntry
  184. #define sb_msapIfUpdateInterval sav_msapIfEntry
  185. #define sb_msapIfAgeMultiplier sav_msapIfEntry
  186. #define sb_msapIfSupply sav_msapIfEntry
  187. #define sb_msapIfListen sav_msapIfEntry
  188. #define sb_msapIfGetNearestServerReply sav_msapIfEntry
  189. #endif