#ident "$Id: ixe_inc.h,v 1.3 1997/10/21 20:48:20 gary 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.
 * 
 *****************************************************************************/

/******************************************************************
 *
 *  Spider-X25 IXE Driver
 *
 *  Copyright 1991 Spider Systems Limited
 *
 *  IXE_INC.H
 *
 *    IXE include file - contains includes for all .H files,
 *			 and forward declarations for all
 *			 internal routines used by IXE code.
 *
 *
 ******************************************************************/



/*
 *
 *	 /projects/common/PBRAIN/SCCS/pbrainF/dev/sys/ixe/0/s.ixe_inc.h
 *	@(#)ixe_inc.h	1.24
 *
 *	Last delta created	14:45:15 12/1/92
 *	This file extracted	12:38:46 2/16/93
 *
 */


#include "types.h"
#include "stream.h"
#include "param.h"
#include "system.h"
#include "stropts.h"
#include "signal.h"
#include "errno.h"

#include "in.h"


#include "ipdl_proto.h"

#include "strlog.h"
#include "system.h"

#include "x25_proto.h"
#include "ixe_control.h"
#include "ixe_proto.h"
#include "ixe.h"

/* Variables from ixe.c */

extern Q_PTR	l_lisq;
extern Q_PTR	u_regq;
extern int	ipstr_count;
extern int	x25str_count;
extern int	ixcon_count;

extern unsigned long	dgout_count, dgin_count;
extern unsigned long	nsdu_out_count, nsdu_in_count;

/* Variables from ixespace.c */

extern IX_NETENT	ix_nettab[];
extern IX_CON		ix_contab[];
extern int		max_ixnets, max_ixcons;

/* Routines from ixe.c */

void		ixad_init(), ixreg_init() ;
void		ix_timer();
IX_CON 		*claim_ixcon();
IX_CON		*next_ixcon(), *get_ixcon();
IX_NETENT  	*find_ixnet(), *get_ixnet();
IX_CON 		*get_pvcconn(), *claim_pvcconn();

/* Routines from ixe_addr.c */

int	ixad_ent(), ixad_del(), ixad_dump();
IX_ADDR	*ixad_get(), *x25ad_get();
int	xaddrf_cmp(), hexcmp();

/* Routines from ixe_util.c */

void	negotiate(), handle_exp();
mblk_t	*make_conreq(), *make_conresp(), *make_disreq();
mblk_t	*make_lisreq(), *encapsulate();
mblk_t	*make_resreq(), *make_expACK(), *make_fragresp();
mblk_t  *make_attreq();

/* Routines from elsewhere */

mblk_t	*mk_icmp_rx();
unsigned short extract_lci();

#define BUFP_T bufp_t

