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