HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
DEFINE_PORT
unsigned char cud[16]; /* Call User Data */
unsigned char add_mode; /* matching reqd on called address */
AP_UINT16 add_len; /* length of called address to match */
AP_UINT32 xtras; /* reserved */
AP_UINT32 xtra_len; /* reserved */
} VQL_PORT_SPEC_DATA;
Link-specific data for QLLC:
typedef struct vql_ls_spec_data
{
V0_MUX_INFO mux_info; /* streams config info */
AP_UINT16 reserve1; /* reserved */
AP_UINT16 reserve2; /* reserved */
unsigned char vc_type; /* Virtual Circuit type */
unsigned char req_rev_charge; /* request reverse charge if non-zero */
unsigned char loc_packet; /* loc->rem packet size 2**locpacket */
unsigned char rem_packet; /* rem->loc packet size 2**rempacket */
unsigned char loc_wsize; /* loc->rem window size */
unsigned char rem_wsize; /* rem->loc window size */
AP_UINT16 fac_len; /* X.25 facilities length */
unsigned char fac[32]; /* X.25 facilities */
AP_UINT16 retry_limit; /* times to retry send QXID,QSM,QDISC */
AP_UINT16 retry_timeout; /* timeout for each of above tries */
AP_UINT16 idle_timeout; /* timeout for no Q msgs during init */
AP_UINT16 pvc_id; /* PVC logical channel identifier */
AP_UINT16 sn_id_len; /* Length of the subnet identifier */
unsigned char sn_id[4]; /* Subnet identifier */
AP_UINT16 cud_len; /* length of any call user data to send */
unsigned char cud[16]; /* actual call user data */
AP_UINT32 xtras; /* reserved */
AP_UINT32 xtra_len; /* reserved */
unsigned char rx_thruput_class; /* Max Rx speed of calling DTE */
unsigned char tx_thruput_class; /* Max Tx speed of calling DTE */
unsigned char cugo; /* Closed User Group (outgoing) */
unsigned char cug; /* LS used by Closed User Group */
AP_UINT16 cug_index; /* Index of CUG using this LS */
AP_UINT16 nuid_length; /* Length of Network User ID */
unsigned char nuid_data[109]; /* Network User ID */
unsigned char reserve3[2]; /* Reserved field */
unsigned char rpoa_count; /* Count of RPOA codes */
AP_UINT16 rpoa_ids[30]; /* Array of RPOA codes */
} VQL_LS_SPEC_DATA;
Port-specific data for Token Ring, Ethernet, FDDI:
typedef struct vdl_sap_cfg
{
V0_MUX_INFO mux_info; /* Streams config info */
} VDL_SAP_CFG;
Link-specific data for Token Ring, Ethernet, FDDI:
typedef struct vdl_ls_cfg
{
V0_MUX_INFO mux_info; /* Streams config info */
AP_UINT16 reserve1; /* reserved */
AP_UINT16 reserve2; /* reserved */
AP_UINT16 test_timeout; /* TEST timeout value in seconds */
AP_UINT16 test_retry_limit; /* TEST retransmission limit */
AP_UINT16 xid_timeout; /* XID timeout value in seconds */
233