HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_COS
AP_END_CONV_STATE
AP_PEND_DEALL_STATE
AP_PEND_POST_STATE
AP_POST_ON_RECEIPT_STATE
AP_RECEIVE_STATE
AP_RESET_STATE
AP_SEND_STATE
AP_SEND_PENDING_STATE
3.99.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_BAD_CONV_ID
The list_options parameter was set to AP_LIST_INCLUSIVE to list all entries starting from the
supplied value, but the conv_id parameter was not valid.
AP_INVALID_LU_ALIAS
The specified lu_alias parameter was not valid.
AP_INVALID_LU_NAME
The specified lu_name parameter was not valid.
AP_INVALID_LIST_OPTION
The list_options parameter was not set to a valid value.
Appendix B, Common Return Codes lists further secondary return codes associated with
AP_PARAMETER_CHECK
,
which are common to all NOF verbs.
3.99.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.100 QUERY_COS
QUERY_COS returns route calculation information for a specific class of service (COS).
This verb can be used to obtain information about a specific COS or about multiple COSs, depending on the options
used.
3.100.1 VCB Structure
typedef struct query_cos
{
AP_UINT16 opcode; /* verb operation code */
369