HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF Indications
LOCAL_LU_INDICATION
AP_UINT32 send_data_frames; /* number of data frames sent */
AP_UINT32 send_fmd_data_frames; /* num of fmd data frames sent */
AP_UINT32 send_data_bytes; /* number of data bytes sent */
AP_UINT32 rcv_data_frames; /* number of data frames received */
AP_UINT32 rcv_fmd_data_frames; /* num of fmd data frames received */
AP_UINT32 rcv_data_bytes; /* number of data bytes received */
unsigned char sidh; /* session ID high byte */
unsigned char sidl; /* session ID low byte */
unsigned char odai; /*origin-destination assignor bit set*/
unsigned char ls_name[8]; /* link station name */
unsigned char pacing_type; /* type of pacing in use */
} SESSION_STATS;
The LU-SSCP statistics contained in the
session_stats structure are valid only when both the nau_address parameter
is set to a nonzero value and the lu_sscp_active parameter is set to
AP_YES. Otherwise, the parameters in the
session_stats
structure are reserved.
4.11.2 Parameters
opcode
AP_LOCAL_LU_INDICATION
primary_rc
AP_OK
data_lost
Specifies whether any previous directory 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:
AP_YES
One or more previous directory indications were lost. Later fields in this VCB may be set to zeros.
AP_NO
No previous directory indications were lost.
reason
Reason for the indication. Possible values are:
AP_ADDED
The LU has been defined.
AP_REMOVED
The LU has been deleted, either explicitly using DELETE_LOCAL_LU, or implicitly, using
DELETE_LS, DELETE_PORT, or DELETE_DLC.
AP_SSCP_ACTIVE
The LU-SSCP session has become active after the node has successfully processed an ACTLU.
AP_SSCP_INACTIVE
The LU-SSCP session has become inactive after a normal DACTLU or a link failure.
lu_name
Name of the local logical unit (LU) whose state has changed. This is an 8-byte alphanumeric type-A EBCDIC
string (starting with a letter), padded on the right with EBCDIC spaces.
description
Resource description, as specified on DEFINE_LOCAL_LU.
776