//
//  dxbctrs.h
//
//  Offset definition file for exensible counter objects and counters
//
//  These "relative" offsets must start at 0 and be multiples of 2 (i.e.
//  even numbers). In the Open Procedure, they will be added to the
//  "First Counter" and "First Help" values fo the device they belong to,
//  in order to determine the  absolute location of the counter and
//  object names and corresponding help text in the registry.
//
//  this file is used by the extensible counter DLL code as well as the
//  counter name and help text definition file (.INI) file that is used
//  by LODCTR to load the names into the registry.
//
#define ADAPTER_OBJECT              0
#define ADAPTER_HEARTBEAT           2
#define ADAPTER_TXQIN               4
#define ADAPTER_TXQOUT              6
#define ADAPTER_RXQIN               8
#define ADAPTER_RXQOUT              10

#define CSU_OBJECT                  12
#define CSU_LOS                     14
#define CSU_REDALARM                16
#define CSU_YELLOWALARM             18
#define CSU_BLUEALARM               20
#define CSU_LOOPBACK                22
#define CSU_ERRORED_SECONDS         24
#define CSU_UNAVAILABLE_SECONDS     26
#define CSU_BURSTY_SECONDS          28
#define CSU_SEVERE_SECONDS          30
#define CSU_SEVERE_FRAMING_SECONDS  32
#define CSU_CONTROLLED_SLIP_SECONDS 34
#define CSU_FRAME_LOSS_COUNT        36
#define CSU_DEGRADED_MINUTES        38
#define CSU_LINE_ERRORED_SECONDS    40
#define CSU_LINE_CODE_VIOLATIONS    42
#define CSU_CRC_ERRORS              44

#define CHANNEL_OBJECT              46
#define CHANNEL_TXOCTETS            48
#define CHANNEL_TXGOOD              50
#define CHANNEL_TXCLASS1            52
#define CHANNEL_TXCLASS2            54
#define CHANNEL_TXDEF               56
#define CHANNEL_TXURUN              58
#define CHANNEL_RXOCTETS            60
#define CHANNEL_RXGOOD              62
#define CHANNEL_RXERR               64
#define CHANNEL_RXORUN              66
#define CHANNEL_RXCRC               68
#define CHANNEL_RXNOBUF             70
#define CHANNEL_RXNFLOW             72
#define CHANNEL_RXOVLOW             74
#define CHANNEL_RXABORT             76
