Index Index for
Section 9
Index Alphabetical
listing for T
Bottom of page Bottom of
page

trncount(9s)

NAME

trncount - Network: Defines Token Ring counter information

SYNOPSIS

____________________________________ Member Name Data Type ____________________________________ trn_second u_long trn_bytercvd u_long trn_bytesent u_long trn_pdurcvd u_long trn_pdusent u_long trn_mbytercvd u_long trn_mpdurcvd u_long trn_mbytesent u_long trn_mpdusent u_long trn_pduunrecog u_long trn_mpduunrecog u_long trn_nosysbuf u_short trn_xmit_fail u_short trn_xmit_underrun u_short trn_line_error u_short trn_internal_error u_short trn_burst_error u_short trn_ari_fci_error u_short trn_ad_trans u_short trn_lost_frame_error u_short trn_rcv_congestion_error u_short trn_frame_copied_error u_short trn_frequency_error u_short trn_token_error u_short trn_hard_error u_short trn_soft_error u_short trn_adapter_reset u_short trn_signal_loss u_short trn_xmit_beacon u_short trn_ring_recovery u_short trn_lobe_wire_fault u_short trn_remove_received u_short trn_single_station u_short trn_selftest_fail u_short ____________________________________

MEMBERS

trn_second Specifies the number of seconds since the structure was last zeroed. trn_bytercvd Specifies the number of bytes that were successfully received. trn_bytesent Specifies the number of bytes that were transmitted. trn_pdurcvd Specifies the number of frames that were successfully received. trn_pdusent Specifies the number of frames that were transmitted. trn_mbytercvd Specifies the number of multicast bytes that were successfully received. trn_mpdurcvd Specifies the number of multicast frames that were successfully received. trn_mbytesent Specifies the number of multicast bytes that were transmitted. trn_mpdusent Specifies the number of multicast frames that were transmitted. trn_pduunrecog Specifies the number of times that a frame was discarded because there was no data link port with a matching Token Ring protocol type, LLC, SAP, or SNAP protocol ID. trn_mpduunrecog Specifies the number of multicast frames that were discarded. trn_nosysbuf Specifies the number of times that a frame was discarded because no link buffer was available. This counter measures the number of frames discarded before the data link user that wants the frame has been identified by frame filtering. trn_xmit_fail Specifies the number of times that a transmit error other than an underrun has occurred. trn_xmit_underrun Specifies the number of times that a transmit underrun error has occurred. This indicates that the transmit FIFO became empty during frame transmission. trn_line_error Specifies the number of times that either of the following conditions has been detected: · A frame or token is copied or repeated by a station. · The E bit is 0 (zero) in the frame or token, and one of the following conditions exists: -- There is a nondata bit (J or K bit) between the SD and the ED of the frame or token. -- There is an FCS error in the frame. trn_internal_error Specifies the number of recoverable internal errors that have occurred. trn_burst_error Specifies the number of times that the station has detected the absence of transitions for five half-bit timers or burst-five errors. trn_ari_fci_error Specifies the number of times that the upstream neighbor could not set the ARI or FCI bits of received frames. trn_ad_trans Specifies the number of abort delimiters that have been transmitted. trn_lost_frame_error Specifies the number of times that the station's TRR timer has expired during a transmit operation. This counter can indicate when a transmitting station in strip mode does not receive the trailer of the frame before the TRR timer goes off. trn_rcv_congestion_error Specifies the number of times the station has recognized a frame addressed to its address, but has no available buffer space. This counter can indicate when the station is congested. trn_frame_copied_error Specifies the number of times that the station has recognized a frame addressed to its address and detects that the FS field A bits are set to 1. This counter can indicate a line hit or duplicate address. trn_frequency_error Specifies the number of frequency errors that have occurred. trn_token_error Specifies the number of times that the station, acting as the active monitor, has recognized an error condition that needs a token transmitted. trn_hard_error Specifies the number of times that the station has detected an immediately recoverable fatal error. It denotes the number of times this interface is either transmitting or receiving beacon MAC frames. trn_soft_error Specifies the number of soft errors that the station has detected. It directly corresponds to the number of report error MAC frames that this station has transmitted. Soft errors are recoverable by the MAC layer protocols. trn_adapter_reset Specifies the number of resets that have been performed on this station. trn_signal_loss Specifies the number of times that the station has detected the loss of a signal condition from the ring. trn_xmit_beacon Specifies the number of times that the station has transmitted a beacon frame. trn_ring_recovery Specifies the number of claim token MAC frames received or transmitted after the station has received a ring purge MAC frame. This counter signifies the number of times the ring has been purged and is being recovered into a normal operating state. trn_lobe_wire_fault Specifies the number of times that the station has detected an open or short circuit in the lobe data path. When this occurs, the adapter is closed and the dot5RingState member of the dot5Entry structure is set to MIB1231_RSTAT_CLOSED. trn_remove_received Specifies the number of times that the station has received a remove ring station MAC frame request. When this frame is received, the station enters the closed state and the driver sets the dot5RingState member of the dot5Entry structure to MIB1231_RSTAT_CLOSED. trn_single_station Specifies the number of times that the host has recognized that it is the only station on the ring. trn_selftest_fail Specifies the number of times that the station has sensed that it is the only station on the ring. This happens when the station is the first one up on a ring or when a hardware problem exists.

DESCRIPTION

The trncount data structure defines Token Ring counters. It is embedded within a ctrreq data structure when the driver supports the Token Ring network interface. The SIOCRDCTRS and SIOCRDZCTRS ioctl commands initialize this data structure and return it to the user process that made the ioctl request.

FILES

<net/if.h>

SEE ALSO

Data Structures: ctrreq(9s)

Index Index for
Section 9
Index Alphabetical
listing for T
Top of page Top of
page