DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5 and SCO OpenServer

mac_stats_tr(D4mdi)


mac_stats_tr -- Token Ring statistics structure for the MACIOC_GETSTAT ioctl

Syntax

   typedef	 struct mac_stats_tr {
   	ulong mac_ringstatus;		/* Bit field holding T-R status */
   	unchar mac_funcaddr[6];	/* MAC addr of upstream neighbor */
   	unchar mac_upstream[6];	/* MAC addr of upstream neighbor */
   	unchar mac_actmonparticipate;	/* Active Mon. selection
   					 *participation */
   	ulong mac_lineerrors;		/* #Frames copied with FCS error */
   	ulong mac_bursterrors;		/* #Times no transitions detected */
   	ulong mac_acerrors;		/* #Times a station was detected
   					 * with bad A/C response */
   	ulong mac_aborttranserrors;	/* #Frames aborted on transmission */
   	ulong mac_internalerrors;	/* #Internal errors */
   	ulong mac_lostframeerrors;
   	ulong mac_receivecongestions;	/* #Frames received and then	
   					 * dropped */
   	ulong mac_framecopiederrors;	/* #Times duplicate address
   					 * detected on the network */
   	ulong mac_tokenerrors;		/* #Times Active Monitor detects
   					 * a token error */
   	ulong mac_softerrors;		/* #errors recoverable by MAC
   					 * protocol */
   	ulong mac_harderrors;		/* #Times MAC beacon frames tx'ed or
   					 * rx'ed */
   	ulong mac_signalloss;		/* #Times detection of ring signal
   					 * lost */
   	ulong mac_transmitbeacons;	/* #MAC beacon frames sent */
   	ulong mac_recoverys;		/* #Times MAC claim frames tx'ed or
   					 * rx'ed */
   	ulong mac_lobewires;		/* #Times open/short circuit in
   					 * lobe path */
   	ulong mac_removes;		/* #MAC remove-ring-stn. frames
   					 * received */
   	ulong mac_statssingles;	/* #Times only stn. on ring */
   	ulong mac_frequencyerrors;	/* #Times signal freq. out of range*/
   

/* FIELDS NOT REQUIRED BY MIB */ ulong mac_badlen; /* #Frames(TX) Dropped due to * PDU_SZ>MAX_MACPDUSZ */ ulong mac_spur_intr; /* Spurious interrupts */ ulong mac_frame_nosr; /* Dropped Due To Lack of STREAMS */ ulong mac_baddma; /* Errors Due To Over/Under Runs */ ulong mac_timeouts; /* Device Time-outs */ } mac_stats_tr_t;

Description

IEEE 802.5 token passing ring data structure. Token ring adapters generally perform LLC processing on the adapter. However, to provide a general solution for all media and to simplify MDI drivers, LLC processing is performed on the system in the DLPI module above the MDI interface.

Hardware applicability

All

Version applicability

mdi: 1, 2, 2.1

Standards conformance

This structure definition is driven by the SNMP MIB definition for Token Ring. The MIB definition can be found in the IAB Network Working Group's RFC 1231.

References

MACIOC_GETSTAT


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005