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  il_rheader {
  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

il_collis defined in line 48; never used
il_rheader defined in line 12; never used
il_stats defined in line 24; never used
Last modified: 1986-06-05
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1628
Valid CSS Valid XHTML 1.0 Strict