Using the
The
A function IpqosGetPolicyStats() retrieves the counters for the statistics. Once it is called, functions that get specific counter information can be called (for example, IpqosGetPolicyStatsByteCount()).
From a
—Start an IPQOS_SESSION_STATS session. This will read the current
—Traverse the list of adapters and the policy list of each adapter in the configuration.
—Call IpqosGetPolicyStats() for the policy.
—Get the specific statistics counters for the policy using the appropriate functions.
—Traverse the list of filters for the policy.
—Get the statistics counters for the filters using the appropriate functions.
Repeat for all policies as needed.
Table
Table | Counters Kept for Statistics | |
|
| |
Object Type | Counters | |
|
|
|
Policy |
| Packet Count |
|
| Byte Count |
|
| Dropped Packet Count |
|
| Dropped Byte Count |
|
|
|
Filter |
| Packet Count |
|
| Byte Count |
|
|
|
34 | Chapter 2 |