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.

1749 lines
36 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. datatcp.c
  5. Abstract:
  6. The file containing the constant data structures
  7. for the Performance Monitor data for the TCP/IP
  8. Extensible Objects (Network Interface, IP, ICMP, TCP
  9. and UDP).
  10. This file contains a set of constant data structures which are
  11. currently defined for the TCP/IP Extensible Objects. This is an
  12. example of how other such objects could be defined.
  13. Created:
  14. Christos Tsollis 08/28/92
  15. Revision History:
  16. --*/
  17. //
  18. //
  19. // Include Files
  20. //
  21. #include <nt.h>
  22. #include <ntrtl.h>
  23. #include <nturtl.h>
  24. #include <windows.h>
  25. #include <winperf.h>
  26. #include "datatcp.h"
  27. //
  28. // Constant structure initializations
  29. //
  30. NET_INTERFACE_DATA_DEFINITION NetInterfaceDataDefinition = {
  31. { sizeof(NET_INTERFACE_DATA_DEFINITION) + SIZE_OF_IF_DATA,
  32. sizeof(NET_INTERFACE_DATA_DEFINITION),
  33. sizeof(PERF_OBJECT_TYPE),
  34. 510,
  35. 0,
  36. 511,
  37. 0,
  38. PERF_DETAIL_ADVANCED,
  39. (sizeof(NET_INTERFACE_DATA_DEFINITION)-sizeof(PERF_OBJECT_TYPE))/
  40. sizeof(PERF_COUNTER_DEFINITION),
  41. 0, // default is Byte Total/sec
  42. 0,
  43. 0
  44. },
  45. { sizeof(PERF_COUNTER_DEFINITION),
  46. 388,
  47. 0,
  48. 513,
  49. 0,
  50. -4,
  51. PERF_DETAIL_ADVANCED,
  52. PERF_COUNTER_BULK_COUNT,
  53. sizeof(LONGLONG),
  54. IF_OCTETS_OFFSET
  55. },
  56. { sizeof(PERF_COUNTER_DEFINITION),
  57. 400,
  58. 0,
  59. 515,
  60. 0,
  61. -1,
  62. PERF_DETAIL_ADVANCED,
  63. PERF_COUNTER_COUNTER,
  64. sizeof(DWORD),
  65. IF_PACKETS_OFFSET
  66. },
  67. { sizeof(PERF_COUNTER_DEFINITION),
  68. 266,
  69. 0,
  70. 517,
  71. 0,
  72. -1,
  73. PERF_DETAIL_ADVANCED,
  74. PERF_COUNTER_COUNTER,
  75. sizeof(DWORD),
  76. IF_INPKTS_OFFSET
  77. },
  78. { sizeof(PERF_COUNTER_DEFINITION),
  79. 452,
  80. 0,
  81. 519,
  82. 0,
  83. -1,
  84. PERF_DETAIL_ADVANCED,
  85. PERF_COUNTER_COUNTER,
  86. sizeof(DWORD),
  87. IF_OUTPKTS_OFFSET
  88. },
  89. { sizeof(PERF_COUNTER_DEFINITION),
  90. 520,
  91. 0,
  92. 521,
  93. 0,
  94. -6,
  95. PERF_DETAIL_ADVANCED,
  96. PERF_COUNTER_RAWCOUNT,
  97. sizeof(DWORD),
  98. IF_SPEED_OFFSET
  99. },
  100. { sizeof(PERF_COUNTER_DEFINITION),
  101. 264,
  102. 0,
  103. 523,
  104. 0,
  105. -4,
  106. PERF_DETAIL_ADVANCED,
  107. PERF_COUNTER_COUNTER,
  108. sizeof(DWORD),
  109. IF_INOCTETS_OFFSET
  110. },
  111. { sizeof(PERF_COUNTER_DEFINITION),
  112. 524,
  113. 0,
  114. 525,
  115. 0,
  116. -1,
  117. PERF_DETAIL_EXPERT,
  118. PERF_COUNTER_COUNTER,
  119. sizeof(DWORD),
  120. IF_INUCASTPKTS_OFFSET
  121. },
  122. { sizeof(PERF_COUNTER_DEFINITION),
  123. 526,
  124. 0,
  125. 527,
  126. 0,
  127. -1,
  128. PERF_DETAIL_EXPERT,
  129. PERF_COUNTER_COUNTER,
  130. sizeof(DWORD),
  131. IF_INNUCASTPKTS_OFFSET
  132. },
  133. { sizeof(PERF_COUNTER_DEFINITION),
  134. 528,
  135. 0,
  136. 529,
  137. 0,
  138. 0,
  139. PERF_DETAIL_ADVANCED,
  140. PERF_COUNTER_RAWCOUNT,
  141. sizeof(DWORD),
  142. IF_INDISCARDS_OFFSET
  143. },
  144. { sizeof(PERF_COUNTER_DEFINITION),
  145. 530,
  146. 0,
  147. 531,
  148. 0,
  149. 0,
  150. PERF_DETAIL_ADVANCED,
  151. PERF_COUNTER_RAWCOUNT,
  152. sizeof(DWORD),
  153. IF_INERRORS_OFFSET
  154. },
  155. { sizeof(PERF_COUNTER_DEFINITION),
  156. 532,
  157. 0,
  158. 533,
  159. 0,
  160. 0,
  161. PERF_DETAIL_ADVANCED,
  162. PERF_COUNTER_RAWCOUNT,
  163. sizeof(DWORD),
  164. IF_INUNKNOWNPROTOS_OFFSET
  165. },
  166. { sizeof(PERF_COUNTER_DEFINITION),
  167. 506,
  168. 0,
  169. 535,
  170. 0,
  171. -4,
  172. PERF_DETAIL_ADVANCED,
  173. PERF_COUNTER_COUNTER,
  174. sizeof(DWORD),
  175. IF_OUTOCTETS_OFFSET
  176. },
  177. { sizeof(PERF_COUNTER_DEFINITION),
  178. 536,
  179. 0,
  180. 537,
  181. 0,
  182. -1,
  183. PERF_DETAIL_EXPERT,
  184. PERF_COUNTER_COUNTER,
  185. sizeof(DWORD),
  186. IF_OUTUCASTPKTS_OFFSET
  187. },
  188. { sizeof(PERF_COUNTER_DEFINITION),
  189. 538,
  190. 0,
  191. 539,
  192. 0,
  193. -1,
  194. PERF_DETAIL_EXPERT,
  195. PERF_COUNTER_COUNTER,
  196. sizeof(DWORD),
  197. IF_OUTNUCASTPKTS_OFFSET
  198. },
  199. { sizeof(PERF_COUNTER_DEFINITION),
  200. 540,
  201. 0,
  202. 541,
  203. 0,
  204. 0,
  205. PERF_DETAIL_ADVANCED,
  206. PERF_COUNTER_RAWCOUNT,
  207. sizeof(DWORD),
  208. IF_OUTDISCARDS_OFFSET
  209. },
  210. { sizeof(PERF_COUNTER_DEFINITION),
  211. 542,
  212. 0,
  213. 543,
  214. 0,
  215. 0,
  216. PERF_DETAIL_ADVANCED,
  217. PERF_COUNTER_RAWCOUNT,
  218. sizeof(DWORD),
  219. IF_OUTERRORS_OFFSET
  220. },
  221. { sizeof(PERF_COUNTER_DEFINITION),
  222. 544,
  223. 0,
  224. 545,
  225. 0,
  226. 0,
  227. PERF_DETAIL_ADVANCED,
  228. PERF_COUNTER_RAWCOUNT,
  229. sizeof(DWORD),
  230. IF_OUTQLEN_OFFSET
  231. }
  232. };
  233. IP_DATA_DEFINITION IpDataDefinition = {
  234. { sizeof(IP_DATA_DEFINITION) + SIZE_OF_IP_DATA,
  235. sizeof(IP_DATA_DEFINITION),
  236. sizeof(PERF_OBJECT_TYPE),
  237. 546,
  238. 0,
  239. 547,
  240. 0,
  241. PERF_DETAIL_ADVANCED,
  242. (sizeof(IP_DATA_DEFINITION)-sizeof(PERF_OBJECT_TYPE))/
  243. sizeof(PERF_COUNTER_DEFINITION),
  244. 0,
  245. -1,
  246. 0
  247. },
  248. { sizeof(PERF_COUNTER_DEFINITION),
  249. 438,
  250. 0,
  251. 549,
  252. 0,
  253. -1,
  254. PERF_DETAIL_ADVANCED,
  255. PERF_COUNTER_COUNTER,
  256. sizeof(DWORD),
  257. IP_DATAGRAMS_OFFSET
  258. },
  259. { sizeof(PERF_COUNTER_DEFINITION),
  260. 446,
  261. 0,
  262. 551,
  263. 0,
  264. -1,
  265. PERF_DETAIL_ADVANCED,
  266. PERF_COUNTER_COUNTER,
  267. sizeof(DWORD),
  268. IP_INRECEIVES_OFFSET
  269. },
  270. { sizeof(PERF_COUNTER_DEFINITION),
  271. 552,
  272. 0,
  273. 553,
  274. 0,
  275. 0,
  276. PERF_DETAIL_ADVANCED,
  277. PERF_COUNTER_RAWCOUNT,
  278. sizeof(DWORD),
  279. IP_INHDRERRORS_OFFSET
  280. },
  281. { sizeof(PERF_COUNTER_DEFINITION),
  282. 554,
  283. 0,
  284. 555,
  285. 0,
  286. 0,
  287. PERF_DETAIL_ADVANCED,
  288. PERF_COUNTER_RAWCOUNT,
  289. sizeof(DWORD),
  290. IP_INADDRERRORS_OFFSET
  291. },
  292. { sizeof(PERF_COUNTER_DEFINITION),
  293. 556,
  294. 0,
  295. 557,
  296. 0,
  297. -1,
  298. PERF_DETAIL_ADVANCED,
  299. PERF_COUNTER_COUNTER,
  300. sizeof(DWORD),
  301. IP_FORWDATAGRAMS_OFFSET
  302. },
  303. { sizeof(PERF_COUNTER_DEFINITION),
  304. 558,
  305. 0,
  306. 559,
  307. 0,
  308. 0,
  309. PERF_DETAIL_ADVANCED,
  310. PERF_COUNTER_RAWCOUNT,
  311. sizeof(DWORD),
  312. IP_INUNKNOWNPROTOS_OFFSET
  313. },
  314. { sizeof(PERF_COUNTER_DEFINITION),
  315. 560,
  316. 0,
  317. 561,
  318. 0,
  319. 0,
  320. PERF_DETAIL_ADVANCED,
  321. PERF_COUNTER_RAWCOUNT,
  322. sizeof(DWORD),
  323. IP_INDISCARDS_OFFSET
  324. },
  325. { sizeof(PERF_COUNTER_DEFINITION),
  326. 562,
  327. 0,
  328. 563,
  329. 0,
  330. -1,
  331. PERF_DETAIL_ADVANCED,
  332. PERF_COUNTER_COUNTER,
  333. sizeof(DWORD),
  334. IP_INDELIVERS_OFFSET
  335. },
  336. { sizeof(PERF_COUNTER_DEFINITION),
  337. 442,
  338. 0,
  339. 565,
  340. 0,
  341. -1,
  342. PERF_DETAIL_ADVANCED,
  343. PERF_COUNTER_COUNTER,
  344. sizeof(DWORD),
  345. IP_OUTREQUESTS_OFFSET
  346. },
  347. { sizeof(PERF_COUNTER_DEFINITION),
  348. 566,
  349. 0,
  350. 567,
  351. 0,
  352. 0,
  353. PERF_DETAIL_ADVANCED,
  354. PERF_COUNTER_RAWCOUNT,
  355. sizeof(DWORD),
  356. IP_OUTDISCARDS_OFFSET
  357. },
  358. { sizeof(PERF_COUNTER_DEFINITION),
  359. 568,
  360. 0,
  361. 569,
  362. 0,
  363. 0,
  364. PERF_DETAIL_ADVANCED,
  365. PERF_COUNTER_RAWCOUNT,
  366. sizeof(DWORD),
  367. IP_OUTNOROUTES_OFFSET
  368. },
  369. { sizeof(PERF_COUNTER_DEFINITION),
  370. 570,
  371. 0,
  372. 571,
  373. 0,
  374. -1,
  375. PERF_DETAIL_ADVANCED,
  376. PERF_COUNTER_COUNTER,
  377. sizeof(DWORD),
  378. IP_REASMREQDS_OFFSET
  379. },
  380. { sizeof(PERF_COUNTER_DEFINITION),
  381. 572,
  382. 0,
  383. 573,
  384. 0,
  385. -1,
  386. PERF_DETAIL_ADVANCED,
  387. PERF_COUNTER_COUNTER,
  388. sizeof(DWORD),
  389. IP_REASMOKS_OFFSET
  390. },
  391. { sizeof(PERF_COUNTER_DEFINITION),
  392. 574,
  393. 0,
  394. 575,
  395. 0,
  396. 0,
  397. PERF_DETAIL_ADVANCED,
  398. PERF_COUNTER_RAWCOUNT,
  399. sizeof(DWORD),
  400. IP_REASMFAILS_OFFSET
  401. },
  402. { sizeof(PERF_COUNTER_DEFINITION),
  403. 576,
  404. 0,
  405. 577,
  406. 0,
  407. -1,
  408. PERF_DETAIL_ADVANCED,
  409. PERF_COUNTER_COUNTER,
  410. sizeof(DWORD),
  411. IP_FRAGOKS_OFFSET
  412. },
  413. { sizeof(PERF_COUNTER_DEFINITION),
  414. 578,
  415. 0,
  416. 579,
  417. 0,
  418. 0,
  419. PERF_DETAIL_ADVANCED,
  420. PERF_COUNTER_RAWCOUNT,
  421. sizeof(DWORD),
  422. IP_FRAGFAILS_OFFSET
  423. },
  424. { sizeof(PERF_COUNTER_DEFINITION),
  425. 580,
  426. 0,
  427. 581,
  428. 0,
  429. -1,
  430. PERF_DETAIL_ADVANCED,
  431. PERF_COUNTER_COUNTER,
  432. sizeof(DWORD),
  433. IP_FRAGCREATES_OFFSET
  434. }
  435. };
  436. ICMP_DATA_DEFINITION IcmpDataDefinition = {
  437. { sizeof(ICMP_DATA_DEFINITION) + SIZE_OF_ICMP_DATA,
  438. sizeof(ICMP_DATA_DEFINITION),
  439. sizeof(PERF_OBJECT_TYPE),
  440. 582,
  441. 0,
  442. 583,
  443. 0,
  444. PERF_DETAIL_ADVANCED,
  445. (sizeof(ICMP_DATA_DEFINITION)-sizeof(PERF_OBJECT_TYPE))/
  446. sizeof(PERF_COUNTER_DEFINITION),
  447. 0,
  448. -1,
  449. 0
  450. },
  451. { sizeof(PERF_COUNTER_DEFINITION),
  452. 584,
  453. 0,
  454. 585,
  455. 0,
  456. -1,
  457. PERF_DETAIL_ADVANCED,
  458. PERF_COUNTER_COUNTER,
  459. sizeof(DWORD),
  460. ICMP_MESSAGES_OFFSET
  461. },
  462. { sizeof(PERF_COUNTER_DEFINITION),
  463. 586,
  464. 0,
  465. 587,
  466. 0,
  467. -1,
  468. PERF_DETAIL_ADVANCED,
  469. PERF_COUNTER_COUNTER,
  470. sizeof(DWORD),
  471. ICMP_INMSGS_OFFSET
  472. },
  473. { sizeof(PERF_COUNTER_DEFINITION),
  474. 588,
  475. 0,
  476. 589,
  477. 0,
  478. 0,
  479. PERF_DETAIL_ADVANCED,
  480. PERF_COUNTER_RAWCOUNT,
  481. sizeof(DWORD),
  482. ICMP_INERRORS_OFFSET
  483. },
  484. { sizeof(PERF_COUNTER_DEFINITION),
  485. 590,
  486. 0,
  487. 591,
  488. 0,
  489. 0,
  490. PERF_DETAIL_ADVANCED,
  491. PERF_COUNTER_RAWCOUNT,
  492. sizeof(DWORD),
  493. ICMP_INDESTUNREACHS_OFFSET
  494. },
  495. { sizeof(PERF_COUNTER_DEFINITION),
  496. 592,
  497. 0,
  498. 593,
  499. 0,
  500. 0,
  501. PERF_DETAIL_ADVANCED,
  502. PERF_COUNTER_RAWCOUNT,
  503. sizeof(DWORD),
  504. ICMP_INTIMEEXCDS_OFFSET
  505. },
  506. { sizeof(PERF_COUNTER_DEFINITION),
  507. 594,
  508. 0,
  509. 595,
  510. 0,
  511. 0,
  512. PERF_DETAIL_EXPERT,
  513. PERF_COUNTER_RAWCOUNT,
  514. sizeof(DWORD),
  515. ICMP_INPARMPROBS_OFFSET
  516. },
  517. { sizeof(PERF_COUNTER_DEFINITION),
  518. 596,
  519. 0,
  520. 597,
  521. 0,
  522. 0,
  523. PERF_DETAIL_WIZARD,
  524. PERF_COUNTER_RAWCOUNT,
  525. sizeof(DWORD),
  526. ICMP_INSRCQUENCHS_OFFSET
  527. },
  528. { sizeof(PERF_COUNTER_DEFINITION),
  529. 598,
  530. 0,
  531. 599,
  532. 0,
  533. -1,
  534. PERF_DETAIL_ADVANCED,
  535. PERF_COUNTER_COUNTER,
  536. sizeof(DWORD),
  537. ICMP_INREDIRECTS_OFFSET
  538. },
  539. { sizeof(PERF_COUNTER_DEFINITION),
  540. 600,
  541. 0,
  542. 601,
  543. 0,
  544. -1,
  545. PERF_DETAIL_EXPERT,
  546. PERF_COUNTER_COUNTER,
  547. sizeof(DWORD),
  548. ICMP_INECHOS_OFFSET
  549. },
  550. { sizeof(PERF_COUNTER_DEFINITION),
  551. 602,
  552. 0,
  553. 603,
  554. 0,
  555. -1,
  556. PERF_DETAIL_EXPERT,
  557. PERF_COUNTER_COUNTER,
  558. sizeof(DWORD),
  559. ICMP_INECHOREPS_OFFSET
  560. },
  561. { sizeof(PERF_COUNTER_DEFINITION),
  562. 604,
  563. 0,
  564. 605,
  565. 0,
  566. -1,
  567. PERF_DETAIL_EXPERT,
  568. PERF_COUNTER_COUNTER,
  569. sizeof(DWORD),
  570. ICMP_INTIMESTAMPS_OFFSET
  571. },
  572. { sizeof(PERF_COUNTER_DEFINITION),
  573. 606,
  574. 0,
  575. 607,
  576. 0,
  577. -1,
  578. PERF_DETAIL_EXPERT,
  579. PERF_COUNTER_COUNTER,
  580. sizeof(DWORD),
  581. ICMP_INTIMESTAMPREPS_OFFSET
  582. },
  583. { sizeof(PERF_COUNTER_DEFINITION),
  584. 608,
  585. 0,
  586. 609,
  587. 0,
  588. 0,
  589. PERF_DETAIL_EXPERT,
  590. PERF_COUNTER_RAWCOUNT,
  591. sizeof(DWORD),
  592. ICMP_INADDRMASKS_OFFSET
  593. },
  594. { sizeof(PERF_COUNTER_DEFINITION),
  595. 610,
  596. 0,
  597. 611,
  598. 0,
  599. 0,
  600. PERF_DETAIL_EXPERT,
  601. PERF_COUNTER_RAWCOUNT,
  602. sizeof(DWORD),
  603. ICMP_INADDRMASKREPS_OFFSET
  604. },
  605. { sizeof(PERF_COUNTER_DEFINITION),
  606. 612,
  607. 0,
  608. 613,
  609. 0,
  610. -1,
  611. PERF_DETAIL_ADVANCED,
  612. PERF_COUNTER_COUNTER,
  613. sizeof(DWORD),
  614. ICMP_OUTMSGS_OFFSET
  615. },
  616. { sizeof(PERF_COUNTER_DEFINITION),
  617. 614,
  618. 0,
  619. 615,
  620. 0,
  621. 0,
  622. PERF_DETAIL_ADVANCED,
  623. PERF_COUNTER_RAWCOUNT,
  624. sizeof(DWORD),
  625. ICMP_OUTERRORS_OFFSET
  626. },
  627. { sizeof(PERF_COUNTER_DEFINITION),
  628. 616,
  629. 0,
  630. 617,
  631. 0,
  632. 0,
  633. PERF_DETAIL_ADVANCED,
  634. PERF_COUNTER_RAWCOUNT,
  635. sizeof(DWORD),
  636. ICMP_OUTDESTUNREACHS_OFFSET
  637. },
  638. { sizeof(PERF_COUNTER_DEFINITION),
  639. 618,
  640. 0,
  641. 619,
  642. 0,
  643. 0,
  644. PERF_DETAIL_ADVANCED,
  645. PERF_COUNTER_RAWCOUNT,
  646. sizeof(DWORD),
  647. ICMP_OUTTIMEEXCDS_OFFSET
  648. },
  649. { sizeof(PERF_COUNTER_DEFINITION),
  650. 620,
  651. 0,
  652. 621,
  653. 0,
  654. 0,
  655. PERF_DETAIL_EXPERT,
  656. PERF_COUNTER_RAWCOUNT,
  657. sizeof(DWORD),
  658. ICMP_OUTPARMPROBS_OFFSET
  659. },
  660. { sizeof(PERF_COUNTER_DEFINITION),
  661. 622,
  662. 0,
  663. 623,
  664. 0,
  665. 0,
  666. PERF_DETAIL_WIZARD,
  667. PERF_COUNTER_RAWCOUNT,
  668. sizeof(DWORD),
  669. ICMP_OUTSRCQUENCHS_OFFSET
  670. },
  671. { sizeof(PERF_COUNTER_DEFINITION),
  672. 624,
  673. 0,
  674. 625,
  675. 0,
  676. -1,
  677. PERF_DETAIL_ADVANCED,
  678. PERF_COUNTER_COUNTER,
  679. sizeof(DWORD),
  680. ICMP_OUTREDIRECTS_OFFSET
  681. },
  682. { sizeof(PERF_COUNTER_DEFINITION),
  683. 626,
  684. 0,
  685. 627,
  686. 0,
  687. -1,
  688. PERF_DETAIL_EXPERT,
  689. PERF_COUNTER_COUNTER,
  690. sizeof(DWORD),
  691. ICMP_OUTECHOS_OFFSET
  692. },
  693. { sizeof(PERF_COUNTER_DEFINITION),
  694. 628,
  695. 0,
  696. 629,
  697. 0,
  698. -1,
  699. PERF_DETAIL_EXPERT,
  700. PERF_COUNTER_COUNTER,
  701. sizeof(DWORD),
  702. ICMP_OUTECHOREPS_OFFSET
  703. },
  704. { sizeof(PERF_COUNTER_DEFINITION),
  705. 630,
  706. 0,
  707. 631,
  708. 0,
  709. -1,
  710. PERF_DETAIL_EXPERT,
  711. PERF_COUNTER_COUNTER,
  712. sizeof(DWORD),
  713. ICMP_OUTTIMESTAMPS_OFFSET
  714. },
  715. { sizeof(PERF_COUNTER_DEFINITION),
  716. 632,
  717. 0,
  718. 633,
  719. 0,
  720. -1,
  721. PERF_DETAIL_EXPERT,
  722. PERF_COUNTER_COUNTER,
  723. sizeof(DWORD),
  724. ICMP_OUTTIMESTAMPREPS_OFFSET
  725. },
  726. { sizeof(PERF_COUNTER_DEFINITION),
  727. 634,
  728. 0,
  729. 635,
  730. 0,
  731. 0,
  732. PERF_DETAIL_EXPERT,
  733. PERF_COUNTER_RAWCOUNT,
  734. sizeof(DWORD),
  735. ICMP_OUTADDRMASKS_OFFSET
  736. },
  737. { sizeof(PERF_COUNTER_DEFINITION),
  738. 636,
  739. 0,
  740. 637,
  741. 0,
  742. 0,
  743. PERF_DETAIL_EXPERT,
  744. PERF_COUNTER_RAWCOUNT,
  745. sizeof(DWORD),
  746. ICMP_OUTADDRMASKREPS_OFFSET
  747. }
  748. };
  749. TCP_DATA_DEFINITION TcpDataDefinition = {
  750. { sizeof(TCP_DATA_DEFINITION) + SIZE_OF_TCP_DATA,
  751. sizeof(TCP_DATA_DEFINITION),
  752. sizeof(PERF_OBJECT_TYPE),
  753. 638,
  754. 0,
  755. 639,
  756. 0,
  757. PERF_DETAIL_ADVANCED,
  758. (sizeof(TCP_DATA_DEFINITION)-sizeof(PERF_OBJECT_TYPE))/
  759. sizeof(PERF_COUNTER_DEFINITION),
  760. 0,
  761. -1,
  762. 0
  763. },
  764. { sizeof(PERF_COUNTER_DEFINITION),
  765. 640,
  766. 0,
  767. 641,
  768. 0,
  769. -1,
  770. PERF_DETAIL_ADVANCED,
  771. PERF_COUNTER_COUNTER,
  772. sizeof(DWORD),
  773. TCP_SEGMENTS_OFFSET
  774. },
  775. { sizeof(PERF_COUNTER_DEFINITION),
  776. 642,
  777. 0,
  778. 643,
  779. 0,
  780. 0,
  781. PERF_DETAIL_ADVANCED,
  782. PERF_COUNTER_RAWCOUNT,
  783. sizeof(DWORD),
  784. TCP_CURRESTAB_OFFSET
  785. },
  786. { sizeof(PERF_COUNTER_DEFINITION),
  787. 644,
  788. 0,
  789. 645,
  790. 0,
  791. 0,
  792. PERF_DETAIL_ADVANCED,
  793. PERF_COUNTER_RAWCOUNT,
  794. sizeof(DWORD),
  795. TCP_ACTIVEOPENS_OFFSET
  796. },
  797. { sizeof(PERF_COUNTER_DEFINITION),
  798. 646,
  799. 0,
  800. 647,
  801. 0,
  802. 0,
  803. PERF_DETAIL_ADVANCED,
  804. PERF_COUNTER_RAWCOUNT,
  805. sizeof(DWORD),
  806. TCP_PASSIVEOPENS_OFFSET
  807. },
  808. { sizeof(PERF_COUNTER_DEFINITION),
  809. 648,
  810. 0,
  811. 649,
  812. 0,
  813. 0,
  814. PERF_DETAIL_ADVANCED,
  815. PERF_COUNTER_RAWCOUNT,
  816. sizeof(DWORD),
  817. TCP_ATTEMPTFAILS_OFFSET
  818. },
  819. { sizeof(PERF_COUNTER_DEFINITION),
  820. 650,
  821. 0,
  822. 651,
  823. 0,
  824. 0,
  825. PERF_DETAIL_ADVANCED,
  826. PERF_COUNTER_RAWCOUNT,
  827. sizeof(DWORD),
  828. TCP_ESTABRESETS_OFFSET
  829. },
  830. { sizeof(PERF_COUNTER_DEFINITION),
  831. 652,
  832. 0,
  833. 653,
  834. 0,
  835. -1,
  836. PERF_DETAIL_ADVANCED,
  837. PERF_COUNTER_COUNTER,
  838. sizeof(DWORD),
  839. TCP_INSEGS_OFFSET
  840. },
  841. { sizeof(PERF_COUNTER_DEFINITION),
  842. 654,
  843. 0,
  844. 655,
  845. 0,
  846. -1,
  847. PERF_DETAIL_ADVANCED,
  848. PERF_COUNTER_COUNTER,
  849. sizeof(DWORD),
  850. TCP_OUTSEGS_OFFSET
  851. },
  852. { sizeof(PERF_COUNTER_DEFINITION),
  853. 656,
  854. 0,
  855. 657,
  856. 0,
  857. -1,
  858. PERF_DETAIL_ADVANCED,
  859. PERF_COUNTER_COUNTER,
  860. sizeof(DWORD),
  861. TCP_RETRANSSEGS_OFFSET
  862. }
  863. };
  864. UDP_DATA_DEFINITION UdpDataDefinition = {
  865. { sizeof(UDP_DATA_DEFINITION) + SIZE_OF_UDP_DATA,
  866. sizeof(UDP_DATA_DEFINITION),
  867. sizeof(PERF_OBJECT_TYPE),
  868. 658,
  869. 0,
  870. 659,
  871. 0,
  872. PERF_DETAIL_ADVANCED,
  873. (sizeof(UDP_DATA_DEFINITION)-sizeof(PERF_OBJECT_TYPE))/
  874. sizeof(PERF_COUNTER_DEFINITION),
  875. 0,
  876. -1,
  877. 0
  878. },
  879. { sizeof(PERF_COUNTER_DEFINITION),
  880. 438,
  881. 0,
  882. 661,
  883. 0,
  884. -1,
  885. PERF_DETAIL_ADVANCED,
  886. PERF_COUNTER_COUNTER,
  887. sizeof(DWORD),
  888. UDP_DATAGRAMS_OFFSET
  889. },
  890. { sizeof(PERF_COUNTER_DEFINITION),
  891. 446,
  892. 0,
  893. 663,
  894. 0,
  895. -1,
  896. PERF_DETAIL_ADVANCED,
  897. PERF_COUNTER_COUNTER,
  898. sizeof(DWORD),
  899. UDP_INDATAGRAMS_OFFSET
  900. },
  901. { sizeof(PERF_COUNTER_DEFINITION),
  902. 664,
  903. 0,
  904. 665,
  905. 0,
  906. -1,
  907. PERF_DETAIL_ADVANCED,
  908. PERF_COUNTER_COUNTER,
  909. sizeof(DWORD),
  910. UDP_NOPORTS_OFFSET
  911. },
  912. { sizeof(PERF_COUNTER_DEFINITION),
  913. 666,
  914. 0,
  915. 667,
  916. 0,
  917. 0,
  918. PERF_DETAIL_ADVANCED,
  919. PERF_COUNTER_RAWCOUNT,
  920. sizeof(DWORD),
  921. UDP_INERRORS_OFFSET
  922. },
  923. { sizeof(PERF_COUNTER_DEFINITION),
  924. 442,
  925. 0,
  926. 669,
  927. 0,
  928. -1,
  929. PERF_DETAIL_ADVANCED,
  930. PERF_COUNTER_COUNTER,
  931. sizeof(DWORD),
  932. UDP_OUTDATAGRAMS_OFFSET
  933. }
  934. };
  935. //IPv6 **********************************************************************
  936. IP6_DATA_DEFINITION Ip6DataDefinition = {
  937. { sizeof(IP_DATA_DEFINITION) + SIZE_OF_IP_DATA,
  938. sizeof(IP_DATA_DEFINITION),
  939. sizeof(PERF_OBJECT_TYPE),
  940. 548,
  941. 0,
  942. 547,
  943. 0,
  944. PERF_DETAIL_ADVANCED,
  945. (sizeof(IP_DATA_DEFINITION)-sizeof(PERF_OBJECT_TYPE))/
  946. sizeof(PERF_COUNTER_DEFINITION),
  947. 0,
  948. -1,
  949. 0
  950. },
  951. { sizeof(PERF_COUNTER_DEFINITION),
  952. 438,
  953. 0,
  954. 549,
  955. 0,
  956. -1,
  957. PERF_DETAIL_ADVANCED,
  958. PERF_COUNTER_COUNTER,
  959. sizeof(DWORD),
  960. IP6_DATAGRAMS_OFFSET
  961. },
  962. { sizeof(PERF_COUNTER_DEFINITION),
  963. 446,
  964. 0,
  965. 551,
  966. 0,
  967. -1,
  968. PERF_DETAIL_ADVANCED,
  969. PERF_COUNTER_COUNTER,
  970. sizeof(DWORD),
  971. IP6_INRECEIVES_OFFSET
  972. },
  973. { sizeof(PERF_COUNTER_DEFINITION),
  974. 552,
  975. 0,
  976. 553,
  977. 0,
  978. 0,
  979. PERF_DETAIL_ADVANCED,
  980. PERF_COUNTER_RAWCOUNT,
  981. sizeof(DWORD),
  982. IP6_INHDRERRORS_OFFSET
  983. },
  984. { sizeof(PERF_COUNTER_DEFINITION),
  985. 554,
  986. 0,
  987. 555,
  988. 0,
  989. 0,
  990. PERF_DETAIL_ADVANCED,
  991. PERF_COUNTER_RAWCOUNT,
  992. sizeof(DWORD),
  993. IP6_INADDRERRORS_OFFSET
  994. },
  995. { sizeof(PERF_COUNTER_DEFINITION),
  996. 556,
  997. 0,
  998. 557,
  999. 0,
  1000. -1,
  1001. PERF_DETAIL_ADVANCED,
  1002. PERF_COUNTER_COUNTER,
  1003. sizeof(DWORD),
  1004. IP6_FORWDATAGRAMS_OFFSET
  1005. },
  1006. { sizeof(PERF_COUNTER_DEFINITION),
  1007. 558,
  1008. 0,
  1009. 559,
  1010. 0,
  1011. 0,
  1012. PERF_DETAIL_ADVANCED,
  1013. PERF_COUNTER_RAWCOUNT,
  1014. sizeof(DWORD),
  1015. IP6_INUNKNOWNPROTOS_OFFSET
  1016. },
  1017. { sizeof(PERF_COUNTER_DEFINITION),
  1018. 560,
  1019. 0,
  1020. 561,
  1021. 0,
  1022. 0,
  1023. PERF_DETAIL_ADVANCED,
  1024. PERF_COUNTER_RAWCOUNT,
  1025. sizeof(DWORD),
  1026. IP6_INDISCARDS_OFFSET
  1027. },
  1028. { sizeof(PERF_COUNTER_DEFINITION),
  1029. 562,
  1030. 0,
  1031. 563,
  1032. 0,
  1033. -1,
  1034. PERF_DETAIL_ADVANCED,
  1035. PERF_COUNTER_COUNTER,
  1036. sizeof(DWORD),
  1037. IP6_INDELIVERS_OFFSET
  1038. },
  1039. { sizeof(PERF_COUNTER_DEFINITION),
  1040. 442,
  1041. 0,
  1042. 565,
  1043. 0,
  1044. -1,
  1045. PERF_DETAIL_ADVANCED,
  1046. PERF_COUNTER_COUNTER,
  1047. sizeof(DWORD),
  1048. IP6_OUTREQUESTS_OFFSET
  1049. },
  1050. { sizeof(PERF_COUNTER_DEFINITION),
  1051. 566,
  1052. 0,
  1053. 567,
  1054. 0,
  1055. 0,
  1056. PERF_DETAIL_ADVANCED,
  1057. PERF_COUNTER_RAWCOUNT,
  1058. sizeof(DWORD),
  1059. IP6_OUTDISCARDS_OFFSET
  1060. },
  1061. { sizeof(PERF_COUNTER_DEFINITION),
  1062. 568,
  1063. 0,
  1064. 569,
  1065. 0,
  1066. 0,
  1067. PERF_DETAIL_ADVANCED,
  1068. PERF_COUNTER_RAWCOUNT,
  1069. sizeof(DWORD),
  1070. IP6_OUTNOROUTES_OFFSET
  1071. },
  1072. { sizeof(PERF_COUNTER_DEFINITION),
  1073. 570,
  1074. 0,
  1075. 571,
  1076. 0,
  1077. -1,
  1078. PERF_DETAIL_ADVANCED,
  1079. PERF_COUNTER_COUNTER,
  1080. sizeof(DWORD),
  1081. IP6_REASMREQDS_OFFSET
  1082. },
  1083. { sizeof(PERF_COUNTER_DEFINITION),
  1084. 572,
  1085. 0,
  1086. 573,
  1087. 0,
  1088. -1,
  1089. PERF_DETAIL_ADVANCED,
  1090. PERF_COUNTER_COUNTER,
  1091. sizeof(DWORD),
  1092. IP6_REASMOKS_OFFSET
  1093. },
  1094. { sizeof(PERF_COUNTER_DEFINITION),
  1095. 574,
  1096. 0,
  1097. 575,
  1098. 0,
  1099. 0,
  1100. PERF_DETAIL_ADVANCED,
  1101. PERF_COUNTER_RAWCOUNT,
  1102. sizeof(DWORD),
  1103. IP6_REASMFAILS_OFFSET
  1104. },
  1105. { sizeof(PERF_COUNTER_DEFINITION),
  1106. 576,
  1107. 0,
  1108. 577,
  1109. 0,
  1110. -1,
  1111. PERF_DETAIL_ADVANCED,
  1112. PERF_COUNTER_COUNTER,
  1113. sizeof(DWORD),
  1114. IP6_FRAGOKS_OFFSET
  1115. },
  1116. { sizeof(PERF_COUNTER_DEFINITION),
  1117. 578,
  1118. 0,
  1119. 579,
  1120. 0,
  1121. 0,
  1122. PERF_DETAIL_ADVANCED,
  1123. PERF_COUNTER_RAWCOUNT,
  1124. sizeof(DWORD),
  1125. IP6_FRAGFAILS_OFFSET
  1126. },
  1127. { sizeof(PERF_COUNTER_DEFINITION),
  1128. 580,
  1129. 0,
  1130. 581,
  1131. 0,
  1132. -1,
  1133. PERF_DETAIL_ADVANCED,
  1134. PERF_COUNTER_COUNTER,
  1135. sizeof(DWORD),
  1136. IP6_FRAGCREATES_OFFSET
  1137. }
  1138. };
  1139. ICMP6_DATA_DEFINITION Icmp6DataDefinition = {
  1140. { sizeof(ICMP6_DATA_DEFINITION) + SIZE_OF_ICMP6_DATA,
  1141. sizeof(ICMP6_DATA_DEFINITION),
  1142. sizeof(PERF_OBJECT_TYPE),
  1143. 1534,
  1144. 0,
  1145. 583,
  1146. 0,
  1147. PERF_DETAIL_ADVANCED,
  1148. (sizeof(ICMP6_DATA_DEFINITION)-sizeof(PERF_OBJECT_TYPE))/
  1149. sizeof(PERF_COUNTER_DEFINITION),
  1150. 0,
  1151. -1,
  1152. 0
  1153. },
  1154. { sizeof(PERF_COUNTER_DEFINITION),
  1155. 584,
  1156. 0,
  1157. 585,
  1158. 0,
  1159. -1,
  1160. PERF_DETAIL_ADVANCED,
  1161. PERF_COUNTER_COUNTER,
  1162. sizeof(DWORD),
  1163. ICMP6_MESSAGES_OFFSET
  1164. },
  1165. { sizeof(PERF_COUNTER_DEFINITION),
  1166. 586,
  1167. 0,
  1168. 587,
  1169. 0,
  1170. -1,
  1171. PERF_DETAIL_ADVANCED,
  1172. PERF_COUNTER_COUNTER,
  1173. sizeof(DWORD),
  1174. ICMP6_INMSGS_OFFSET
  1175. },
  1176. { sizeof(PERF_COUNTER_DEFINITION),
  1177. 588,
  1178. 0,
  1179. 589,
  1180. 0,
  1181. 0,
  1182. PERF_DETAIL_ADVANCED,
  1183. PERF_COUNTER_RAWCOUNT,
  1184. sizeof(DWORD),
  1185. ICMP6_INERRORS_OFFSET
  1186. },
  1187. { sizeof(PERF_COUNTER_DEFINITION),
  1188. 590,
  1189. 0,
  1190. 591,
  1191. 0,
  1192. 0,
  1193. PERF_DETAIL_ADVANCED,
  1194. PERF_COUNTER_RAWCOUNT,
  1195. sizeof(DWORD),
  1196. ICMP6_INDSTUNREACH_OFFSET
  1197. },
  1198. { sizeof(PERF_COUNTER_DEFINITION),
  1199. 1536,
  1200. 0,
  1201. 1537,
  1202. 0,
  1203. 0,
  1204. PERF_DETAIL_ADVANCED,
  1205. PERF_COUNTER_RAWCOUNT,
  1206. sizeof(DWORD),
  1207. ICMP6_INPACKETTOOBIG_OFFSET
  1208. },
  1209. { sizeof(PERF_COUNTER_DEFINITION),
  1210. 592,
  1211. 0,
  1212. 593,
  1213. 0,
  1214. 0,
  1215. PERF_DETAIL_ADVANCED,
  1216. PERF_COUNTER_RAWCOUNT,
  1217. sizeof(DWORD),
  1218. ICMP6_INTIMEEXCEEDED_OFFSET
  1219. },
  1220. { sizeof(PERF_COUNTER_DEFINITION),
  1221. 594,
  1222. 0,
  1223. 595,
  1224. 0,
  1225. 0,
  1226. PERF_DETAIL_EXPERT,
  1227. PERF_COUNTER_RAWCOUNT,
  1228. sizeof(DWORD),
  1229. ICMP6_INPARAMPROB_OFFSET
  1230. },
  1231. { sizeof(PERF_COUNTER_DEFINITION),
  1232. 600,
  1233. 0,
  1234. 601,
  1235. 0,
  1236. 0,
  1237. PERF_DETAIL_EXPERT,
  1238. PERF_COUNTER_COUNTER,
  1239. sizeof(DWORD),
  1240. ICMP6_INECHOREQUEST_OFFSET
  1241. },
  1242. { sizeof(PERF_COUNTER_DEFINITION),
  1243. 602,
  1244. 0,
  1245. 603,
  1246. 0,
  1247. 0,
  1248. PERF_DETAIL_EXPERT,
  1249. PERF_COUNTER_COUNTER,
  1250. sizeof(DWORD),
  1251. ICMP6_INECHOREPLY_OFFSET
  1252. },
  1253. { sizeof(PERF_COUNTER_DEFINITION),
  1254. 1538,
  1255. 0,
  1256. 1539,
  1257. 0,
  1258. 0,
  1259. PERF_DETAIL_ADVANCED,
  1260. PERF_COUNTER_COUNTER,
  1261. sizeof(DWORD),
  1262. ICMP6_INMEMBERSHIPQUERY_OFFSET
  1263. },
  1264. { sizeof(PERF_COUNTER_DEFINITION),
  1265. 1540,
  1266. 0,
  1267. 1541,
  1268. 0,
  1269. 0,
  1270. PERF_DETAIL_ADVANCED,
  1271. PERF_COUNTER_COUNTER,
  1272. sizeof(DWORD),
  1273. ICMP6_INMEMBERSHIPREPORT_OFFSET
  1274. },
  1275. { sizeof(PERF_COUNTER_DEFINITION),
  1276. 1542,
  1277. 0,
  1278. 1543,
  1279. 0,
  1280. 0,
  1281. PERF_DETAIL_ADVANCED,
  1282. PERF_COUNTER_COUNTER,
  1283. sizeof(DWORD),
  1284. ICMP6_INMEMBERSHIPREDUCTION_OFFSET
  1285. },
  1286. { sizeof(PERF_COUNTER_DEFINITION),
  1287. 1544,
  1288. 0,
  1289. 1545,
  1290. 0,
  1291. 0,
  1292. PERF_DETAIL_ADVANCED,
  1293. PERF_COUNTER_COUNTER,
  1294. sizeof(DWORD),
  1295. ND_INROUTERSOLICIT_OFFSET
  1296. },
  1297. { sizeof(PERF_COUNTER_DEFINITION),
  1298. 1546,
  1299. 0,
  1300. 1547,
  1301. 0,
  1302. 0,
  1303. PERF_DETAIL_ADVANCED,
  1304. PERF_COUNTER_COUNTER,
  1305. sizeof(DWORD),
  1306. ND_INROUTERADVERT_OFFSET
  1307. },
  1308. { sizeof(PERF_COUNTER_DEFINITION),
  1309. 1550,
  1310. 0,
  1311. 1551,
  1312. 0,
  1313. 0,
  1314. PERF_DETAIL_ADVANCED,
  1315. PERF_COUNTER_COUNTER,
  1316. sizeof(DWORD),
  1317. ND_INNEIGHBORSOLICIT_OFFSET
  1318. },
  1319. { sizeof(PERF_COUNTER_DEFINITION),
  1320. 1552,
  1321. 0,
  1322. 1553,
  1323. 0,
  1324. 0,
  1325. PERF_DETAIL_ADVANCED,
  1326. PERF_COUNTER_COUNTER,
  1327. sizeof(DWORD),
  1328. ND_INNEIGHBORADVERT_OFFSET
  1329. },
  1330. { sizeof(PERF_COUNTER_DEFINITION),
  1331. 598,
  1332. 0,
  1333. 599,
  1334. 0,
  1335. -1,
  1336. PERF_DETAIL_ADVANCED,
  1337. PERF_COUNTER_COUNTER,
  1338. sizeof(DWORD),
  1339. ND_INREDIRECT_OFFSET
  1340. },
  1341. { sizeof(PERF_COUNTER_DEFINITION),
  1342. 612,
  1343. 0,
  1344. 613,
  1345. 0,
  1346. -1,
  1347. PERF_DETAIL_ADVANCED,
  1348. PERF_COUNTER_COUNTER,
  1349. sizeof(DWORD),
  1350. ICMP6_OUTMSGS_OFFSET
  1351. },
  1352. { sizeof(PERF_COUNTER_DEFINITION),
  1353. 614,
  1354. 0,
  1355. 615,
  1356. 0,
  1357. 0,
  1358. PERF_DETAIL_ADVANCED,
  1359. PERF_COUNTER_RAWCOUNT,
  1360. sizeof(DWORD),
  1361. ICMP6_OUTERRORS_OFFSET
  1362. },
  1363. { sizeof(PERF_COUNTER_DEFINITION),
  1364. 616,
  1365. 0,
  1366. 617,
  1367. 0,
  1368. 0,
  1369. PERF_DETAIL_ADVANCED,
  1370. PERF_COUNTER_RAWCOUNT,
  1371. sizeof(DWORD),
  1372. ICMP6_OUTDSTUNREACH_OFFSET
  1373. },
  1374. { sizeof(PERF_COUNTER_DEFINITION),
  1375. 1554,
  1376. 0,
  1377. 1555,
  1378. 0,
  1379. 0,
  1380. PERF_DETAIL_ADVANCED,
  1381. PERF_COUNTER_RAWCOUNT,
  1382. sizeof(DWORD),
  1383. ICMP6_OUTPACKETTOOBIG_OFFSET
  1384. },
  1385. { sizeof(PERF_COUNTER_DEFINITION),
  1386. 618,
  1387. 0,
  1388. 619,
  1389. 0,
  1390. 0,
  1391. PERF_DETAIL_ADVANCED,
  1392. PERF_COUNTER_RAWCOUNT,
  1393. sizeof(DWORD),
  1394. ICMP6_OUTTIMEEXCEEDED_OFFSET
  1395. },
  1396. { sizeof(PERF_COUNTER_DEFINITION),
  1397. 620,
  1398. 0,
  1399. 621,
  1400. 0,
  1401. 0,
  1402. PERF_DETAIL_EXPERT,
  1403. PERF_COUNTER_RAWCOUNT,
  1404. sizeof(DWORD),
  1405. ICMP6_OUTPARAMPROB_OFFSET
  1406. },
  1407. { sizeof(PERF_COUNTER_DEFINITION),
  1408. 626,
  1409. 0,
  1410. 627,
  1411. 0,
  1412. 0,
  1413. PERF_DETAIL_EXPERT,
  1414. PERF_COUNTER_COUNTER,
  1415. sizeof(DWORD),
  1416. ICMP6_OUTECHOREQUEST_OFFSET
  1417. },
  1418. { sizeof(PERF_COUNTER_DEFINITION),
  1419. 628,
  1420. 0,
  1421. 629,
  1422. 0,
  1423. 0,
  1424. PERF_DETAIL_EXPERT,
  1425. PERF_COUNTER_COUNTER,
  1426. sizeof(DWORD),
  1427. ICMP6_OUTECHOREPLY_OFFSET
  1428. },
  1429. { sizeof(PERF_COUNTER_DEFINITION),
  1430. 1556,
  1431. 0,
  1432. 1557,
  1433. 0,
  1434. 0,
  1435. PERF_DETAIL_ADVANCED,
  1436. PERF_COUNTER_COUNTER,
  1437. sizeof(DWORD),
  1438. ICMP6_OUTMEMBERSHIPQUERY_OFFSET
  1439. },
  1440. { sizeof(PERF_COUNTER_DEFINITION),
  1441. 1558,
  1442. 0,
  1443. 1559,
  1444. 0,
  1445. 0,
  1446. PERF_DETAIL_ADVANCED,
  1447. PERF_COUNTER_COUNTER,
  1448. sizeof(DWORD),
  1449. ICMP6_OUTMEMBERSHIPREPORT_OFFSET
  1450. },
  1451. { sizeof(PERF_COUNTER_DEFINITION),
  1452. 1560,
  1453. 0,
  1454. 1561,
  1455. 0,
  1456. 0,
  1457. PERF_DETAIL_ADVANCED,
  1458. PERF_COUNTER_COUNTER,
  1459. sizeof(DWORD),
  1460. ICMP6_OUTMEMBERSHIPREDUCTION_OFFSET
  1461. },
  1462. { sizeof(PERF_COUNTER_DEFINITION),
  1463. 1562,
  1464. 0,
  1465. 1563,
  1466. 0,
  1467. 0,
  1468. PERF_DETAIL_ADVANCED,
  1469. PERF_COUNTER_COUNTER,
  1470. sizeof(DWORD),
  1471. ND_OUTROUTERSOLICIT_OFFSET
  1472. },
  1473. { sizeof(PERF_COUNTER_DEFINITION),
  1474. 1564,
  1475. 0,
  1476. 1565,
  1477. 0,
  1478. 0,
  1479. PERF_DETAIL_ADVANCED,
  1480. PERF_COUNTER_COUNTER,
  1481. sizeof(DWORD),
  1482. ND_OUTROUTERADVERT_OFFSET
  1483. },
  1484. { sizeof(PERF_COUNTER_DEFINITION),
  1485. 1566,
  1486. 0,
  1487. 1567,
  1488. 0,
  1489. 0,
  1490. PERF_DETAIL_ADVANCED,
  1491. PERF_COUNTER_COUNTER,
  1492. sizeof(DWORD),
  1493. ND_OUTNEIGHBORSOLICIT_OFFSET
  1494. },
  1495. { sizeof(PERF_COUNTER_DEFINITION),
  1496. 1568,
  1497. 0,
  1498. 1569,
  1499. 0,
  1500. 0,
  1501. PERF_DETAIL_ADVANCED,
  1502. PERF_COUNTER_COUNTER,
  1503. sizeof(DWORD),
  1504. ND_OUTNEIGHBORADVERT_OFFSET
  1505. },
  1506. { sizeof(PERF_COUNTER_DEFINITION),
  1507. 624,
  1508. 0,
  1509. 625,
  1510. 0,
  1511. -1,
  1512. PERF_DETAIL_ADVANCED,
  1513. PERF_COUNTER_COUNTER,
  1514. sizeof(DWORD),
  1515. ND_OUTREDIRECT_OFFSET
  1516. }
  1517. };
  1518. TCP6_DATA_DEFINITION Tcp6DataDefinition = {
  1519. { sizeof(TCP6_DATA_DEFINITION) + SIZE_OF_TCP6_DATA,
  1520. sizeof(TCP6_DATA_DEFINITION),
  1521. sizeof(PERF_OBJECT_TYPE),
  1522. 1530,
  1523. 0,
  1524. 639,
  1525. 0,
  1526. PERF_DETAIL_ADVANCED,
  1527. (sizeof(TCP6_DATA_DEFINITION)-sizeof(PERF_OBJECT_TYPE))/
  1528. sizeof(PERF_COUNTER_DEFINITION),
  1529. 0,
  1530. -1,
  1531. 0
  1532. },
  1533. { sizeof(PERF_COUNTER_DEFINITION),
  1534. 640,
  1535. 0,
  1536. 641,
  1537. 0,
  1538. -1,
  1539. PERF_DETAIL_ADVANCED,
  1540. PERF_COUNTER_COUNTER,
  1541. sizeof(DWORD),
  1542. TCP6_SEGMENTS_OFFSET
  1543. },
  1544. { sizeof(PERF_COUNTER_DEFINITION),
  1545. 642,
  1546. 0,
  1547. 643,
  1548. 0,
  1549. 0,
  1550. PERF_DETAIL_ADVANCED,
  1551. PERF_COUNTER_RAWCOUNT,
  1552. sizeof(DWORD),
  1553. TCP6_CURRESTAB_OFFSET
  1554. },
  1555. { sizeof(PERF_COUNTER_DEFINITION),
  1556. 644,
  1557. 0,
  1558. 645,
  1559. 0,
  1560. 0,
  1561. PERF_DETAIL_ADVANCED,
  1562. PERF_COUNTER_RAWCOUNT,
  1563. sizeof(DWORD),
  1564. TCP6_ACTIVEOPENS_OFFSET
  1565. },
  1566. { sizeof(PERF_COUNTER_DEFINITION),
  1567. 646,
  1568. 0,
  1569. 647,
  1570. 0,
  1571. 0,
  1572. PERF_DETAIL_ADVANCED,
  1573. PERF_COUNTER_RAWCOUNT,
  1574. sizeof(DWORD),
  1575. TCP6_PASSIVEOPENS_OFFSET
  1576. },
  1577. { sizeof(PERF_COUNTER_DEFINITION),
  1578. 648,
  1579. 0,
  1580. 649,
  1581. 0,
  1582. 0,
  1583. PERF_DETAIL_ADVANCED,
  1584. PERF_COUNTER_RAWCOUNT,
  1585. sizeof(DWORD),
  1586. TCP6_ATTEMPTFAILS_OFFSET
  1587. },
  1588. { sizeof(PERF_COUNTER_DEFINITION),
  1589. 650,
  1590. 0,
  1591. 651,
  1592. 0,
  1593. 0,
  1594. PERF_DETAIL_ADVANCED,
  1595. PERF_COUNTER_RAWCOUNT,
  1596. sizeof(DWORD),
  1597. TCP6_ESTABRESETS_OFFSET
  1598. },
  1599. { sizeof(PERF_COUNTER_DEFINITION),
  1600. 652,
  1601. 0,
  1602. 653,
  1603. 0,
  1604. -1,
  1605. PERF_DETAIL_ADVANCED,
  1606. PERF_COUNTER_COUNTER,
  1607. sizeof(DWORD),
  1608. TCP6_INSEGS_OFFSET
  1609. },
  1610. { sizeof(PERF_COUNTER_DEFINITION),
  1611. 654,
  1612. 0,
  1613. 655,
  1614. 0,
  1615. -1,
  1616. PERF_DETAIL_ADVANCED,
  1617. PERF_COUNTER_COUNTER,
  1618. sizeof(DWORD),
  1619. TCP6_OUTSEGS_OFFSET
  1620. },
  1621. { sizeof(PERF_COUNTER_DEFINITION),
  1622. 656,
  1623. 0,
  1624. 657,
  1625. 0,
  1626. -1,
  1627. PERF_DETAIL_ADVANCED,
  1628. PERF_COUNTER_COUNTER,
  1629. sizeof(DWORD),
  1630. TCP6_RETRANSSEGS_OFFSET
  1631. }
  1632. };
  1633. UDP6_DATA_DEFINITION Udp6DataDefinition = {
  1634. { sizeof(UDP6_DATA_DEFINITION) + SIZE_OF_UDP6_DATA,
  1635. sizeof(UDP6_DATA_DEFINITION),
  1636. sizeof(PERF_OBJECT_TYPE),
  1637. 1532,
  1638. 0,
  1639. 659,
  1640. 0,
  1641. PERF_DETAIL_ADVANCED,
  1642. (sizeof(UDP6_DATA_DEFINITION)-sizeof(PERF_OBJECT_TYPE))/
  1643. sizeof(PERF_COUNTER_DEFINITION),
  1644. 0,
  1645. -1,
  1646. 0
  1647. },
  1648. { sizeof(PERF_COUNTER_DEFINITION),
  1649. 438,
  1650. 0,
  1651. 661,
  1652. 0,
  1653. -1,
  1654. PERF_DETAIL_ADVANCED,
  1655. PERF_COUNTER_COUNTER,
  1656. sizeof(DWORD),
  1657. UDP6_DATAGRAMS_OFFSET
  1658. },
  1659. { sizeof(PERF_COUNTER_DEFINITION),
  1660. 446,
  1661. 0,
  1662. 663,
  1663. 0,
  1664. -1,
  1665. PERF_DETAIL_ADVANCED,
  1666. PERF_COUNTER_COUNTER,
  1667. sizeof(DWORD),
  1668. UDP6_INDATAGRAMS_OFFSET
  1669. },
  1670. { sizeof(PERF_COUNTER_DEFINITION),
  1671. 664,
  1672. 0,
  1673. 665,
  1674. 0,
  1675. -1,
  1676. PERF_DETAIL_ADVANCED,
  1677. PERF_COUNTER_COUNTER,
  1678. sizeof(DWORD),
  1679. UDP6_NOPORTS_OFFSET
  1680. },
  1681. { sizeof(PERF_COUNTER_DEFINITION),
  1682. 666,
  1683. 0,
  1684. 667,
  1685. 0,
  1686. 0,
  1687. PERF_DETAIL_ADVANCED,
  1688. PERF_COUNTER_RAWCOUNT,
  1689. sizeof(DWORD),
  1690. UDP6_INERRORS_OFFSET
  1691. },
  1692. { sizeof(PERF_COUNTER_DEFINITION),
  1693. 442,
  1694. 0,
  1695. 669,
  1696. 0,
  1697. -1,
  1698. PERF_DETAIL_ADVANCED,
  1699. PERF_COUNTER_COUNTER,
  1700. sizeof(DWORD),
  1701. UDP6_OUTDATAGRAMS_OFFSET
  1702. }
  1703. };