LLC_CONTIGUOUS_BUFFER

The LLC_CONTIGUOUS_BUFFER structure represents a buffer for received data. Specify this structure in the LLC_BUFFER structure.

typedef struct {
    PLLC_BUFFER pNextBuffer; 
    USHORT cbFrame; 
    USHORT cbBuffer; 
    USHORT offUserData; 
    USHORT cbUserData; 
    USHORT usStationId; 
    UCHAR uchOptions; 
    UCHAR uchMsgType; 
    USHORT cBuffersLeft; 
    UCHAR uchRcvFS; 
    UCHAR uchAdapterNumber; 
    PLLC_BUFFER pNextFrame; 
} LLC_CONTIGUOUS_BUFFER;
 

Members

pNextBuffer
Specifies the address of an LLC_BUFFER structure representing the next buffer in the frame.
cbFrame
Length of the entire frame.
cbBuffer
Length of this buffer.
offUserData
User data in this structure.
cbUserData
Length of user data.
usStationId
Station identifier.
uchOptions
Defines how the frame is received. Specify one of the following values.
Option Description
LLC_CONTIGUOUS_MAC The received data includes a LAN header.
LLC_CONTIGUOUS_DATA The received data includes a LAN header and a DLC header.
LLC_NOT_CONTIGUOUS_DATA The received data does not include the DLC header, but begins with the portion of the LAN frame that follows the DLC header.

uchMsgType
Specifies an LLC_FRAME_TYPES value representing the message type. LLC_FRAME_TYPES is an enumerated type. The following values are defined.
Value Meaning
LLC_DIRECT_MAC MAC frame (direct station on IBM Token-Ring network only).
LLC_I_FRAME Information frame (link stations only).
LLC_UI_FRAME UI frame.
LLC_XID_COMMAND_POLL XID command (poll bit).
LLC_XID_COMMAND_NOT_POLL XID command (not poll bit).
LLC_XID_RESPONSE_FINAL XID response (final bit).
LLC_XID_RESPONSE_NO_FINAL XID response (not final bit).
LLC_TEST_RESPONSE_FINAL TEST response (final bit).
LLC_TEST_RESPONSE_NOT_FINAL TEST response (not final bit).
LLC_DIRECT_8022 802.2 frame (direct station only).
LLC_DIRECT_ETHERNET_TYPE Ethernet frame (direct station only).

cBuffersLeft
The number of basic buffer units left.
uchRcvFS
The received frame status.
uchAdapaterNumber
Adapter number.
pNextFrame
Specifies the address of an LLC_BUFFER structure representing the next frame.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in dlcapi.h.

See Also

The DLC Interface Overview, DLC Structures, AcsLan, LLC_BUFFER