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.

698 lines
28 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. nipx.h
  5. Abstract:
  6. Header for Novell-ipx instrumentation callbacks and associated data structures
  7. Author:
  8. Vadim Eydelman (vadime) 30-May-1996
  9. Revision History:
  10. --*/
  11. #ifndef _SNMP_NIPXF_
  12. #define _SNMP_NIPXF_
  13. ///////////////////////////////////////////////////////////////////////////////
  14. // //
  15. // nipxSystem group (1.3.6.1.4.1.23.2.5.1) //
  16. // //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. ///////////////////////////////////////////////////////////////////////////////
  19. // //
  20. // nipxBasicSysEntry table (1.3.6.1.4.1.23.2.5.1.1.1) //
  21. // //
  22. ///////////////////////////////////////////////////////////////////////////////
  23. UINT
  24. get_nipxBasicSysEntry(
  25. UINT actionId,
  26. AsnAny * objectArray,
  27. UINT * errorIndex
  28. );
  29. typedef struct _buf_nipxBasicSysEntry {
  30. AsnAny nipxBasicSysInstance;
  31. AsnAny nipxBasicSysExistState;
  32. AsnAny nipxBasicSysNetNumber;
  33. AsnAny nipxBasicSysNode;
  34. AsnAny nipxBasicSysName;
  35. AsnAny nipxBasicSysInReceives;
  36. AsnAny nipxBasicSysInHdrErrors;
  37. AsnAny nipxBasicSysInUnknownSockets;
  38. AsnAny nipxBasicSysInDiscards;
  39. AsnAny nipxBasicSysInBadChecksums;
  40. AsnAny nipxBasicSysInDelivers;
  41. AsnAny nipxBasicSysNoRoutes;
  42. AsnAny nipxBasicSysOutRequests;
  43. AsnAny nipxBasicSysOutMalformedRequests;
  44. AsnAny nipxBasicSysOutDiscards;
  45. AsnAny nipxBasicSysOutPackets;
  46. AsnAny nipxBasicSysConfigSockets;
  47. AsnAny nipxBasicSysOpenSocketFails;
  48. BYTE NetNumberVal[4];
  49. BYTE NodeVal[6];
  50. BYTE NameVal[48];
  51. } buf_nipxBasicSysEntry;
  52. #define gf_nipxBasicSysInstance get_nipxBasicSysEntry
  53. #define gf_nipxBasicSysExistState get_nipxBasicSysEntry
  54. #define gf_nipxBasicSysNetNumber get_nipxBasicSysEntry
  55. #define gf_nipxBasicSysNode get_nipxBasicSysEntry
  56. #define gf_nipxBasicSysName get_nipxBasicSysEntry
  57. #define gf_nipxBasicSysInReceives get_nipxBasicSysEntry
  58. #define gf_nipxBasicSysInHdrErrors get_nipxBasicSysEntry
  59. #define gf_nipxBasicSysInUnknownSockets get_nipxBasicSysEntry
  60. #define gf_nipxBasicSysInDiscards get_nipxBasicSysEntry
  61. #define gf_nipxBasicSysInBadChecksums get_nipxBasicSysEntry
  62. #define gf_nipxBasicSysInDelivers get_nipxBasicSysEntry
  63. #define gf_nipxBasicSysNoRoutes get_nipxBasicSysEntry
  64. #define gf_nipxBasicSysOutRequests get_nipxBasicSysEntry
  65. #define gf_nipxBasicSysOutMalformedRequests get_nipxBasicSysEntry
  66. #define gf_nipxBasicSysOutDiscards get_nipxBasicSysEntry
  67. #define gf_nipxBasicSysOutPackets get_nipxBasicSysEntry
  68. #define gf_nipxBasicSysConfigSockets get_nipxBasicSysEntry
  69. #define gf_nipxBasicSysOpenSocketFails get_nipxBasicSysEntry
  70. #define gb_nipxBasicSysInstance buf_nipxBasicSysEntry
  71. #define gb_nipxBasicSysExistState buf_nipxBasicSysEntry
  72. #define gb_nipxBasicSysNetNumber buf_nipxBasicSysEntry
  73. #define gb_nipxBasicSysNode buf_nipxBasicSysEntry
  74. #define gb_nipxBasicSysName buf_nipxBasicSysEntry
  75. #define gb_nipxBasicSysInReceives buf_nipxBasicSysEntry
  76. #define gb_nipxBasicSysInHdrErrors buf_nipxBasicSysEntry
  77. #define gb_nipxBasicSysInUnknownSockets buf_nipxBasicSysEntry
  78. #define gb_nipxBasicSysInDiscards buf_nipxBasicSysEntry
  79. #define gb_nipxBasicSysInBadChecksums buf_nipxBasicSysEntry
  80. #define gb_nipxBasicSysInDelivers buf_nipxBasicSysEntry
  81. #define gb_nipxBasicSysNoRoutes buf_nipxBasicSysEntry
  82. #define gb_nipxBasicSysOutRequests buf_nipxBasicSysEntry
  83. #define gb_nipxBasicSysOutMalformedRequests buf_nipxBasicSysEntry
  84. #define gb_nipxBasicSysOutDiscards buf_nipxBasicSysEntry
  85. #define gb_nipxBasicSysOutPackets buf_nipxBasicSysEntry
  86. #define gb_nipxBasicSysConfigSockets buf_nipxBasicSysEntry
  87. #define gb_nipxBasicSysOpenSocketFails buf_nipxBasicSysEntry
  88. /*
  89. All values in nipxBasicSysEntry are implemented as read-only
  90. UINT
  91. set_nipxBasicSysEntry(
  92. UINT actionId,
  93. AsnAny * objectArray,
  94. UINT * errorIndex
  95. );
  96. typedef struct _sav_nipxBasicSysEntry {
  97. AsnAny nipxBasicSysInstance;
  98. AsnAny nipxBasicSysExistState;
  99. AsnAny nipxBasicSysNetNumber;
  100. AsnAny nipxBasicSysNode;
  101. AsnAny nipxBasicSysName;
  102. } sav_nipxBasicSysEntry;
  103. #define sf_nipxBasicSysInstance set_nipxBasicSysEntry
  104. #define sf_nipxBasicSysExistState set_nipxBasicSysEntry
  105. #define sf_nipxBasicSysNetNumber set_nipxBasicSysEntry
  106. #define sf_nipxBasicSysNode set_nipxBasicSysEntry
  107. #define sf_nipxBasicSysName set_nipxBasicSysEntry
  108. #define sb_nipxBasicSysInstance sav_nipxBasicSysEntry
  109. #define sb_nipxBasicSysExistState sav_nipxBasicSysEntry
  110. #define sb_nipxBasicSysNetNumber sav_nipxBasicSysEntry
  111. #define sb_nipxBasicSysNode sav_nipxBasicSysEntry
  112. #define sb_nipxBasicSysName sav_nipxBasicSysEntry
  113. */
  114. ///////////////////////////////////////////////////////////////////////////////
  115. // //
  116. // nipxAdvSysEntry table (1.3.6.1.4.1.23.2.5.1.2.1) //
  117. // //
  118. ///////////////////////////////////////////////////////////////////////////////
  119. UINT
  120. get_nipxAdvSysEntry(
  121. UINT actionId,
  122. AsnAny * objectArray,
  123. UINT * errorIndex
  124. );
  125. typedef struct _buf_nipxAdvSysEntry {
  126. AsnAny nipxAdvSysInstance;
  127. AsnAny nipxAdvSysMaxPathSplits;
  128. AsnAny nipxAdvSysMaxHops;
  129. AsnAny nipxAdvSysInTooManyHops;
  130. AsnAny nipxAdvSysInFiltered;
  131. AsnAny nipxAdvSysInCompressDiscards;
  132. AsnAny nipxAdvSysNETBIOSPackets;
  133. AsnAny nipxAdvSysForwPackets;
  134. AsnAny nipxAdvSysOutFiltered;
  135. AsnAny nipxAdvSysOutCompressDiscards;
  136. AsnAny nipxAdvSysCircCount;
  137. AsnAny nipxAdvSysDestCount;
  138. AsnAny nipxAdvSysServCount;
  139. } buf_nipxAdvSysEntry;
  140. #define gf_nipxAdvSysInstance get_nipxAdvSysEntry
  141. #define gf_nipxAdvSysMaxPathSplits get_nipxAdvSysEntry
  142. #define gf_nipxAdvSysMaxHops get_nipxAdvSysEntry
  143. #define gf_nipxAdvSysInTooManyHops get_nipxAdvSysEntry
  144. #define gf_nipxAdvSysInFiltered get_nipxAdvSysEntry
  145. #define gf_nipxAdvSysInCompressDiscards get_nipxAdvSysEntry
  146. #define gf_nipxAdvSysNETBIOSPackets get_nipxAdvSysEntry
  147. #define gf_nipxAdvSysForwPackets get_nipxAdvSysEntry
  148. #define gf_nipxAdvSysOutFiltered get_nipxAdvSysEntry
  149. #define gf_nipxAdvSysOutCompressDiscards get_nipxAdvSysEntry
  150. #define gf_nipxAdvSysCircCount get_nipxAdvSysEntry
  151. #define gf_nipxAdvSysDestCount get_nipxAdvSysEntry
  152. #define gf_nipxAdvSysServCount get_nipxAdvSysEntry
  153. #define gb_nipxAdvSysInstance buf_nipxAdvSysEntry
  154. #define gb_nipxAdvSysMaxPathSplits buf_nipxAdvSysEntry
  155. #define gb_nipxAdvSysMaxHops buf_nipxAdvSysEntry
  156. #define gb_nipxAdvSysInTooManyHops buf_nipxAdvSysEntry
  157. #define gb_nipxAdvSysInFiltered buf_nipxAdvSysEntry
  158. #define gb_nipxAdvSysInCompressDiscards buf_nipxAdvSysEntry
  159. #define gb_nipxAdvSysNETBIOSPackets buf_nipxAdvSysEntry
  160. #define gb_nipxAdvSysForwPackets buf_nipxAdvSysEntry
  161. #define gb_nipxAdvSysOutFiltered buf_nipxAdvSysEntry
  162. #define gb_nipxAdvSysOutCompressDiscards buf_nipxAdvSysEntry
  163. #define gb_nipxAdvSysCircCount buf_nipxAdvSysEntry
  164. #define gb_nipxAdvSysDestCount buf_nipxAdvSysEntry
  165. #define gb_nipxAdvSysServCount buf_nipxAdvSysEntry
  166. /*
  167. All values in nipxAdvSysEntry are implemented as read-only
  168. UINT
  169. set_nipxAdvSysEntry(
  170. UINT actionId,
  171. AsnAny * objectArray,
  172. UINT * errorIndex
  173. );
  174. typedef struct _sav_nipxAdvSysEntry {
  175. AsnAny nipxAdvSysInstance;
  176. AsnAny nipxAdvSysMaxPathSplits;
  177. AsnAny nipxAdvSysMaxHops;
  178. } sav_nipxAdvSysEntry;
  179. #define sf_nipxAdvSysInstance set_nipxAdvSysEntry
  180. #define sf_nipxAdvSysMaxPathSplits set_nipxAdvSysEntry
  181. #define sf_nipxAdvSysMaxHops set_nipxAdvSysEntry
  182. #define sb_nipxAdvSysInstance sav_nipxAdvSysEntry
  183. #define sb_nipxAdvSysMaxPathSplits sav_nipxAdvSysEntry
  184. #define sb_nipxAdvSysMaxHops sav_nipxAdvSysEntry
  185. */
  186. ///////////////////////////////////////////////////////////////////////////////
  187. // //
  188. // nipxCircuit group (1.3.6.1.4.1.23.2.5.2) //
  189. // //
  190. ///////////////////////////////////////////////////////////////////////////////
  191. ///////////////////////////////////////////////////////////////////////////////
  192. // //
  193. // nipxCircEntry table (1.3.6.1.4.1.23.2.5.2.1.1) //
  194. // //
  195. ///////////////////////////////////////////////////////////////////////////////
  196. UINT
  197. get_nipxCircEntry(
  198. UINT actionId,
  199. AsnAny * objectArray,
  200. UINT * errorIndex
  201. );
  202. typedef struct _buf_nipxCircEntry {
  203. AsnAny nipxCircSysInstance;
  204. AsnAny nipxCircIndex;
  205. AsnAny nipxCircExistState;
  206. AsnAny nipxCircOperState;
  207. AsnAny nipxCircIfIndex;
  208. AsnAny nipxCircName;
  209. AsnAny nipxCircType;
  210. AsnAny nipxCircDialName;
  211. AsnAny nipxCircLocalMaxPacketSize;
  212. AsnAny nipxCircCompressState;
  213. AsnAny nipxCircCompressSlots;
  214. AsnAny nipxCircStaticStatus;
  215. AsnAny nipxCircCompressedSent;
  216. AsnAny nipxCircCompressedInitSent;
  217. AsnAny nipxCircCompressedRejectsSent;
  218. AsnAny nipxCircUncompressedSent;
  219. AsnAny nipxCircCompressedReceived;
  220. AsnAny nipxCircCompressedInitReceived;
  221. AsnAny nipxCircCompressedRejectsReceived;
  222. AsnAny nipxCircUncompressedReceived;
  223. AsnAny nipxCircMediaType;
  224. AsnAny nipxCircNetNumber;
  225. AsnAny nipxCircStateChanges;
  226. AsnAny nipxCircInitFails;
  227. AsnAny nipxCircDelay;
  228. AsnAny nipxCircThroughput;
  229. AsnAny nipxCircNeighRouterName;
  230. AsnAny nipxCircNeighInternalNetNum;
  231. BYTE NameVal[48];
  232. BYTE DialNameVal[48];
  233. BYTE MediaTypeVal[2];
  234. BYTE NetNumberVal[4];
  235. BYTE NeighRouterNameVal[48];
  236. BYTE NeighInternalNetNumVal[4];
  237. } buf_nipxCircEntry;
  238. #define gf_nipxCircSysInstance get_nipxCircEntry
  239. #define gf_nipxCircIndex get_nipxCircEntry
  240. #define gf_nipxCircExistState get_nipxCircEntry
  241. #define gf_nipxCircOperState get_nipxCircEntry
  242. #define gf_nipxCircIfIndex get_nipxCircEntry
  243. #define gf_nipxCircName get_nipxCircEntry
  244. #define gf_nipxCircType get_nipxCircEntry
  245. #define gf_nipxCircDialName get_nipxCircEntry
  246. #define gf_nipxCircLocalMaxPacketSize get_nipxCircEntry
  247. #define gf_nipxCircCompressState get_nipxCircEntry
  248. #define gf_nipxCircCompressSlots get_nipxCircEntry
  249. #define gf_nipxCircStaticStatus get_nipxCircEntry
  250. #define gf_nipxCircCompressedSent get_nipxCircEntry
  251. #define gf_nipxCircCompressedInitSent get_nipxCircEntry
  252. #define gf_nipxCircCompressedRejectsSent get_nipxCircEntry
  253. #define gf_nipxCircUncompressedSent get_nipxCircEntry
  254. #define gf_nipxCircCompressedReceived get_nipxCircEntry
  255. #define gf_nipxCircCompressedInitReceived get_nipxCircEntry
  256. #define gf_nipxCircCompressedRejectsReceived get_nipxCircEntry
  257. #define gf_nipxCircUncompressedReceived get_nipxCircEntry
  258. #define gf_nipxCircMediaType get_nipxCircEntry
  259. #define gf_nipxCircNetNumber get_nipxCircEntry
  260. #define gf_nipxCircStateChanges get_nipxCircEntry
  261. #define gf_nipxCircInitFails get_nipxCircEntry
  262. #define gf_nipxCircDelay get_nipxCircEntry
  263. #define gf_nipxCircThroughput get_nipxCircEntry
  264. #define gf_nipxCircNeighRouterName get_nipxCircEntry
  265. #define gf_nipxCircNeighInternalNetNum get_nipxCircEntry
  266. #define gb_nipxCircSysInstance buf_nipxCircEntry
  267. #define gb_nipxCircIndex buf_nipxCircEntry
  268. #define gb_nipxCircExistState buf_nipxCircEntry
  269. #define gb_nipxCircOperState buf_nipxCircEntry
  270. #define gb_nipxCircIfIndex buf_nipxCircEntry
  271. #define gb_nipxCircName buf_nipxCircEntry
  272. #define gb_nipxCircType buf_nipxCircEntry
  273. #define gb_nipxCircDialName buf_nipxCircEntry
  274. #define gb_nipxCircLocalMaxPacketSize buf_nipxCircEntry
  275. #define gb_nipxCircCompressState buf_nipxCircEntry
  276. #define gb_nipxCircCompressSlots buf_nipxCircEntry
  277. #define gb_nipxCircStaticStatus buf_nipxCircEntry
  278. #define gb_nipxCircCompressedSent buf_nipxCircEntry
  279. #define gb_nipxCircCompressedInitSent buf_nipxCircEntry
  280. #define gb_nipxCircCompressedRejectsSent buf_nipxCircEntry
  281. #define gb_nipxCircUncompressedSent buf_nipxCircEntry
  282. #define gb_nipxCircCompressedReceived buf_nipxCircEntry
  283. #define gb_nipxCircCompressedInitReceived buf_nipxCircEntry
  284. #define gb_nipxCircCompressedRejectsReceived buf_nipxCircEntry
  285. #define gb_nipxCircUncompressedReceived buf_nipxCircEntry
  286. #define gb_nipxCircMediaType buf_nipxCircEntry
  287. #define gb_nipxCircNetNumber buf_nipxCircEntry
  288. #define gb_nipxCircStateChanges buf_nipxCircEntry
  289. #define gb_nipxCircInitFails buf_nipxCircEntry
  290. #define gb_nipxCircDelay buf_nipxCircEntry
  291. #define gb_nipxCircThroughput buf_nipxCircEntry
  292. #define gb_nipxCircNeighRouterName buf_nipxCircEntry
  293. #define gb_nipxCircNeighInternalNetNum buf_nipxCircEntry
  294. UINT
  295. set_nipxCircEntry(
  296. UINT actionId,
  297. AsnAny * objectArray,
  298. UINT * errorIndex
  299. );
  300. typedef struct _sav_nipxCircEntry {
  301. AsnAny nipxCircSysInstance; // implemented as read-only
  302. AsnAny nipxCircIndex; // implemented as read-only
  303. // AsnAny nipxCircExistState; // implemented as read-only
  304. AsnAny nipxCircOperState;
  305. // AsnAny nipxCircIfIndex; // implemented as read-only
  306. // AsnAny nipxCircName; // implemented as read-only
  307. // AsnAny nipxCircType; // implemented as read-only
  308. // AsnAny nipxCircDialName; // implemented as read-only
  309. // AsnAny nipxCircLocalMaxPacketSize; // implemented as read-only
  310. // AsnAny nipxCircCompressState; // implemented as read-only
  311. // AsnAny nipxCircCompressSlots; // implemented as read-only
  312. // AsnAny nipxCircStaticStatus; // implemented as read-only
  313. IPX_MIB_SET_INPUT_DATA MibSetInputData;
  314. } sav_nipxCircEntry;
  315. #define sf_nipxCircSysInstance set_nipxCircEntry
  316. #define sf_nipxCircIndex set_nipxCircEntry
  317. //#define sf_nipxCircExistState set_nipxCircEntry
  318. #define sf_nipxCircOperState set_nipxCircEntry
  319. //#define sf_nipxCircIfIndex set_nipxCircEntry
  320. //#define sf_nipxCircName set_nipxCircEntry
  321. //#define sf_nipxCircType set_nipxCircEntry
  322. //#define sf_nipxCircDialName set_nipxCircEntry
  323. //#define sf_nipxCircLocalMaxPacketSize set_nipxCircEntry
  324. //#define sf_nipxCircCompressState set_nipxCircEntry
  325. //#define sf_nipxCircCompressSlots set_nipxCircEntry
  326. //#define sf_nipxCircStaticStatus set_nipxCircEntry
  327. #define sb_nipxCircSysInstance sav_nipxCircEntry
  328. #define sb_nipxCircIndex sav_nipxCircEntry
  329. //#define sb_nipxCircExistState sav_nipxCircEntry
  330. #define sb_nipxCircOperState sav_nipxCircEntry
  331. //#define sb_nipxCircIfIndex sav_nipxCircEntry
  332. //#define sb_nipxCircName sav_nipxCircEntry
  333. //#define sb_nipxCircType sav_nipxCircEntry
  334. //#define sb_nipxCircDialName sav_nipxCircEntry
  335. //#define sb_nipxCircLocalMaxPacketSize sav_nipxCircEntry
  336. //#define sb_nipxCircCompressState sav_nipxCircEntry
  337. //#define sb_nipxCircCompressSlots sav_nipxCircEntry
  338. //#define sb_nipxCircStaticStatus sav_nipxCircEntry
  339. ///////////////////////////////////////////////////////////////////////////////
  340. // //
  341. // nipxForwarding group (1.3.6.1.4.1.23.2.5.3) //
  342. // //
  343. ///////////////////////////////////////////////////////////////////////////////
  344. ///////////////////////////////////////////////////////////////////////////////
  345. // //
  346. // nipxDestEntry table (1.3.6.1.4.1.23.2.5.3.1.1) //
  347. // //
  348. ///////////////////////////////////////////////////////////////////////////////
  349. UINT
  350. get_nipxDestEntry(
  351. UINT actionId,
  352. AsnAny * objectArray,
  353. UINT * errorIndex
  354. );
  355. typedef struct _buf_nipxDestEntry {
  356. AsnAny nipxDestSysInstance;
  357. AsnAny nipxDestNetNum;
  358. AsnAny nipxDestProtocol;
  359. AsnAny nipxDestTicks;
  360. AsnAny nipxDestHopCount;
  361. AsnAny nipxDestNextHopCircIndex;
  362. AsnAny nipxDestNextHopNICAddress;
  363. AsnAny nipxDestNextHopNetNum;
  364. BYTE NetNumVal[4];
  365. BYTE NextHopNICAddressVal[6];
  366. BYTE NextHopNetNumVal[4];
  367. } buf_nipxDestEntry;
  368. #define gf_nipxDestSysInstance get_nipxDestEntry
  369. #define gf_nipxDestNetNum get_nipxDestEntry
  370. #define gf_nipxDestProtocol get_nipxDestEntry
  371. #define gf_nipxDestTicks get_nipxDestEntry
  372. #define gf_nipxDestHopCount get_nipxDestEntry
  373. #define gf_nipxDestNextHopCircIndex get_nipxDestEntry
  374. #define gf_nipxDestNextHopNICAddress get_nipxDestEntry
  375. #define gf_nipxDestNextHopNetNum get_nipxDestEntry
  376. #define gb_nipxDestSysInstance buf_nipxDestEntry
  377. #define gb_nipxDestNetNum buf_nipxDestEntry
  378. #define gb_nipxDestProtocol buf_nipxDestEntry
  379. #define gb_nipxDestTicks buf_nipxDestEntry
  380. #define gb_nipxDestHopCount buf_nipxDestEntry
  381. #define gb_nipxDestNextHopCircIndex buf_nipxDestEntry
  382. #define gb_nipxDestNextHopNICAddress buf_nipxDestEntry
  383. #define gb_nipxDestNextHopNetNum buf_nipxDestEntry
  384. ///////////////////////////////////////////////////////////////////////////////
  385. // //
  386. // nipxStaticRouteEntry table (1.3.6.1.4.1.23.2.5.3.1.2) //
  387. // //
  388. ///////////////////////////////////////////////////////////////////////////////
  389. UINT
  390. get_nipxStaticRouteEntry(
  391. UINT actionId,
  392. AsnAny * objectArray,
  393. UINT * errorIndex
  394. );
  395. typedef struct _buf_nipxStaticRouteEntry {
  396. AsnAny nipxStaticRouteSysInstance;
  397. AsnAny nipxStaticRouteCircIndex;
  398. AsnAny nipxStaticRouteNetNum;
  399. AsnAny nipxStaticRouteExistState;
  400. AsnAny nipxStaticRouteTicks;
  401. AsnAny nipxStaticRouteHopCount;
  402. BYTE NetNumVal[4];
  403. } buf_nipxStaticRouteEntry;
  404. #define gf_nipxStaticRouteSysInstance get_nipxStaticRouteEntry
  405. #define gf_nipxStaticRouteCircIndex get_nipxStaticRouteEntry
  406. #define gf_nipxStaticRouteNetNum get_nipxStaticRouteEntry
  407. #define gf_nipxStaticRouteExistState get_nipxStaticRouteEntry
  408. #define gf_nipxStaticRouteTicks get_nipxStaticRouteEntry
  409. #define gf_nipxStaticRouteHopCount get_nipxStaticRouteEntry
  410. #define gb_nipxStaticRouteSysInstance buf_nipxStaticRouteEntry
  411. #define gb_nipxStaticRouteCircIndex buf_nipxStaticRouteEntry
  412. #define gb_nipxStaticRouteNetNum buf_nipxStaticRouteEntry
  413. #define gb_nipxStaticRouteExistState buf_nipxStaticRouteEntry
  414. #define gb_nipxStaticRouteTicks buf_nipxStaticRouteEntry
  415. #define gb_nipxStaticRouteHopCount buf_nipxStaticRouteEntry
  416. UINT
  417. set_nipxStaticRouteEntry(
  418. UINT actionId,
  419. AsnAny * objectArray,
  420. UINT * errorIndex
  421. );
  422. typedef struct _sav_nipxStaticRouteEntry {
  423. AsnAny nipxStaticRouteSysInstance;
  424. AsnAny nipxStaticRouteCircIndex;
  425. AsnAny nipxStaticRouteNetNum;
  426. AsnAny nipxStaticRouteExistState;
  427. AsnAny nipxStaticRouteTicks;
  428. AsnAny nipxStaticRouteHopCount;
  429. IPX_MIB_SET_INPUT_DATA MibSetInputData;
  430. BOOLEAN ActionFlag;
  431. } sav_nipxStaticRouteEntry;
  432. #define sf_nipxStaticRouteSysInstance set_nipxStaticRouteEntry
  433. #define sf_nipxStaticRouteCircIndex set_nipxStaticRouteEntry
  434. #define sf_nipxStaticRouteNetNum set_nipxStaticRouteEntry
  435. #define sf_nipxStaticRouteExistState set_nipxStaticRouteEntry
  436. #define sf_nipxStaticRouteTicks set_nipxStaticRouteEntry
  437. #define sf_nipxStaticRouteHopCount set_nipxStaticRouteEntry
  438. #define sb_nipxStaticRouteSysInstance sav_nipxStaticRouteEntry
  439. #define sb_nipxStaticRouteCircIndex sav_nipxStaticRouteEntry
  440. #define sb_nipxStaticRouteNetNum sav_nipxStaticRouteEntry
  441. #define sb_nipxStaticRouteExistState sav_nipxStaticRouteEntry
  442. #define sb_nipxStaticRouteTicks sav_nipxStaticRouteEntry
  443. #define sb_nipxStaticRouteHopCount sav_nipxStaticRouteEntry
  444. ///////////////////////////////////////////////////////////////////////////////
  445. // //
  446. // nipxServices group (1.3.6.1.4.1.23.2.5.4) //
  447. // //
  448. ///////////////////////////////////////////////////////////////////////////////
  449. ///////////////////////////////////////////////////////////////////////////////
  450. // //
  451. // nipxServEntry table (1.3.6.1.4.1.23.2.5.4.1.1) //
  452. // //
  453. ///////////////////////////////////////////////////////////////////////////////
  454. UINT
  455. get_nipxServEntry(
  456. UINT actionId,
  457. AsnAny * objectArray,
  458. UINT * errorIndex
  459. );
  460. typedef struct _buf_nipxServEntry {
  461. AsnAny nipxServSysInstance;
  462. AsnAny nipxServType;
  463. AsnAny nipxServName;
  464. AsnAny nipxServProtocol;
  465. AsnAny nipxServNetNum;
  466. AsnAny nipxServNode;
  467. AsnAny nipxServSocket;
  468. AsnAny nipxServHopCount;
  469. BYTE TypeVal[2];
  470. BYTE NameVal[48];
  471. BYTE NetNumVal[4];
  472. BYTE NodeVal[6];
  473. BYTE SocketVal[2];
  474. } buf_nipxServEntry;
  475. #define gf_nipxServSysInstance get_nipxServEntry
  476. #define gf_nipxServType get_nipxServEntry
  477. #define gf_nipxServName get_nipxServEntry
  478. #define gf_nipxServProtocol get_nipxServEntry
  479. #define gf_nipxServNetNum get_nipxServEntry
  480. #define gf_nipxServNode get_nipxServEntry
  481. #define gf_nipxServSocket get_nipxServEntry
  482. #define gf_nipxServHopCount get_nipxServEntry
  483. #define gb_nipxServSysInstance buf_nipxServEntry
  484. #define gb_nipxServType buf_nipxServEntry
  485. #define gb_nipxServName buf_nipxServEntry
  486. #define gb_nipxServProtocol buf_nipxServEntry
  487. #define gb_nipxServNetNum buf_nipxServEntry
  488. #define gb_nipxServNode buf_nipxServEntry
  489. #define gb_nipxServSocket buf_nipxServEntry
  490. #define gb_nipxServHopCount buf_nipxServEntry
  491. ///////////////////////////////////////////////////////////////////////////////
  492. // //
  493. // nipxDestServEntry table (1.3.6.1.4.1.23.2.5.4.2.1) //
  494. // //
  495. ///////////////////////////////////////////////////////////////////////////////
  496. UINT
  497. get_nipxDestServEntry(
  498. UINT actionId,
  499. AsnAny * objectArray,
  500. UINT * errorIndex
  501. );
  502. typedef struct _buf_nipxDestServEntry {
  503. AsnAny nipxDestServSysInstance;
  504. AsnAny nipxDestServNetNum;
  505. AsnAny nipxDestServNode;
  506. AsnAny nipxDestServSocket;
  507. AsnAny nipxDestServName;
  508. AsnAny nipxDestServType;
  509. AsnAny nipxDestServProtocol;
  510. AsnAny nipxDestServHopCount;
  511. BYTE NetNumVal[4];
  512. BYTE NodeVal[6];
  513. BYTE SocketVal[2];
  514. BYTE NameVal[48];
  515. BYTE TypeVal[2];
  516. } buf_nipxDestServEntry;
  517. #define gf_nipxDestServSysInstance get_nipxDestServEntry
  518. #define gf_nipxDestServNetNum get_nipxDestServEntry
  519. #define gf_nipxDestServNode get_nipxDestServEntry
  520. #define gf_nipxDestServSocket get_nipxDestServEntry
  521. #define gf_nipxDestServName get_nipxDestServEntry
  522. #define gf_nipxDestServType get_nipxDestServEntry
  523. #define gf_nipxDestServProtocol get_nipxDestServEntry
  524. #define gf_nipxDestServHopCount get_nipxDestServEntry
  525. #define gb_nipxDestServSysInstance buf_nipxDestServEntry
  526. #define gb_nipxDestServNetNum buf_nipxDestServEntry
  527. #define gb_nipxDestServNode buf_nipxDestServEntry
  528. #define gb_nipxDestServSocket buf_nipxDestServEntry
  529. #define gb_nipxDestServName buf_nipxDestServEntry
  530. #define gb_nipxDestServType buf_nipxDestServEntry
  531. #define gb_nipxDestServProtocol buf_nipxDestServEntry
  532. #define gb_nipxDestServHopCount buf_nipxDestServEntry
  533. ///////////////////////////////////////////////////////////////////////////////
  534. // //
  535. // nipxStaticServEntry table (1.3.6.1.4.1.23.2.5.4.3.1) //
  536. // //
  537. ///////////////////////////////////////////////////////////////////////////////
  538. UINT
  539. get_nipxStaticServEntry(
  540. UINT actionId,
  541. AsnAny * objectArray,
  542. UINT * errorIndex
  543. );
  544. typedef struct _buf_nipxStaticServEntry {
  545. AsnAny nipxStaticServSysInstance;
  546. AsnAny nipxStaticServCircIndex;
  547. AsnAny nipxStaticServType;
  548. AsnAny nipxStaticServName;
  549. AsnAny nipxStaticServExistState;
  550. AsnAny nipxStaticServNetNum;
  551. AsnAny nipxStaticServNode;
  552. AsnAny nipxStaticServSocket;
  553. AsnAny nipxStaticServHopCount;
  554. BYTE NameVal[48];
  555. BYTE TypeVal[2];
  556. BYTE NetNumVal[4];
  557. BYTE NodeVal[6];
  558. BYTE SocketVal[2];
  559. } buf_nipxStaticServEntry;
  560. #define gf_nipxStaticServSysInstance get_nipxStaticServEntry
  561. #define gf_nipxStaticServCircIndex get_nipxStaticServEntry
  562. #define gf_nipxStaticServType get_nipxStaticServEntry
  563. #define gf_nipxStaticServName get_nipxStaticServEntry
  564. #define gf_nipxStaticServExistState get_nipxStaticServEntry
  565. #define gf_nipxStaticServNetNum get_nipxStaticServEntry
  566. #define gf_nipxStaticServNode get_nipxStaticServEntry
  567. #define gf_nipxStaticServSocket get_nipxStaticServEntry
  568. #define gf_nipxStaticServHopCount get_nipxStaticServEntry
  569. #define gb_nipxStaticServSysInstance buf_nipxStaticServEntry
  570. #define gb_nipxStaticServCircIndex buf_nipxStaticServEntry
  571. #define gb_nipxStaticServType buf_nipxStaticServEntry
  572. #define gb_nipxStaticServName buf_nipxStaticServEntry
  573. #define gb_nipxStaticServExistState buf_nipxStaticServEntry
  574. #define gb_nipxStaticServNetNum buf_nipxStaticServEntry
  575. #define gb_nipxStaticServNode buf_nipxStaticServEntry
  576. #define gb_nipxStaticServSocket buf_nipxStaticServEntry
  577. #define gb_nipxStaticServHopCount buf_nipxStaticServEntry
  578. UINT
  579. set_nipxStaticServEntry(
  580. UINT actionId,
  581. AsnAny * objectArray,
  582. UINT * errorIndex
  583. );
  584. typedef struct _sav_nipxStaticServEntry {
  585. AsnAny nipxStaticServSysInstance;
  586. AsnAny nipxStaticServCircIndex;
  587. AsnAny nipxStaticServType;
  588. AsnAny nipxStaticServName;
  589. AsnAny nipxStaticServExistState;
  590. AsnAny nipxStaticServNetNum;
  591. AsnAny nipxStaticServNode;
  592. AsnAny nipxStaticServSocket;
  593. AsnAny nipxStaticServHopCount;
  594. IPX_MIB_SET_INPUT_DATA MibSetInputData;
  595. BOOLEAN ActionFlag;
  596. } sav_nipxStaticServEntry;
  597. #define sf_nipxStaticServSysInstance set_nipxStaticServEntry
  598. #define sf_nipxStaticServCircIndex set_nipxStaticServEntry
  599. #define sf_nipxStaticServType set_nipxStaticServEntry
  600. #define sf_nipxStaticServName set_nipxStaticServEntry
  601. #define sf_nipxStaticServExistState set_nipxStaticServEntry
  602. #define sf_nipxStaticServNetNum set_nipxStaticServEntry
  603. #define sf_nipxStaticServNode set_nipxStaticServEntry
  604. #define sf_nipxStaticServSocket set_nipxStaticServEntry
  605. #define sf_nipxStaticServHopCount set_nipxStaticServEntry
  606. #define sb_nipxStaticServSysInstance sav_nipxStaticServEntry
  607. #define sb_nipxStaticServCircIndex sav_nipxStaticServEntry
  608. #define sb_nipxStaticServType sav_nipxStaticServEntry
  609. #define sb_nipxStaticServName sav_nipxStaticServEntry
  610. #define sb_nipxStaticServExistState sav_nipxStaticServEntry
  611. #define sb_nipxStaticServNetNum sav_nipxStaticServEntry
  612. #define sb_nipxStaticServNode sav_nipxStaticServEntry
  613. #define sb_nipxStaticServSocket sav_nipxStaticServEntry
  614. #define sb_nipxStaticServHopCount sav_nipxStaticServEntry
  615. #endif // _MIBFUNCS_H_