xref: /csrg-svn/sys/netiso/cons.h (revision 36376)
1*36376Ssklower /***********************************************************
2*36376Ssklower 		Copyright IBM Corporation 1987
3*36376Ssklower 
4*36376Ssklower                       All Rights Reserved
5*36376Ssklower 
6*36376Ssklower Permission to use, copy, modify, and distribute this software and its
7*36376Ssklower documentation for any purpose and without fee is hereby granted,
8*36376Ssklower provided that the above copyright notice appear in all copies and that
9*36376Ssklower both that copyright notice and this permission notice appear in
10*36376Ssklower supporting documentation, and that the name of IBM not be
11*36376Ssklower used in advertising or publicity pertaining to distribution of the
12*36376Ssklower software without specific, written prior permission.
13*36376Ssklower 
14*36376Ssklower IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15*36376Ssklower ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16*36376Ssklower IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17*36376Ssklower ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18*36376Ssklower WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19*36376Ssklower ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20*36376Ssklower SOFTWARE.
21*36376Ssklower 
22*36376Ssklower ******************************************************************/
23*36376Ssklower 
24*36376Ssklower /*
25*36376Ssklower  * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
26*36376Ssklower  */
27*36376Ssklower /*
28*36376Ssklower  * $Header: cons.h,v 4.4 88/09/09 19:01:28 nhall Exp $
29*36376Ssklower  * $Source: /usr/argo/sys/netiso/RCS/cons.h,v $
30*36376Ssklower  *
31*36376Ssklower  * interface between TP and CONS
32*36376Ssklower  */
33*36376Ssklower 
34*36376Ssklower #define	CONSOPT_X25CRUD	0x01		/* set x.25 call request user data */
35*36376Ssklower 
36*36376Ssklower struct dte_addr {
37*36376Ssklower 	u_char 	dtea_addr[7];
38*36376Ssklower 	u_char	dtea_niblen;
39*36376Ssklower };
40*36376Ssklower 
41*36376Ssklower #ifdef	KERNEL
42*36376Ssklower 
43*36376Ssklower #define CONN_OPEN		0x33
44*36376Ssklower #define CONN_CONFIRM	0x30
45*36376Ssklower #define CONN_REFUSE		0x31
46*36376Ssklower #define CONN_CLOSE		0x32
47*36376Ssklower 
48*36376Ssklower #define	CONS_IS_DGM		0x1
49*36376Ssklower #define	CONS_NOT_DGM	0x0
50*36376Ssklower 
51*36376Ssklower #ifndef	PRC_NCMDS
52*36376Ssklower #include "protosw.h"
53*36376Ssklower #endif	PRC_NCMDS
54*36376Ssklower 
55*36376Ssklower #define PRC_CONS_SEND_DONE 2 /* something unused in protosw.h */
56*36376Ssklower 
57*36376Ssklower #endif	KERNEL
58