HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_COS_TG_ROW
Chapter 4 571
QUERY_COS_TG_ROW
QUERY_COS_TG_ROW returns TG 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 TG row,
or about multiple COS TG rows, depending on the options used.
VCB Structure
typedef struct query_cos_tg_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 tg_row_index; /* TG row index */
} QUERY_COS_TG_ROW;
typedef struct cos_tg_row_data
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char cos_name[8]; /* cos name */
AP_UINT16 tg_row_index; /* TG row index */
COS_TG_ROW tg_row; /* TG row information */
} COS_TG_ROW_DATA;
typedef struct cos_tg_row
{
TG_DEFINED_CHARS minimum; /* minimum */
TG_DEFINED_CHARS maximum; /* maximum */
unsigned char weight; /* weight */
unsigned char reserv1; /* reserved */
} COS_TG_ROW;