HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_DLUR_DEFAULTS
3.19.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_DLC_ACTIVE
The specified DLC cannot be modified because it is currently active.
AP_INVALID_DLC_TYPE
You cannot change the DLC type, negotiable link support, or supported port types for an existing DLC.
They can be specified only when creating a new DLC.
Appendix B,
Common Return Codes lists further secondary return codes associated with
AP_STATE_CHECK
, which
are common to all NOF verbs.
3.19.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.
3.20 DEFINE_DLUR_DEFAULTS
DEFINE_DLUR_DEFAULTS defines a default Dependent LU server (DLUS) and a backup default DLUS; if a
default DLUS or backup default DLUS is already defined, the verb overrides the existing definition. The default
DLUS name is used by DLUR when it initiates SSCP-PU activation for PUs that do not have an explicitly specified
associated DLUS. (To define a PU and its associated DLUS, use DEFINE_INTERNAL_PU for a local PU, or
DEFINE_LS for a downstream PU.)
The verb can also be used to revoke a default DLUS or backup default DLUS, so that none is defined.
3.20.1 VCB Structure
typedef struct define_dlur_defaults
{
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 description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char dlus_name[17]; /* DLUS name */
unsigned char bkup_dlus_name[17]; /* Backup DLUS name */
unsigned char reserv3; /* reserved */
unsigned char dlus_retry_timeout; /* retry timeout */
unsigned char dlus_retry_limit; /* retry limit */
unsigned char prefer_active_dlus; /* retry using active DLUS */
unsigned char persistent_pipe_support; /* reserved */
unsigned char reserv4[14]; /* reserved */
136