NDIS_WAN_GET_STATS_INFO (Windows Embedded CE 6.0)
1/6/2010
The NDIS_WAN_GET_STATS_INFO structure returns statistics requested by OID_WAN_GET_STATS_INFO. This object identifier requests the miniport driver to return statistics information that a WAN NIC driver is expected to keep.
The following syntax defines the NDIS_WAN_GET_STATS_INFO structure.
Syntax
typedef struct _NDIS_WAN_GET_STATS_INFO {
NDIS_HANDLE NdisLinkHandle;
ULONG BytesSent;
ULONG BytesRcvd;
ULONG FramesSent;
ULONG FramesRcvd;
ULONG CRCErrors;
ULONG TimeoutErrors;
ULONG AlignmentErrors;
ULONG SerialOverrunErrors;
ULONG FramingErrors;
ULONG BufferOverrunErrors;
ULONG BytesTransmittedUncompressed;
ULONG BytesReceivedUncompressed;
ULONG BytesTransmittedCompressed;
ULONG BytesReceivedCompressed;
} NDIS_WAN_GET_STATS_INFO, *PNDIS_WAN_GET_STATS_INFO;
Members
- NdisLinkHandle
[in] Identifies the link. The miniport driver supplied this handle in the initial line-up indication for this link.
- BytesSent
[out] Specifies the number of bytes transmitted.
- BytesRcvd
[out] Specifies the number of bytes received.
- FramesSent
[out] Specifies the number of frames (WAN packets) sent.
- FramesRcvd
[out] Specifies the number of frames received.
- CRCErrors
[out] Specifies the number of CRC errors encountered.
- TimeoutErrors
[out] Specifies the number of timeout errors encountered.
- AlignmentErrors
[out] Specifies the number of alignment errors encountered.
- SerialOverrunErrors
[out] Specifies the number of serial overruns encountered.
- FramingErrors
[out] Specifies the number of framing errors encountered.
- BufferOverrunErrors
[out] Specifies the number of buffer overruns encountered.
- BytesTransmittedUncompressed
[out] Specifies the number of bytes of uncompressed data transmitted. A miniport driver returns a nonzero value only if it supports compression.
- BytesReceivedUncompressed
[out] Specifies the number of bytes of uncompressed data received. A miniport driver returns a nonzero value only if it supports compression.
- BytesTransmittedCompressed
[out] Specifies the number of bytes of compressed data transmitted. A miniport driver returns a nonzero value only if it supports compression.
- BytesReceivedCompressed
[out] Specifies the number of bytes of compressed data received. A miniport driver returns a nonzero value only if it supports compression. If the underlying driver or its NIC does not support compression, the driver returns zero for the Bytes.Uncompressed/Compressed members.
Remarks
None.
Requirements
Header | ndis.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |