HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_PORT
A null-terminated text string (0–31 characters followed by a null character) describing the port. This string
is for information only; it is stored in the node’s configuration file and returned on the QUERY_PORT verb,
but SNAplus2 does not make any other use of it.
def_data.initially_active
Specifies whether this port is automatically started when the node is started. Possible values are:
AP_YES
The port is automatically started when the node is started.
AP_NO
The port is automatically started only if an LS that uses it is defined to be initially active; otherwise it
must be started manually.
def_data.dlc_name
Name of associated DLC. This is an 8-byte ASCII string, using any locally displayable characters, padded on
the right with spaces if the name is shorter than 8 bytes. The specified DLC must have already been defined
by a DEFINE_DLC verb.
def_data.port_type
Type of line used by the port.
For SDLC, the following values are allowed:
AP_PORT_SWITCHED
Switched line.
AP_PORT_NONSWITCHED
Nonswitched line.
For QLLC, this parameter must be set to AP_PORT_SWITCHED.
For Token Ring / Ethernet / FDDI, this parameter must be set to AP_PORT_SATF (shared access transport
facility).
For Enterprise Extender (HPR/IP), this parameter must be set to AP_PORT_SATF (shared access transport
facility).
def_data.port_attributes
This is a one-bit parameter that may take the following values:
AP_NO
Incoming calls are resolved by CP name.
AP_RESOLVE_BY_LINK_ADDRESS
This specifies that an attempt is made to resolve incoming calls by using the link address on
CONNECT_IN before using the CP name (or node ID) carried on the received XID3 to resolve them.
This bit is ignored unless the port_type parameter is set to AP_PORT_SWITCHED.
def_data.implicit_uplink_to_en
This parameter applies only if the local node is a Branch Network Node; it is reserved if the local node is
any other type.
If the adjacent node is an end node, this parameter specifies whether implicit link stations off this port are
uplink or downlink. This parameter is ignored if there are existing links to the same adjacent node, because
in this case the existing links are used to determine the link type. Possible values are:
AP_YES
235