HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_LOCAL_TOPOLOGY
unsigned char dest[17]; /* TG destination node */
unsigned char dest_type; /* TG destination node type */
unsigned char tg_num; /* TG number */
} QUERY_LOCAL_TOPOLOGY;
typedef struct local_topology_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char dest[17]; /* TG destination node */
unsigned char dest_type; /* TG destination node type */
unsigned char tg_num; /* TG number */
} LOCAL_TOPOLOGY_SUMMARY;
typedef struct local_topology_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char dest[17]; /* TG destination node */
unsigned char dest_type; /* TG destination node type */
unsigned char tg_num; /* TG number */
unsigned char reserv1; /* reserved */
LINK_ADDRESS dlc_data; /* DLC signalling data */
AP_UINT32 rsn; /* resource sequence number */
unsigned char status; /* tg status */
TG_DEFINED_CHARS tg_chars; /* TG characteristics */
unsigned char cp_cp_session_active; /* CP-CP sessions active? */
unsigned char branch_link_type; /* Up or down link? */
unsigned char branch_tg; /* Branch TG? */
unsigned char appended_data_format; /* Format of appended data */
unsigned char appended_data_len; /* Length of appended data */
unsigned char reserva[11]; /* reserved */
} LOCAL_TOPOLOGY_DETAIL;
typedef struct link_address
{
unsigned char format; /* type of link address */
unsigned char reserve1; /* reserved */
AP_UINT16 length; /* length */
unsigned char address[32]; /* address */
} LINK_ADDRESS;
For details of the
TG_DEFINED_CHARS
structure, see Section 3.29, DEFINE_LS.
If the list_options parameter species detailed information, a TG Descriptor CV may be appended to the
returned information. See the descriptions of the parameters local_topology_detail.appended_data_format and
local_topology_detail.appended_data_len for more information.
3.126.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_LOCAL_TOPOLOGY
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.
480