xref: /original-bsd/sys/vax/if/if_il.h (revision f82e54c4)
1 /*	if_il.h	6.2	84/03/22	*/
2 
3 /*
4  * Structure of an Ethernet header -- receive format
5  */
6 struct	il_rheader {
7 	u_char	ilr_status;		/* Frame Status */
8 	u_char	ilr_fill1;
9 	u_short	ilr_length;		/* Frame Length */
10 	struct ether_addr ilr_dhost;	/* Destination Host */
11 	struct ether_addr ilr_shost;	/* Source Host */
12 	u_short	ilr_type;		/* Type of packet */
13 };
14 
15 /*
16  * Structure of statistics record
17  */
18 struct	il_stats {
19 	u_short	ils_fill1;
20 	u_short	ils_length;		/* Length (should be 62) */
21 	struct ether_addr ils_addr;	/* Ethernet Address */
22 	u_short	ils_frames;		/* Number of Frames Received */
23 	u_short	ils_rfifo;		/* Number of Frames in Receive FIFO */
24 	u_short	ils_xmit;		/* Number of Frames Transmitted */
25 	u_short	ils_xcollis;		/* Number of Excess Collisions */
26 	u_short	ils_frag;		/* Number of Fragments Received */
27 	u_short	ils_lost;		/* Number of Times Frames Lost */
28 	u_short	ils_multi;		/* Number of Multicasts Accepted */
29 	u_short	ils_rmulti;		/* Number of Multicasts Rejected */
30 	u_short	ils_crc;		/* Number of CRC Errors */
31 	u_short	ils_align;		/* Number of Alignment Errors */
32 	u_short	ils_collis;		/* Number of Collisions */
33 	u_short	ils_owcollis;		/* Number of Out-of-window Collisions */
34 	u_short	ils_fill2[8];
35 	char	ils_module[8];		/* Module ID */
36 	char	ils_firmware[8];	/* Firmware ID */
37 };
38 
39 /*
40  * Structure of Collision Delay Time Record
41  */
42 struct	il_collis {
43 	u_short	ilc_fill1;
44 	u_short	ilc_length;		/* Length (should be 0-32) */
45 	u_short	ilc_delay[16];		/* Delay Times */
46 };
47