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.

110 lines
4.0 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1997, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // iasperf.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // This file contains the symbolic constants used for the PerfMon counters.
  12. //
  13. // MODIFICATION HISTORY
  14. //
  15. // 09/15/1997 Original version.
  16. // 09/09/1998 Divided authentication and accounting.
  17. // Added support for per-client counters.
  18. // 02/18/2000 Added support for proxy counters.
  19. //
  20. ///////////////////////////////////////////////////////////////////////////////
  21. #ifndef _IAS_PERF_H_
  22. #define _IAS_PERF_H_
  23. // Performance objects.
  24. #define RADIUS_AUTH_SERVER_OBJECT 0
  25. #define RADIUS_AUTH_CLIENT_OBJECT 2
  26. #define RADIUS_ACCT_SERVER_OBJECT 4
  27. #define RADIUS_ACCT_CLIENT_OBJECT 6
  28. // Server only.
  29. #define RADIUS_SRV_UP_TIME 8
  30. #define RADIUS_SRV_RESET_TIME 10
  31. #define RADIUS_SRV_INVALID_CLIENT 12
  32. #define RADIUS_SRV_INVALID_CLIENT_RATE 14
  33. // Server and client.
  34. #define RADIUS_PACKETS_SENT 16
  35. #define RADIUS_PACKETS_SENT_RATE 18
  36. #define RADIUS_PACKETS_RECEIVED 20
  37. #define RADIUS_PACKETS_RECEIVED_RATE 22
  38. #define RADIUS_MALFORMED_PACKET 24
  39. #define RADIUS_MALFORMED_PACKET_RATE 26
  40. #define RADIUS_BAD_AUTHENTICATOR 28
  41. #define RADIUS_BAD_AUTHENTICATOR_RATE 30
  42. #define RADIUS_DROPPED_PACKET 32
  43. #define RADIUS_DROPPED_PACKET_RATE 34
  44. #define RADIUS_UNKNOWN_TYPE 36
  45. #define RADIUS_UNKNOWN_TYPE_RATE 38
  46. // Authentication only.
  47. #define RADIUS_AUTH_ACCESS_REQUEST 40
  48. #define RADIUS_AUTH_ACCESS_REQUEST_RATE 42
  49. #define RADIUS_AUTH_DUP_ACCESS_REQUEST 44
  50. #define RADIUS_AUTH_DUP_ACCESS_REQUEST_RATE 46
  51. #define RADIUS_AUTH_ACCESS_ACCEPT 48
  52. #define RADIUS_AUTH_ACCESS_ACCEPT_RATE 50
  53. #define RADIUS_AUTH_ACCESS_REJECT 52
  54. #define RADIUS_AUTH_ACCESS_REJECT_RATE 54
  55. #define RADIUS_AUTH_ACCESS_CHALLENGE 56
  56. #define RADIUS_AUTH_ACCESS_CHALLENGE_RATE 58
  57. // Accounting only.
  58. #define RADIUS_ACCT_REQUEST 60
  59. #define RADIUS_ACCT_REQUEST_RATE 62
  60. #define RADIUS_ACCT_DUP_REQUEST 64
  61. #define RADIUS_ACCT_DUP_REQUEST_RATE 66
  62. #define RADIUS_ACCT_RESPONSE 68
  63. #define RADIUS_ACCT_RESPONSE_RATE 70
  64. #define RADIUS_ACCT_NO_RECORD 72
  65. #define RADIUS_ACCT_NO_RECORD_RATE 74
  66. // Performance objects.
  67. #define PROXY_AUTH_PROXY_OBJECT 76
  68. #define PROXY_AUTH_REMSRV_OBJECT 78
  69. #define PROXY_ACCT_PROXY_OBJECT 80
  70. #define PROXY_ACCT_REMSRV_OBJECT 82
  71. // Proxy only.
  72. #define PROXY_INVALID_ADDRESS 84
  73. #define PROXY_INVALID_ADDRESS_RATE 86
  74. // Remote server only
  75. #define PROXY_REMSRV_PORT 88
  76. #define PROXY_REMSRV_ROUND_TRIP 90
  77. // Authentication & accounting
  78. #define PROXY_PENDING 92
  79. #define PROXY_TIMEOUT 94
  80. #define PROXY_TIMEOUT_RATE 96
  81. #define PROXY_RETRANSMISSION 98
  82. #define PROXY_RETRANSMISSION_RATE 100
  83. // Authentication only
  84. #define PROXY_AUTH_ACCESS_REQUEST 102
  85. #define PROXY_AUTH_ACCESS_REQUEST_RATE 104
  86. #define PROXY_AUTH_ACCESS_ACCEPT 106
  87. #define PROXY_AUTH_ACCESS_ACCEPT_RATE 108
  88. #define PROXY_AUTH_ACCESS_REJECT 110
  89. #define PROXY_AUTH_ACCESS_REJECT_RATE 112
  90. #define PROXY_AUTH_ACCESS_CHALLENGE 114
  91. #define PROXY_AUTH_ACCESS_CHALLENGE_RATE 116
  92. // Accounting only
  93. #define PROXY_ACCT_REQUEST 118
  94. #define PROXY_ACCT_REQUEST_RATE 120
  95. #define PROXY_ACCT_RESPONSE 122
  96. #define PROXY_ACCT_RESPONSE_RATE 124
  97. #endif // _IAS_PERF_H_