patch-2.1.101 linux/include/linux/if_fddi.h

Next file: linux/include/linux/if_hippi.h
Previous file: linux/include/linux/hippidevice.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/include/linux/if_fddi.h linux/include/linux/if_fddi.h
@@ -107,6 +107,8 @@
 	{
 	__u32	rx_packets;				/* total packets received */
 	__u32	tx_packets;				/* total packets transmitted */
+	__u32	rx_bytes;				/* total bytes received	*/
+	__u32	tx_bytes;				/* total bytes transmitted */
 	__u32	rx_errors;				/* bad packets received	*/
 	__u32	tx_errors;				/* packet transmit problems	*/
 	__u32	rx_dropped;				/* no space in linux buffers */
@@ -114,6 +116,25 @@
 	__u32	multicast;				/* multicast packets received */
 	__u32	transmit_collision;		/* always 0 for FDDI */
 
+	/* detailed rx_errors */
+	__u32	rx_length_errors;
+	__u32	rx_over_errors;		/* receiver ring buff overflow	*/
+	__u32	rx_crc_errors;		/* recved pkt with crc error	*/
+	__u32	rx_frame_errors;	/* recv'd frame alignment error */
+	__u32	rx_fifo_errors;		/* recv'r fifo overrun		*/
+	__u32	rx_missed_errors;	/* receiver missed packet	*/
+
+	/* detailed tx_errors */
+	__u32	tx_aborted_errors;
+	__u32	tx_carrier_errors;
+	__u32	tx_fifo_errors;
+	__u32	tx_heartbeat_errors;
+	__u32	tx_window_errors;
+	
+	/* for cslip etc */
+	__u32	rx_compressed;
+	__u32	tx_compressed;
+   
 	/* Detailed FDDI statistics.  Adopted from RFC 1512 */
 
 	__u8	smt_station_id[8];

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov