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