HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (ACTIVATE_SESSION to OPEN_FILE)
DEFINE_MODE
Chapter 3 321
unsigned char compression; /* reserved */
unsigned char reserv1; /* reserved */
AP_UINT16 auto_act; /* initial auto-activation count */
AP_UINT16 min_conloser_src; /* min 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_DEFINE_MODE
mode_name
Name of the mode. This is an 8-byte type-A EBCDIC
string (starting with a letter), padded on the right with
EBCDIC spaces if the name is shorter than 8 bytes.
To specify the default COS that will be used for any
unrecognized mode names, set this parameter to 8
binary zeros. In this case, the
mode_chars.cos_name
parameter is taken as the default COS name; all other
parameters supplied on this verb are ignored.
mode_chars.description
A null-terminated text string (0-31 characters followed
by a null character) describing the mode. This string is
for information only; it is stored in the node's
configuration file and returned on the
QUERY_MODE_DEFINITION and QUERY_MODE
verbs, but SNAplus2 does not make any other use of it.
mode_chars.max_ru_size_upp
Upper bound for the maximum size of RUs sent and
received on sessions in this mode. The value is used
when the maximum RU size is negotiated during
session activation.
Range: 256-61,440. If the
default_ru_size
parameter (see below) is set to AP_YES, this parameter
is ignored (and the value is not checked).