HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_MODE_DEFINITION
Chapter 4 823
unsigned char mode_name[8]; /* mode name */
MODE_CHARS mode_chars; /* mode characteristics */
} MODE_DEF_DETAIL;
typedef struct mode_chars
{
unsigned char description[32]; /* resource description */
unsigned char reserv2[16]; /* reserved */
AP_UINT16 max_ru_size_upp; /* maximum RU size upper bound*/
unsigned char receive_pacing_win; /* receive pacing window */
unsigned char default_ru_size; /* default RU size to */
/* maximize performance */
AP_UINT16 max_neg_sess_lim; /* maximum negotiable session */
/* limit */
AP_UINT16 plu_mode_session_limit; /* LU-mode session limit */
AP_UINT16 min_conwin_src; /* minimum source contention */
/* winner sessions */
unsigned char cos_name[8]; /* class of service name */
unsigned char cryptography; /* cryptography (reserved) */
unsigned char compression; /* Compression (reserved) */
AP_UINT16 auto_act; /* number of sessions to be */
/* activated automatically */
AP_UINT16 min_conloser_src; /* minimum source contention */
/* loser */
AP_UINT16 max_ru_size_low; /* maximum RU size lower bound*/
AP_UINT16 max_receive_pacing_win; /* maximum receive pacing */
/* window */
} MODE_CHARS;
Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_MODE_DEFINITION
overlay_size
For compatability with future releases of SNAplus2,
your application must use this field to determine the
exact length of the overlay structure returned, and
should not rely on the use of the sizeof() function.
buf_ptr
A pointer to a data buffer that SNAplus2 will use to
return the requested information.