HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF Indications
LS_INDICATION
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char data_lost; /* previous indication lost */
unsigned char deactivated; /* has LS been deactivated? */
unsigned char ls_name[8]; /* link station name */
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char adj_cp_name[17]; /* network qualified Adjacent CP name*/
unsigned char adj_node_type; /* adjacent node type */
AP_UINT16 act_sess_count; /* active session count on link */
unsigned char indication_cause; /* cause of indication */
LS_STATS ls_stats; /* link station statistics */
unsigned char tg_num; /* tg number */
AP_UINT32 sense_data; /* sense data */
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 ls_type; /* how LS was defined or discovered */
unsigned char reserva[14]; /* reserved */
} LS_INDICATION;
typedef struct ls_stats
{
AP_UINT32 in_xid_bytes; /* number of XID bytes received */
AP_UINT32 in_msg_bytes; /* number of message bytes received */
AP_UINT32 in_xid_frames; /* number of XID frames received */
AP_UINT32 in_msg_frames; /* number of message frames received*/
AP_UINT32 out_xid_bytes; /* number of XID bytes sent */
AP_UINT32 out_msg_bytes; /* number of message bytes sent */
AP_UINT32 out_xid_frames; /* number of XID frames sent */
AP_UINT32 out_msg_frames; /* number of message frames sent */
AP_UINT32 in_invalid_sna_frames; /* number of invalid */
/* frames received */
AP_UINT32 in_session_control_frames; /* number of control */
/* frames received */
AP_UINT32 out_session_control_frames; /* number of control */
/* frames sent */
AP_UINT32 echo_rsps; /* reserved */
AP_UINT32 current_delay; /* reserved */
AP_UINT32 max_delay; /* reserved */
AP_UINT32 min_delay; /* reserved */
AP_UINT32 max_delay_time; /* reserved */
AP_UINT32 good_xids; /* successful XID on LS count */
AP_UINT32 bad_xids; /* unsuccessful XID on LS count */
} LS_STATS;
4.13.2 Parameters
opcode
AP_LS_INDICATION
primary_rc
AP_OK
data_lost
Species whether any previous LS indications have been lost. If SNAplus2 detects a condition that prevents
it from sending an indication (for example an internal resource shortage), it indicates this by setting the
data_lost parameter on the next indication after the condition has cleared. Possible values are:
781