Skip to content

Latest commit

 

History

History
284 lines (167 loc) · 9.48 KB

ns-ndis-_ndis_restart_general_attributes.md

File metadata and controls

284 lines (167 loc) · 9.48 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:ndis._NDIS_RESTART_GENERAL_ATTRIBUTES
_NDIS_RESTART_GENERAL_ATTRIBUTES (ndis.h)
The NDIS_RESTART_GENERAL_ATTRIBUTES structure defines the general restart attributes that are associated with a miniport adapter.
netvista\ndis_restart_general_attributes.htm
netvista
05/02/2018
NDIS_RESTART_GENERAL_ATTRIBUTES structure
*PNDIS_RESTART_GENERAL_ATTRIBUTES, NDIS_RESTART_GENERAL_ATTRIBUTES, NDIS_RESTART_GENERAL_ATTRIBUTES structure [Network Drivers Starting with Windows Vista], PNDIS_RESTART_GENERAL_ATTRIBUTES, PNDIS_RESTART_GENERAL_ATTRIBUTES structure pointer [Network Drivers Starting with Windows Vista], _NDIS_RESTART_GENERAL_ATTRIBUTES, miniport_structures_ref_10a54e42-4d48-4fdc-8a68-43771c319215.xml, ndis/NDIS_RESTART_GENERAL_ATTRIBUTES, ndis/PNDIS_RESTART_GENERAL_ATTRIBUTES, netvista.ndis_restart_general_attributes
ndis.h
Ndis.h
Windows
Supported in NDIS 6.0 and later.
Windows
NDIS_RESTART_GENERAL_ATTRIBUTES, *PNDIS_RESTART_GENERAL_ATTRIBUTES
_NDIS_RESTART_GENERAL_ATTRIBUTES
ndis/_NDIS_RESTART_GENERAL_ATTRIBUTES
PNDIS_RESTART_GENERAL_ATTRIBUTES
ndis/PNDIS_RESTART_GENERAL_ATTRIBUTES
NDIS_RESTART_GENERAL_ATTRIBUTES
ndis/NDIS_RESTART_GENERAL_ATTRIBUTES
APIRef
kbSyntax
HeaderDef
ndis.h
_NDIS_RESTART_GENERAL_ATTRIBUTES
PNDIS_RESTART_GENERAL_ATTRIBUTES
NDIS_RESTART_GENERAL_ATTRIBUTES

_NDIS_RESTART_GENERAL_ATTRIBUTES structure

-description

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

-struct-fields

-field Header

The NDIS_OBJECT_HEADER structure for the NDIS_RESTART_GENERAL_ATTRIBUTES structure. NDIS sets the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_RESTART_GENERIC_ATTRIBUTES.

To indicate the version of the NDIS_RESTART_GENERAL_ATTRIBUTES structure, NDIS sets the Revision member to one of the following values:

NDIS_RESTART_GENERAL_ATTRIBUTES_REVISION_2

Added the MaxLookaheadSizeAccessed member for NDIS 6.2.

NDIS sets the Size member to NDIS_SIZEOF_RESTART_GENERAL_ATTRIBUTES_REVISION_2.

NDIS_RESTART_GENERAL_ATTRIBUTES_REVISION_1

Original version for NDIS 6.0 and NDIS 6.1.

NDIS sets the Size member to NDIS_SIZEOF_RESTART_GENERAL_ATTRIBUTES_REVISION_1.

-field MtuSize

The maximum transfer unit (MTU) size. For more information, see OID_GEN_MAXIMUM_FRAME_SIZE.

-field MaxXmitLinkSpeed

The maximum transmit link speed of the adapter in bits per second. For more information, see OID_GEN_MAX_LINK_SPEED.

-field MaxRcvLinkSpeed

The maximum receive link speed of the adapter in bits per second. For more information, see OID_GEN_MAX_LINK_SPEED.

-field LookaheadSize

The lookahead size for the miniport adapter. For more information, see OID_GEN_CURRENT_LOOKAHEAD.

-field MacOptions

The medium access control (MAC) options for the miniport adapter. For more information, see OID_GEN_MAC_OPTIONS.

-field SupportedPacketFilters

The packet filter flags for the miniport adapter.

-field MaxMulticastListSize

The maximum multicast address list size for the miniport adapter. For more information, see OID_802_3_MAXIMUM_LIST_SIZE.

-field RecvScaleCapabilities

The receive side scaling (RSS) capabilities of the NIC. If the miniport adapter does not support the RSS feature, NDIS sets RecvScaleCapabilities to a pointer to an NDIS_RECEIVE_SCALE_CAPABILITIES structure that is filled with zeros. For more information about RSS, see OID_GEN_RECEIVE_SCALE_CAPABILITIES.

-field AccessType

A NET_IF_ACCESS_TYPE NDIS network interface access type.

-field Flags

Reserved.

-field ConnectionType

A NET_IF_CONNECTION_TYPE NDIS network interface connection type.

-field SupportedStatistics

The supported statistics. For more information, see the SupportedStatistics member of the NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES structure.

-field DataBackFillSize

The required data backfill size, in bytes, of the driver.

-field ContextBackFillSize

The required context backfill size, in bytes, of the driver.

-field SupportedOidList

A list of OIDs that the miniport driver supports. For more information, see OID_GEN_SUPPORTED_LIST.

-field SupportedOidListLength

The size, in bytes, of the OID list that is specified in the SupportedOidList member.

-field MaxLookaheadSizeAccessed

A ULONG value for the maximum size, in bytes, of the lookahead size requirement for receive queues. A miniport adapter that supports lookahead in VM queues splits a received packet at an offset equal to or greater than the requested lookahead size and DMAs the lookahead data and the post-lookahead data to separate shared memory segments.

-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.

-see-also

MiniportRestart

NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES NDIS_MINIPORT_RESTART_PARAMETERS

NDIS_OBJECT_HEADER

NDIS_RECEIVE_SCALE_CAPABILITIES

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_MAXIMUM_FRAME_SIZE

OID_GEN_MAX_LINK_SPEED

OID_GEN_MINIPORT_RESTART_ATTRIBUTES

OID_GEN_STATISTICS

OID_GEN_SUPPORTED_LIST

OID_PNP_CAPABILITIES