Compartir a través de


NDIS_WAN_SET_LINK_INFO (Compact 2013)

3/26/2014

This structure formats information for OID_WAN_SET_LINK_INFO. This object identifier requests the miniport driver to return information about the current state of a link.

The following syntax defines NDIS_WAN_SET_LINK_INFO.

Syntax

typedef struct _NDIS_WAN_SET_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_SET_LINK_INFO, *PNDIS_WAN_SET_LINK_INFO; 

Members

  • NdisLinkHandle
    [in] Identifies the link. This is the handle the miniport driver supplied in its initial line-up indication for this link.
  • MaxSendFrameSize
    [in] Specifies the largest buffer, in bytes, the protocol will send for this link. This value must be less than or equal to that returned by the miniport driver for the OID_WAN_GET_LINK_INFO query. The driver's MiniportWanSend function can reject any send packets submitted for this link that are larger than this value.
  • MaxRecvFrameSize
    [in] Specifies the largest net packet, excluding the driver's padding that the protocol will receive next. This value must be less than or equal to that returned by the miniport driver for the OID_WAN_GET_LINK_INFO query. The miniport driver can drop any received packets for this link that are larger.
  • HeaderPadding
    [in] Specifies the number of padding bytes at the head of the frame.
  • TailPadding
    [in] Specifies the number of padding bytes at the tail of the frame.
  • SendFramingBits
    [in] 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 correct NLPID and framing format should be used based on the framing bits wherever applicable.

    Framing Bit Setting

    Description

    RecvFramingBits

    Specifies receive-framing bits that indicate the kind of framing that should be received. Possible values for RecvFramingBits include any the underlying driver returned in response to the OID_WAN_GET_INFO query.

    SendCompressionBits

    Reserved

    RecvCompressionBits

    Reserved

    SendACCM

    For asynchronous media types, logical bits 0-31 indicate the respective byte to be byte stuffed. That is, if bit 0 is set to one then ASCII character 0x00 should be byte stuffed, and so on.

    RecvACCM

    As described for SendACCM

Remarks

None

Requirements

Header

ndis.h

See Also

Reference

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