HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_DLUR_DEFAULTS
3.112 QUERY_DLUR_DEFAULTS
The QUERY_DLUR_DEFAULTS verb allows the user to query the defaults dened using the DE-
FINE_DLUR_DEFAULTS verb.
3.112.1 VCB Structure
typedef struct query_dlur_defaults
{
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 description[32]; /* resource description */
unsigned char reserv1[16]; /* reserved */
unsigned char dlus_name[17]; /* DLUS name */
unsigned char bkup_dlus_name[17]; /* Backup DLUS name */
unsigned char reserv3; /* reserved */
AP_UINT16 dlus_retry_timeout; /* DLUS retry timeout */
AP_UINT16 dlus_retry_limit; /* DLUS retry limit */
unsigned char prefer_active_dlus; /* retry using active DLUS */
unsigned char persistent_pipe_support; /* reserved */
unsigned char reserv4[14]; /* reserved */
} QUERY_DLUR_DEFAULTS;
3.112.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_DLUR_DEFAULTS
description
Resource description. The length of this parameter is a multiple of four bytes and is nonzero.
dlus_name
Name of the DLUS node that is the default. This name is set to all zeros or a 17-byte EBCDIC string,
right-padded with EBCDIC spaces. It consists of a network ID of up to 8 A-string characters, an EBCDIC
dot (period) character, and a network name of up to 8 A-string characters.
bkup_dlus_name
Name of the DLUS node that serves as the backup default. This name is set to all zeros or a 17-byte EBCDIC
string, right-padded with EBCDIC spaces. It consists of a network ID of up to 8 A-string characters, an
EBCDIC dot (period) character, and a network name of up to 8 A-string characters.
dlus_retry_timeout
Interval in seconds between second and subsequent attempts to contact a DLUS. The interval between the
initial attempt and the rst retry is always one second.
dlus_retry_limit
Maximum number of retries after an initial failure to contact a DLUS. A value of 0xFFFF indicates that
SNAplus2 retries indenitely.
prefer_active_dlus
415