HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_PORT
AP_UINT16 xid_retry_limit; /* XID retransmission limit */
AP_UINT16 t1_timeout; /* T1 timeout value in seconds */
AP_UINT16 t1_retry_limit; /* I-frame retransmission limit */
} VDL_LS_CFG;
Port-specific data for Enterprise Extender (HPR/IP):
typedef struct ipdlc_port_spec_data
{
V0_MUX_INFO mux_info; /* streams information */
unsigned char local_ip_interface[32]; /* identifier of local network card */
} IPDLC_PORT_SPEC_DATA;
Link-specific 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]; /* reserved */
unsigned char lsap_address; /* local SAP address */
} TR_ADDRESS;
3.39.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_DEFINE_PORT
port_name
Name of port being defined. This is an 8-byte ASCII string, using any locally displayable characters, padded
on the right with spaces if the name is shorter than 8 bytes.
def_data.description
234