HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_PORT
bit 5
Monitor DCD (do not monitor if not set)
bit 4
Stream flags on the line (do not stream if not set)
bits 3–0
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 600–38400 baud.
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.
This is an ASCII string, specifying the dial string that must be passed to the modem to instruct it to respond
to incoming calls.
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.
Port-specific data for QLLC:
mux_info.dlc_type
Type of the DLC. Set this to AP_IMPL_NLI_QLLC.
cud_mode
Specifies the type of matching required between the Call User Data (CUD) supplied on an incoming call and
the cud parameter below. Possible values are:
VQL_DONTCARE
CUD on incoming calls is not checked.
VQL_IDENTITY
The received CUD must match the string specified in the cud parameter.
VQL_STARTSWITH
The initial bytes (up to cud_len) of the received CUD must match the string specified in the cud
parameter; any bytes following cud_len are not checked.
243