OID_GEN_UNKNOWN_PROTOS

As a query, use the OID_GEN_UNKNOWN_PROTOS OID to determine the unknown-protocol packet count of a network interface (ifInUnknownProtos from RFC 2863).

Version Information

Windows Vista and later
Supported.

NDIS 6.0 and later miniport drivers
Not requested. For NDIS interface providers only.

Remarks

Only NDIS network interface providers, and therefore not miniport drivers or filter drivers, must support this OID as an OID request.

The unknown-protocol statistics counter specifies the number of packets that were received through the interface that were discarded because the associated protocol was unknown or unsupported.

If the interface provider returns NDIS_STATUS_SUCCESS, the result of the query is a ULONG64 value that specifies the number of packets.

Requirements

Header

Ntddndis.h (include Ndis.h)

See also

NDIS Network Interface OIDs