Compartilhar via


NDIS_RESTART_GENERAL_ATTRIBUTES (Compact 2013)

3/26/2014

This structure defines the general restart attributes that are associated with a miniport adapter.

Syntax

typedef struct _NDIS_RESTART_GENERAL_ATTRIBUTES
{
  NDIS_OBJECT_HEADER  Header;
  ULONG  MtuSize;
  ULONG64  MaxXmitLinkSpeed;
  ULONG64  MaxRcvLinkSpeed;
  ULONG  LookaheadSize;
  ULONG  MacOptions;
  ULONG  SupportedPacketFilters;
  ULONG  MaxMulticastListSize;
  PNDIS_RECEIVE_SCALE_CAPABILITIES  RecvScaleCapabilities;
  NET_IF_ACCESS_TYPE  AccessType;
  NET_IF_DIRECTION_TYPE  DirectionType; 
  NET_IF_CONNECTION_TYPE  ConnectionType; 
  ULONG  SupportedStatistics; 
  ULONG  DataBackFillSize;
  ULONG  ContextBackFillSize;
  PNDIS_OID  SupportedOidList;
  ULONG  SupportedOidListLength;
} NDIS_RESTART_GENERAL_ATTRIBUTES, *PNDIS_RESTART_GENERAL_ATTRIBUTES;

Members

  • Header
    The NDIS_OBJECT_HEADER structure for the NDIS_RESTART_GENERAL_ATTRIBUTES structure. Set the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_RESTART_GENERIC_ATTRIBUTES, the Revision member to NDIS_RESTART_GENERAL_ATTRIBUTES_REVISION_1, and the Size member to NDIS_SIZEOF_RESTART_GENERAL_ATTRIBUTES_REVISION_1.
  • MaxXmitLinkSpeed
    The maximum transmit link speed of the adapter in bits per second. For more information, see OID_GEN_MAX_LINK_SPEED.
  • MaxRcvLinkSpeed
    The maximum receive link speed of the adapter in bits per second. For more information, see OID_GEN_MAX_LINK_SPEED.
  • MacOptions
    The medium access control (MAC) options for the miniport adapter. For more information, see OID_GEN_MAC_OPTIONS.
  • RecvScaleCapabilities
    The receive scaling capabilities of the network adapter
  • DataBackFillSize
    The required data backfill size, in bytes, of the driver.
  • ContextBackFillSize
    The required context backfill size, in bytes, of the driver.
  • SupportedOidList
    A list of OIDs that the miniport driver supports. For more information, see OID_GEN_SUPPORTED_LIST.
  • SupportedOidListLength
    The size, in bytes, of the OID list that is specified in the SupportedOidList member.

Remarks

NDIS passes an NDIS_RESTART_GENERAL_ATTRIBUTES structure to drivers during restart operations. For example, when NDIS calls a miniport driver's MiniportRestart function, NDIS passes a pointer to an NDIS_RESTART_ATTRIBUTES structure to the miniport driver in the RestartAttributes member of the NDIS_MINIPORT_RESTART_PARAMETERS structure.

If the Oid member in the NDIS_RESTART_ATTRIBUTES structure is OID_GEN_MINIPORT_RESTART_ATTRIBUTES, the Data member of NDIS_RESTART_ATTRIBUTES contains an NDIS_RESTART_GENERAL_ATTRIBUTES structure.

Requirements

Header

ndis.h

See Also

Reference

Miniport Driver Structures
MiniportRestart
NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES
NDIS_MINIPORT_RESTART_PARAMETERS
NDIS_OBJECT_HEADER
NDIS_RESTART_ATTRIBUTES
NET_IF_ACCESS_TYPE
NET_IF_CONNECTION_TYPE
NET_IF_DIRECTION_TYPE
OID_802_3_MAXIMUM_LIST_SIZE
OID_GEN_CURRENT_LOOKAHEAD
OID_GEN_MAC_OPTIONS
OID_GEN_MAX_LINK_SPEED
OID_GEN_MAXIMUM_FRAME_SIZE
OID_GEN_MINIPORT_RESTART_ATTRIBUTES
OID_GEN_STATISTICS
OID_GEN_SUPPORTED_LIST
OID_GEN_SUPPORTED_PACKET_FILTERS
OID_PNP_CAPABILITIES