HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_COS_NODE_ROW
Chapter 4564
QUERY_COS_NODE_ROW
QUERY_COS_NODE_ROW returns node row information for a specified
class of service as previously defined by DEFINE_COS (or implicitly by
the node for the SNA-defined COSs).
This verb can be used to obtain information about a specific COS node
row, or about multiple COS node rows, depending on the options used.
VCB Structure
typedef struct query_cos_node_row
{
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 *buf_ptr; /* pointer to buffer */
AP_UINT32 buf_size; /* buffer size */
AP_UINT32 total_buf_size; /* total buffer size required */
AP_UINT16 num_entries; /* number of entries */
AP_UINT16 total_num_entries; /* total number of entries */
unsigned char list_options; /* listing options */
unsigned char reserv3; /* reserved */
unsigned char cos_name[8]; /* cos name */
AP_UINT16 node_row_index; /* node row index */
} QUERY_COS_NODE_ROW;
typedef struct cos_node_row_data
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char cos_name[8]; /* cos name */
AP_UINT16 node_row_index; /* node row index */
COS_NODE_ROW node_row; /* cos node row information */
} COS_NODE_ROW_DATA;
typedef struct cos_node_row
{
COS_NODE_STATUS minimum; /* minimum */
COS_NODE_STATUS maximum; /* maximum */
unsigned char weight; /* weight */
unsigned char reserv1; /* reserved */
} COS_NODE_ROW;