xref: /csrg-svn/sys/netiso/cons.h (revision 63222)
149268Sbostic /*-
2*63222Sbostic  * Copyright (c) 1991, 1993
3*63222Sbostic  *	The Regents of the University of California.  All rights reserved.
449268Sbostic  *
549268Sbostic  * %sccs.include.redist.c%
649268Sbostic  *
7*63222Sbostic  *	@(#)cons.h	8.1 (Berkeley) 06/10/93
849268Sbostic  */
949268Sbostic 
1036376Ssklower /***********************************************************
1136376Ssklower 		Copyright IBM Corporation 1987
1236376Ssklower 
1336376Ssklower                       All Rights Reserved
1436376Ssklower 
1536376Ssklower Permission to use, copy, modify, and distribute this software and its
1636376Ssklower documentation for any purpose and without fee is hereby granted,
1736376Ssklower provided that the above copyright notice appear in all copies and that
1836376Ssklower both that copyright notice and this permission notice appear in
1936376Ssklower supporting documentation, and that the name of IBM not be
2036376Ssklower used in advertising or publicity pertaining to distribution of the
2136376Ssklower software without specific, written prior permission.
2236376Ssklower 
2336376Ssklower IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
2436376Ssklower ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
2536376Ssklower IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
2636376Ssklower ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
2736376Ssklower WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
2836376Ssklower ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
2936376Ssklower SOFTWARE.
3036376Ssklower 
3136376Ssklower ******************************************************************/
3236376Ssklower 
3336376Ssklower /*
3436376Ssklower  * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
3536376Ssklower  */
3636376Ssklower /*
3736376Ssklower  * $Header: cons.h,v 4.4 88/09/09 19:01:28 nhall Exp $
3836376Ssklower  * $Source: /usr/argo/sys/netiso/RCS/cons.h,v $
3936376Ssklower  *
4036376Ssklower  * interface between TP and CONS
4136376Ssklower  */
4236376Ssklower 
4336376Ssklower #define	CONSOPT_X25CRUD	0x01		/* set x.25 call request user data */
4436376Ssklower 
4536376Ssklower struct dte_addr {
4636376Ssklower 	u_char 	dtea_addr[7];
4736376Ssklower 	u_char	dtea_niblen;
4836376Ssklower };
4936376Ssklower 
5036376Ssklower #ifdef	KERNEL
5136376Ssklower 
5236376Ssklower #define CONN_OPEN		0x33
5336376Ssklower #define CONN_CONFIRM	0x30
5436376Ssklower #define CONN_REFUSE		0x31
5536376Ssklower #define CONN_CLOSE		0x32
5636376Ssklower 
5736376Ssklower #define	CONS_IS_DGM		0x1
5836376Ssklower #define	CONS_NOT_DGM	0x0
5936376Ssklower 
6036376Ssklower #ifndef	PRC_NCMDS
6156533Sbostic #include <sys/protosw.h>
6261298Ssklower #endif	/* PRC_NCMDS */
6336376Ssklower 
6436376Ssklower #define PRC_CONS_SEND_DONE 2 /* something unused in protosw.h */
6536376Ssklower 
6661298Ssklower #endif	/* KERNEL */
67