The DLC_QUERY_LS ioctl operation is selectable through the fp_ioctl kernel service or the ioctl subroutine. It can be called from the process environment only.
The following parameter block queries statistics of a particular link station (LS):
The fields of this ioctl operation are:
Field | Description |
---|---|
gdlc_sap_corr | Specifies the generic data link control (GDLC) service access point (SAP) correlator of the target LS. |
gdlc_ls_corr | Specifies the GDLC LS correlator to be queried. |
user_sap_corr | Specifies the user SAP correlator returned for routing purposes. |
user_ls_corr | Specifies the user LS correlator, that is the user LS identifier returned for routing purposes. |
ls_diag | Contains the link station (LS) diagnostic tag. Indicates the ASCII character string tag passed to GDLC at the DLC_START_LS ioctl operation to identify the station being queried. For example, SNA services puts the attachment profile name in this field. |
ls_state | Contains the current state of this LS: |
ls_sub_state | Contains the current substate of this LS. Several indicators may
be active concurrently.
|
counters | Contains link station reliability/availability/serviceability counters.
These 14 reliability/availability/serviceability counters are shown as an
example only. Each GDLC device manager provides as many of these counters
as necessary to diagnose specific network problems for its protocol type.
|
protodd_len | Indicates length of protocol-dependent data. This field contains the byte length of the following area. |
The protocol-dependent data contains any additional statistics that a particular GDLC device manager might provide. See the individual GDLC specifications for information on the specific fields returned. This optional data area must directly follow (or append to) the end of the dlc_qls_arg structure.