HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_NN_TOPOLOGY_TG
This verb can be used to obtain either summary or detailed information, about a specic TG or about multiple TGs,
depending on the options used. It can be issued only to a network node; it is not valid at an end node or a LEN
node.
This verb must be issued to a running node.
3.143.1 VCB Structure
typedef struct query_nn_topology_tg
{
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 *buf_ptr; /* pointer to buffer */
AP_UINT32 buf_size; /* buffer size */
AP_UINT32 total_buf_size; /* total buffer size required */
AP_UINT16 num_entries; /* number of entries */
AP_UINT16 total_num_entries; /* total number of entries */
unsigned char list_options; /* listing options */
unsigned char reserv3; /* reserved */
unsigned char owner[17]; /* node that owns the TG */
unsigned char owner_type; /* type of node that owns the TG */
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 */
AP_UINT32 frsn; /* flow reduction sequence number */
} QUERY_NN_TOPOLOGY_TG;
typedef struct topology_tg_summary
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char owner[17]; /* node that owns the TG */
unsigned char owner_type; /* type of node that owns the TG */
unsigned char dest[17]; /* TG destination node */
unsigned char dest_type; /* TG destination node type */
unsigned char tg_num; /* TG number */
unsigned char reserv3[1]; /* reserved */
AP_UINT32 frsn; /* flow reduction sequence number */
} TOPOLOGY_TG_SUMMARY;
typedef struct topology_tg_detail
{
AP_UINT16 overlay_size; /* size of returned entry */
unsigned char owner[17]; /* node that owns the TG */
unsigned char owner_type; /* type of node that owns the TG */
unsigned char dest[17]; /* TG destination node */
unsigned char dest_type; /* TG destination node type */
unsigned char tg_num; /* TG number */
unsigned char reserv3[1]; /* reserved */
AP_UINT32 frsn; /* flow reduction sequence number */
AP_UINT16 days_left; /* days left until entry purged */
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 subarea_number; /* subarea number */
unsigned char tg_type; /* TG type */
569