// ntddndis.h
typedef struct _NDIS_SWITCH_NIC_OID_REQUEST {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
NDIS_SWITCH_PORT_ID SourcePortId;
NDIS_SWITCH_NIC_INDEX SourceNicIndex;
NDIS_SWITCH_PORT_ID DestinationPortId;
NDIS_SWITCH_NIC_INDEX DestinationNicIndex;
PNDIS_OID_REQUEST OidRequest;
} NDIS_SWITCH_NIC_OID_REQUEST, *PNDIS_SWITCH_NIC_OID_REQUEST;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_SWITCH_NIC_OID_REQUEST structure specifies the information that is required to forward or originate OID requests.
HeaderThe type, revision, and size of the NDIS_SWITCH_NIC_OID_REQUEST structure. This member is formatted as an NDIS_OBJECT_HEADER structure.
The Type member of Header must be set to NDIS_OBJECT_TYPE_DEFAULT. To specify the version of the NDIS_SWITCH_NIC_OID_REQUEST structure, the Revision member of Header must be set to the following value:
Original version for NDIS 6.30 and later.
Set the Size member to NDIS_SIZEOF_NDIS_SWITCH_NIC_OID_REQUEST_REVISION_1.
FlagsA ULONG value that contains a bitwise OR of flags. This member is reserved for NDIS.
SourcePortIdAn NDIS_SWITCH_PORT_ID value that contains the unique identifier of the Hyper-V extensible switch port to which the OID request was originally issued.
SourceNicIndexAn NDIS_SWITCH_NIC_INDEX value that specifies the index of the source network adapter that is connected to the source extensible switch port specified by the SourcePortId member.
DestinationPortIdAn NDIS_SWITCH_PORT_ID value that contains the unique identifier of the extensible switch port to which the OID request is to be forwarded.
DestinationNicIndexAn NDIS_SWITCH_NIC_INDEX value that specifies the index of the destination network adapter that is connected to the extensible switch port specified by the DestinationPortId member.
OidRequestA pointer to an NDIS_OID_REQUEST structure. This structure contains the data for the OID request that will be forwarded to the miniport driver of the network adapter specified by the DestinationPortId and DestinationNicIndex members.
The NDIS_SWITCH_NIC_OID_REQUEST structure is used in OID method requests of OID_SWITCH_NIC_REQUEST.
An extension can forward or originate OID requests to underlying physical network adapters in the extensible switch driver stack. This enables an extension to do the following:
Manage the configuration of hardware offloads on an underlying physical adapter for the following offload technologies:
For guidelines on how to issue OID requests to underlying physical adapters, see Managing OID Requests to Physical Network Adapters.