HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_DLC
AP_PARAMETER_CHECK
secondary_rc
Possible values are:
AP_INVALID_FQ_OWNING_CP_NAME
The parent_name parameter did not match the name of a defined resource.
AP_INVALID_LU_NAME
The resource_name parameter contained a character that was not valid or was not in the correct format.
AP_INVALID_RESOURCE_TYPE
The resource_type parameter was not set to a valid value.
AP_INVALID_WILDCARD_NAME
The resource_type parameter was set to
AP_WILDCARD_LU_RESOURCE, but the resource_name
parameter did not contain a valid wildcard entry.
AP_DUPLICATE
The resource_name parameter contained a wildcard entry that has already been defined.
AP_INVALID_RESOURCE_NAME
The resource_name parameter specified a node name that clashed with the name of the node to which
the verb was issued.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
3.18.5 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.19 DEFINE_DLC
DEFINE_DLC defines a new DLC. It can also be used to modify the DLC-specific parameters of an existing DLC,
if the DLC is not currently active, but other parameters (such as DLC type, negotiable link support and the valid
port types) cannot be modified.
3.19.1 VCB Structure
typedef struct define_dlc
{
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 dlc_name[8]; /* name of DLC */
DLC_DEF_DATA def_data; /* DLC defined data */
} DEFINE_DLC;
typedef struct dlc_def_data
{
129