1*39541Ssklower /* 2*39541Ssklower * Copyright (c) 1989 Regents of the University of California. 3*39541Ssklower * All rights reserved. 4*39541Ssklower * 5*39541Ssklower * Redistribution and use in source and binary forms are permitted 6*39541Ssklower * provided that the above copyright notice and this paragraph are 7*39541Ssklower * duplicated in all such forms and that any documentation, 8*39541Ssklower * advertising materials, and other materials related to such 9*39541Ssklower * distribution and use acknowledge that the software was developed 10*39541Ssklower * by the University of California, Berkeley. The name of the 11*39541Ssklower * University may not be used to endorse or promote products derived 12*39541Ssklower * from this software without specific prior written permission. 13*39541Ssklower * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 14*39541Ssklower * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 15*39541Ssklower * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 16*39541Ssklower * 17*39541Ssklower * @(#)cltp_var.h 7.1 (Berkeley) 11/15/89 18*39541Ssklower */ 19*39541Ssklower 20*39541Ssklower #define UD_TPDU_type 0x40 /* packet type */ 21*39541Ssklower 22*39541Ssklower #define CLTPOVAL_SRC 0xc1 /* Source TSAP -- required */ 23*39541Ssklower #define CLTPOVAL_DST 0xc2 /* Destination TSAP -- required */ 24*39541Ssklower #define CLTPOVAL_CSM 0xc3 /* Checksum parameter -- optional */ 25*39541Ssklower 26*39541Ssklower struct cltpstat { 27*39541Ssklower int cltps_hdrops; 28*39541Ssklower int cltps_badsum; 29*39541Ssklower int cltps_badlen; 30*39541Ssklower int cltps_noport; 31*39541Ssklower int cltps_ipackets; 32*39541Ssklower int cltps_opackets; 33*39541Ssklower }; 34*39541Ssklower 35*39541Ssklower #ifdef KERNEL 36*39541Ssklower struct isopcb cltb; 37*39541Ssklower struct cltpstat cltpstat; 38*39541Ssklower #endif 39