User guide
9: Client Applications — Commands and Responses
DC 900-1338I 179
9.2.7.2 Requesting Link Statistics From the ICP
The get statistics command requests a configuration report for a particular link. The ICP
maintains a set of statistics for each link that keeps track of events occurring on each
ICP physical port.
To request the statistics on an ICP link, the client sends a message with the optional
arguments structure shown in Figure 9–15. There is no data area for a link statistics
request.
At the ICP, the fields of the ICP and protocol headers that the ICP receives contain the
following values:
ICP_HDR
count = size of protocol header (16 bytes)
command = DLI_ICP_CMD_WRITE
status = high bits indicate byte ordering
DLI_OPT_ARGS.usFWPacketType FW_DATA
DLI_OPT_ARGS.usFWCommand FW_ICP_WRITE
DLI_OPT_ARGS.usFWStatus n/a
DLI_OPT_ARGS.usICPClientID n/a
DLI_OPT_ARGS.usICPServerID n/a
DLI_OPT_ARGS.usICPCommand DLI_ICP_CMD_WRITE
DLI_OPT_ARGS.iICPStatus n/a
DLI_OPT_ARGS.usICPParms [0] n/a
DLI_OPT_ARGS.usICPParms [1] n/a
DLI_OPT_ARGS.usICPParms [2] n/a
DLI_OPT_ARGS.usProtCommand DLI_PROT_GET_STATISTICS_REPORT
DLI_OPT_ARGS.iProtModifier n/a
DLI_OPT_ARGS.usProtLinkID Link ICP is to report on.
DLI_OPT_ARGS.usProtCircuitID n/a
DLI_OPT_ARGS.usProtSessionID Session ID (See attach, Section 9.2.3 on page 164)
DLI_OPT_ARGS.usProtSequence n/a
DLI_OPT_ARGS.usProtXParms [0] n/a
DLI_OPT_ARGS.usProtXParms [1] n/a
Figure 9–15: Request Link Statistics Command Format