次の方法で共有


NDIS_WAN_CO_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_WAN_CO_FRAGMENT structure contains information associated with a fragment indication made by a CoNDIS WAN miniport driver.

Syntax

typedef struct _NDIS_WAN_CO_FRAGMENT {
  ULONG Errors;
} NDIS_WAN_CO_FRAGMENT, *PNDIS_WAN_CO_FRAGMENT;

Members

  • Errors
    A 32-bit value that specifies a bitmask that is set with one or more of the following system-defined values to indicate why the fragment was received. The miniport driver can set a combination of the following values, using the binary OR operator:

    • WAN_ERROR_CRC
      Specifies a CRC error was encountered for a particular VC. CRC errors are caused by the failure of a cyclic redundancy check. A CRC error indicates that one or more bytes in a frame received were found garbled on arrival.

    • WAN_ERROR_FRAMING
      Specifies a framing error was encountered for a particular VC. A framing error occurs when an asynchronous byte is received with an invalid start or stop bit.

    • WAN_ERROR_HARDWAREOVERRUN
      Specifies a hardware overrun was encountered for a particular VC. Hardware overruns occur when the WAN NIC cannot handle the rate at which data is received.

    • WAN_ERROR_BUFFEROVERRUN
      Specifies a buffer overrun was encountered for a particular VC. Buffer overruns occur when the WAN miniport driver cannot handle the rate at which data is received.

    • WAN_ERROR_TIMEOUT
      Specifies a time-out error was encountered for a particular VC. Time-out errors occur when an expected byte is not received in time.

    • WAN_ERROR_ALIGNMENT
      Specifies an alignment error was encountered for a particular VC. Alignment errors occur when a byte received is different from the byte expected. This typically happens when a byte is lost or when a time-out error occurs.

    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 CoNDIS WAN miniport driver calls NdisMCoIndicateStatus with this type of indication when it receives a partial packet from an endpoint of a virtual connection on the wide area network.

Requirements

Header

Ndiswan.h (include Ndiswan.h)

See also

NdisMCoIndicateStatus

NDIS_WAN_FRAGMENT

 

 

Send comments about this topic to Microsoft