Commit | Line | Data |
---|---|---|
6a332a3e KS |
1 | /* |
2 | * Copyright (c) 1989 Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
dbf0c423 | 5 | * %sccs.include.redist.c% |
6a332a3e | 6 | * |
dbf0c423 | 7 | * @(#)cltp_var.h 7.3 (Berkeley) %G% |
6a332a3e KS |
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 |