HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_PORT
A value of 0xFFFF indicates an unlimited retry count. A value of 0x0001 indicates that an outage should
be generated after the first timer expiry.
link_conn_timer
The link connection timeout together with the retry limit corresponds to the time interval after which SNAplus2
fails an attempt to activate an LS because it has not detected that DSR has been raised. The timer is speci
fied
in milliseconds.
link_conn_timer_retry
The link connection retry limit specifies the number of times to test for link connection before failing an
attempt to activate an LS.
A value of 0xFFFF indicates an unlimited retry count. A value of 0x0001 indicates that an outage should
be generated after the first timer expiry.
pri_fdplx
Specifies whether the primary SDLC station on this link supports full duplex. Possible values are:
AP_YES
The primary station supports full-duplex. FULL_DUPLEX in the stub_spec_data.opt1 parameter below
must also be set.
AP_NO
The primary station does not support full-duplex.
sec_fdplx
Specifies whether the secondary station(s) on the link is (are) full duplex. Possible values are:
AP_YES
The secondary station supports full-duplex. FULL_DUPLEX in the stub_spec_data.opt1 parameter
below must also be set.
AP_NO
The secondary station does not support full-duplex.
If both pri_fdplx and sec_fdplx are set, then the primary can transmit to the secondary even when the secondary has
the poll bit. If pri_fdplx then the primary can transmit to one secondary when another secondary has the poll bit.
A secondary itself can only transmit when it has the poll bit even when the primary and secondary are full duplex.
use_rej
Specifies whether SNAplus2 can send a REJ frame on receiving an I-frame with a sequence number that is
not valid on this port. (SNAplus2 always accepts a REJ frame, regardless of the setting of this parameter.)
Possible values are:
AP_YES
SNAplus2 can send a REJ frame.
AP_NO
SNAplus2 cannot send a REJ frame; instead, it requests retransmission of frames through RR, RNR or
I-frames.
Use of REJ is only beneficial when full duplex protocol operation is being used. Some SDLC stations may
not recognize the REJ command; to connect to them, the value AP_NO must be set.
port_type
Type of the port.
241