HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_PORT
For details of these parameters, see Section 3.29, DEFINE_LS.
def_data.port_spec_data_len
Length of port-specic data. The data should be concatenated to the basic VCB structure.
def_data.link_spec_data_len
Length of link-specic data. The link-specic data should be concatenated immediately following the port-
specic data.
For details of these parameters, see Section 3.29, DEFINE_LS; the values specied on DEFINE_PORT are
used as defaults for processing incoming calls (when the LS name is not initially known).
For SDLC, the parameters in the
stub_spec_data structure within this structure are reserved.
Port-specic data for SDLC:
mux_info.dlc_type
Type of the DLC. Set this to AP_IMPL_SDLC_SL
idle_timer
Timer used to detect a completely inactive line. The line is considered idle when nothing (not even frame
data that is not valid) has been received in this time. The timer is specied in milliseconds.
idle_timer_retry
Number of times to rerun the idle timer before failure. This is used in conjunction with idle_timer to provide
the overall idle timeout period. This should be longer than either the nonproductive receive timer or the
contact and disconnect timers.
A value of 0xFFFF indicates an unlimited retry count. A value of 0x0001 indicates that an outage should
be generated after the rst timer expiry.
np_rcv_timer
For SDLC secondary, the nonproductive receive timeout corresponds to the time allowed for receipt of a valid
frame from the primary. This is usually set in conjunction with the retry limit to give a long timeout before
outage (such as 60). The timer is specied in milliseconds.
np_rcv_timer_retry
The nonproductive receive retry limit is used in conjunction with the timeout value to provide the overall time
before an outage message is issued.
A value of 0xFFFF indicates an unlimited retry count. A value of 0x0001 indicates that an outage should
be generated after the rst timer expiry.
np_rcv_timer_fail
Flag to enable a x for multi-drop secondary SDLC. Set this to AP_YES.
write_timer
The write timer is the maximum time allowed to transmit a complete frame. If the DLC associated with this
port uses the Eicon PCI card, SNAplus2 cannot time the transmission of a frame, so this parameter is not
used.
This parameter is usually set in conjunction with the value of the write_timer_retry parameter to give a long
timeout of about 30 seconds before the port is assumed to have failed. The timer is specied in milliseconds.
write_timer_retry
The write timer retry limit is used in conjunction with the value of the write_timer parameter to provide the
overall time before the port is assumed to have failed. If the DLC associated with this port uses the Eicon
PCI card, SNAplus2 cannot time the transmission of a frame, so this parameter is not used.
240