HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_PORT
• Run the command netstat ---i on the server where the card is installed.
• Check the Network column in the output data to find the appropriate IP subnet for this link. The Name
column in the same row of the output data contains the identifier to be used in this parameter.
3.39.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.39.4 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 was not valid.
AP_INVALID_DLC_NAME
The specified dlc_name did not match any defined DLC.
AP_INVALID_PORT_TYPE
The port_type parameter was not set to a valid value.
AP_INVALID_BTU_SIZE
The max_rcv_btu_size parameter was not set to a valid value.
AP_INVALID_LS_ROLE
The ls_role parameter was not set to a valid value.
AP_INVALID_LINK_ACTIVE_LIMIT
One of the activation limit parameters was not set to a valid value.
AP_INVALID_MAX_IFRM_RCVD
The max_ifrm_rcvd parameter was not set to a valid value.
AP_INVALID_LS_ROLE
The ls_role parameter was not set to a valid value.
AP_INVALID_DSPU_SERVICES
The implicit_dspu_services parameter was not set to a valid value.
AP_PU_CONC_NOT_SUPPORTED
The implicit_dspu_services parameter was set to a reserved value.
AP_INVALID_TEMPLATE_NAME
The DSPU template specified on the implicit_dspu_template parameter was not valid.
AP_UNKNOWN_IP_HOST
The string specified for the remote_hostname parameter could not be resolved to a valid IP address.
AP_INVALID_SHARING_PROHIBITED
245