HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_DLC
dlc_summary.state
State of the DLC. This is one of the following:
AP_ACTIVE
The DLC is active.
AP_NOT_ACTIVE
The DLC is not active.
AP_PENDING_INACTIVE
STOP_DLC is in progress.
dlc_summary.dlc_type
Type of DLC. This is one of the following:
AP_SDLC
SDLC
AP_X25
QLLC
AP_TR
Token Ring
AP_ETHERNET
Ethernet
AP_FDDI
FDDI
AP_IP
Enterprise Extender (HPR/IP)
dlc_detail.overlay_size
The size of the returned
dlc_detail structure, and therefore the offset to the start of the next entry in the data
buffer.
When your application needs to go through the returned buffer to find each
dlc_detail structure in turn, it must
use this value to move to the correct offset for the next data structure, and must not use the C
sizeof()
operator. This is because the size of the returned overlay may increase in future releases of SNAplus2; using
the returned overlay size ensures that your application will continue to work with future releases.
dlc_detail.dlc_name
DLC name. The name is an 8-byte ASCII string, padded on the right with spaces if the name is shorter than
8 characters.
dlc_detail.det_data.state
State of the DLC. This is one of the following:
AP_ACTIVE
The DLC is active.
AP_NOT_ACTIVE
The DLC is not active.
AP_PENDING_INACTIVE
STOP_DLC is in progress.
dlc_detail.def_data.description
407