This documentation is archived and is not being maintained.

General Statistics (NDIS 5.1)

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

The following chart summarizes the OIDs that are used to get the general statistics for NDIS drivers and NICs.
LengthQSName

4 or 8

M

OID_GEN_XMIT_OK
Frames transmitted without errors

4 or 8

M

OID_GEN_RCV_OK
Frames received without errors

4 or 8

M

OID_GEN_XMIT_ERROR
Frames not transmitted or transmitted with errors

4 or 8

M

OID_GEN_RCV_ERROR
Frames received with errors

4 or 8

M

OID_GEN_RCV_NO_BUFFER
Frame missed, no buffers

4 or 8

O

OID_GEN_DIRECTED_BYTES_XMIT
Directed bytes transmitted without errors

4 or 8

O

OID_GEN_DIRECTED_FRAMES_XMIT
Directed frames transmitted without errors

4 or 8

O

OID_GEN_MULTICAST_BYTES_XMIT
Multicast bytes transmitted without errors

4 or 8

O

OID_GEN_MULTICAST_FRAMES_XMIT
Multicast frames transmitted without errors

4 or 8

O

OID_GEN_BROADCAST_BYTES_XMIT
Broadcast bytes transmitted without errors

4 or 8

O

OID_GEN_BROADCAST_FRAMES_XMIT
Broadcast frames transmitted without errors

4 or 8

O

OID_GEN_DIRECTED_BYTES_RCV
Directed bytes received without errors

4 or 8

O

OID_GEN_DIRECTED_FRAMES_RCV
Directed frames received without errors

4 or 8

O

OID_GEN_MULTICAST_BYTES_RCV
Multicast bytes received without errors

4 or 8

O

OID_GEN_MULTICAST_FRAMES_RCV
Multicast frames received without errors

4 or 8

O

OID_GEN_BROADCAST_BYTES_RCV
Broadcast bytes received without errors

4 or 8

O

OID_GEN_BROADCAST_FRAMES_RCV
Broadcast frames received without errors

4 or 8

O

OID_GEN_RCV_CRC_ERROR
Frames received with circular redundancy check (CRC) or frame check sequence (FCS) error

4 or 8

O

OID_GEN_TRANSMIT_QUEUE_LENGTH
Length of transmit queue

 

A driver should respond to a query of a statistics OID with complete information so that the driver can supply the operating system and applications with information that they need to monitor network status, respond to security issues, and diagnose problems. If statistics counters are in hardware, the driver should read the appropriate statistics value from hardware each time that a statistics OID is queried.

Miniport Driver Support for 64-bit Counters

All one-Gbps and faster miniport drivers must support 64-bit counters for the following statistics OIDs. In addition, Microsoft recommends that all 100Mbps and faster miniport drivers support 64-bit counters for the following statistics OIDs:

OID_GEN_XMIT_OK

OID_GEN_RCV_OK

OID_GEN_DIRECTED_BYTES_XMIT

OID_GEN_DIRECTED_FRAMES_XMIT

OID_GEN_MULTICAST_BYTES_XMIT

OID_GEN_MULTICAST_FRAMES_XMIT

OID_GEN_BROADCAST_BYTES_XMIT

OID_GEN_BROADCAST_FRAMES_XMIT

OID_GEN_DIRECTED_BYTES_RCV

OID_GEN_DIRECTED_FRAMES_RCV

OID_GEN_MULTICAST_BYTES_RCV

OID_GEN_MULTICAST_FRAMES_RCV

OID_GEN_BROADCAST_BYTES_RCV

OID_GEN_BROADCAST_FRAMES_RCV

Miniport drivers can also support 64-bit counters for other statistics OIDs, such as OIDs that indicate transmit or receive errors.

System support for 64-bit counters is available in Windows XP and later operating systems.

 

 

Send comments about this topic to Microsoft

Show: