xref: /original-bsd/sys/netiso/cltp_var.h (revision 3705696b)
1 /*
2  * Copyright (c) 1989, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)cltp_var.h	8.1 (Berkeley) 06/10/93
8  */
9 
10 #define UD_TPDU_type	0x40	/* packet type */
11 
12 #define CLTPOVAL_SRC	0xc1	/* Source TSAP -- required */
13 #define CLTPOVAL_DST	0xc2	/* Destination TSAP -- required */
14 #define CLTPOVAL_CSM	0xc3	/* Checksum parameter -- optional */
15 
16 struct	cltpstat {
17 	int	cltps_hdrops;
18 	int	cltps_badsum;
19 	int	cltps_badlen;
20 	int	cltps_noport;
21 	int	cltps_ipackets;
22 	int	cltps_opackets;
23 };
24 
25 #ifdef KERNEL
26 struct	isopcb cltb;
27 struct	cltpstat cltpstat;
28 #endif
29