HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_LS
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.29.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
Possible values are:
AP_DUPLICATE_CP_NAME
A link to the CP name specied in the adj_cp_name parameter has already been dened.
AP_DUPLICATE_DEST_ADDR
A link to the destination address specied in the address parameter has already been dened.
For LLC2 link types: A link to the destination address specied by the combination of the mac_address
and lsap_address parameters has already been dened.
AP_DUPLICATE_ADJ_NODE_ID
The adj_node_id (node ID of adjacent node) has already been dened in another link station.
AP_INVALID_LINK_NAME
The link station value specied in the ls_name parameter was not valid.
AP_INVALID_NUM_LS_SPECIFIED
The number of link stations specied was not valid.
AP_LOCAL_CP_NAME
The name specied for the adj_cp_name parameter is identical to the local CP name.
AP_LS_ACTIVE
The link station specied in the ls_name parameter is currently active.
AP_PU_ALREADY_DEFINED
The PU specied in the pu_name parameter has already been dened.
AP_DSPU_ALREADY_DEFINED
The downstream PU specied in the dspu_name parameter has already been dened.
AP_DSPU_SERVICES_NOT_SUPPORTED
AP_PU_CONCENTRATIONor AP_DLUR has been specied on the dspu_services parameter, but the
node does not support it.
AP_DUPLICATE_TG_NUMBER
The TG number specied in the tg_number parameter has already been dened.
AP_TG_NUMBER_IN_USE
The TG number specied for the tg_number parameter is already being used by another LS.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_STATE_CHECK, which
are common to all NOF verbs.
3.29.6 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.
192