Installation guide

64 DC 900-1564A
Synchronous Link Control (SLC) Programmer’s Guide
5.3 Configure Link (Master or Control Access Mode Only)
Table 5–5 shows the DLI_PROT_CFG_LINK header format. See Section 4.2.3 on page 36 for
a functional description and information regarding the associated data area.
a
Requirements for non-DLI calls: ICP Header fields must be in network byte-order, Protocol
Header fields must be in client byte order, and the ICP Header
usICPCount field is required.
b
When iICPStatus contains a negative error code, usProtXParms[0] and usProtXParms[1] report
the invalid configuration item number and value.
Table 5–5: DLI_PROT_CFG_LINK Header Format
Field Command Value (Write) Response Value (Read)
Freeway Header (network byte-order; used in DLI calls only):
usFWPacketType = FW_DATA = FW_DATA
usFWCommand = FW_ICP_WRITE = FW_ICP_READ
usFWStatus = 0 = 0
ICP Header
a
usICPClientID = 0 = 0
usICPServerID = 0 = 0
a
usICPCount = 16 + data size (non-DLI calls
only)
= 16 + data size (non-DLI calls only)
usICPCommand = DLI_PROT_CFG_LINK = DLI_PROT_CFG_LINK
iICPStatus = Client memory order
(Table 5–2 on page 61)
= DLI_ICP_CMD_STATUS_OK or
negative error code (slc_errs.h file)
usICPParms[0] = 0 = ICP return node from Attach cmd
usICPParms[1] = 0 = 0
usICPParms[2] = 0 = 0
Protocol Header
a
usProtCommand = DLI_PROT_CFG_LINK = DLI_PROT_CFG_LINK
iProtModifier = 0 = 0
usProtLinkID = Link number = Link number
usProtCircuitID = 0 = 0
usProtSessionID = Session ID from Attach response = Session ID from Attach response
usProtSequence = 0 = 0
usProtXParms[0] = 0 = 0
b
usProtXParms[1] = 0 = 0
b