Compartilhar via


NDIS_MAC_FRAGMENT structure

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

The NDIS_MAC_FRAGMENT structure contains information associated with a fragment indication made by a WAN miniport driver.

Syntax

typedef struct _NDIS_MAC_FRAGMENT {
  NDIS_HANDLE NdisLinkContext;
  ULONG       Errors;
} NDIS_MAC_FRAGMENT, *PNDIS_MAC_FRAGMENT;

Members

  • NdisLinkContext
    Specifies the handle, identifying the link, that the miniport driver set in the line-up indication when the link was established.

  • Errors
    Specifies a bitmask set with one or more of the following system-defined flags (ORed) to indicate why the fragment was received.

    WAN_ERROR_CRC
    WAN_ERROR_FRAMING
    WAN_ERROR_HARDWAREOVERRUN
    WAN_ERROR_BUFFEROVERRUN
    WAN_ERROR_TIMEOUT
    WAN_ERROR_ALIGNMENT
    

    If no direct mapping from the WAN medium error to one of the preceding error flags exists, choose the most appropriate flag or combination of flags.

Remarks

A WAN NIC driver calls NdisMIndicateStatus with this type of indication when it receives a partial packet from a remote node on the wide area network.

NDISWAN forwards such a fragment indication to the affected protocol(s), formatted as an NDIS_WAN_FRAGMENT structure.

Requirements

Header

Ndiswan.h (include Ndiswan.h)

See also

NDIS_MAC_LINE_UP

NdisMIndicateStatus

NDIS_WAN_FRAGMENT

 

 

Send comments about this topic to Microsoft