xref: /csrg-svn/sys/vax/if/if_il.h (revision 19866)
1*19866Skarels /*	if_il.h	6.3	85/05/01	*/
26894Sfeldman 
36894Sfeldman /*
46894Sfeldman  * Structure of an Ethernet header -- receive format
56894Sfeldman  */
66894Sfeldman struct	il_rheader {
76894Sfeldman 	u_char	ilr_status;		/* Frame Status */
86894Sfeldman 	u_char	ilr_fill1;
96894Sfeldman 	u_short	ilr_length;		/* Frame Length */
10*19866Skarels 	u_char	ilr_dhost[6];		/* Destination Host */
11*19866Skarels 	u_char	ilr_shost[6];		/* Source Host */
126894Sfeldman 	u_short	ilr_type;		/* Type of packet */
136894Sfeldman };
146894Sfeldman 
156894Sfeldman /*
167262Ssam  * Structure of statistics record
176894Sfeldman  */
187262Ssam struct	il_stats {
196894Sfeldman 	u_short	ils_fill1;
206894Sfeldman 	u_short	ils_length;		/* Length (should be 62) */
21*19866Skarels 	u_char	ils_addr[6];		/* Ethernet Address */
226894Sfeldman 	u_short	ils_frames;		/* Number of Frames Received */
236894Sfeldman 	u_short	ils_rfifo;		/* Number of Frames in Receive FIFO */
246894Sfeldman 	u_short	ils_xmit;		/* Number of Frames Transmitted */
256894Sfeldman 	u_short	ils_xcollis;		/* Number of Excess Collisions */
266894Sfeldman 	u_short	ils_frag;		/* Number of Fragments Received */
276894Sfeldman 	u_short	ils_lost;		/* Number of Times Frames Lost */
286894Sfeldman 	u_short	ils_multi;		/* Number of Multicasts Accepted */
296894Sfeldman 	u_short	ils_rmulti;		/* Number of Multicasts Rejected */
306894Sfeldman 	u_short	ils_crc;		/* Number of CRC Errors */
316894Sfeldman 	u_short	ils_align;		/* Number of Alignment Errors */
326894Sfeldman 	u_short	ils_collis;		/* Number of Collisions */
336894Sfeldman 	u_short	ils_owcollis;		/* Number of Out-of-window Collisions */
346894Sfeldman 	u_short	ils_fill2[8];
356894Sfeldman 	char	ils_module[8];		/* Module ID */
366894Sfeldman 	char	ils_firmware[8];	/* Firmware ID */
376894Sfeldman };
386894Sfeldman 
396894Sfeldman /*
406894Sfeldman  * Structure of Collision Delay Time Record
416894Sfeldman  */
426894Sfeldman struct	il_collis {
436894Sfeldman 	u_short	ilc_fill1;
446894Sfeldman 	u_short	ilc_length;		/* Length (should be 0-32) */
456894Sfeldman 	u_short	ilc_delay[16];		/* Delay Times */
466894Sfeldman };
47