/*****************************************************************************
 * Copyright (c) 1988-95 Digi International Inc., All Rights Reserved
 * 
 * This  software  contains  proprietary  and  confidential   information   of
 * Digi International  Inc.   By  accepting  transfer  of this copy, Recipient
 * agrees to retain this software in  confidence,  to  prevent  disclosure  to
 * others,  and  to make no  use of this software other than that for which it
 * was delivered.  This is an unpublished copyright work  Digi   International
 * Inc.    Except   as   permitted   by  federal  law,  17 USC 117, copying is
 * strictly prohibited.
 * 
 * Digi  International  Inc.  CONFIDENTIAL  -   (Digi    International    Inc.
 * Confidential  when   combined   with   the   aggregated  modules  for  this
 * product) OBJECT CODE ONLY SOURCE MATERIALS
 * 
 * (C) COPYRIGHT Digi International Inc. 1995
 * 
 * All Rights Reserved
 * 
 * US   Government   Users   Restricted   Rights   -   Use,   duplication   or
 * disclosure  restricted by GSA ADP Schedule Contract with Digi International
 * Inc.
 * 
 *****************************************************************************/

/*
 * $Id: x25cause.h,v 1.2 1996/10/24 20:24:50 gary Exp $
 */

/*******************************************************************
 *
 *  SpiderX25 X25 PLP Driver
 *
 *  Copyright 1991 Spider Systems Limited
 *
 *  X25_CAUSE.H
 *
 *
 *******************************************************************/

/* Definitions for cause fields in clear etc. (but not reset) */

#define		NUMBER_BUSY			0X01
#define		OUT_OF_ORDER			0X09
#define		REMOTE_PROCEDURE_ERROR		0X11
#define		REVERSE_CHARGING_NOT_SUBSCRIBED	0X19
#define		INCOMPATIBLE_DESTINATION	0X21
#define		FS_ACCEPTANCE_NOT_SUBSCRIBED	0X29
#define		SHIP_ABSENT			0X39
#define		INVALID_FACILITY_REQUEST	0X03
#define		ACCESS_BARRED			0X0B
#define		LOCAL_PROCEDURE_ERROR		0X13
#define		NETWORK_CONGESTION		0X05
#define		NOT_OBTAINABLE			0X0D
#define		RPOA_OUT_OF_ORDER		0X15

/* Definitions for cause field in reset indication. */

#define		ROUT_OF_ORDER			0X01
#define		RREMOTE_PROCEDURE_ERROR		0X03
#define		RLOCAL_PROCEDURE_ERROR		0X05
#define		RNETWORK_CONGESTION		0X07
#define		RRMT_DTE_OPERATIONAL		0X09
#define		RNET_OPERATIONAL		0X0F
#define		RINCOMPATIBLE_DESTINATION	0X11
#define		RNET_OUT_OF_ORDER		0X1D

/* ----------------------------------------------------------------------
         Internal Diagnostic Codes for X.25
   ---------------------------------------------------------------------- */

#define		X25_ABORT	(128+5)
#define		X25_LERR 	(128+6)
#define		X25_LSTATE 	(128+7)
#define		X25_IDERR 	(128+8)
#define		X25_LCANT 	(128+9)
