HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (REGISTER_INDICATION_SINK to UNREGISTER_INDICATION_SINK)
STOP_PORT
Chapter 5 1097
Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following
parameters:
primary_rc
AP_OK
Returned Parameters: Parameter Check
If the verb does not execute because of a parameter error, SNAplus2
returns the following parameters:
primary_rc
AP_PARAMETER_CHECK
secondary_rc
Possible values are:
AP_INVALID_PORT_NAME
The
port_name
parameter did not
match the name of a defined port.
AP_UNRECOGNIZED_DEACT_TYPE
The
stop_type
parameter was not
set to a valid value.
Appendix A, “Common Return Codes,” lists further secondary return
codes associated with AP_PARAMETER_CHECK, which are common to all
NOF verbs.
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_STOP_PORT_PENDING
The specified port is already in the
process of being deactivated.
Appendix A, “Common Return Codes,” lists further secondary return
codes associated with AP_STATE_CHECK, which are common to all NOF
verbs.