HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_LU_0_TO_3
unsigned char bind_lu_type; /* LU type from BIND message */
unsigned char compression; /* reserved */
unsigned char cryptography; /* reserved */
unsigned char reserva[10]; /* reserved */
} LU_0_TO_3_DET_DATA;
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 pacing_type; /* type of pacing in use */
} SESSION_STATS;
typedef struct lu_0_to_3_def_data
{
unsigned char description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char nau_address; /* LU NAU address */
unsigned char pool_name[8]; /* LU Pool name */
unsigned char pu_name[8]; /* PU name */
unsigned char priority; /* LU priority */
unsigned char lu_model; /* LU model (type) */
unsigned char sscp_id[6]; /* SSCP ID */
AP_UINT16 timeout; /* Timeout */
unsigned char app_spec_def_data[16]; /* application-specified data */
unsigned char model_name[7]; /* reserved */
unsigned char term_method; /* session termination type */
unsigned char reserv3[16]; /* reserved */
} LU_0_TO_3_DEF_DATA;
If the app_type parameter in the
lu_0_to_3_det_data structure is set to AP_FMI_APPLICATION, the app_spec_det_data
field contains the following structure:
typedef struct session_user_info
{
unsigned char user_name[32]; /* 3270 user name */
unsigned char system_name[128]; /* computer name */
AP_UINT32 user_pid; /* process ID */
AP_UINT32 user_type; /* type of application using LU */
AP_UINT32 user_uid; /* user ID */
AP_UINT32 user_gid; /* group ID */
unsigned char user_gname[32]; /* group name */
516