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.

55 lines
1.7 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. dhcpctrs.h
  7. Offset definitions for the DHCP Server's counter objects & counters.
  8. These offsets *must* start at 0 and be multiples of 2. In the
  9. OpenDhcpPerformanceData procedure, they will be added to the
  10. DHCP Server's "First Counter" and "First Help" values in order to
  11. determine the absolute location of the counter & object names
  12. and corresponding help text in the registry.
  13. This file is used by the DHCPCTRS.DLL DLL code as well as the
  14. DHCPCTRS.INI definition file. DHCPCTRS.INI is parsed by the
  15. LODCTR utility to load the object & counter names into the
  16. registry.
  17. */
  18. #ifndef _DHCPCTRS_H_
  19. #define _DHCPCTRS_H_
  20. //
  21. // The WINS Server counter object.
  22. //
  23. #define DHCPCTRS_COUNTER_OBJECT 0
  24. //
  25. // The individual counters.
  26. //
  27. #define DHCPCTRS_PACKETS_RECEIVED 2
  28. #define DHCPCTRS_PACKETS_DUPLICATE 4
  29. #define DHCPCTRS_PACKETS_EXPIRED 6
  30. #define DHCPCTRS_MILLISECONDS_PER_PACKET 8
  31. #define DHCPCTRS_PACKETS_IN_ACTIVE_QUEUE 10
  32. #define DHCPCTRS_PACKETS_IN_PING_QUEUE 12
  33. #define DHCPCTRS_DISCOVERS 14
  34. #define DHCPCTRS_OFFERS 16
  35. #define DHCPCTRS_REQUESTS 18
  36. #define DHCPCTRS_INFORMS 20
  37. #define DHCPCTRS_ACKS 22
  38. #define DHCPCTRS_NACKS 24
  39. #define DHCPCTRS_DECLINES 26
  40. #define DHCPCTRS_RELEASES 28
  41. #endif // _DHCPCTRS_H_