HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_COS_TG_ROW
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;
typedef struct tg_defined_chars
{
unsigned char effect_cap; /* Effective capacity */
unsigned char reserve1[5]; /* Reserved */
unsigned char connect_cost; /* Connection Cost */
unsigned char byte_cost; /* Byte cost */
unsigned char reserve2; /* Reserved */
unsigned char security; /* Security */
unsigned char prop_delay; /* Propagation delay */
unsigned char modem_class; /* reserved */
unsigned char user_def_parm_1; /* User-defined parameter 1 */
unsigned char user_def_parm_2; /* User-defined parameter 2 */
unsigned char user_def_parm_3; /* User-defined parameter 3 */
} TG_DEFINED_CHARS;
3.102.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_COS_TG_ROW
buf_ptr
A pointer to a data buffer that SNAplus2 will use to return the requested information.
buf_size
Size of the supplied data buffer.
num_entries
Maximum number of COS TG rows for which data should be returned. To request data for a specic COS
TG row rather than a range, specify the value 1. To return as many entries as possible, specify zero; in this
case, SNAplus2 will return the maximum number of entries that can be accommodated in the supplied data
buffer.
list_options
The position in the list of COS TG rows from which SNAplus2 should begin to return data. Possible values
are:
AP_FIRST_IN_LIST
377