home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 534.lha / SANA_II / sana2specialstats.h < prev    next >
C/C++ Source or Header  |  1991-08-08  |  1KB  |  55 lines

  1. #ifndef SANA2_SANA2SPECIALSTATS_H
  2. #define SANA2_SANA2SPECIALSTATS_H 1
  3. /*
  4. **    $Filename: sana2specialstats.h $
  5. **    $Release: Developer Information$
  6. **    $Revision: 1.2 $
  7. **    $Date: 91/05/08 $
  8. **
  9. **    Defined ids for SANA-II special statistics.
  10. **
  11. **    (C) Copyright 1991 Commodore-Amiga Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15. /*
  16. ** Contributions from:
  17. **    Raymond S. Brand,   rsbx@cbmvax.commodore.com,  (215) 431-9100
  18. **    Martin Hunt,      martin@cbmvax.commodore.com,  (215) 431-9100
  19. **    Perry Kivolowitz,           ASDG Incorporated,  (608) 273-6585
  20. */
  21.  
  22. #ifndef SANA2_SANA2DEVICE_H
  23. #include <sana2/sana2device.h>
  24. #endif    /* !SANA2_SANA2DEVICE_H */
  25.  
  26.  
  27. /*
  28.  * The SANA-II special statistic identifier is an unsigned 32 number.
  29.  * The upper 16 bits identify the type of network wire type to which
  30.  * the statistic applies and the lower 16 bits identify the particular
  31.  * statistic.
  32.  */
  33.  
  34.  
  35.  
  36. /*
  37.  * defined ethernet special statistics
  38.  */
  39.  
  40. #define S2SS_ETHERNET_BADMULTICAST    ((((S2WireType_Ethernet)&0xffff)<<16)|0x0000)
  41. /*
  42.  * This count will record the number of times a received packet tripped
  43.  * the hardware's multicast filtering mechanism but was not actually in
  44.  * the current multicast table.
  45.  */
  46.  
  47. #define S2SS_ETHERNET_RETRIES        ((((S2WireType_Ethernet)&0xffff)<<16)|0x0001)
  48. /*
  49.  * This count records the total number of retries which have resulted
  50.  * from transmissions on this board. 
  51.  */
  52.  
  53.  
  54. #endif    /* SANA2_SANA2SPECIALSTATS_H */
  55.