HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
STOP_PORT
secondary_rc
Possible values are:
AP_LINK_NOT_DEFD
The ls_name parameter did not match the name of a dened LS.
AP_UNRECOGNIZED_DEACT_TYPE
The stop_type parameter was not set to a valid value.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.191.5 Returned Parameters: State Check
If the verb does not execute because of a state error, SNAplus2 returns the following parameters.
primary_rc
AP_STATE_CHECK
secondary_rc
AP_LINK_DEACT_IN_PROGRESS
The specied LS is already in the process of being deactivated.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_STATE_CHECK
, which
are common to all NOF verbs.
3.191.6 Returned Parameters: Cancelled
If the verb does not execute because it was cancelled, SNAplus2 returns the following parameters.
primary_rc
AP_CANCELLED
The stop_type parameter specied an orderly stop, but the LS was then stopped by a second verb
specifying an immediate stop or by a failure condition.
3.191.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.192 STOP_PORT
STOP_PORT allows the application to stop a port. This also stops any active LSs that are using the port.
This verb must be issued to a running node.
3.192.1 VCB Structure
typedef struct stop_port
{
AP_UINT16 opcode; /* verb operation code */
747