HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_PORT
Chapter 3360
stub_spec_data.linesp
The line speed for the line used on this port. For
example, 2400 (0x00000960) for a 2400 baud line. Valid
values are in the range 600-38400 baud. The exact
meaning of this parameter depends on the value set on
the
physical_link
parameter.
•If
physical_link
is set to SDLC_PL_X21, then the
stub_spec_data.linesp
parameter is ignored.
•If
physical_link
is set to SDLC_PL_V25 or
SDLC_PL_SMART_MODEM, then the value of the
stub_spec_data.linesp
parameteristhespeed at
which the dial string is sent to the modem.
•If
physical_link
is set to any other value, then
the value of the
stub_spec_data.linesp
parameter is the speed of data transfer, only valid
if external clocking is specified.
stub_spec_data.rcv_pool_size
The initial number of buffers reserved for receiving
data on the port. Set this to the value 4.
stub_spec_data.poll_wait
The number of seconds for which the port waits
between successive polls of the line for errors or for
raising of DSR. A suitable value is 1 second. Increase
this value for better throughput if there is only small
likelihood of line errors and the line is leased.
stub_spec_data.hmod_data_len
Length of the dial data string that follows (in the
hmod_data
parameter). If no dial data is specified, set
this parameter to zero.
stub_spec_data.hmod_data
Dial data for incoming calls. (The dial string used to
initiate outgoing calls is specified in the LS definition.)
This parameter applies only to switched links; it is
reserved if the port is defined to be nonswitched.