#ident "$Id: wan.h,v 1.1 1995/03/16 17:15:05 garyp Exp $"
/*****************************************************************************
 * 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.
 * 
 *****************************************************************************/


/******************************************************************
 *
 *  SpiderX25 - WAN Driver
 *
 *  Copyright 1991 Spider Systems Limited
 *
 *  WAN_ADDR.C
 *
 *    Top-level STREAMS driver for WAN_ADDR (HDLC).
 *
 ******************************************************************/

/*
 *	 /projects/common/PBRAIN/SCCS/pbrainF/dev/sys/wan/0/s.wan.h
 *	@(#)wan.h	1.6
 *
 *	Last delta created	10:51:12 11/8/91
 *	This file extracted	09:24:09 12/17/92
 *
 */

struct wan
{
    caddr_t      wn_hwd;          /* Hardware driver device identifier */
    queue_t	*wn_readq;        /* Back pointer to read queue */
    wantune_t	 tunetab;	  /* tuning info.                      */
    wanmap_t    *addrtab;  	  /* address mapping table     */
    uint8        wn_entries;      /* no of entries in above table      */
    uint32       wn_snid;         /* Subnet identifier */
    uint8	 wn_state;        /* Currently state: OFF, DIRECT, QUEUING */
    uint16	 wn_rxcnt;        /* Maximum Rx packets queued */
	queue_t     *traceq ;	  /* Queue for traces */
};

typedef struct wan wan_t;

