HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_MODE
} MODE_SUMMARY;
typedef struct mode_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char mode_name[8]; /* mode name */
unsigned char description[32]; /* resource description */
unsigned char reserv2[16]; /* reserved */
AP_UINT16 sess_limit; /* session limit */
AP_UINT16 act_sess_count; /* currently active sessions count */
unsigned char fqplu_name[17]; /* fully-qualified partner LU name */
unsigned char reserv1[3]; /* reserved */
AP_UINT16 min_conwinners_source; /* minimum conwinner sess limit */
AP_UINT16 min_conwinners_target; /* minimum conloser sess limit */
unsigned char drain_source; /* drain source? */
unsigned char drain_partner; /* drain partner? */
AP_UINT16 auto_act; /* auto activated conwinner */
/* session limit */
AP_UINT16 act_cw_count; /* active conwinner sessions count */
AP_UINT16 act_cl_count; /* active conloser sessions count */
unsigned char sync_level; /* synchronization level */
unsigned char default_ru_size; /* default RU size to maximize */
/* performance */
AP_UINT16 max_neg_sess_limit; /* maximum negotiated session limit*/
AP_UINT16 max_rcv_ru_size; /* maximum receive RU size */
AP_UINT16 pending_session_count; /* pending sess count for mode */
AP_UINT16 termination_count; /* termination count for mode */
AP_UINT16 implicit; /* implicit or explicit entry */
unsigned char reserva[15]; /* reserved */
} MODE_DETAIL;
3.137.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_MODE
buf_ptr
A pointer to a data buffer that SNAplus2 will use to return the requested information.
buf_size
Size of the supplied data buffer.
num_entries
Maximum number of modes for which data should be returned. To request data for a specific mode rather
than a range, specify the value 1. To return as many entries as possible, specify zero; in this case, SNAplus2
will return the maximum number of entries that can be accommodated in the supplied data buffer.
list_options
The position in the list from which SNAplus2 should begin to return data, and the level of information required
for each entry. Specify the level of information with one of the following values:
AP_SUMMARY
Summary information only.
AP_DETAIL
544