HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
STOP_DLC
A STOP_PORT verb was issued before this verb had completed. The START_PORT verb was cancelled.
3.188.7 Returned Parameters: Other Conditions
Appendix B, Common Return Codes lists further combinations of primary and secondary return codes that are
common to all NOF verbs.
3.189 STOP_DLC
STOP_DLC requests SNAplus2 to stop a DLC; this also stops any active ports and LSs that use the DLC.
This verb must be issued to a running node.
3.189.1 VCB Structure
typedef struct stop_dlc
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char stop_type; /* stop type */
unsigned char dlc_name[8]; /* name of DLC */
} STOP_DLC;
3.189.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_STOP_DLC
stop_type
Type of stop processing required. Possible values are:
AP_ORDERLY_STOP
SNAplus2 will perform cleanup operations before stopping the DLC.
AP_IMMEDIATE_STOP
SNAplus2 will stop the DLC immediately.
dlc_name
Name of DLC to be stopped. This is an 8-byte ASCII string, padded on the right with spaces if the name is
shorter than 8 bytes, which must already have been defined by a DEFINE_DLC verb.
3.189.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
742