General Statistics OIDs

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_STATISTICS

OID_GEN_BYTES_RCV

OID_GEN_BYTES_XMIT

OID_GEN_RCV_DISCARDS

OID_GEN_XMIT_DISCARDS

OID_GEN_XMIT_OK

OID_GEN_RCV_OK

OID_GEN_XMIT_ERROR

OID_GEN_RCV_ERROR

OID_GEN_RCV_NO_BUFFER

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

OID_GEN_RCV_CRC_ERROR

OID_GEN_TRANSMIT_QUEUE_LENGTH

OID_GEN_INIT_TIME_MS

OID_GEN_RESET_COUNTS

OID_GEN_MEDIA_SENSE_COUNTS

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.

Note  If an NDIS MUX driver exposes multiple miniport instances, querying the following general statistics OIDs should return data specific to that miniport instance. For example, if a MUX driver implements virtual local area network (VLAN) filtering and exposes one miniport per VLAN, the statistics values returned from the following OIDs are expected to be per VLAN.
 

 

 

Send comments about this topic to Microsoft

Show: