HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_COS
maximum characteristics dened for each TG row. The TG is then assigned the weight of the rst TG row
which bounds all the TGs characteristics within the limits specied. If the TG characteristics do not satisfy
any of the listed TG rows, the TG is considered unsuitable for this COS, and is assigned an innite weight.
The TG rows must be concatenated in ascending order of weight.
cos_tg_row.minimum.effect_cap
Minimum limit for actual bits per second rate (line speed). The value is encoded as a 1-byte oating
point number, represented by the formula 0.1 mmm * 2
eeeee
where the bit representation of the byte is
beeeeemmm. Each unit of effective capacity is equal to 300 bits per second.
cos_tg_row.minimum.connect_cost
Minimum limit for cost per connect time. Valid values are integer values in the range
0255, where 0 is the
lowest cost per connect time and 255 is the highest.
cos_tg_row.minimum.byte_cost
Minimum limit for cost per byte. Valid values are integer values in the range 0255, where 0 is the lowest
cost per byte and 255 is the highest.
cos_tg_row.minimum.security
Minimum level of security. Possible values are:
AP_SEC_NONSECURE
No security.
AP_SEC_PUBLIC_SWITCHED_NETWORK
Data is transmitted over a public switched network.
AP_SEC_UNDERGROUND_CABLE
Data is transmitted over secure underground cable.
AP_SEC_SECURE_CONDUIT
Data is transmitted over a line in a secure conduit that is not guarded.
AP_SEC_GUARDED_CONDUIT
Data is transmitted over a line in a conduit that is protected against physical tapping.
AP_SEC_ENCRYPTED
Data is encrypted before transmission over the line.
AP_SEC_GUARDED_RADIATION
Data is transmitted over a line that is protected against physical and radiation tapping.
cos_tg_row.minimum.prop_delay
Minimum limits for propagation delay: the time that a signal takes to travel the length of the link. Specify
one of the following values, according to the type of link:
AP_PROP_DELAY_MINIMUM
Minimum propagation delay.
AP_PROP_DELAY_LAN
Delay is less than 480 microseconds (typical for a LAN).
AP_PROP_DELAY_TELEPHONE
Delay is in the range 48049,512 microseconds (typical for a telephone network).
117