HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_LS
Chapter 3 259
unsigned char dspu_name[8]; /* Downstream PU name (reserved if
dspu_service AP_NONE) */
unsigned char dlus_name[17]; /* DLUS name if dspu_services */
/* set to AP_DLUR */
unsigned char bkup_dlus_name[17]; /* Backup DLUS name if */
/* dspu_services set to AP_DLUR */
unsigned char hpr_supported; /* reserved */
unsigned char hpr_link_lvl_error; /* reserved */
AP_UINT16 link_deact_timer; /* link deactivation timer */
unsigned char reserv1; /* reserved */
unsigned char default_nn_server; /* default LS to NN server? */
unsigned char ls_attributes[4]; /* LS attributes */
unsigned char adj_node_id[4]; /* adjacent node ID */
unsigned char local_node_id[4]; /* local node ID */
unsigned char cp_cp_sess_support; /* CP-CP session support */
unsigned char use_default_tg_chars; /* Use the default tg_chars */
TG_DEFINED_CHARS tg_chars; /* TG characteristics */
AP_UINT16 target_pacing_count; /* target pacing count */
AP_UINT16 max_send_btu_size; /* maximum send BTU size */
AP_UINT16 ls_role; /* link station role */
unsigned char max_ifrm_rcvd; /* no. before acknowldgement */
AP_UINT16 dlus_retry_timeout; /* seconds to recontact a DLUS */
AP_UINT16 dlus_retry_limit; /* attempts to recontact a DLUS */
AP_UINT16 reserv4[30]; /* reserved */
AP_UINT16 link_spec_data_len; /* length of link specific data */
} LS_DEF_DATA;
typedef struct tg_defined_chars
{
unsigned char effect_cap; /* effective capacity */
unsigned char reserve1[5]; /* reserved */
unsigned char connect_cost; /* connection cost */
unsigned char byte_cost; /* byte cost */
unsigned char reserve2; /* reserved */
unsigned char security; /* security */
unsigned char prop_delay; /* propagation delay */
unsigned char modem_class; /* reserved */
unsigned char user_def_parm_1; /* user-defined parameter 1 */
unsigned char user_def_parm_2; /* user-defined parameter 2 */
unsigned char user_def_parm_3; /* user-defined parameter 3 */
} TG_DEFINED_CHARS;
typedef struct link_address
{
AP_UINT16 reserve1; /* reserved */
AP_UINT16 length; /* length */
unsigned char address[32]; /* address */
} LINK_ADDRESS;