HP-UX SNAplus2 R7 NOF Programmer's Guide
NOF API Verbs
QUERY_STATISTICS
unsigned char last_fail_ctrl_in[2]; /* control field of last frame rcvd*/
/* before last failure */
unsigned char last_fail_ctrl_out[2]; /* control field of last frame sent*/
/* before last failure */
unsigned char last_fail_frmr_info[5]; /* info field of FRMR frame if */
/* last failure was caused by */
/* invalid frame */
unsigned char sdoppad1; /* reserved */
AP_UINT32 last_fail_replyto_s; /* number of REPLYTO timeouts at */
/* time of last failure */
unsigned char g_poll; /* group poll address */
unsigned char sim_rim; /* are SIM / RIM supported? */
unsigned char xmit_rcv_cap; /* transmit / receive capability */
} SDL_LS_OPER_TABLE;
Port statistics for SDLC:
typedef struct sdl_port_stats_table
{
V0_MUX_INFO mux_info; /* streams config info */
AP_UINT32 index; /* index of port */
AP_UINT32 dwarf_frames; /* frames received too short to be valid */
AP_UINT32 polls_out; /* polls sent to adjacent link stations */
AP_UINT32 poll_rsps_out; /* polls responded to by adjacent link stns*/
AP_UINT32 local_busies; /* number of times local link station */
/* has entered busy state (RNR) */
AP_UINT32 remote_busies; /* number of times remote link stations */
/* have entered busy state (RNR) */
AP_UINT32 iframes_in; /* I-frames rcvd from adjacent link */
/* stations */
AP_UINT32 iframes_out; /* I-frames sent to adjacent link stations */
AP_UINT32 octets_in; /* bytes received from adjacent link */
/* stations */
AP_UINT32 octets_out; /* bytes sent to adjacent link stations */
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 */
658