HP-UX SNAplus2 NOF Programmer's Guide

NOF API Verbs (QUERY Verbs)
QUERY_DIRECTORY_STATS
Chapter 4 613
QUERY_DIRECTORY_STATS
QUERY_DIRECTORY_STATS returns directory database statistics,
which can be used to gauge the level of network locate traffic.
This verb must be issued to a running node.
VCB Structure
typedef struct query_directory_stats
{
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 */
AP_UINT32 max_caches; /* maximum number of cache */
/* entries */
AP_UINT32 cur_caches; /* cache entry count */
AP_UINT32 cur_home_entries; /* home entry count */
AP_UINT32 cur_reg_entries; /* registered entry count */
AP_UINT32 cur_directory_entries; /* current number of directory */
/* entries */
AP_UINT32 cache_hits; /* count of cache finds */
AP_UINT32 cache_misses; /* count of resources found */
/* by broadcast search */
/* (not in cache) */
AP_UINT32 in_locates; /* locates in */
AP_UINT32 in_bcast_locates; /* broadcast locates in */
AP_UINT32 out_locates; /* locates out */
AP_UINT32 out_bcast_locates; /* broadcast locates out */
AP_UINT32 not_found_locates; /* unsuccessful locates */
AP_UINT32 not_found_bcast_locates; /* unsuccessful broadcast */
/* locates */
AP_UINT32 locates_outstanding; /* total outstanding locates */
unsigned char reserva[20]; /* reserved */
} QUERY_DIRECTORY_STATS;
Supplied Parameters
The application supplies the following parameter:
opcode
AP_QUERY_DIRECTORY_STATS