HP-UX SNAplus2 NOF Programmer's Guide
NOF API Verbs (QUERY Verbs)
QUERY_STATISTICS
Chapter 4946
AP_UINT32 protocol_errs; /* link deactivations due to bad rcvd */
/* frames */
AP_UINT32 activity_to_s; /* link deactivations due to inactivity */
AP_UINT32 rnrlimit_s; /* link deacts due to rem busy timer expiry*/
AP_UINT32 retries_exps; /* link deacts due to end of retry sequence*/
AP_UINT32 retransmits_in; /* retransmitted I-frames rcvd since */
/* start-up */
AP_UINT32 retransmits_out; /* I-frames retransmitted since start-up */
} SDL_PORT_STATS_TABLE;
Port operational information for SDLC:
typedef struct sdl_port_oper_table
{
V0_MUX_INFO mux_info; /* streams config info */
AP_UINT32 index; /* index of port */
unsigned char name[8]; /* reserved */
unsigned char role; /* current role of link station(s) */
/* using port */
unsigned char type; /* line type - leased or switched */
unsigned char topology; /* can port be point-to-point or */
/* multipoint */
unsigned char reserve; /* reserved */
AP_UINT32 activto; /* how long switched line can be */
/* inactive before port disconnects */
AP_UINT32 pause; /* time between poll cycles */
unsigned char slow_poll_method; /* slow poll method */
unsigned char reserv2[3]; /* reserved */
AP_UINT32 slow_poll_timer; /* slow poll timer */
unsigned char last_fail_cause; /* reserved */
} SDL_PORT_OPER_TABLE;
LS statistics for Token Ring, Ethernet, FDDI:
typedef struct vdl_ls_statistics
{
V0_MUX_INFO mux_info; /* streams config info */
AP_UINT32 ls_st_mus_sent; /* Frames sent from this Link Station */
AP_UINT32 ls_st_mus_received; /* Frames received at this Link */
/* Station */
AP_UINT32 ls_st_bytes_sent; /* Bytes sent from this Link Station */
AP_UINT32 ls_st_bytes_received; /* Bytes received at this Link Station*/
} VDL_LS_STATISTICS;
typedef struct v0_mux_info
{
AP_UINT16 dlc_type; /* DLC implementation type */
unsigned char need_vrfy_fixup; /* reserved */
unsigned char num_mux_ids; /* reserved */