General statistics OIDs for connection-oriented miniport drivers

The following table summarizes the OIDs used to get or set the general statistics characteristics of connection-oriented miniport drivers and/or their NICs.

Tip

A connection-oriented miniport driver handles such requests in its MiniportCoOidRequest callback function.

In this table, M indicates an OID is mandatory, while O indicates it is optional.

Length Query Set Name
4 or 8 O OID_GEN_CO_BYTES_RCV
4 or 8 O OID_GEN_CO_BYTES_XMIT
4 or 8 O OID_GEN_CO_BYTES_XMIT_OUTSTANDING
4 or 8 O OID_GEN_CO_NETCARD_LOAD
4 or 8 O OID_GEN_CO_RCV_CRC_ERROR
4 or 8 M OID_GEN_CO_RCV_PDUS_ERROR
4 or 8 M OID_GEN_CO_RCV_PDUS_NO_BUFFER
4 or 8 M OID_GEN_CO_RCV_PDUS_OK
4 or 8 O OID_GEN_CO_TRANSMIT_QUEUE_LENGTH
4 or 8 M OID_GEN_CO_XMIT_PDUS_ERROR
4 or 8 M OID_GEN_CO_XMIT_PDUS_OK

Miniport driver support for 64-bit counters

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

OID_GEN_CO_XMIT_PDUS_OK

OID_GEN_CO_RCV_PDUS_OK

OID_GEN_CO_BYTES_XMIT

OID_GEN_CO_BYTES_RCV

Such 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 versions.

Send comments about this topic to Microsoft