HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_LS
unsigned char det_adj_cp_name[17]; /* determined adjacent CP name */
unsigned char det_adj_cp_type; /* determined adjacent node type*/
unsigned char port_name[8]; /* port name */
unsigned char adj_cp_name[17]; /* adjacent CP name */
unsigned char adj_cp_type; /* adjacent node type */
} LS_SUMMARY;
typedef struct ls_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char ls_name[8]; /* link station name */
LS_DET_DATA det_data; /* determined data */
LS_DEF_DATA def_data; /* defined data */
} LS_DETAIL;
typedef struct ls_det_data
{
AP_UINT16 act_sess_count; /* currently active sessions */
/* count */
unsigned char dlc_type; /* DLC type */
unsigned char state; /* link station state */
unsigned char sub_state; /* link station sub state */
unsigned char det_adj_cp_name[17]; /* adjacent CP name */
unsigned char det_adj_cp_type; /* adjacent node type */
unsigned char dlc_name[8]; /* name of DLC */
unsigned char dynamic; /* specifies whether LS is */
/* dynamic */
unsigned char migration; /* supports migration partners */
unsigned char tg_num; /* TG number */
LS_STATS ls_stats; /* link station statistics */
AP_UINT32 start_time; /* time LS started */
AP_UINT32 stop_time; /* time LS stopped */
AP_UINT32 up_time; /* total time LS active */
AP_UINT32 current_state_time; /* time in current state */
unsigned char deact_cause; /* deactivation cause */
unsigned char hpr_support; /* TG HPR support */
unsigned char anr_label[2]; /* local ANR label */
unsigned char hpr_link_lvl_error; /* HPR link-level error */
unsigned char auto_act; /* auto-activation supported */
unsigned char ls_role; /* LS role */
unsigned char ls_type; /* LS type (defined,dynamic,..) */
unsigned char node_id[4]; /* determined node ID */
AP_UINT16 active_isr_count; /* active isr count */
AP_UINT16 active_lu_sess_count; /* count of active LU sessions */
AP_UINT16 active_sscp_sess_count; /* count of active SSCP sessions*/
ANR_LABEL reverse_anr_label; /* Reverse ANR label */
LINK_ADDRESS local_address; /* Local address */
AP_UINT16 max_send_btu_size; /* Max send BTU size */
unsigned char brnn_link_type; /* type of branch link */
unsigned char adj_cp_is_brnn; /* is adjacent node a BrNN? */
unsigned char mltg_member; /* reserved */
unsigned char tg_sharing; /* reserved */
unsigned char reservb[62]; /* reserved */
} LS_DET_DATA;
typedef struct ls_def_data
{
unsigned char description[32]; /* resource description */
unsigned char initially_active; /* is this LS initially active? */
AP_UINT16 reserv2; /* reserved */
AP_UINT16 react_timer; /* timer for retrying failed LS */
490