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.

81 lines
1.8 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. rasctrnm.h
  5. Abstract:
  6. This file defines the ras symbols used in the rasctrs.ini file for
  7. loading the counters to registry.
  8. Created:
  9. Thomas J. Dimitri 28 May 93
  10. Revision History
  11. Ram Cherala 04 Nov 93 Added this header
  12. --*/
  13. //
  14. // rasctrnm.h
  15. //
  16. // Offset definition file for exensible counter objects and counters
  17. //
  18. // These "relative" offsets must start at 0 and be multiples of 2 (i.e.
  19. // even numbers). In the Open Procedure, they will be added to the
  20. // "First Counter" and "First Help" values fo the device they belong to,
  21. // in order to determine the absolute location of the counter and
  22. // object names and corresponding help text in the registry.
  23. //
  24. // this file is used by the extensible counter DLL code as well as the
  25. // counter name and help text definition file (.INI) file that is used
  26. // by LODCTR to load the names into the registry.
  27. //
  28. #define RASPORTOBJ 0
  29. //
  30. // The following constants are good for both Total and individual port.
  31. //
  32. #define BYTESTX 2
  33. #define BYTESRX 4
  34. #define FRAMESTX 6
  35. #define FRAMESRX 8
  36. #define PERCENTTXC 10
  37. #define PERCENTRXC 12
  38. #define CRCERRORS 14
  39. #define TIMEOUTERRORS 16
  40. #define SERIALOVERRUNS 18
  41. #define ALIGNMENTERRORS 20
  42. #define BUFFEROVERRUNS 22
  43. #define TOTALERRORS 24
  44. #define BYTESTXSEC 26
  45. #define BYTESRXSEC 28
  46. #define FRAMESTXSEC 30
  47. #define FRAMESRXSEC 32
  48. #define TOTALERRORSSEC 34
  49. //
  50. // The following constants are good only for Total.
  51. //
  52. #define RASTOTALOBJ 36
  53. #define TOTALCONNECTIONS 38