HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_PORT
Chapter 3 359
stub_spec_data_len
Length of the Stub specific data that follows. Set this to
size of (STUB_SPEC_DATA).
stub_spec_data.opt1
HMOD port options flag 1. Set the appropriate bits of
this field as follows (bit 7 is the most significant bit):
bit 7
4-wire connection (2 wire connection
if not set).
bit 6
Use NRZI (NRZ if not set).
bit 5
Reserved (must be set to 0).
bit 4
Line is full-duplex (half-duplex if not
set). This bit must be set if either
pri_fdplx
or
sec_fdplx
above is set
to AP_YES.
bit 3
Internal line speed clocking (external
if not set). This option may be ignored
if the underlying SDLC hardware
supports only external clocking.
bit 2
Use DMA to transfer data to and
from the communications card (do not
use DMA if not set).
bits 1, 0
Reserved (must be set to 0).
stub_spec_data.opt2
HMOD port options flag 2. Set the appropriate bits of
this field as follows (bit 7 is the most significant bit):
bit 7
Use DSRS (do not use if not set)
bit 6
Select Standby On (Select Standby
Off if not set)
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