1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)if_il.h 7.1 (Berkeley) 6/5/86
7: */
8:
9: /*
10: * Structure of an Ethernet header -- receive format
11: */
12: struct {
13: u_char ilr_status; /* Frame Status */
14: u_char ilr_fill1;
15: u_short ilr_length; /* Frame Length */
16: u_char ilr_dhost[6]; /* Destination Host */
17: u_char ilr_shost[6]; /* Source Host */
18: u_short ilr_type; /* Type of packet */
19: };
20:
21: /*
22: * Structure of statistics record
23: */
24: struct il_stats {
25: u_short ils_fill1;
26: u_short ils_length; /* Length (should be 62) */
27: u_char ils_addr[6]; /* Ethernet Address */
28: u_short ils_frames; /* Number of Frames Received */
29: u_short ils_rfifo; /* Number of Frames in Receive FIFO */
30: u_short ils_xmit; /* Number of Frames Transmitted */
31: u_short ils_xcollis; /* Number of Excess Collisions */
32: u_short ils_frag; /* Number of Fragments Received */
33: u_short ils_lost; /* Number of Times Frames Lost */
34: u_short ils_multi; /* Number of Multicasts Accepted */
35: u_short ils_rmulti; /* Number of Multicasts Rejected */
36: u_short ils_crc; /* Number of CRC Errors */
37: u_short ils_align; /* Number of Alignment Errors */
38: u_short ils_collis; /* Number of Collisions */
39: u_short ils_owcollis; /* Number of Out-of-window Collisions */
40: u_short ils_fill2[8];
41: char ils_module[8]; /* Module ID */
42: char ils_firmware[8]; /* Firmware ID */
43: };
44:
45: /*
46: * Structure of Collision Delay Time Record
47: */
48: struct il_collis {
49: u_short ilc_fill1;
50: u_short ilc_length; /* Length (should be 0-32) */
51: u_short ilc_delay[16]; /* Delay Times */
52: };
Defined struct's
defined in line
12; used 14 times
Usage of this include