HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_LS
4-wire connection (2 wire connection if not set).
bit 6
Use NRZI (NRZ if not set)
bit 4
Line is full-duplex (half-duplex if not set)
The remaining bits are reserved.
stub_spec_data.opt2
Reserved.
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 60038,400 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 parameter is the speed 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 specied.
stub_spec_data.rcv_pool_size
Reserved.
stub_spec_data.poll_wait
Reserved.
stub_spec_data.hmod_data_len
Length of the dial data string that follows (in the hmod_data parameter). If no dial data is specied, set this
parameter to zero.
stub_spec_data.hmod_data
Dial data for outgoing calls. This parameter applies only to switched links; it is reserved if the port associated
with this LS is dened to be nonswitched.
This is an ASCII string, specifying the dial data to be passed to the modem to initiate the call.
The dial data may need to contain non-printable control characters; for example, it may have to be terminated
with a carriage return, equivalent to pressing the
[Enter]
key. In this case, include the hexadecimal value of
the control character in the string (for example, 0x0D for a carriage return). For details of the hexadecimal
values you can use to represent control characters, see Section 3.29.8, Modem Control Characters.
Support for dial data depends on the SDLC adapter and modem that you are using; if they do not support
dial data, set this parameter to a null string.
Link-specic data for QLLC:
mux_info.dlc_type
Type of the DLC. Set this to AP_IMPL_NLI_QLLC.
vc_type
The Virtual Circuit type of the LS. Possible values are:
VQL_SVC
Switched Virtual Circuit
185