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.

999 lines
36 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. Abstract:
  5. Author:
  6. Revision History:
  7. --*/
  8. #ifndef __MIBFUNCS_H__
  9. #define __MIBFUNCS_H__
  10. #define MAX_SYS_NAME_LEN 256
  11. #define MAX_SYS_DESCR_LEN 256
  12. #define MAX_SYS_CONTACT_LEN 256
  13. #define MAX_SYS_LOCATION_LEN 256
  14. typedef struct _MIB_SYSINFO
  15. {
  16. DWORD dwSysServices;
  17. BYTE rgbySysName[MAX_SYS_NAME_LEN];
  18. BYTE rgbySysDescr[MAX_SYS_DESCR_LEN];
  19. BYTE rgbySysContact[MAX_SYS_CONTACT_LEN];
  20. BYTE rgbySysLocation[MAX_SYS_LOCATION_LEN];
  21. AsnAny aaSysObjectID;
  22. } MIB_SYSINFO, *PMIB_SYSINFO;
  23. typedef struct _SYS_INFO_GET
  24. {
  25. AsnAny sysDescr;
  26. AsnAny sysObjectID;
  27. AsnAny sysUpTime;
  28. AsnAny sysContact;
  29. AsnAny sysName;
  30. AsnAny sysLocation;
  31. AsnAny sysServices;
  32. BYTE rgbySysNameInfo[MAX_SYS_NAME_LEN];
  33. BYTE rgbySysDescrInfo[MAX_SYS_DESCR_LEN];
  34. BYTE rgbySysContactInfo[MAX_SYS_CONTACT_LEN];
  35. BYTE rgbySysLocationInfo[MAX_SYS_LOCATION_LEN];
  36. } SYS_INFO_GET, *PSYS_INFO_GET;
  37. typedef struct _SYS_INFO_SET
  38. {
  39. AsnAny sysContact;
  40. AsnAny sysName;
  41. AsnAny sysLocation;
  42. BOOL bLocked;
  43. HKEY hkeyMib2;
  44. BYTE rgbySysNameInfo[MAX_SYS_NAME_LEN];
  45. BYTE rgbySysContactInfo[MAX_SYS_CONTACT_LEN];
  46. BYTE rgbySysLocationInfo[MAX_SYS_LOCATION_LEN];
  47. } SYS_INFO_SET, *PSYS_INFO_SET;
  48. UINT
  49. MibGetSysInfo(
  50. UINT actionId,
  51. AsnAny *objectArray,
  52. UINT *errorIndex
  53. );
  54. UINT
  55. MibSetSysInfo(
  56. UINT actionId,
  57. AsnAny *objectArray,
  58. UINT *errorIndex
  59. );
  60. #define gf_sysDescr MibGetSysInfo
  61. #define gf_sysObjectID MibGetSysInfo
  62. #define gf_sysUpTime MibGetSysInfo
  63. #define gf_sysContact MibGetSysInfo
  64. #define gf_sysName MibGetSysInfo
  65. #define gf_sysLocation MibGetSysInfo
  66. #define gf_sysServices MibGetSysInfo
  67. #define gb_sysDescr SYS_INFO_GET
  68. #define gb_sysObjectID SYS_INFO_GET
  69. #define gb_sysUpTime SYS_INFO_GET
  70. #define gb_sysContact SYS_INFO_GET
  71. #define gb_sysName SYS_INFO_GET
  72. #define gb_sysLocation SYS_INFO_GET
  73. #define gb_sysServices SYS_INFO_GET
  74. #define sf_sysContact MibSetSysInfo
  75. #define sf_sysName MibSetSysInfo
  76. #define sf_sysLocation MibSetSysInfo
  77. #define sb_sysContact SYS_INFO_SET
  78. #define sb_sysName SYS_INFO_SET
  79. #define sb_sysLocation SYS_INFO_SET
  80. #define MAX_PHYS_ADDR_LEN 8
  81. #define MAX_IF_DESCR_LEN 256
  82. #define NULL_OID_LEN 2
  83. typedef enum _ROW_ACTION
  84. {
  85. DELETE_ROW = 0,
  86. CREATE_ROW,
  87. SET_ROW,
  88. NOP
  89. }ROW_ACTION, *PROW_ACTION;
  90. typedef struct _IF_NUMBER_GET
  91. {
  92. AsnAny ifNumber;
  93. }IF_NUMBER_GET,*PIF_NUMBER_GET;
  94. UINT
  95. MibGetIfNumber(
  96. UINT actionId,
  97. AsnAny *objectArray,
  98. UINT *errorIndex
  99. );
  100. #define gf_ifNumber MibGetIfNumber
  101. #define gb_ifNumber IF_NUMBER_GET
  102. typedef struct _IF_ENTRY_GET
  103. {
  104. AsnAny ifIndex;
  105. AsnAny ifDescr;
  106. AsnAny ifType;
  107. AsnAny ifMtu;
  108. AsnAny ifSpeed;
  109. AsnAny ifPhysAddress;
  110. AsnAny ifAdminStatus;
  111. AsnAny ifOperStatus;
  112. AsnAny ifLastChange;
  113. AsnAny ifInOctets;
  114. AsnAny ifInUcastPkts;
  115. AsnAny ifInNUcastPkts;
  116. AsnAny ifInDiscards;
  117. AsnAny ifInErrors;
  118. AsnAny ifInUnknownProtos;
  119. AsnAny ifOutOctets;
  120. AsnAny ifOutUcastPkts;
  121. AsnAny ifOutNUcastPkts;
  122. AsnAny ifOutDiscards;
  123. AsnAny ifOutErrors;
  124. AsnAny ifOutQLen;
  125. AsnAny ifSpecific;
  126. BYTE rgbyIfPhysAddressInfo[MAX_PHYS_ADDR_LEN];
  127. BYTE rgbyIfDescrInfo[MAX_IF_DESCR_LEN];
  128. }IF_ENTRY_GET, *PIF_ENTRY_GET;
  129. UINT
  130. MibGetIfEntry(
  131. UINT actionId,
  132. AsnAny *objectArray,
  133. UINT *errorIndex
  134. );
  135. #define gf_ifEntry MibGetIfEntry
  136. #define gf_ifIndex MibGetIfEntry
  137. #define gf_ifDescr MibGetIfEntry
  138. #define gf_ifType MibGetIfEntry
  139. #define gf_ifMtu MibGetIfEntry
  140. #define gf_ifSpeed MibGetIfEntry
  141. #define gf_ifPhysAddress MibGetIfEntry
  142. #define gf_ifAdminStatus MibGetIfEntry
  143. #define gf_ifOperStatus MibGetIfEntry
  144. #define gf_ifLastChange MibGetIfEntry
  145. #define gf_ifInOctets MibGetIfEntry
  146. #define gf_ifInUcastPkts MibGetIfEntry
  147. #define gf_ifInNUcastPkts MibGetIfEntry
  148. #define gf_ifInDiscards MibGetIfEntry
  149. #define gf_ifInErrors MibGetIfEntry
  150. #define gf_ifInUnknownProtos MibGetIfEntry
  151. #define gf_ifOutOctets MibGetIfEntry
  152. #define gf_ifOutUcastPkts MibGetIfEntry
  153. #define gf_ifOutNUcastPkts MibGetIfEntry
  154. #define gf_ifOutDiscards MibGetIfEntry
  155. #define gf_ifOutErrors MibGetIfEntry
  156. #define gf_ifOutQLen MibGetIfEntry
  157. #define gf_ifSpecific MibGetIfEntry
  158. #define gb_ifEntry IF_ENTRY_GET
  159. #define gb_ifIndex IF_ENTRY_GET
  160. #define gb_ifDescr IF_ENTRY_GET
  161. #define gb_ifType IF_ENTRY_GET
  162. #define gb_ifMtu IF_ENTRY_GET
  163. #define gb_ifSpeed IF_ENTRY_GET
  164. #define gb_ifPhysAddress IF_ENTRY_GET
  165. #define gb_ifAdminStatus IF_ENTRY_GET
  166. #define gb_ifOperStatus IF_ENTRY_GET
  167. #define gb_ifLastChange IF_ENTRY_GET
  168. #define gb_ifInOctets IF_ENTRY_GET
  169. #define gb_ifInUcastPkts IF_ENTRY_GET
  170. #define gb_ifInNUcastPkts IF_ENTRY_GET
  171. #define gb_ifInDiscards IF_ENTRY_GET
  172. #define gb_ifInErrors IF_ENTRY_GET
  173. #define gb_ifInUnknownProtos IF_ENTRY_GET
  174. #define gb_ifOutOctets IF_ENTRY_GET
  175. #define gb_ifOutUcastPkts IF_ENTRY_GET
  176. #define gb_ifOutNUcastPkts IF_ENTRY_GET
  177. #define gb_ifOutDiscards IF_ENTRY_GET
  178. #define gb_ifOutErrors IF_ENTRY_GET
  179. #define gb_ifOutQLen IF_ENTRY_GET
  180. #define gb_ifSpecific IF_ENTRY_GET
  181. typedef struct _IF_ENTRY_SET
  182. {
  183. AsnAny ifIndex;
  184. AsnAny ifAdminStatus;
  185. BOOL bLocked;
  186. ROW_ACTION raAction;
  187. DWORD rgdwSetBuffer[MIB_INFO_SIZE_IN_DWORDS(MIB_IFROW)];
  188. }IF_ENTRY_SET, *PIF_ENTRY_SET;
  189. UINT
  190. MibSetIfEntry(
  191. UINT actionId,
  192. AsnAny *objectArray,
  193. UINT *errorIndex
  194. );
  195. #define sf_ifAdminStatus MibSetIfEntry
  196. #define sb_ifAdminStatus IF_ENTRY_SET
  197. typedef struct _IP_STATS_GET
  198. {
  199. AsnAny ipForwarding;
  200. AsnAny ipDefaultTTL;
  201. AsnAny ipInReceives;
  202. AsnAny ipInHdrErrors;
  203. AsnAny ipInAddrErrors;
  204. AsnAny ipForwDatagrams;
  205. AsnAny ipInUnknownProtos;
  206. AsnAny ipInDiscards;
  207. AsnAny ipInDelivers;
  208. AsnAny ipOutRequests;
  209. AsnAny ipOutDiscards;
  210. AsnAny ipOutNoRoutes;
  211. AsnAny ipReasmTimeout;
  212. AsnAny ipReasmReqds;
  213. AsnAny ipReasmOKs;
  214. AsnAny ipReasmFails;
  215. AsnAny ipFragOKs;
  216. AsnAny ipFragFails;
  217. AsnAny ipFragCreates;
  218. AsnAny ipRoutingDiscards;
  219. }IP_STATS_GET, *PIP_STATS_GET;
  220. UINT
  221. MibGetIpGroup(
  222. UINT actionId,
  223. AsnAny *objectArray,
  224. UINT *errorIndex
  225. );
  226. #define gf_ipForwarding MibGetIpGroup
  227. #define gf_ipDefaultTTL MibGetIpGroup
  228. #define gf_ipInReceives MibGetIpGroup
  229. #define gf_ipInHdrErrors MibGetIpGroup
  230. #define gf_ipInAddrErrors MibGetIpGroup
  231. #define gf_ipForwDatagrams MibGetIpGroup
  232. #define gf_ipInUnknownProtos MibGetIpGroup
  233. #define gf_ipInDiscards MibGetIpGroup
  234. #define gf_ipInDelivers MibGetIpGroup
  235. #define gf_ipOutRequests MibGetIpGroup
  236. #define gf_ipOutDiscards MibGetIpGroup
  237. #define gf_ipOutNoRoutes MibGetIpGroup
  238. #define gf_ipReasmTimeout MibGetIpGroup
  239. #define gf_ipReasmReqds MibGetIpGroup
  240. #define gf_ipReasmOKs MibGetIpGroup
  241. #define gf_ipReasmFails MibGetIpGroup
  242. #define gf_ipFragOKs MibGetIpGroup
  243. #define gf_ipFragFails MibGetIpGroup
  244. #define gf_ipFragCreates MibGetIpGroup
  245. #define gf_ipRoutingDiscards MibGetIpGroup
  246. #define gb_ipForwarding IP_STATS_GET
  247. #define gb_ipDefaultTTL IP_STATS_GET
  248. #define gb_ipInReceives IP_STATS_GET
  249. #define gb_ipInHdrErrors IP_STATS_GET
  250. #define gb_ipInAddrErrors IP_STATS_GET
  251. #define gb_ipForwDatagrams IP_STATS_GET
  252. #define gb_ipInUnknownProtos IP_STATS_GET
  253. #define gb_ipInDiscards IP_STATS_GET
  254. #define gb_ipInDelivers IP_STATS_GET
  255. #define gb_ipOutRequests IP_STATS_GET
  256. #define gb_ipOutDiscards IP_STATS_GET
  257. #define gb_ipOutNoRoutes IP_STATS_GET
  258. #define gb_ipReasmTimeout IP_STATS_GET
  259. #define gb_ipReasmReqds IP_STATS_GET
  260. #define gb_ipReasmOKs IP_STATS_GET
  261. #define gb_ipReasmFails IP_STATS_GET
  262. #define gb_ipFragOKs IP_STATS_GET
  263. #define gb_ipFragFails IP_STATS_GET
  264. #define gb_ipFragCreates IP_STATS_GET
  265. #define gb_ipRoutingDiscards IP_STATS_GET
  266. typedef struct _IP_STATS_SET
  267. {
  268. AsnAny ipForwarding;
  269. AsnAny ipDefaultTTL;
  270. DWORD rgdwSetBuffer[MIB_INFO_SIZE_IN_DWORDS(MIB_IPSTATS)];
  271. }IP_STATS_SET, *PIP_STATS_SET;
  272. UINT
  273. MibSetIpGroup(
  274. UINT actionId,
  275. AsnAny *objectArray,
  276. UINT *errorIndex
  277. );
  278. #define sf_ipForwarding MibSetIpGroup
  279. #define sf_ipDefaultTTL MibSetIpGroup
  280. #define sb_ipForwarding IP_STATS_SET
  281. #define sb_ipDefaultTTL IP_STATS_SET
  282. //
  283. // The space kept for IP Addresses is a DWORD
  284. //
  285. typedef struct _IP_ADDRESS_ENTRY_GET
  286. {
  287. AsnAny ipAdEntAddr;
  288. AsnAny ipAdEntIfIndex;
  289. AsnAny ipAdEntNetMask;
  290. AsnAny ipAdEntBcastAddr;
  291. AsnAny ipAdEntReasmMaxSize;
  292. DWORD dwIpAdEntAddrInfo;
  293. DWORD dwIpAdEntNetMaskInfo;
  294. }IP_ADDRESS_ENTRY_GET, *PIP_ADDRESS_ENTRY_GET;
  295. UINT
  296. MibGetIpAddressEntry(
  297. UINT actionId,
  298. AsnAny *objectArray,
  299. UINT *errorIndex
  300. );
  301. #define gf_ipAdEntAddr MibGetIpAddressEntry
  302. #define gf_ipAdEntIfIndex MibGetIpAddressEntry
  303. #define gf_ipAdEntNetMask MibGetIpAddressEntry
  304. #define gf_ipAdEntBcastAddr MibGetIpAddressEntry
  305. #define gf_ipAdEntReasmMaxSize MibGetIpAddressEntry
  306. #define gb_ipAdEntAddr IP_ADDRESS_ENTRY_GET
  307. #define gb_ipAdEntIfIndex IP_ADDRESS_ENTRY_GET
  308. #define gb_ipAdEntNetMask IP_ADDRESS_ENTRY_GET
  309. #define gb_ipAdEntBcastAddr IP_ADDRESS_ENTRY_GET
  310. #define gb_ipAdEntReasmMaxSize IP_ADDRESS_ENTRY_GET
  311. typedef struct _IP_ROUTE_ENTRY_GET
  312. {
  313. AsnAny ipRouteDest;
  314. AsnAny ipRouteIfIndex;
  315. AsnAny ipRouteMetric1;
  316. AsnAny ipRouteMetric2;
  317. AsnAny ipRouteMetric3;
  318. AsnAny ipRouteMetric4;
  319. AsnAny ipRouteNextHop;
  320. AsnAny ipRouteType;
  321. AsnAny ipRouteProto;
  322. AsnAny ipRouteAge;
  323. AsnAny ipRouteMask;
  324. AsnAny ipRouteMetric5;
  325. AsnAny ipRouteInfo;
  326. DWORD dwIpRouteDestInfo;
  327. DWORD dwIpRouteMaskInfo;
  328. DWORD dwIpRouteNextHopInfo;
  329. }IP_ROUTE_ENTRY_GET, *PIP_ROUTE_ENTRY_GET;
  330. UINT
  331. MibGetIpRouteEntry(
  332. UINT actionId,
  333. AsnAny *objectArray,
  334. UINT *errorIndex
  335. );
  336. #define gf_ipRouteDest MibGetIpRouteEntry
  337. #define gf_ipRouteIfIndex MibGetIpRouteEntry
  338. #define gf_ipRouteMetric1 MibGetIpRouteEntry
  339. #define gf_ipRouteMetric2 MibGetIpRouteEntry
  340. #define gf_ipRouteMetric3 MibGetIpRouteEntry
  341. #define gf_ipRouteMetric4 MibGetIpRouteEntry
  342. #define gf_ipRouteNextHop MibGetIpRouteEntry
  343. #define gf_ipRouteType MibGetIpRouteEntry
  344. #define gf_ipRouteProto MibGetIpRouteEntry
  345. #define gf_ipRouteAge MibGetIpRouteEntry
  346. #define gf_ipRouteMask MibGetIpRouteEntry
  347. #define gf_ipRouteMetric5 MibGetIpRouteEntry
  348. #define gf_ipRouteInfo MibGetIpRouteEntry
  349. #define gb_ipRouteDest IP_ROUTE_ENTRY_GET
  350. #define gb_ipRouteIfIndex IP_ROUTE_ENTRY_GET
  351. #define gb_ipRouteMetric1 IP_ROUTE_ENTRY_GET
  352. #define gb_ipRouteMetric2 IP_ROUTE_ENTRY_GET
  353. #define gb_ipRouteMetric3 IP_ROUTE_ENTRY_GET
  354. #define gb_ipRouteMetric4 IP_ROUTE_ENTRY_GET
  355. #define gb_ipRouteNextHop IP_ROUTE_ENTRY_GET
  356. #define gb_ipRouteType IP_ROUTE_ENTRY_GET
  357. #define gb_ipRouteProto IP_ROUTE_ENTRY_GET
  358. #define gb_ipRouteAge IP_ROUTE_ENTRY_GET
  359. #define gb_ipRouteMask IP_ROUTE_ENTRY_GET
  360. #define gb_ipRouteMetric5 IP_ROUTE_ENTRY_GET
  361. #define gb_ipRouteInfo IP_ROUTE_ENTRY_GET
  362. typedef struct _IP_ROUTE_ENTRY_SET
  363. {
  364. AsnAny ipRouteDest;
  365. AsnAny ipRouteIfIndex;
  366. AsnAny ipRouteMetric1;
  367. AsnAny ipRouteMetric2;
  368. AsnAny ipRouteMetric3;
  369. AsnAny ipRouteMetric4;
  370. AsnAny ipRouteNextHop;
  371. AsnAny ipRouteType;
  372. AsnAny ipRouteProto;
  373. AsnAny ipRouteAge;
  374. AsnAny ipRouteMask;
  375. AsnAny ipRouteMetric5;
  376. BOOL bLocked;
  377. DWORD dwIpRouteDestInfo;
  378. DWORD dwIpRouteMaskInfo;
  379. DWORD dwIpRouteNextHopInfo;
  380. ROW_ACTION raAction;
  381. DWORD rgdwSetBuffer[MIB_INFO_SIZE_IN_DWORDS(MIB_IPFORWARDROW)];
  382. }IP_ROUTE_ENTRY_SET, *PIP_ROUTE_ENTRY_SET;
  383. UINT
  384. MibSetIpRouteEntry(
  385. UINT actionId,
  386. AsnAny *objectArray,
  387. UINT *errorIndex
  388. );
  389. #define sf_ipRouteDest MibSetIpRouteEntry
  390. #define sf_ipRouteIfIndex MibSetIpRouteEntry
  391. #define sf_ipRouteMetric1 MibSetIpRouteEntry
  392. #define sf_ipRouteMetric2 MibSetIpRouteEntry
  393. #define sf_ipRouteMetric3 MibSetIpRouteEntry
  394. #define sf_ipRouteMetric4 MibSetIpRouteEntry
  395. #define sf_ipRouteNextHop MibSetIpRouteEntry
  396. #define sf_ipRouteType MibSetIpRouteEntry
  397. #define sf_ipRouteProto MibSetIpRouteEntry
  398. #define sf_ipRouteAge MibSetIpRouteEntry
  399. #define sf_ipRouteMask MibSetIpRouteEntry
  400. #define sf_ipRouteMetric5 MibSetIpRouteEntry
  401. #define sb_ipRouteDest IP_ROUTE_ENTRY_SET
  402. #define sb_ipRouteIfIndex IP_ROUTE_ENTRY_SET
  403. #define sb_ipRouteMetric1 IP_ROUTE_ENTRY_SET
  404. #define sb_ipRouteMetric2 IP_ROUTE_ENTRY_SET
  405. #define sb_ipRouteMetric3 IP_ROUTE_ENTRY_SET
  406. #define sb_ipRouteMetric4 IP_ROUTE_ENTRY_SET
  407. #define sb_ipRouteNextHop IP_ROUTE_ENTRY_SET
  408. #define sb_ipRouteType IP_ROUTE_ENTRY_SET
  409. #define sb_ipRouteProto IP_ROUTE_ENTRY_SET
  410. #define sb_ipRouteAge IP_ROUTE_ENTRY_SET
  411. #define sb_ipRouteMask IP_ROUTE_ENTRY_SET
  412. #define sb_ipRouteMetric5 IP_ROUTE_ENTRY_SET
  413. typedef struct _IP_NET_TO_MEDIA_ENTRY_GET
  414. {
  415. AsnAny ipNetToMediaIfIndex;
  416. AsnAny ipNetToMediaPhysAddress;
  417. AsnAny ipNetToMediaNetAddress;
  418. AsnAny ipNetToMediaType;
  419. BYTE rgbyIpNetToMediaPhysAddressInfo[MAX_PHYS_ADDR_LEN];
  420. DWORD dwIpNetToMediaNetAddressInfo;
  421. }IP_NET_TO_MEDIA_ENTRY_GET, *PIP_NET_TO_MEDIA_ENTRY_GET;
  422. UINT
  423. MibGetIpNetToMediaEntry(
  424. UINT actionId,
  425. AsnAny *objectArray,
  426. UINT *errorIndex
  427. );
  428. #define gf_ipNetToMediaIfIndex MibGetIpNetToMediaEntry
  429. #define gf_ipNetToMediaPhysAddress MibGetIpNetToMediaEntry
  430. #define gf_ipNetToMediaNetAddress MibGetIpNetToMediaEntry
  431. #define gf_ipNetToMediaType MibGetIpNetToMediaEntry
  432. #define gb_ipNetToMediaIfIndex IP_NET_TO_MEDIA_ENTRY_GET
  433. #define gb_ipNetToMediaPhysAddress IP_NET_TO_MEDIA_ENTRY_GET
  434. #define gb_ipNetToMediaNetAddress IP_NET_TO_MEDIA_ENTRY_GET
  435. #define gb_ipNetToMediaType IP_NET_TO_MEDIA_ENTRY_GET
  436. typedef struct _IP_NET_TO_MEDIA_ENTRY_SET
  437. {
  438. AsnAny ipNetToMediaIfIndex;
  439. AsnAny ipNetToMediaPhysAddress;
  440. AsnAny ipNetToMediaNetAddress;
  441. AsnAny ipNetToMediaType;
  442. BOOL bLocked;
  443. BYTE rgbyIpNetToMediaPhysAddressInfo[MAX_PHYS_ADDR_LEN];
  444. DWORD dwIpNetToMediaNetAddressInfo;
  445. ROW_ACTION raAction;
  446. DWORD rgdwSetBuffer[MIB_INFO_SIZE_IN_DWORDS(MIB_IPNETROW)];
  447. }IP_NET_TO_MEDIA_ENTRY_SET, *PIP_NET_TO_MEDIA_ENTRY_SET;
  448. UINT
  449. MibSetIpNetToMediaEntry(
  450. UINT actionId,
  451. AsnAny *objectArray,
  452. UINT *errorIndex
  453. );
  454. #define sf_ipNetToMediaIfIndex MibSetIpNetToMediaEntry
  455. #define sf_ipNetToMediaPhysAddress MibSetIpNetToMediaEntry
  456. #define sf_ipNetToMediaNetAddress MibSetIpNetToMediaEntry
  457. #define sf_ipNetToMediaType MibSetIpNetToMediaEntry
  458. #define sb_ipNetToMediaIfIndex IP_NET_TO_MEDIA_ENTRY_SET
  459. #define sb_ipNetToMediaPhysAddress IP_NET_TO_MEDIA_ENTRY_SET
  460. #define sb_ipNetToMediaNetAddress IP_NET_TO_MEDIA_ENTRY_SET
  461. #define sb_ipNetToMediaType IP_NET_TO_MEDIA_ENTRY_SET
  462. typedef struct _ICMP_GROUP_GET
  463. {
  464. AsnAny icmpInMsgs;
  465. AsnAny icmpInErrors;
  466. AsnAny icmpInDestUnreachs;
  467. AsnAny icmpInTimeExcds;
  468. AsnAny icmpInParmProbs;
  469. AsnAny icmpInSrcQuenchs;
  470. AsnAny icmpInRedirects;
  471. AsnAny icmpInEchos;
  472. AsnAny icmpInEchoReps;
  473. AsnAny icmpInTimestamps;
  474. AsnAny icmpInTimestampReps;
  475. AsnAny icmpInAddrMasks;
  476. AsnAny icmpInAddrMaskReps;
  477. AsnAny icmpOutMsgs;
  478. AsnAny icmpOutErrors;
  479. AsnAny icmpOutDestUnreachs;
  480. AsnAny icmpOutTimeExcds;
  481. AsnAny icmpOutParmProbs;
  482. AsnAny icmpOutSrcQuenchs;
  483. AsnAny icmpOutRedirects;
  484. AsnAny icmpOutEchos;
  485. AsnAny icmpOutEchoReps;
  486. AsnAny icmpOutTimestamps;
  487. AsnAny icmpOutTimestampReps;
  488. AsnAny icmpOutAddrMasks;
  489. AsnAny icmpOutAddrMaskReps;
  490. }ICMP_GROUP_GET, *PICMP_GROUP_GET;
  491. UINT
  492. MibGetIcmpGroup(
  493. UINT actionId,
  494. AsnAny *objectArray,
  495. UINT *errorIndex
  496. );
  497. #define gf_icmpInMsgs MibGetIcmpGroup
  498. #define gf_icmpInErrors MibGetIcmpGroup
  499. #define gf_icmpInDestUnreachs MibGetIcmpGroup
  500. #define gf_icmpInTimeExcds MibGetIcmpGroup
  501. #define gf_icmpInParmProbs MibGetIcmpGroup
  502. #define gf_icmpInSrcQuenchs MibGetIcmpGroup
  503. #define gf_icmpInRedirects MibGetIcmpGroup
  504. #define gf_icmpInEchos MibGetIcmpGroup
  505. #define gf_icmpInEchoReps MibGetIcmpGroup
  506. #define gf_icmpInTimestamps MibGetIcmpGroup
  507. #define gf_icmpInTimestampReps MibGetIcmpGroup
  508. #define gf_icmpInAddrMasks MibGetIcmpGroup
  509. #define gf_icmpInAddrMaskReps MibGetIcmpGroup
  510. #define gf_icmpOutMsgs MibGetIcmpGroup
  511. #define gf_icmpOutErrors MibGetIcmpGroup
  512. #define gf_icmpOutDestUnreachs MibGetIcmpGroup
  513. #define gf_icmpOutTimeExcds MibGetIcmpGroup
  514. #define gf_icmpOutParmProbs MibGetIcmpGroup
  515. #define gf_icmpOutSrcQuenchs MibGetIcmpGroup
  516. #define gf_icmpOutRedirects MibGetIcmpGroup
  517. #define gf_icmpOutEchos MibGetIcmpGroup
  518. #define gf_icmpOutEchoReps MibGetIcmpGroup
  519. #define gf_icmpOutTimestamps MibGetIcmpGroup
  520. #define gf_icmpOutTimestampReps MibGetIcmpGroup
  521. #define gf_icmpOutAddrMasks MibGetIcmpGroup
  522. #define gf_icmpOutAddrMaskReps MibGetIcmpGroup
  523. #define gb_icmpInMsgs ICMP_GROUP_GET
  524. #define gb_icmpInErrors ICMP_GROUP_GET
  525. #define gb_icmpInDestUnreachs ICMP_GROUP_GET
  526. #define gb_icmpInTimeExcds ICMP_GROUP_GET
  527. #define gb_icmpInParmProbs ICMP_GROUP_GET
  528. #define gb_icmpInSrcQuenchs ICMP_GROUP_GET
  529. #define gb_icmpInRedirects ICMP_GROUP_GET
  530. #define gb_icmpInEchos ICMP_GROUP_GET
  531. #define gb_icmpInEchoReps ICMP_GROUP_GET
  532. #define gb_icmpInTimestamps ICMP_GROUP_GET
  533. #define gb_icmpInTimestampReps ICMP_GROUP_GET
  534. #define gb_icmpInAddrMasks ICMP_GROUP_GET
  535. #define gb_icmpInAddrMaskReps ICMP_GROUP_GET
  536. #define gb_icmpOutMsgs ICMP_GROUP_GET
  537. #define gb_icmpOutErrors ICMP_GROUP_GET
  538. #define gb_icmpOutDestUnreachs ICMP_GROUP_GET
  539. #define gb_icmpOutTimeExcds ICMP_GROUP_GET
  540. #define gb_icmpOutParmProbs ICMP_GROUP_GET
  541. #define gb_icmpOutSrcQuenchs ICMP_GROUP_GET
  542. #define gb_icmpOutRedirects ICMP_GROUP_GET
  543. #define gb_icmpOutEchos ICMP_GROUP_GET
  544. #define gb_icmpOutEchoReps ICMP_GROUP_GET
  545. #define gb_icmpOutTimestamps ICMP_GROUP_GET
  546. #define gb_icmpOutTimestampReps ICMP_GROUP_GET
  547. #define gb_icmpOutAddrMasks ICMP_GROUP_GET
  548. #define gb_icmpOutAddrMaskReps ICMP_GROUP_GET
  549. typedef struct _TCP_STATS_GET
  550. {
  551. AsnAny tcpRtoAlgorithm;
  552. AsnAny tcpRtoMin;
  553. AsnAny tcpRtoMax;
  554. AsnAny tcpMaxConn;
  555. AsnAny tcpActiveOpens;
  556. AsnAny tcpPassiveOpens;
  557. AsnAny tcpAttemptFails;
  558. AsnAny tcpEstabResets;
  559. AsnAny tcpCurrEstab;
  560. AsnAny tcpInSegs;
  561. AsnAny tcpOutSegs;
  562. AsnAny tcpRetransSegs;
  563. AsnAny tcpInErrs;
  564. AsnAny tcpOutRsts;
  565. }TCP_STATS_GET, *PTCP_STATS_GET;
  566. UINT
  567. MibGetTcpGroup(
  568. UINT actionId,
  569. AsnAny *objectArray,
  570. UINT *errorIndex
  571. );
  572. #define gf_tcpRtoAlgorithm MibGetTcpGroup
  573. #define gf_tcpRtoMin MibGetTcpGroup
  574. #define gf_tcpRtoMax MibGetTcpGroup
  575. #define gf_tcpMaxConn MibGetTcpGroup
  576. #define gf_tcpActiveOpens MibGetTcpGroup
  577. #define gf_tcpPassiveOpens MibGetTcpGroup
  578. #define gf_tcpAttemptFails MibGetTcpGroup
  579. #define gf_tcpEstabResets MibGetTcpGroup
  580. #define gf_tcpCurrEstab MibGetTcpGroup
  581. #define gf_tcpInSegs MibGetTcpGroup
  582. #define gf_tcpOutSegs MibGetTcpGroup
  583. #define gf_tcpRetransSegs MibGetTcpGroup
  584. #define gf_tcpInErrs MibGetTcpGroup
  585. #define gf_tcpOutRsts MibGetTcpGroup
  586. #define gb_tcpRtoAlgorithm TCP_STATS_GET
  587. #define gb_tcpRtoMin TCP_STATS_GET
  588. #define gb_tcpRtoMax TCP_STATS_GET
  589. #define gb_tcpMaxConn TCP_STATS_GET
  590. #define gb_tcpActiveOpens TCP_STATS_GET
  591. #define gb_tcpPassiveOpens TCP_STATS_GET
  592. #define gb_tcpAttemptFails TCP_STATS_GET
  593. #define gb_tcpEstabResets TCP_STATS_GET
  594. #define gb_tcpCurrEstab TCP_STATS_GET
  595. #define gb_tcpInSegs TCP_STATS_GET
  596. #define gb_tcpOutSegs TCP_STATS_GET
  597. #define gb_tcpRetransSegs TCP_STATS_GET
  598. #define gb_tcpInErrs TCP_STATS_GET
  599. #define gb_tcpOutRsts TCP_STATS_GET
  600. typedef struct _TCP_CONNECTION_ENTRY_GET
  601. {
  602. AsnAny tcpConnState;
  603. AsnAny tcpConnLocalAddress;
  604. AsnAny tcpConnLocalPort;
  605. AsnAny tcpConnRemAddress;
  606. AsnAny tcpConnRemPort;
  607. DWORD dwTcpConnLocalAddressInfo;
  608. DWORD dwTcpConnRemAddressInfo;
  609. }TCP_CONNECTION_ENTRY_GET, *PTCP_CONNECTION_ENTRY_GET;
  610. UINT
  611. MibGetTcpConnectionEntry(
  612. UINT actionId,
  613. AsnAny *objectArray,
  614. UINT *errorIndex
  615. );
  616. #define gf_tcpConnState MibGetTcpConnectionEntry
  617. #define gf_tcpConnLocalAddress MibGetTcpConnectionEntry
  618. #define gf_tcpConnLocalPort MibGetTcpConnectionEntry
  619. #define gf_tcpConnRemAddress MibGetTcpConnectionEntry
  620. #define gf_tcpConnRemPort MibGetTcpConnectionEntry
  621. #define gb_tcpConnState TCP_CONNECTION_ENTRY_GET
  622. #define gb_tcpConnLocalAddress TCP_CONNECTION_ENTRY_GET
  623. #define gb_tcpConnLocalPort TCP_CONNECTION_ENTRY_GET
  624. #define gb_tcpConnRemAddress TCP_CONNECTION_ENTRY_GET
  625. #define gb_tcpConnRemPort TCP_CONNECTION_ENTRY_GET
  626. typedef struct _TCP_CONNECTION_ENTRY_SET
  627. {
  628. AsnAny tcpConnState;
  629. AsnAny tcpConnLocalAddress;
  630. AsnAny tcpConnLocalPort;
  631. AsnAny tcpConnRemAddress;
  632. AsnAny tcpConnRemPort;
  633. DWORD dwTcpConnLocalAddressInfo;
  634. DWORD dwTcpConnRemAddressInfo;
  635. BOOL bLocked;
  636. ROW_ACTION raAction;
  637. DWORD rgdwSetBuffer[MIB_INFO_SIZE_IN_DWORDS(MIB_TCPROW)];
  638. }TCP_CONNECTION_ENTRY_SET, *PTCP_CONNECTION_ENTRY_SET;
  639. UINT
  640. MibSetTcpConnectionEntry(
  641. UINT actionId,
  642. AsnAny *objectArray,
  643. UINT *errorIndex
  644. );
  645. #define sf_tcpConnState MibSetTcpConnectionEntry
  646. #define sb_tcpConnState TCP_CONNECTION_ENTRY_SET
  647. typedef struct _TCP_NEW_CONNECTION_ENTRY_GET
  648. {
  649. AsnAny tcpNewConnLocalAddressType;
  650. AsnAny tcpNewConnLocalAddress;
  651. AsnAny tcpNewConnLocalPort;
  652. AsnAny tcpNewConnRemAddressType;
  653. AsnAny tcpNewConnRemAddress;
  654. AsnAny tcpNewConnRemPort;
  655. AsnAny tcpNewConnState;
  656. BYTE rgbyTcpNewConnLocalAddressInfo[20];
  657. BYTE rgbyTcpNewConnRemAddressInfo[20];
  658. }TCP_NEW_CONNECTION_ENTRY_GET, *PTCP_NEW_CONNECTION_ENTRY_GET;
  659. UINT
  660. MibGetTcpNewConnectionEntry(
  661. UINT actionId,
  662. AsnAny *objectArray,
  663. UINT *errorIndex
  664. );
  665. #define gf_tcpNewConnLocalAddressType MibGetTcpNewConnectionEntry
  666. #define gf_tcpNewConnLocalAddress MibGetTcpNewConnectionEntry
  667. #define gf_tcpNewConnLocalPort MibGetTcpNewConnectionEntry
  668. #define gf_tcpNewConnRemAddressType MibGetTcpNewConnectionEntry
  669. #define gf_tcpNewConnRemAddress MibGetTcpNewConnectionEntry
  670. #define gf_tcpNewConnRemPort MibGetTcpNewConnectionEntry
  671. #define gf_tcpNewConnState MibGetTcpNewConnectionEntry
  672. #define gb_tcpNewConnLocalAddressType TCP_NEW_CONNECTION_ENTRY_GET
  673. #define gb_tcpNewConnLocalAddress TCP_NEW_CONNECTION_ENTRY_GET
  674. #define gb_tcpNewConnLocalPort TCP_NEW_CONNECTION_ENTRY_GET
  675. #define gb_tcpNewConnRemAddressType TCP_NEW_CONNECTION_ENTRY_GET
  676. #define gb_tcpNewConnRemAddress TCP_NEW_CONNECTION_ENTRY_GET
  677. #define gb_tcpNewConnRemPort TCP_NEW_CONNECTION_ENTRY_GET
  678. #define gb_tcpNewConnState TCP_NEW_CONNECTION_ENTRY_GET
  679. typedef struct _TCP_NEW_CONNECTION_ENTRY_SET
  680. {
  681. AsnAny tcpNewConnLocalAddressType;
  682. AsnAny tcpNewConnLocalAddress;
  683. AsnAny tcpNewConnLocalPort;
  684. AsnAny tcpNewConnRemAddressType;
  685. AsnAny tcpNewConnRemAddress;
  686. AsnAny tcpNewConnRemPort;
  687. AsnAny tcpNewConnState;
  688. BYTE rgbyTcpNewConnLocalAddressInfo[20];
  689. BYTE rgbyTcpNewConnRemAddressInfo[20];
  690. BOOL bLocked;
  691. ROW_ACTION raAction;
  692. DWORD rgdwSetBuffer[MIB_INFO_SIZE_IN_DWORDS(TCP6ConnTableEntry)];
  693. }TCP_NEW_CONNECTION_ENTRY_SET, *PTCP_NEW_CONNECTION_ENTRY_SET;
  694. UINT
  695. MibSetTcpNewConnectionEntry(
  696. UINT actionId,
  697. AsnAny *objectArray,
  698. UINT *errorIndex
  699. );
  700. #define sf_tcpNewConnState MibSetTcpNewConnectionEntry
  701. #define sb_tcpNewConnState TCP_NEW_CONNECTION_ENTRY_SET
  702. typedef struct _UDP_STATS_GET
  703. {
  704. AsnAny udpInDatagrams;
  705. AsnAny udpNoPorts;
  706. AsnAny udpInErrors;
  707. AsnAny udpOutDatagrams;
  708. }UDP_STATS_GET, *PUDP_STATS_GET;
  709. UINT
  710. MibGetUdpGroup(
  711. UINT actionId,
  712. AsnAny *objectArray,
  713. UINT *errorIndex
  714. );
  715. #define gf_udpInDatagrams MibGetUdpGroup
  716. #define gf_udpNoPorts MibGetUdpGroup
  717. #define gf_udpInErrors MibGetUdpGroup
  718. #define gf_udpOutDatagrams MibGetUdpGroup
  719. #define gb_udpInDatagrams UDP_STATS_GET
  720. #define gb_udpNoPorts UDP_STATS_GET
  721. #define gb_udpInErrors UDP_STATS_GET
  722. #define gb_udpOutDatagrams UDP_STATS_GET
  723. typedef struct _UDP_ENTRY_GET
  724. {
  725. AsnAny udpLocalAddress;
  726. AsnAny udpLocalPort;
  727. DWORD dwUdpLocalAddressInfo;
  728. }UDP_ENTRY_GET, *PUDP_ENTRY_GET;
  729. UINT
  730. MibGetUdpEntry(
  731. UINT actionId,
  732. AsnAny *objectArray,
  733. UINT *errorIndex
  734. );
  735. #define gf_udpLocalAddress MibGetUdpEntry
  736. #define gf_udpLocalPort MibGetUdpEntry
  737. #define gb_udpLocalAddress UDP_ENTRY_GET
  738. #define gb_udpLocalPort UDP_ENTRY_GET
  739. typedef struct _UDP_LISTENER_ENTRY_GET
  740. {
  741. AsnAny udpListenerLocalAddressType;
  742. AsnAny udpListenerLocalAddress;
  743. AsnAny udpListenerLocalPort;
  744. BYTE rgbyUdpLocalAddressInfo[20];
  745. }UDP_LISTENER_ENTRY_GET, *PUDP_LISTENER_ENTRY_GET;
  746. UINT
  747. MibGetUdpListenerEntry(
  748. UINT actionId,
  749. AsnAny *objectArray,
  750. UINT *errorIndex
  751. );
  752. #define gf_udpListenerLocalAddressType MibGetUdpListenerEntry
  753. #define gf_udpListenerLocalAddress MibGetUdpListenerEntry
  754. #define gf_udpListenerLocalPort MibGetUdpListenerEntry
  755. #define gb_udpListenerLocalAddressType UDP_LISTENER_ENTRY_GET
  756. #define gb_udpListenerLocalAddress UDP_LISTENER_ENTRY_GET
  757. #define gb_udpListenerLocalPort UDP_LISTENER_ENTRY_GET
  758. typedef struct _IP_FORWARD_NUMBER_GET
  759. {
  760. AsnAny ipForwardNumber;
  761. }IP_FORWARD_NUMBER_GET, *PIP_FORWARD_NUMBER_GET;
  762. UINT
  763. MibGetIpForwardNumber(
  764. UINT actionId,
  765. AsnAny *objectArray,
  766. UINT *errorIndex
  767. );
  768. #define gf_ipForwardNumber MibGetIpForwardNumber
  769. #define gb_ipForwardNumber IP_FORWARD_NUMBER_GET
  770. typedef struct _IP_FORWARD_ENTRY_GET
  771. {
  772. AsnAny ipForwardDest;
  773. AsnAny ipForwardMask;
  774. AsnAny ipForwardPolicy;
  775. AsnAny ipForwardNextHop;
  776. AsnAny ipForwardIfIndex;
  777. AsnAny ipForwardType;
  778. AsnAny ipForwardProto;
  779. AsnAny ipForwardAge;
  780. AsnAny ipForwardInfo;
  781. AsnAny ipForwardNextHopAS;
  782. AsnAny ipForwardMetric1;
  783. AsnAny ipForwardMetric2;
  784. AsnAny ipForwardMetric3;
  785. AsnAny ipForwardMetric4;
  786. AsnAny ipForwardMetric5;
  787. DWORD dwIpForwardDestInfo;
  788. DWORD dwIpForwardMaskInfo;
  789. DWORD dwIpForwardNextHopInfo;
  790. }IP_FORWARD_ENTRY_GET, *PIP_FORWARD_ENTRY_GET;
  791. UINT
  792. MibGetIpForwardEntry(
  793. UINT actionId,
  794. AsnAny *objectArray,
  795. UINT *errorIndex
  796. );
  797. #define gf_ipForwardDest MibGetIpForwardEntry
  798. #define gf_ipForwardMask MibGetIpForwardEntry
  799. #define gf_ipForwardPolicy MibGetIpForwardEntry
  800. #define gf_ipForwardNextHop MibGetIpForwardEntry
  801. #define gf_ipForwardIfIndex MibGetIpForwardEntry
  802. #define gf_ipForwardType MibGetIpForwardEntry
  803. #define gf_ipForwardProto MibGetIpForwardEntry
  804. #define gf_ipForwardAge MibGetIpForwardEntry
  805. #define gf_ipForwardInfo MibGetIpForwardEntry
  806. #define gf_ipForwardNextHopAS MibGetIpForwardEntry
  807. #define gf_ipForwardMetric1 MibGetIpForwardEntry
  808. #define gf_ipForwardMetric2 MibGetIpForwardEntry
  809. #define gf_ipForwardMetric3 MibGetIpForwardEntry
  810. #define gf_ipForwardMetric4 MibGetIpForwardEntry
  811. #define gf_ipForwardMetric5 MibGetIpForwardEntry
  812. #define gb_ipForwardDest IP_FORWARD_ENTRY_GET
  813. #define gb_ipForwardMask IP_FORWARD_ENTRY_GET
  814. #define gb_ipForwardPolicy IP_FORWARD_ENTRY_GET
  815. #define gb_ipForwardNextHop IP_FORWARD_ENTRY_GET
  816. #define gb_ipForwardIfIndex IP_FORWARD_ENTRY_GET
  817. #define gb_ipForwardType IP_FORWARD_ENTRY_GET
  818. #define gb_ipForwardProto IP_FORWARD_ENTRY_GET
  819. #define gb_ipForwardAge IP_FORWARD_ENTRY_GET
  820. #define gb_ipForwardInfo IP_FORWARD_ENTRY_GET
  821. #define gb_ipForwardNextHopAS IP_FORWARD_ENTRY_GET
  822. #define gb_ipForwardMetric1 IP_FORWARD_ENTRY_GET
  823. #define gb_ipForwardMetric2 IP_FORWARD_ENTRY_GET
  824. #define gb_ipForwardMetric3 IP_FORWARD_ENTRY_GET
  825. #define gb_ipForwardMetric4 IP_FORWARD_ENTRY_GET
  826. #define gb_ipForwardMetric5 IP_FORWARD_ENTRY_GET
  827. typedef struct _IP_FORWARD_ENTRY_SET
  828. {
  829. AsnAny ipForwardDest;
  830. AsnAny ipForwardMask;
  831. AsnAny ipForwardPolicy;
  832. AsnAny ipForwardNextHop;
  833. AsnAny ipForwardIfIndex;
  834. AsnAny ipForwardType;
  835. AsnAny ipForwardProto;
  836. AsnAny ipForwardAge;
  837. AsnAny ipForwardNextHopAS;
  838. AsnAny ipForwardMetric1;
  839. AsnAny ipForwardMetric2;
  840. AsnAny ipForwardMetric3;
  841. AsnAny ipForwardMetric4;
  842. AsnAny ipForwardMetric5;
  843. BOOL bLocked;
  844. DWORD dwIpForwardDestInfo;
  845. DWORD dwIpForwardMaskInfo;
  846. DWORD dwIpForwardNextHopInfo;
  847. ROW_ACTION raAction;
  848. DWORD rgdwSetBuffer[MIB_INFO_SIZE_IN_DWORDS(MIB_IPFORWARDROW)];
  849. }IP_FORWARD_ENTRY_SET, *PIP_FORWARD_ENTRY_SET;
  850. UINT
  851. MibSetIpForwardEntry(
  852. UINT actionId,
  853. AsnAny *objectArray,
  854. UINT *errorIndex
  855. );
  856. #define sf_ipForwardDest MibSetIpForwardEntry
  857. #define sf_ipForwardMask MibSetIpForwardEntry
  858. #define sf_ipForwardPolicy MibSetIpForwardEntry
  859. #define sf_ipForwardNextHop MibSetIpForwardEntry
  860. #define sf_ipForwardIfIndex MibSetIpForwardEntry
  861. #define sf_ipForwardType MibSetIpForwardEntry
  862. #define sf_ipForwardProto MibSetIpForwardEntry
  863. #define sf_ipForwardAge MibSetIpForwardEntry
  864. #define sf_ipForwardNextHopAS MibSetIpForwardEntry
  865. #define sf_ipForwardMetric1 MibSetIpForwardEntry
  866. #define sf_ipForwardMetric2 MibSetIpForwardEntry
  867. #define sf_ipForwardMetric3 MibSetIpForwardEntry
  868. #define sf_ipForwardMetric4 MibSetIpForwardEntry
  869. #define sf_ipForwardMetric5 MibSetIpForwardEntry
  870. #define sb_ipForwardDest IP_FORWARD_ENTRY_SET
  871. #define sb_ipForwardMask IP_FORWARD_ENTRY_SET
  872. #define sb_ipForwardPolicy IP_FORWARD_ENTRY_SET
  873. #define sb_ipForwardNextHop IP_FORWARD_ENTRY_SET
  874. #define sb_ipForwardIfIndex IP_FORWARD_ENTRY_SET
  875. #define sb_ipForwardType IP_FORWARD_ENTRY_SET
  876. #define sb_ipForwardProto IP_FORWARD_ENTRY_SET
  877. #define sb_ipForwardAge IP_FORWARD_ENTRY_SET
  878. #define sb_ipForwardNextHopAS IP_FORWARD_ENTRY_SET
  879. #define sb_ipForwardMetric1 IP_FORWARD_ENTRY_SET
  880. #define sb_ipForwardMetric2 IP_FORWARD_ENTRY_SET
  881. #define sb_ipForwardMetric3 IP_FORWARD_ENTRY_SET
  882. #define sb_ipForwardMetric4 IP_FORWARD_ENTRY_SET
  883. #define sb_ipForwardMetric5 IP_FORWARD_ENTRY_SET
  884. #endif