次の方法で共有


NDIS_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES (Compact 2013)

3/26/2014

An NDIS miniport driver sets up an NDIS_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES structure to define task offload and connection offload attributes, if any, that are associated with a miniport adapter.

Syntax

typedef struct _NDIS_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES
{
  NDIS_OBJECT_HEADER  Header;
  PNDIS_OFFLOAD  DefaultOffloadConfiguration;
  PNDIS_OFFLOAD  HardwareOffloadCapabilities;
  PNDIS_TCP_CONNECTION_OFFLOAD  DefaultTcpConnectionOffloadConfiguration;
  PNDIS_TCP_CONNECTION_OFFLOAD  TcpConnectionOffloadHardwareCapabilities;
} NDIS_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES, *PNDIS_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES;

Members

  • Header
    The NDIS_OBJECT_HEADER structure for the NDIS_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES structure. Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES, the Revision member to NDIS_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES_REVISION_1, and the Size member to NDIS_SIZEOF_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES_REVISION_1.
  • DefaultOffloadConfiguration
    A pointer to an NDIS_OFFLOAD structure that indicates the current offload capabilities that are provided by the miniport adapter.
  • HardwareOffloadCapabilities
    A pointer to an NDIS_OFFLOAD structure that indicates all the task offload capabilites that are supported by the miniport adapter. These capabilities include capabilities that are currently disabled by standardized keywords in the registry.
  • DefaultTcpConnectionOffloadConfiguration
    A pointer to an NDIS_TCP_CONNECTION_OFFLOAD structure that indicates the current connection offload capabilities that are provided by the miniport adapter.
  • TcpConnectionOffloadHardwareCapabilities
    A pointer to an NDIS_TCP_CONNECTION_OFFLOAD structure that indicates all the connection offload capabilites that are supported by the miniport adapter. These capabilities include capabilities that are currently disabled by standardized keywords in the registry.

Remarks

A miniport driver that supports task offload or connection offload passes a pointer to an NDIS_MINIPORT_ADAPTER_OFFLOAD_ATTRIBUTES structure in the MiniportAttributes parameter of the NdisMSetMiniportAttributes function. A miniport driver calls NdisMSetMiniportAttributes from its MiniportInitializeEx function during initialization.

Requirements

Header

ndis.h

See Also

Reference

Miniport Driver Structures
MiniportInitializeEx
NDIS_OBJECT_HEADER
NDIS_OFFLOAD
NDIS_TASK_OFFLOAD_HEADER
NDIS_TCP_CONNECTION_OFFLOAD
NdisMSetMiniportAttributes