Ethernet statistics for a nicinfo command
typedef struct _ethernet_stats {
ulong_t rcv_alignment_error;
ulong_t xmit_collisions;
ulong_t rcv_overrun;
ulong_t xmit_underrun;
ulong_t xmit_crs_lost;
ulong_t rcv_crc_error;
ulong_t rcv_length_error;
ulong_t rcv_collisions;
ulong_t rcv_dribble;
ulong_t xmit_aborted;
ulong_t xmit_cdh;
ulong_t xmit_window;
ulong_t xmit_deferred;
ulong_t xmit_jabber;
ulong_t xmit_sqe;
ulong_t link_failure;
} EthernetStats_t;
This structure holds statistics for an Ethernet device for a nicinfo
command.
Your driver must fill in the following members:
- rcv_alignment_error
- The number of alignment errors when receiving.
- xmit_collisions
- The number of collisions when transmitting.
- rcv_overrun
- The number of FIFO overruns when receiving.
- xmit_underrun
- The number of FIFO underruns when transmitting.
- xmit_crs_lost
- The number of times that carrier sense was lost on transmission.
Your driver can also fill in these optional statistics:
- rcv_crc_error
- The number of CRC errors when receiving.
- rcv_length_error
- The number of errors due to bad packet lengths.
- rcv_collisions
- The number of collisions when receiving.
- rcv_dribble
- The number of dribble errors.
- xmit_aborted
- The number of transmissions that were aborted because of collisions.
- xmit_cdh
- The number of collisions that occurred when detecting the heartbeat.
- xmit_window
- The number of out-of-window collisions that occurred when transmitting.
- xmit_deferred
- The number of transmissions that were deferred.
- xmit_jabber
- The number of jabber errors (reported directly from the hardware).
- xmit_sqe
- The number of signal-quality errors ("heartbeat")
when transmitting.
- link_failure
- The number of times the link has gone down.
QNX
CustNicStats_t,
GenStats_t,
NetStats_t,
Nic_t