home *** CD-ROM | disk | FTP | other *** search
/ Troubleshooting Netware Systems / CSTRIAL0196.BIN / attach / pcc / v08n03 / netwrk.exe / WDPOST.ZIP / WDPOST.TAR / wdpost.dir / sample.drv / macdefs.h < prev    next >
Text File  |  1988-06-21  |  2KB  |  67 lines

  1. /************************************************************************
  2. * RCS  $Revision$            $Date$                *
  3. *                                    *
  4. * MACDEFS.H                                *
  5. *                                    *
  6. * Environment                                *
  7. *     MS-DOS, WD8003                            *
  8. *                                    *
  9. * (c) Copyright 1987 Western Digital Corporation(R).            *
  10. * All reghts reserved. Contains confidential information        *
  11. * and trade secrets proprietary to Western Digital Corporation        *
  12. *                                    *
  13. * Module Description:                            *
  14. *    Media Access Control Sublayer module data structure         *
  15. *    definitions for 82588 based WD8003.                *
  16. *                                    *
  17. * Activity:                                *
  18. *    DATE:    06/02/87                        *
  19. *    LEVEL:    et.bb.00                        *
  20. *    WHO:    KC                             *
  21. *    CHANGE: Netbios emulator WD8003 port.                *
  22. *                                    *
  23. ************************************************************************/
  24.  
  25. /************************************************************************
  26. *                                    *
  27. *  (c) Copyright Retix 1985.                        *
  28. *  This software is furnished under a license and use, duplication,    *
  29. *  disclosure and all other uses are restricted to the rights        *
  30. *  specified in the written license between the licensee and Retix.    *
  31. *                                    *
  32. ************************************************************************/
  33.  
  34. /* doubly linked list structure */
  35.  
  36. struct db_list
  37.     {            
  38.     buf_type first;        /* pointer to the first element of list */
  39.     buf_type last;        /* pointer to the last element of list */
  40.     };
  41.  
  42. struct    mstat
  43.     {
  44.     long    t0;        /* number of attempts to transmit */
  45.     long    txok;        /* number of successful transmissions */
  46.     long    txbad;        /* number of failed transmits */
  47.     long    collsn;        /* number of collisions occured */
  48.     long    lostcrs;    /* number of times the CRS was lost during tx */
  49.     long    lostcts;    /* lost CTS */
  50.     long    underrun;    /* number of underrun errors */
  51.  
  52.     long    rxrd;        /* number of times the receiver was ready to receive */
  53.     long    rxok;        /* number of mpdus rxed w/o error */
  54.     long    rxnrd;        /* number rx's aborted for receive processing */
  55.     long    crcerr;        /* number of mpdus received with CRC error */
  56.     long    overrun;    /* number of overrun errors */
  57.     long    algerr;        /* number of alignment errors */
  58.     long    srtfrm;        /* number of short frame receiver error */
  59.     long    rxnom;        /* number of receives lost due to lack of mem */
  60.     long    rxblkd;        /* unused */
  61.  
  62.     long    ex_lockup;    /* number of times the execution unit of the chip was in lockup situation */
  63.     long    ia_corrup;    /* number of times the IA is corrupted */
  64.     long    spur_int;    /* number of spurious interrupts */
  65.     };
  66. 
  67.