HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_LS
AP_NO
Include the Network Name CV in the XID.
AP_SUPPRESS_CP_NAME
Do not include the Network Name CV.
If adj_cp_type is set to any other value, this parameter is ignored.
def_data.adj_node_id
Node ID of adjacent node. This is a 4-byte hexadecimal string, consisting of a block number (three
hexadecimal digits) and a node number (ve hexadecimal digits). Set it to zeros to disable node ID checking.
If this link station is dened on a switched port, the node_id must be unique, and there may only be one null
node_id on each switched port.
def_data.local_node_id
Node ID sent in XIDs on this LS. This is a 4-byte hexadecimal string, consisting of a block number (3
hexadecimal digits) and a node number (5 hexadecimal digits). Set it to zeros to use the node ID speci
ed
in the DEFINE_NODE verb.
def_data.cp_cp_sess_support
Species whether CP-CP sessions are supported. This parameter is valid only if the adjacent node is an end
node or network node (adj_cp_type is
AP_NETWORK_NODE, AP_END_NODE,orAP_APPN_NODE); it is
ignored otherwise. If both the local node and the adjacent node are network nodes, this parameter should be
set to AP_YES in order to use APPN functions between these nodes.
Possible values are:
AP_YES
CP-CP sessions are supported. The solicit_sscp_sessions parameter must be set to AP_NO.
AP_NO
CP-CP sessions are not supported.
def_data.use_default_tg_chars
Species whether the default TG characteristics supplied on the DEFINE_PORT verb should be used. The
TG characteristics apply only if the link is to an APPN node; this parameter, and the parameters in the
tg_chars
structure, are ignored otherwise. Possible values are:
AP_YES
Use the default TG characteristics; ignore the
tg_chars structure on this verb.
AP_NO
Use the
tg_chars structure on this verb.
def_data.tg_chars.effect_cap
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.
def_data.tg_chars.connect_cost
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.
def_data.tg_chars.byte_cost
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.
179