共用方式為


OID_WAN_HEADER_FORMAT (Compact 2013)

3/26/2014

This object requests the miniport driver to return or to set the address-header format that is used, as either of the following system-defined values:

Address header

Description

NdisWanHeaderEthernet

Selects Ethernet-emulation format

NdisWanHeaderNative

Selects the format native to the NdisWanMediumXXX subtype that is supported by the underlying driver. NDISWAN always uses Ethernet

For a query, the miniport driver returns a list of the address formats that the network adapter driver supports. For a set, the miniport driver subsequently uses the given type to format headers for this binding.

If an underlying NDIS driver does not support a header format that a protocol recognizes, that protocol's attempt to bind to the underlying driver fails. A network adapter driver is not required to support both address types of header format. However, it should do so if it can.

Requirements

Header

ntddndis.h

See Also

Reference

NDIS 5.x Legacy NDISWAN Object Identifiers
MiniportQueryInformation
MiniportReset
MiniportSetInformation
NdisOpenAdapter
NDIS_PACKET
NdisRequest
NDIS_REQUEST
NDIS 5.x Legacy Reference