STATIONSTATS
The STATIONSTATS structure provides statistics about a specific station described by the current capture.
typedef struct _STATIONSTATS {
DWORD NextStationStats;
DWORD SessionPartnerList;
DWORD Flags;
BYTE StationAddress[6];
WORD Pad;
DWORD TotalPacketsReceived;
DWORD TotalDirectedPacketsSent;
DWORD TotalBroadcastPacketsSent;
DWORD TotalMulticastPacketsSent;
DWORD TotalBytesReceived;
DWORD TotalBytesSent;
} STATIONSTATS,
*LPSTATIONSTATS;
Members
- NextStationStats
Index of the next station recorded in the STATIONSTATS structure array. - SessionPartnerList
Index of the station partner list. - Flags
This member is obsolete. - StationAddress
The MAC address of the station. - Pad
DWORD alignment. - TotalPacketsReceived
Total number of packets sent to the station. - TotalDirectedPacketsSent
Total number of directed packets sent by the station. - TotalBroadcastPacketsSent
Total number of broadcast-directed packets (MAC address FF FF FF FF FF FF) sent by the station. - TotalMulticastPacketsSent
Total number of multicast packets (Group bit set in destination address) sent by the station. - TotalBytesReceived
Total number of bytes sent to the station. - TotalBytesSent
Total number of bytes sent by the station.
Remarks
Network Monitor stores session and station information in two associated arrays. whose elements are SESSIONSTATS and STATIONSTATS structures respectively. The members of these structures can be used to navigate between them. For example, to move to the next station use NextStationStats. To jump to the session partner list in the SESSIONSTATS array, use the index provided in SessionPartnerList.
Note The STATIONSTATS array contains an element for each station used during the current capture. The algorithm Network Monitor uses to add elements to this array is based on the most efficient way to record information while the capture is in progress. Consequently, the next station is not always the next element in the array.
Requirements
Client | Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0. |
Server | Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0. |
Header | Declared in Netmon.h. |
See Also
IDelaydC::GetConversationStatistics, IRTC::GetConversationStatistics, IStats::GetConversationStatistics