NDIS_WAN_GET_LINK_INFO (Windows Embedded CE 6.0)
1/6/2010
The NDIS_WAN_GET_LINK_INFO structure formats information for OID_WAN_GET_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_GET_LINK_INFO.
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 (not including 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 indicating the type of framing that should be sent. If the miniport driver detects incompatibilities between SendFramingBits and RecvFramingBits, it returns NDIS_STATUS_INVALID_WAN_SETTINGS.The proper 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 indicating the type 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, then ASCII character 0x00 should be byte stuffed, and so forth.
- RecvACCM
[out] As described for SendACCM.
Remarks
None.
Requirements
Header | ndis.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
NDIS Structures
OID_WAN_GET_LINK_INFO
MiniportWanSend
OID_WAN_GET_INFO