HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
DEFINE_LS
AP_UINT16 t1_retry_limit; /* I-frame retransmission limit */
} VDL_LS_CFG;
DLC-specic data for Enterprise Extender (HPR/IP):
typedef struct ipdlc_link_spec_data
{
V0_MUX_INFO mux_info; /* streams information */
AP_UINT16 ack_timeout; /* ACK timer for command frames */
AP_UINT16 max_retry; /* Retry limit for command frames */
AP_UINT16 liveness_timeout; /* Liveness timer */
unsigned char short_hold_mode; /* Run in short-hold mode */
unsigned char remote_hostname[100]; /* Name of remote host to contact */
} IPDLC_LINK_SPEC_DATA;
Data for all DLC types:
typedef struct v0_mux_info
{
AP_UINT16 dlc_type; /* DLC implementation type */
unsigned char need_vrfy_fixup; /* reserved */
unsigned char num_mux_ids; /* reserved */
AP_UINT32 card_type; /* type of adapter card */
AP_UINT32 adapter_number; /* DLC adapter number */
AP_UINT32 oem_data_length; /* reserved */
AP_INT32 mux_ids[5]; /* reserved */
} V0_MUX_INFO;
For Token Ring, Ethernet, or FDDI, the address parameter in the
link_address
structure is replaced by the following:
typedef struct tr_address
{
unsigned char mac_address[6]; /* MAC address */
unsigned char lsap_address; /* local SAP address */
} TR_ADDRESS;
3.29.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_LS
ls_name
Name of link station. This is an 8-byte ASCII string, padded on the right with spaces if the name is shorter
than 8 bytes.
def_data.description
A null-terminated text string (031 characters followed by a null character) describing the LS. This string is for
information only; it is stored in the nodes conguration le and returned on the QUERY_LS, QUERY_PU,
and QUERY_DOWNSTREAM_PU verbs, but SNAplus2 does not make any other use of it.
def_data.initially_active
Species whether this LS is automatically started when the node is started. Possible values are:
AP_YES
171