HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_COS
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;
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;
typedef struct cos_node_status
{
unsigned char rar; /* route additional resistance*/
unsigned char status; /* node status */
unsigned char reserv1[2]; /* reserved */
} COS_NODE_STATUS;
3.14.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_COS
cos_name
Class of service name. This is an 8-byte alphanumeric type-A EBCDIC string (starting with a letter), padded
on the right with EBCDIC spaces.
description
A null-terminated text string (031 characters followed by a null character) describing the COS. This string
is for information only; it is stored in the nodes conguration le and returned on the QUERY_COS verb,
but SNAplus2 does not make any other use of it.
transmission_priority
Transmission priority. Possible values are:
AP_LOW
AP_MEDIUM
AP_HIGH
AP_NETWORK
num_of_node_rows
Number of node rows which follow the DEFINE_COS VCB (after the TG rows). The maximum is 8.
num_of_tg_rows
Number of TG rows which follow the DEFINE_COS VCB. The maximum is 8.
Each TG row contains a set of minimum TG characteristics, a set of maximum TG characteristics, and a
weight. When computing the weights for a TG, its characteristics are checked against the minimum and
116