HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_PORT
Chapter 3358
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.
If
def_data.port_type
above is AP_NONSWITCHED, set
this parameter to AP_PORT_LEASED.
For a switched line (
def_data.port_type
is
AP_SWITCHED):
If the port is used for outgoing calls
(
inb_link_act_lim
is zero), set this parameter to
AP_PORT_SW_DIAL (Dial-out capabilities).
If the port is used for incoming calls
(
out_link_act_lim
is zero), set this parameter to
AP_PORT_SW_ANSWER (Answer capabilities).
If the switched line's dial-out or answercapabilities are
manual, not automatic, combine the value above (using
a logical OR) with AP_PORT_SW_MAN.
max_xid_size
The maximum size of an XID that will be sent or
received on this link. This field is present to help
minimize buffer usage. A safe absolute maximum is
256 bytes.
max_retry_count
The maximum number of times that a frame or group
of frames may be retransmitted on this port before a
problem is diagnosed. Usually set to about 5.