Compartilhar via


NDIS_WAN_GET_LINK_INFO (Compact 2013)

3/26/2014

The NDIS_WAN_GET_LINK_INFO structure formats information for OID_WAN_GET_LINK_INFO. This OID requests the miniport driver to return information about the current state of a link.

Syntax

typedef struct _NDIS_WAN_GET_LINK_INFO { 
  NDIS_HANDLE NdisLinkHandle; 
  ULONG MaxSendFrameSize; 
  ULONG MaxRecvFrameSize; 
  ULONG HeaderPadding; 
  ULONG TailPadding; 
  ULONG SendFramingBits; 
  ULONG RecvFramingBits; 
  ULONG SendCompressionBits; 
  ULONG RecvCompressionBits; 
  ULONG SendACCM; 
  ULONG RecvACCM; 
} NDIS_WAN_GET_LINK_INFO, *PNDIS_WAN_GET_LINK_INFO; 

Members

  • NdisLinkHandle
    [in] Identifies the link. The miniport driver supplied this handle in its initial line-up indication for this link.
  • MaxSendFrameSize
    [out] Specifies the maximum buffer size, in bytes, that the miniport driver can accept for transmission on this link. The driver's MiniportWanSend function can reject any incoming send packet that is larger than this size.
  • MaxRecvFrameSize
    [out] Specifies the largest packet (excluding the driver's padding) that will be received on the wire. The driver can drop any packets larger than MaxRecvFrameSize.
  • HeaderPadding
    [out] Specifies the number of padding bytes at the head of the frame.
  • TailPadding
    [out] Specifies the number of padding bytes at the tail of the frame.
  • SendFramingBits
    [out] Specifies send-framing bits that indicate the kind of framing that should be sent. If the miniport driver detects incompatibilities between SendFramingBits and RecvFramingBits, it returns NDIS_STATUS_INVALID_WAN_SETTINGS.

    The suitable NLPID and framing format should be used based on the framing bits wherever applicable. Possible values for SendFramingBits include any the driver returned in response to the OID_WAN_GET_INFO query.

  • RecvFramingBits
    [out] Specifies receive-framing bits that indicate the kind of framing that should be received.
  • SendCompressionBits
    [out] Reserved.
  • RecvCompressionBits
    [out] Reserved.
  • SendACCM
    [out] For asynchronous media types, logical bits 0-31 indicate the respective byte to be byte stuffed. That is, if bit 0 is set to 1, ASCII character 0x00 should be byte stuffed, and so on.
  • RecvACCM
    [out] As described for SendACCM.

Remarks

None

Requirements

Header

ndis.h

See Also

Reference

NDIS 5.x Legacy Structures
OID_WAN_GET_LINK_INFO
MiniportWanSend
OID_WAN_GET_INFO
NDIS 5.x Legacy Reference