Platform SDK: DLC/NetBIOS

LLC_NOT_CONTIGUOUS_BUFFER

The LLC_NOT_CONTIGUOUS_BUFFER structure represents a buffer for the 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; 
  UCHAR cbLanHeader; 
  UCHAR cbDlcHeader; 
  UCHAR auchLanHeader[32]; 
  UCHAR auchDlcHeader[4]; 
  USHORT usPadding; 
} LLC_NOT_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 the buffer.
offUserData
User data in the structure.
cbUserData
Length of user data.
usStationId
Station identifier.
uchOptions
Option byte from RECEIVE parameter table.
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 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
Number of basic buffer units left.
uchRcvFS
The received frame status (Token-Ring network only). This member is an 8-bit value. Setting the various bits enables different options, as described in the following table.
Bit Description
7 Address recognized indicator.
6 Frame copied indicator.
5 Reserved.
4 Reserved.
3 Address recognized indicator.
2 Frame copied indicator.
1 Reserved.
0 Reserved.

uchAdapterNumber
Adapter number.
pNextFrame
Specifies the address of an LLC_BUFFER structure representing the next frame.
cbLanHeader
Length of the LAN header.
cbDlcHeader
Length of the DLC header.
auchLanHeader
LAN header of the received frame.
auchDlcHeader
DLC header of the received frame.
usPadding
Padding bytes. Data begins from offset 64.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Dlcapi.h.

See Also

The DLC Interface Overview, DLC Structures, AcsLan, LLC_BUFFER, LLC_CCB