trailing comment after #else or #endif
[unix-history] / usr / src / sys / netiso / cons.h
CommitLineData
7bcd1bb8
KB
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
5548a02f 7 * @(#)cons.h 7.4 (Berkeley) %G%
7bcd1bb8
KB
8 */
9
94648d00
KS
10/***********************************************************
11 Copyright IBM Corporation 1987
12
13 All Rights Reserved
14
15Permission to use, copy, modify, and distribute this software and its
16documentation for any purpose and without fee is hereby granted,
17provided that the above copyright notice appear in all copies and that
18both that copyright notice and this permission notice appear in
19supporting documentation, and that the name of IBM not be
20used in advertising or publicity pertaining to distribution of the
21software without specific, written prior permission.
22
23IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
24ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
25IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
26ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
27WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
28ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
29SOFTWARE.
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
45struct 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
5548a02f 61#include <sys/protosw.h>
94648d00
KS
62#endif PRC_NCMDS
63
64#define PRC_CONS_SEND_DONE 2 /* something unused in protosw.h */
65
66#endif KERNEL