HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_NN_TOPOLOGY_STATS
The list_options parameter was set to AP_LIST_INCLUSIVE to list all entries starting from the
supplied name, but the node_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.141.5 Returned Parameters: Function Not Supported
If the verb does not execute successfully because the local node is not a network node, SNAplus2 returns the
following parameters:
primary_rc
AP_FUNCTION_NOT_SUPPORTED
The local node is not a network node. This verb can be used only at a network node.
3.141.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.142 QUERY_NN_TOPOLOGY_STATS
QUERY_NN_TOPOLOGY_STATS returns statistical information about the topology database. It can be used only
if the SNAplus2 node is a network node, and is not valid if it is an end node.
This verb must be issued to a running node.
3.142.1 VCB Structure
typedef struct query_nn_topology_stats
{
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 */
AP_UINT32 max_nodes; /* max number of nodes in database */
AP_UINT32 cur_num_nodes; /* current number of nodes in */
/* database */
AP_UINT32 node_in_tdus; /* number of TDUs received */
AP_UINT32 node_out_tdus; /* number of TDUs sent */
AP_UINT32 node_low_rsns; /* node updates received with low */
/* RSNs */
AP_UINT32 node_equal_rsns; /* node updates in with equal RSNs */
AP_UINT32 node_good_high_rsns; /* node updates in with high RSNs */
AP_UINT32 node_bad_high_rsns; /* node updates in with high and */
/* odd RSNs */
AP_UINT32 node_state_updates; /* number of node updates sent */
AP_UINT32 node_errors; /* number of node entry errors found*/
AP_UINT32 node_timer_updates; /* number of node records built */
565