Installation guide
60 DC 900-1564A
Synchronous Link Control (SLC) Programmer’s Guide
Note
The usICPCount field in the ICP header is unique to non-DLI calls.
It is not used in DLI calls.
typedef struct _ICP_PACKET
{
ICP_HDR icp_hdr; /* Network-ordered header */
PROT_HDR prot_hdr; /* Host-ordered header */
char *data; /* Variable length data array */
} ICP_PACKET;
typedef struct _ICP_HDR
{
unsigned short usICPClientID; /* Old su_id */
unsigned short usICPServerID; /* Old sp_id */
unsigned short usICPCount; /* Size of PROT_HDR plus data */
/* (Used only in non-DLI calls) */
unsigned short usICPCommand; /* ICP's command */
short iICPStatus; /* ICP's command status */
unsigned short usICPParms[3]; /* ICP's extra parameters */
} ICP_HDR;
typedef struct _PROT_HDR
{
unsigned short usProtCommand; /* Protocol command */
short iProtModifier; /* Protocol command's modifier */
unsigned short usProtLinkID; /* Protocol link ID */
unsigned short usProtCircuitID; /* Protocol circuit ID */
unsigned short usProtSessionID; /* Protocol session ID */
unsigned short usProtSequence; /* Protocol sequence */
unsigned short usProtXParms[2]; /* Protocol extra parameters */
} PROT_HDR;
Figure 5–2: “C” Definition of ICP Packet Structure (Driver Calls)