change iso_pcbconnect so that specifying a null nsap as target
[unix-history] / usr / src / sys / netiso / cons.h
CommitLineData
94648d00
KS
1/***********************************************************
2 Copyright IBM Corporation 1987
3
4 All Rights Reserved
5
6Permission to use, copy, modify, and distribute this software and its
7documentation for any purpose and without fee is hereby granted,
8provided that the above copyright notice appear in all copies and that
9both that copyright notice and this permission notice appear in
10supporting documentation, and that the name of IBM not be
11used in advertising or publicity pertaining to distribution of the
12software without specific, written prior permission.
13
14IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20SOFTWARE.
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
36struct 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