HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_LS
If adj_cp_type is set to AP_BACK_LEVEL_LEN_NODE, SNAplus2 uses this value only as an identifier; set
it to any string (of the format described below) that does not match other CP names defined at this node.
If adj_cp_type is set to any other value, or if preassigned TG numbers are not being used, there is no need
to specify this parameter; SNAplus2 will check the CP name only if one is specified.
The name is a 17-byte EBCDIC string, padded on the right with EBCDIC spaces. It consists of a network ID
of 1–8 A-string characters, an EBCDIC dot (period) character, and a network name of 1–8 A-string characters.
def_data.adj_cp_type
Adjacent node type.
If the adjacent node is an APPN node, and preassigned TG numbers are not being used, this is normally
set to AP_APPN_NODE, indicating that the node type is unknown; SNAplus2 will determine the type during
XID exchange.
If preassigned TG numbers are being used, you must specify the node type explicitly. You can also specify
it as an additional security check if preassigned TG numbers are not being used. In this case, SNAplus2 will
reject a connection attempt from the adjacent node if its node type does not match the one speci
fied here.
Use one of the following values:
AP_APPN_NODE
The node type is unknown. SNAplus2 will determine the type during XID exchange.
AP_END_NODE
End node, Branch Network Node acting as an End Node from the local node’s perspective, or up-level
LEN node (one that includes the Network Name CV in its XID3).
AP_NETWORK_NODE
Network node, or Branch Network Node acting as a Network Node from the local node’s perspective.
If the adjacent node is not an APPN node, use one of the following values. These values are not valid for an
Enterprise Extender link, which must be to an APPN node.
AP_BACK_LEVEL_LEN_NODE
Back-level LEN node (one that does not include the Network Name CV in its XID3).
AP_HOST_XID3
Host node; SNAplus2 should respond to a polling XID from the node with a format 3 XID.
AP_HOST_XID0
Host node; SNAplus2 should respond to a polling XID from the node with a format 0 XID.
AP_DSPU_XID
Downstream PU; SNAplus2 should include XID exchange in link activation. The dspu_name and
dspu_services fields must also be set.
AP_DSPU_NOXID
Downstream PU; SNAplus2 should not include XID exchange in link activation. The dspu_name and
dspu_services fields must also be set.
If you want to run independent LU 6.2 traffic over this LS, you must set the adj_cp_type parameter to
AP_APPN_NODE, AP_END_NODE, AP_NETWORK_NODE,orAP_BACK_LEVEL_LEN_NODE.
def_data.dest_address.format
The type of link address specified. Possible values:
AP_IP_ADDRESS_INFO
173