HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF Indications
PU_INDICATION
4.21.1 VCB Structure
typedef struct pu_indication
{
AP_UINT16 opcode; /* verb operation code */
unsigned char reserv2; /* reserved */
unsigned char format; /* reserved */
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char data_lost; /* previous indication lost */
unsigned char pu_name[8]; /* PU Name */
unsigned char description[32]; /* resource description */
unsigned char reserv3[16]; /* reserved */
unsigned char pu_sscp_sess_active; /* Is SSCP session active? */
unsigned char host_attachment; /* Host attachment */
unsigned char reserv1[2]; /* reserved */
SESSION_STATS pu_sscp_stats; /* PU-SSCP session statistics */
unsigned char sscp_id[6]; /* SSCP id */
} PU_INDICATION;
typedef struct session_stats
{
AP_UINT16 rcv_ru_size; /* session receive RU size */
AP_UINT16 send_ru_size; /* session send RU size */
AP_UINT16 max_send_btu_size; /* maximum send BTU size */
AP_UINT16 max_rcv_btu_size; /* maximum rcv BTU size */
AP_UINT16 max_send_pac_win; /* maximum send pacing window size */
AP_UINT16 cur_send_pac_win; /* current send pacing window size */
AP_UINT16 max_rcv_pac_win; /* maximum receive pacing */
/* window size */
AP_UINT16 cur_rcv_pac_win; /* current receive pacing */
/* window size */
AP_UINT32 send_data_frames; /* number of data frames sent */
AP_UINT32 send_fmd_data_frames; /* num 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 fmd data frames received */
AP_UINT32 rcv_data_bytes; /* number of data bytes received */
unsigned char sidh; /* session ID high byte */
/* (from LFSID) */
unsigned char sidl; /* session ID low byte (from LFSID)*/
unsigned char odai; /* ODAI bit set */
unsigned char ls_name[8]; /* Link station name */
unsigned char reserve; /* reserved */
} SESSION_STATS;
4.21.2 Parameters
opcode
AP_PU_INDICATION
primary_rc
AP_OK
data_lost
Specifies whether any previous PU 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
797