HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_DLC
Type of the DLC. Possible values are:
AP_IMPL_TR_DLPI
Token Ring
AP_IMPL_ETHER_DLPI
Ethernet
AP_IMPL_FDDI_DLPI
FDDI
vdl_dlc_cfg.mux_info.card_type
Type of the adapter card. Possible values are:
AP_CARD_TOKEN_RING_DLPI
Token Ring
AP_CARD_ETHERNET_DLPI
Ethernet
AP_CARD_FDDI_DLPI
FDDI
vdl_dlc_cfg.mux_info.adapter_number
Adapter number used by the DLC.
This is the same as the “Card Instance Number” for the adapter card. To determine this number, run the
lanscan command on the server where the card is installed.
3.19.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
3.19.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_DLC_NAME
The supplied dlc_name parameter contained a character that was not valid.
AP_INVALID_DLC_TYPE
The supplied dlc_type parameter was not one of the allowed values.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK,
which are common to all NOF verbs.
135