The LLC_TRANSMIT_PARMS structure is the DLC parameter table for the LLC_TRANSMIT commands. You pass a pointer to this structure using the pParameterTable member of the CCB_PARMS union.
typedef struct { USHORT usStationId; UCHAR uchTransmitFs; UCHAR uchRemoteSap; PLLC_XMIT_BUFFER pXmitQueue1; PLLC_XMIT_BUFFER pXmitQueue2; USHORT cbBuffer1; USHORT cbBuffer2; PVOID pBuffer1; PVOID pBuffer2; UCHAR uchXmitReadOption; } LLC_TRANSMIT_PARMS, *PLLC_TRANSMIT_PARMS;
Option |
Description |
LLC_CHAIN_XMIT_COMMANDS_ON_LINK |
Chain the command on a link station basis. |
LLC_COMPLETE_SINGLE_XMIT_FRAME |
Do not chain the command. |
LLC_CHAIN_XMIT_COMMANDS_ON_SAP |
Chain the command on a SAP station basis. |
This structure is used by all the LLC_TRANSMIT commands. The following table describes the information you must supply for each command.
Command |
Command Specifics |
LLC_TRANSMIT_DIR_FRAME |
The entire frame must be prepared by the application. The LAN header must reserve space for the adapter to insert the source address. |
LLC_TRANSMIT_I_FRAME |
The only data supplied by the application is the actual data portion. |
LLC_TRANSMIT_UI_FRAME |
The adapter provides the DLC header information. The application program must provide the LAN header and data portions of the message. The first buffer contains only the LAN header. |
LLC_TRANSMIT_XID_CMD |
The user provides the LAN header and data portion. The user must leave room for the DLC header provided by the protocol driver. The first buffer must contain only the LAN header. |
LLC_TRANSMIT_XID_RESP_FINAL |
The user provides the LAN header and data portion. The user must leave room for the DLC header provided by the protocol driver. The first buffer must contain only the LAN header. |
LLC_TRANSMIT_XID_RESP_NOT_FINAL |
The user provides the LAN header and data portion. The user must leave room for the DLC header provided by the protocol driver. The first buffer must contain only the LAN header. |
LLC_TRANSMIT_TEST_CMD |
The adapter provides the DLC header. The application program provides the LAN header and the optional test information. The first buffer must contain only the LAN header. |