Annotation of 43BSDReno/sys/vaxif/if_il.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1982, 1986 Regents of the University of California.
        !             3:  * All rights reserved.
        !             4:  *
        !             5:  * Redistribution is only permitted until one year after the first shipment
        !             6:  * of 4.4BSD by the Regents.  Otherwise, redistribution and use in source and
        !             7:  * binary forms are permitted provided that: (1) source distributions retain
        !             8:  * this entire copyright notice and comment, and (2) distributions including
        !             9:  * binaries display the following acknowledgement:  This product includes
        !            10:  * software developed by the University of California, Berkeley and its
        !            11:  * contributors'' in the documentation or other materials provided with the
        !            12:  * distribution and in all advertising materials mentioning features or use
        !            13:  * of this software.  Neither the name of the University nor the names of
        !            14:  * its contributors may be used to endorse or promote products derived from
        !            15:  * this software without specific prior written permission.
        !            16:  * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
        !            17:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
        !            18:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            19:  *
        !            20:  *     @(#)if_il.h     7.3 (Berkeley) 6/28/90
        !            21:  */
        !            22: 
        !            23: /*
        !            24:  * Structure of an Ethernet header -- receive format
        !            25:  */
        !            26: struct il_rheader {
        !            27:        u_char  ilr_status;             /* Frame Status */
        !            28:        u_char  ilr_fill1;
        !            29:        u_short ilr_length;             /* Frame Length */
        !            30:        u_char  ilr_dhost[6];           /* Destination Host */
        !            31:        u_char  ilr_shost[6];           /* Source Host */
        !            32:        u_short ilr_type;               /* Type of packet */
        !            33: };
        !            34: 
        !            35: /*
        !            36:  * Structure of statistics record
        !            37:  */
        !            38: struct il_stats {
        !            39:        u_short ils_fill1;
        !            40:        u_short ils_length;             /* Length (should be 62) */
        !            41:        u_char  ils_addr[6];            /* Ethernet Address */
        !            42:        u_short ils_frames;             /* Number of Frames Received */
        !            43:        u_short ils_rfifo;              /* Number of Frames in Receive FIFO */
        !            44:        u_short ils_xmit;               /* Number of Frames Transmitted */
        !            45:        u_short ils_xcollis;            /* Number of Excess Collisions */
        !            46:        u_short ils_frag;               /* Number of Fragments Received */
        !            47:        u_short ils_lost;               /* Number of Times Frames Lost */
        !            48:        u_short ils_multi;              /* Number of Multicasts Accepted */
        !            49:        u_short ils_rmulti;             /* Number of Multicasts Rejected */
        !            50:        u_short ils_crc;                /* Number of CRC Errors */
        !            51:        u_short ils_align;              /* Number of Alignment Errors */
        !            52:        u_short ils_collis;             /* Number of Collisions */
        !            53:        u_short ils_owcollis;           /* Number of Out-of-window Collisions */
        !            54:        u_short ils_fill2[8];
        !            55:        char    ils_module[8];          /* Module ID */
        !            56:        char    ils_firmware[8];        /* Firmware ID */
        !            57: };
        !            58: 
        !            59: /*
        !            60:  * Structure of Collision Delay Time Record
        !            61:  */
        !            62: struct il_collis {
        !            63:        u_short ilc_fill1;
        !            64:        u_short ilc_length;             /* Length (should be 0-32) */
        !            65:        u_short ilc_delay[16];          /* Delay Times */
        !            66: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.