home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 25: Programming / pc_actual_25.iso / C_C++ / BorlandCompiler / freecommandLinetools.exe / Include / neterr.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-27  |  2.0 KB  |  61 lines

  1. //=============================================================================
  2. //  Microsoft (R) Bloodhound (tm). Copyright (C) 1991-1992.
  3. //
  4. //  MODULE: neterr.h
  5. //
  6. //  This is the top-level include file for all NETWORK topology error codes
  7. //  Bloodhound driver network error codes -- DO NOT CHANGE!
  8. //=============================================================================
  9.  
  10. #if !defined(_NETERR_)
  11. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  12.  
  13. #define _NETERR_
  14.  
  15. //=============================================================================
  16. //  TOKENRING errors
  17. //=============================================================================
  18.  
  19. #define NETERR_RING_STATUS_SIGNAL_LOST           0x00008000
  20.  
  21. #define NETERR_RING_STATUS_HARD_ERROR            0x00004000
  22.  
  23. #define NETERR_RING_STATUS_SOFT_ERROR            0x00002000
  24.  
  25. #define NETERR_RING_STATUS_TRANSMIT_BEACON       0x00001000
  26.  
  27. #define NETERR_RING_STATUS_LOBE_WIRE_FAULT       0x00000800
  28.  
  29. #define NETERR_RING_STATUS_AUTO_REMOVAL_ERROR    0x00000400
  30.  
  31. #define NETERR_RING_STATUS_REMOTE_RECEIVED       0x00000200
  32.  
  33. #define NETERR_RING_STATUS_COUNTER_OVERFLOW      0x00000100
  34.  
  35. #define NETERR_RING_STATUS_SIGNAL_STATION        0x00000080
  36.  
  37. #define NETERR_RING_STATUS_RECOVERY              0x00000040
  38.  
  39.  
  40. //
  41. // The following defines a bit mask to be compared with to see if
  42. // the state of the ring should cause us to stop the current network
  43. // capture.
  44. //
  45. // LobeWireFault, Signal Loss, Remove Received, and Auto Removal are
  46. // currently the ones that fall into this category.
  47. //
  48. #define NETERR_RING_STOP_CAPTURE                 0x00008E00
  49.  
  50.  
  51. //=============================================================================
  52. //  ETHERNET errors
  53. //=============================================================================
  54.  
  55. //=============================================================================
  56. //  FDDI errors
  57. //=============================================================================
  58.  
  59. #pragma option pop /*P_O_Pop*/
  60. #endif
  61.