' ########################################################################################
' Microsoft Windows
' File: neterr.inc
' Contents: This is the top-level include file for all NETWORK topology error codes
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_neterr_PBI)
#DEFINE PBX_neterr_PBI
%EQUATE `NETERR_INC = 1
'//=============================================================================
'// TOKENRING errors
'//=============================================================================
%EQUATE `NETERR_RING_STATUS_SIGNAL_LOST = &H00008000&
%EQUATE `NETERR_RING_STATUS_HARD_ERROR = &H00004000&
%EQUATE `NETERR_RING_STATUS_SOFT_ERROR = &H00002000&
%EQUATE `NETERR_RING_STATUS_TRANSMIT_BEACON = &H00001000&
%EQUATE `NETERR_RING_STATUS_LOBE_WIRE_FAULT = &H00000800&
%EQUATE `NETERR_RING_STATUS_AUTO_REMOVAL_ERROR = &H00000400&
%EQUATE `NETERR_RING_STATUS_REMOTE_RECEIVED = &H00000200&
%EQUATE `NETERR_RING_STATUS_COUNTER_OVERFLOW = &H00000100&
%EQUATE `NETERR_RING_STATUS_SIGNAL_STATION = &H00000080&
%EQUATE `NETERR_RING_STATUS_RECOVERY = &H00000040&
'//
'// The following defines a bit mask to be compared with to see if
'// the state of the ring should cause us to stop the current network
'// capture.
'//
'// LobeWireFault, Signal Loss, Remove Received, and Auto Removal are
'// currently the ones that fall into this category.
'//
%EQUATE `NETERR_RING_STOP_CAPTURE = &H00008E00&
'//=============================================================================
'// ETHERNET errors
'//=============================================================================
'//=============================================================================
'// FDDI errors
'//=============================================================================
#ENDIF
