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.

599 lines
25 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. mibfuncs.h
  5. Abstract:
  6. Sample subagent instrumentation callbacks.
  7. Note:
  8. This file is an example of the output to be produced from the
  9. code generation utility.
  10. --*/
  11. #ifndef _MIBFUNCS_H_
  12. #define _MIBFUNCS_H_
  13. ///////////////////////////////////////////////////////////////////////////////
  14. // //
  15. // global group (1.3.6.1.4.1.311.1.11.1) //
  16. // //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. UINT
  19. get_global(
  20. UINT actionId,
  21. AsnAny * objectArray,
  22. UINT * errorIndex
  23. );
  24. UINT
  25. set_global(
  26. UINT actionId,
  27. AsnAny * objectArray,
  28. UINT * errorIndex
  29. );
  30. typedef struct _buf_global {
  31. AsnAny globalSystemRouteChanges;
  32. AsnAny globalTotalResponseSends;
  33. AsnAny globalLoggingLevel;
  34. AsnAny globalMaxRecQueueSize;
  35. AsnAny globalMaxSendQueueSize;
  36. AsnAny globalMinTriggeredUpdateInterval;
  37. AsnAny globalPeerFilterMode;
  38. AsnAny globalPeerFilterCount;
  39. } buf_global;
  40. typedef struct _sav_global {
  41. AsnAny globalLoggingLevel;
  42. AsnAny globalMaxRecQueueSize;
  43. AsnAny globalMaxSendQueueSize;
  44. AsnAny globalMinTriggeredUpdateInterval;
  45. AsnAny globalPeerFilterMode;
  46. } sav_global;
  47. #define gf_globalSystemRouteChanges get_global
  48. #define gf_globalTotalResponseSends get_global
  49. #define gf_globalLoggingLevel get_global
  50. #define gf_globalMaxRecQueueSize get_global
  51. #define gf_globalMaxSendQueueSize get_global
  52. #define gf_globalMinTriggeredUpdateInterval get_global
  53. #define gf_globalPeerFilterMode get_global
  54. #define gf_globalPeerFilterCount get_global
  55. #define gb_globalSystemRouteChanges buf_global
  56. #define gb_globalTotalResponseSends buf_global
  57. #define gb_globalLoggingLevel buf_global
  58. #define gb_globalMaxRecQueueSize buf_global
  59. #define gb_globalMaxSendQueueSize buf_global
  60. #define gb_globalMinTriggeredUpdateInterval buf_global
  61. #define gb_globalPeerFilterMode buf_global
  62. #define gb_globalPeerFilterCount buf_global
  63. #define sf_globalLoggingLevel set_global
  64. #define sf_globalMaxRecQueueSize set_global
  65. #define sf_globalMaxSendQueueSize set_global
  66. #define sf_globalMinTriggeredUpdateInterval set_global
  67. #define sf_globalPeerFilterMode set_global
  68. #define sb_globalLoggingLevel sav_global
  69. #define sb_globalMaxRecQueueSize sav_global
  70. #define sb_globalMaxSendQueueSize sav_global
  71. #define sb_globalMinTriggeredUpdateInterval sav_global
  72. #define sb_globalPeerFilterMode sav_global
  73. ///////////////////////////////////////////////////////////////////////////////
  74. // //
  75. // globalPeerFilterEntry table (1.3.6.1.4.1.311.1.11.1.9.1) //
  76. // //
  77. ///////////////////////////////////////////////////////////////////////////////
  78. UINT
  79. get_globalPeerFilterEntry(
  80. UINT actionId,
  81. AsnAny * objectArray,
  82. UINT * errorIndex
  83. );
  84. UINT
  85. set_globalPeerFilterEntry(
  86. UINT actionId,
  87. AsnAny * objectArray,
  88. UINT * errorIndex
  89. );
  90. typedef struct _buf_globalPeerFilterEntry {
  91. AsnAny globalPFAddr;
  92. AsnAny globalPFTag;
  93. DWORD dwPeerFilterAddr;
  94. } buf_globalPeerFilterEntry;
  95. typedef struct _sav_globalPeerFilterEntry {
  96. AsnAny globalPFAddr;
  97. AsnAny globalPFTag;
  98. } sav_globalPeerFilterEntry;
  99. #define gf_globalPFAddr get_globalPeerFilterEntry
  100. #define gf_globalPFTag get_globalPeerFilterEntry
  101. #define gb_globalPFAddr buf_globalPeerFilterEntry
  102. #define gb_globalPFTag buf_globalPeerFilterEntry
  103. #define sf_globalPFAddr set_globalPeerFilterEntry
  104. #define sf_globalPFTag set_globalPeerFilterEntry
  105. #define sb_globalPFAddr sav_globalPeerFilterEntry
  106. #define sb_globalPFTag sav_globalPeerFilterEntry
  107. ///////////////////////////////////////////////////////////////////////////////
  108. // //
  109. // interface group (1.3.6.1.4.1.311.1.11.2) //
  110. // //
  111. ///////////////////////////////////////////////////////////////////////////////
  112. ///////////////////////////////////////////////////////////////////////////////
  113. // //
  114. // ifStatsEntry table (1.3.6.1.4.1.311.1.11.2.1.1) //
  115. // //
  116. ///////////////////////////////////////////////////////////////////////////////
  117. UINT
  118. get_ifStatsEntry(
  119. UINT actionId,
  120. AsnAny * objectArray,
  121. UINT * errorIndex
  122. );
  123. typedef struct _buf_ifStatsEntry {
  124. AsnAny ifSEIndex;
  125. AsnAny ifSEState;
  126. AsnAny ifSESendFailures;
  127. AsnAny ifSEReceiveFailures;
  128. AsnAny ifSERequestSends;
  129. AsnAny ifSERequestReceiveds;
  130. AsnAny ifSEResponseSends;
  131. AsnAny ifSEResponseReceiveds;
  132. AsnAny ifSEBadResponsePacketReceiveds;
  133. AsnAny ifSEBadResponseEntriesReceiveds;
  134. AsnAny ifSETriggeredUpdateSends;
  135. DWORD dwIfIndex;
  136. } buf_ifStatsEntry;
  137. #define gf_ifSEIndex get_ifStatsEntry
  138. #define gf_ifSEState get_ifStatsEntry
  139. #define gf_ifSESendFailures get_ifStatsEntry
  140. #define gf_ifSEReceiveFailures get_ifStatsEntry
  141. #define gf_ifSERequestSends get_ifStatsEntry
  142. #define gf_ifSERequestReceiveds get_ifStatsEntry
  143. #define gf_ifSEResponseSends get_ifStatsEntry
  144. #define gf_ifSEResponseReceiveds get_ifStatsEntry
  145. #define gf_ifSEBadResponsePacketReceiveds get_ifStatsEntry
  146. #define gf_ifSEBadResponseEntriesReceiveds get_ifStatsEntry
  147. #define gf_ifSETriggeredUpdateSends get_ifStatsEntry
  148. #define gb_ifSEIndex buf_ifStatsEntry
  149. #define gb_ifSEState buf_ifStatsEntry
  150. #define gb_ifSESendFailures buf_ifStatsEntry
  151. #define gb_ifSEReceiveFailures buf_ifStatsEntry
  152. #define gb_ifSERequestSends buf_ifStatsEntry
  153. #define gb_ifSERequestReceiveds buf_ifStatsEntry
  154. #define gb_ifSEResponseSends buf_ifStatsEntry
  155. #define gb_ifSEResponseReceiveds buf_ifStatsEntry
  156. #define gb_ifSEBadResponsePacketReceiveds buf_ifStatsEntry
  157. #define gb_ifSEBadResponseEntriesReceiveds buf_ifStatsEntry
  158. #define gb_ifSETriggeredUpdateSends buf_ifStatsEntry
  159. ///////////////////////////////////////////////////////////////////////////////
  160. // //
  161. // ifConfigEntry table (1.3.6.1.4.1.311.1.11.2.2.1) //
  162. // //
  163. ///////////////////////////////////////////////////////////////////////////////
  164. UINT
  165. get_ifConfigEntry(
  166. UINT actionId,
  167. AsnAny * objectArray,
  168. UINT * errorIndex
  169. );
  170. UINT
  171. set_ifConfigEntry(
  172. UINT actionId,
  173. AsnAny * objectArray,
  174. UINT * errorIndex
  175. );
  176. typedef struct _buf_ifConfigEntry {
  177. AsnAny ifCEIndex;
  178. AsnAny ifCEState;
  179. AsnAny ifCEMetric;
  180. AsnAny ifCEUpdateMode;
  181. AsnAny ifCEAcceptMode;
  182. AsnAny ifCEAnnounceMode;
  183. AsnAny ifCEProtocolFlags;
  184. AsnAny ifCERouteExpirationInterval;
  185. AsnAny ifCERouteRemovalInterval;
  186. AsnAny ifCEFullUpdateInterval;
  187. AsnAny ifCEAuthenticationType;
  188. AsnAny ifCEAuthenticationKey;
  189. AsnAny ifCERouteTag;
  190. AsnAny ifCEUnicastPeerMode;
  191. AsnAny ifCEAcceptFilterMode;
  192. AsnAny ifCEAnnounceFilterMode;
  193. AsnAny ifCEUnicastPeerCount;
  194. AsnAny ifCEAcceptFilterCount;
  195. AsnAny ifCEAnnounceFilterCount;
  196. DWORD dwifIndex;
  197. BYTE pbAuthKey[IPRIP_MAX_AUTHKEY_SIZE];
  198. } buf_ifConfigEntry;
  199. typedef struct _sav_ifConfigEntry {
  200. AsnAny ifCEIndex;
  201. // AsnAny ifCEState;
  202. AsnAny ifCEMetric;
  203. AsnAny ifCEUpdateMode;
  204. AsnAny ifCEAcceptMode;
  205. AsnAny ifCEAnnounceMode;
  206. AsnAny ifCEProtocolFlags;
  207. AsnAny ifCERouteExpirationInterval;
  208. AsnAny ifCERouteRemovalInterval;
  209. AsnAny ifCEFullUpdateInterval;
  210. AsnAny ifCEAuthenticationType;
  211. AsnAny ifCEAuthenticationKey;
  212. AsnAny ifCERouteTag;
  213. AsnAny ifCEUnicastPeerMode;
  214. AsnAny ifCEAcceptFilterMode;
  215. AsnAny ifCEAnnounceFilterMode;
  216. } sav_ifConfigEntry;
  217. #define gf_ifCEIndex get_ifConfigEntry
  218. #define gf_ifCEState get_ifConfigEntry
  219. #define gf_ifCEMetric get_ifConfigEntry
  220. #define gf_ifCEUpdateMode get_ifConfigEntry
  221. #define gf_ifCEAcceptMode get_ifConfigEntry
  222. #define gf_ifCEAnnounceMode get_ifConfigEntry
  223. #define gf_ifCEProtocolFlags get_ifConfigEntry
  224. #define gf_ifCERouteExpirationInterval get_ifConfigEntry
  225. #define gf_ifCERouteRemovalInterval get_ifConfigEntry
  226. #define gf_ifCEFullUpdateInterval get_ifConfigEntry
  227. #define gf_ifCEAuthenticationType get_ifConfigEntry
  228. #define gf_ifCEAuthenticationKey get_ifConfigEntry
  229. #define gf_ifCERouteTag get_ifConfigEntry
  230. #define gf_ifCEUnicastPeerMode get_ifConfigEntry
  231. #define gf_ifCEAcceptFilterMode get_ifConfigEntry
  232. #define gf_ifCEAnnounceFilterMode get_ifConfigEntry
  233. #define gf_ifCEUnicastPeerCount get_ifConfigEntry
  234. #define gf_ifCEAcceptFilterCount get_ifConfigEntry
  235. #define gf_ifCEAnnounceFilterCount get_ifConfigEntry
  236. #define gb_ifCEIndex buf_ifConfigEntry
  237. #define gb_ifCEState buf_ifConfigEntry
  238. #define gb_ifCEMetric buf_ifConfigEntry
  239. #define gb_ifCEUpdateMode buf_ifConfigEntry
  240. #define gb_ifCEAcceptMode buf_ifConfigEntry
  241. #define gb_ifCEAnnounceMode buf_ifConfigEntry
  242. #define gb_ifCEProtocolFlags buf_ifConfigEntry
  243. #define gb_ifCERouteExpirationInterval buf_ifConfigEntry
  244. #define gb_ifCERouteRemovalInterval buf_ifConfigEntry
  245. #define gb_ifCEFullUpdateInterval buf_ifConfigEntry
  246. #define gb_ifCEAuthenticationType buf_ifConfigEntry
  247. #define gb_ifCEAuthenticationKey buf_ifConfigEntry
  248. #define gb_ifCERouteTag buf_ifConfigEntry
  249. #define gb_ifCEUnicastPeerMode buf_ifConfigEntry
  250. #define gb_ifCEAcceptFilterMode buf_ifConfigEntry
  251. #define gb_ifCEAnnounceFilterMode buf_ifConfigEntry
  252. #define gb_ifCEUnicastPeerCount buf_ifConfigEntry
  253. #define gb_ifCEAcceptFilterCount buf_ifConfigEntry
  254. #define gb_ifCEAnnounceFilterCount buf_ifConfigEntry
  255. #define sf_ifCEIndex set_ifConfigEntry
  256. //#define sf_ifCEState set_ifConfigEntry
  257. #define sf_ifCEMetric set_ifConfigEntry
  258. #define sf_ifCEUpdateMode set_ifConfigEntry
  259. #define sf_ifCEAcceptMode set_ifConfigEntry
  260. #define sf_ifCEAnnounceMode set_ifConfigEntry
  261. #define sf_ifCEProtocolFlags set_ifConfigEntry
  262. #define sf_ifCERouteExpirationInterval set_ifConfigEntry
  263. #define sf_ifCERouteRemovalInterval set_ifConfigEntry
  264. #define sf_ifCEFullUpdateInterval set_ifConfigEntry
  265. #define sf_ifCEAuthenticationType set_ifConfigEntry
  266. #define sf_ifCEAuthenticationKey set_ifConfigEntry
  267. #define sf_ifCERouteTag set_ifConfigEntry
  268. #define sf_ifCEUnicastPeerMode set_ifConfigEntry
  269. #define sf_ifCEAcceptFilterMode set_ifConfigEntry
  270. #define sf_ifCEAnnounceFilterMode set_ifConfigEntry
  271. #define sb_ifCEIndex sav_ifConfigEntry
  272. //#define sb_ifCEState sav_ifConfigEntry
  273. #define sb_ifCEMetric sav_ifConfigEntry
  274. #define sb_ifCEUpdateMode sav_ifConfigEntry
  275. #define sb_ifCEAcceptMode sav_ifConfigEntry
  276. #define sb_ifCEAnnounceMode sav_ifConfigEntry
  277. #define sb_ifCEProtocolFlags sav_ifConfigEntry
  278. #define sb_ifCERouteExpirationInterval sav_ifConfigEntry
  279. #define sb_ifCERouteRemovalInterval sav_ifConfigEntry
  280. #define sb_ifCEFullUpdateInterval sav_ifConfigEntry
  281. #define sb_ifCEAuthenticationType sav_ifConfigEntry
  282. #define sb_ifCEAuthenticationKey sav_ifConfigEntry
  283. #define sb_ifCERouteTag sav_ifConfigEntry
  284. #define sb_ifCEUnicastPeerMode sav_ifConfigEntry
  285. #define sb_ifCEAcceptFilterMode sav_ifConfigEntry
  286. #define sb_ifCEAnnounceFilterMode sav_ifConfigEntry
  287. ///////////////////////////////////////////////////////////////////////////////
  288. // //
  289. // ifUnicastPeersEntry table (1.3.6.1.4.1.311.1.11.2.3.1) //
  290. // //
  291. ///////////////////////////////////////////////////////////////////////////////
  292. UINT
  293. get_ifUnicastPeersEntry(
  294. UINT actionId,
  295. AsnAny * objectArray,
  296. UINT * errorIndex
  297. );
  298. UINT
  299. set_ifUnicastPeersEntry(
  300. UINT actionId,
  301. AsnAny * objectArray,
  302. UINT * errorIndex
  303. );
  304. typedef struct _buf_ifUnicastPeersEntry {
  305. AsnAny ifUPIfIndex;
  306. AsnAny ifUPAddress;
  307. AsnAny ifUPTag;
  308. DWORD dwIfIndex;
  309. DWORD dwUnicastPeerAddr;
  310. } buf_ifUnicastPeersEntry;
  311. typedef struct _sav_ifUnicastPeersEntry {
  312. AsnAny ifUPIfIndex;
  313. AsnAny ifUPAddress;
  314. AsnAny ifUPTag;
  315. } sav_ifUnicastPeersEntry;
  316. #define gf_ifUPIfIndex get_ifUnicastPeersEntry
  317. #define gf_ifUPAddress get_ifUnicastPeersEntry
  318. #define gf_ifUPTag get_ifUnicastPeersEntry
  319. #define gb_ifUPIfIndex buf_ifUnicastPeersEntry
  320. #define gb_ifUPAddress buf_ifUnicastPeersEntry
  321. #define gb_ifUPTag buf_ifUnicastPeersEntry
  322. #define sf_ifUPIfIndex set_ifUnicastPeersEntry
  323. #define sf_ifUPAddress set_ifUnicastPeersEntry
  324. #define sf_ifUPTag set_ifUnicastPeersEntry
  325. #define sb_ifUPIfIndex sav_ifUnicastPeersEntry
  326. #define sb_ifUPAddress sav_ifUnicastPeersEntry
  327. #define sb_ifUPTag sav_ifUnicastPeersEntry
  328. ///////////////////////////////////////////////////////////////////////////////
  329. // //
  330. // ifAcceptRouteFilterEntry table (1.3.6.1.4.1.311.1.11.2.4.1) //
  331. // //
  332. ///////////////////////////////////////////////////////////////////////////////
  333. UINT
  334. get_ifAcceptRouteFilterEntry(
  335. UINT actionId,
  336. AsnAny * objectArray,
  337. UINT * errorIndex
  338. );
  339. UINT
  340. set_ifAcceptRouteFilterEntry(
  341. UINT actionId,
  342. AsnAny * objectArray,
  343. UINT * errorIndex
  344. );
  345. typedef struct _buf_ifAcceptRouteFilterEntry {
  346. AsnAny ifAcceptRFIfIndex;
  347. AsnAny ifAcceptRFLoAddress;
  348. AsnAny ifAcceptRFHiAddress;
  349. AsnAny ifAcceptRFTag;
  350. DWORD dwIfIndex;
  351. DWORD dwFilterLoAddr;
  352. DWORD dwFilterHiAddr;
  353. } buf_ifAcceptRouteFilterEntry;
  354. typedef struct _sav_ifAcceptRouteFilterEntry {
  355. AsnAny ifAcceptRFIfIndex;
  356. AsnAny ifAcceptRFLoAddress;
  357. AsnAny ifAcceptRFHiAddress;
  358. AsnAny ifAcceptRFTag;
  359. } sav_ifAcceptRouteFilterEntry;
  360. #define gf_ifAcceptRFIfIndex get_ifAcceptRouteFilterEntry
  361. #define gf_ifAcceptRFLoAddress get_ifAcceptRouteFilterEntry
  362. #define gf_ifAcceptRFHiAddress get_ifAcceptRouteFilterEntry
  363. #define gf_ifAcceptRFTag get_ifAcceptRouteFilterEntry
  364. #define gb_ifAcceptRFIfIndex buf_ifAcceptRouteFilterEntry
  365. #define gb_ifAcceptRFLoAddress buf_ifAcceptRouteFilterEntry
  366. #define gb_ifAcceptRFHiAddress buf_ifAcceptRouteFilterEntry
  367. #define gb_ifAcceptRFTag buf_ifAcceptRouteFilterEntry
  368. #define sf_ifAcceptRFIfIndex set_ifAcceptRouteFilterEntry
  369. #define sf_ifAcceptRFLoAddress set_ifAcceptRouteFilterEntry
  370. #define sf_ifAcceptRFHiAddress set_ifAcceptRouteFilterEntry
  371. #define sf_ifAcceptRFTag set_ifAcceptRouteFilterEntry
  372. #define sb_ifAcceptRFIfIndex sav_ifAcceptRouteFilterEntry
  373. #define sb_ifAcceptRFLoAddress sav_ifAcceptRouteFilterEntry
  374. #define sb_ifAcceptRFHiAddress sav_ifAcceptRouteFilterEntry
  375. #define sb_ifAcceptRFTag sav_ifAcceptRouteFilterEntry
  376. ///////////////////////////////////////////////////////////////////////////////
  377. // //
  378. // ifAnnounceRouteFilterEntry table (1.3.6.1.4.1.311.1.11.2.5.1) //
  379. // //
  380. ///////////////////////////////////////////////////////////////////////////////
  381. UINT
  382. get_ifAnnounceRouteFilterEntry(
  383. UINT actionId,
  384. AsnAny * objectArray,
  385. UINT * errorIndex
  386. );
  387. UINT
  388. set_ifAnnounceRouteFilterEntry(
  389. UINT actionId,
  390. AsnAny * objectArray,
  391. UINT * errorIndex
  392. );
  393. typedef struct _buf_ifAnnounceRouteFilterEntry {
  394. AsnAny ifAnnounceRFIfIndex;
  395. AsnAny ifAnnounceRFLoAddress;
  396. AsnAny ifAnnounceRFHiAddress;
  397. AsnAny ifAnnounceRFTag;
  398. DWORD dwIfIndex;
  399. DWORD dwFilterLoAddr;
  400. DWORD dwFilterHiAddr;
  401. } buf_ifAnnounceRouteFilterEntry;
  402. typedef struct _sav_ifAnnounceRouteFilterEntry {
  403. AsnAny ifAnnounceRFIfIndex;
  404. AsnAny ifAnnounceRFLoAddress;
  405. AsnAny ifAnnounceRFHiAddress;
  406. AsnAny ifAnnounceRFTag;
  407. } sav_ifAnnounceRouteFilterEntry;
  408. #define gf_ifAnnounceRFIfIndex get_ifAnnounceRouteFilterEntry
  409. #define gf_ifAnnounceRFLoAddress get_ifAnnounceRouteFilterEntry
  410. #define gf_ifAnnounceRFHiAddress get_ifAnnounceRouteFilterEntry
  411. #define gf_ifAnnounceRFTag get_ifAnnounceRouteFilterEntry
  412. #define gb_ifAnnounceRFIfIndex buf_ifAnnounceRouteFilterEntry
  413. #define gb_ifAnnounceRFLoAddress buf_ifAnnounceRouteFilterEntry
  414. #define gb_ifAnnounceRFHiAddress buf_ifAnnounceRouteFilterEntry
  415. #define gb_ifAnnounceRFTag buf_ifAnnounceRouteFilterEntry
  416. #define sf_ifAnnounceRFIfIndex set_ifAnnounceRouteFilterEntry
  417. #define sf_ifAnnounceRFLoAddress set_ifAnnounceRouteFilterEntry
  418. #define sf_ifAnnounceRFHiAddress set_ifAnnounceRouteFilterEntry
  419. #define sf_ifAnnounceRFTag set_ifAnnounceRouteFilterEntry
  420. #define sb_ifAnnounceRFIfIndex sav_ifAnnounceRouteFilterEntry
  421. #define sb_ifAnnounceRFLoAddress sav_ifAnnounceRouteFilterEntry
  422. #define sb_ifAnnounceRFHiAddress sav_ifAnnounceRouteFilterEntry
  423. #define sb_ifAnnounceRFTag sav_ifAnnounceRouteFilterEntry
  424. ///////////////////////////////////////////////////////////////////////////////
  425. // //
  426. // ifBindingEntry table (1.3.6.1.4.1.311.1.11.2.6.1) //
  427. // //
  428. ///////////////////////////////////////////////////////////////////////////////
  429. UINT
  430. get_ifBindingEntry(
  431. UINT actionId,
  432. AsnAny * objectArray,
  433. UINT * errorIndex
  434. );
  435. typedef struct _buf_ifBindingEntry {
  436. AsnAny ifBindingIndex;
  437. AsnAny ifBindingState;
  438. AsnAny ifBindingCounts;
  439. DWORD dwIfIndex;
  440. } buf_ifBindingEntry;
  441. #define gf_ifBindingIndex get_ifBindingEntry
  442. #define gf_ifBindingState get_ifBindingEntry
  443. #define gf_ifBindingCounts get_ifBindingEntry
  444. #define gb_ifBindingIndex buf_ifBindingEntry
  445. #define gb_ifBindingState buf_ifBindingEntry
  446. #define gb_ifBindingCounts buf_ifBindingEntry
  447. ///////////////////////////////////////////////////////////////////////////////
  448. // //
  449. // ifAddressEntry table (1.3.6.1.4.1.311.1.11.2.7.1) //
  450. // //
  451. ///////////////////////////////////////////////////////////////////////////////
  452. UINT
  453. get_ifAddressEntry(
  454. UINT actionId,
  455. AsnAny * objectArray,
  456. UINT * errorIndex
  457. );
  458. typedef struct _buf_ifAddressEntry {
  459. AsnAny ifAEIfIndex;
  460. AsnAny ifAEAddress;
  461. AsnAny ifAEMask;
  462. DWORD dwIfIndex;
  463. DWORD dwAddress;
  464. DWORD dwMask;
  465. } buf_ifAddressEntry;
  466. #define gf_ifAEIfIndex get_ifAddressEntry
  467. #define gf_ifAEAddress get_ifAddressEntry
  468. #define gf_ifAEMask get_ifAddressEntry
  469. #define gb_ifAEIfIndex buf_ifAddressEntry
  470. #define gb_ifAEAddress buf_ifAddressEntry
  471. #define gb_ifAEMask buf_ifAddressEntry
  472. ///////////////////////////////////////////////////////////////////////////////
  473. // //
  474. // peer group (1.3.6.1.4.1.311.1.11.3) //
  475. // //
  476. ///////////////////////////////////////////////////////////////////////////////
  477. ///////////////////////////////////////////////////////////////////////////////
  478. // //
  479. // ifPeerStatsEntry table (1.3.6.1.4.1.311.1.11.3.1.1) //
  480. // //
  481. ///////////////////////////////////////////////////////////////////////////////
  482. UINT
  483. get_ifPeerStatsEntry(
  484. UINT actionId,
  485. AsnAny * objectArray,
  486. UINT * errorIndex
  487. );
  488. typedef struct _buf_ifPeerStatsEntry {
  489. AsnAny ifPSAddress;
  490. AsnAny ifPSLastPeerRouteTag;
  491. AsnAny ifPSLastPeerUpdateTickCount;
  492. AsnAny ifPSLastPeerUpdateVersion;
  493. AsnAny ifPSPeerBadResponsePackets;
  494. AsnAny ifPSPeerBadResponseEntries;
  495. DWORD dwPeerAddr;
  496. } buf_ifPeerStatsEntry;
  497. #define gf_ifPSAddress get_ifPeerStatsEntry
  498. #define gf_ifPSLastPeerRouteTag get_ifPeerStatsEntry
  499. #define gf_ifPSLastPeerUpdateTickCount get_ifPeerStatsEntry
  500. #define gf_ifPSLastPeerUpdateVersion get_ifPeerStatsEntry
  501. #define gf_ifPSPeerBadResponsePackets get_ifPeerStatsEntry
  502. #define gf_ifPSPeerBadResponseEntries get_ifPeerStatsEntry
  503. #define gb_ifPSAddress buf_ifPeerStatsEntry
  504. #define gb_ifPSLastPeerRouteTag buf_ifPeerStatsEntry
  505. #define gb_ifPSLastPeerUpdateTickCount buf_ifPeerStatsEntry
  506. #define gb_ifPSLastPeerUpdateVersion buf_ifPeerStatsEntry
  507. #define gb_ifPSPeerBadResponsePackets buf_ifPeerStatsEntry
  508. #define gb_ifPSPeerBadResponseEntries buf_ifPeerStatsEntry
  509. #endif // _MIBFUNCS_H_