slcompress.h (2192) | slcompress.h (2214) |
---|---|
1/* slcompress.h 8.1 93/06/10 */ 2/* 3 * Definitions for tcp compression routines. 4 * 5 * Copyright (c) 1989, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989: 37 * - Initial distribution. | 1/* slcompress.h 8.1 93/06/10 */ 2/* 3 * Definitions for tcp compression routines. 4 * 5 * Copyright (c) 1989, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989: 37 * - Initial distribution. |
38 * $Id: slcompress.h,v 1.3 1994/08/21 05:11:47 paul Exp $ | 38 * $Id: slcompress.h,v 1.4 1994/08/21 19:06:48 paul Exp $ |
39 */ 40 41#ifndef _NET_SLCOMPRESS_H_ 42#define _NET_SLCOMPRESS_H_ 43 44#define MAX_STATES 16 /* must be > 2 and < 256 */ 45#define MAX_HDR MLEN /* XXX 4bsd-ism: should really be 128 */ 46 --- 104 unchanged lines hidden (view full) --- 151 struct cstate rstate[MAX_STATES]; /* receive connection states */ 152}; 153/* flag values */ 154#define SLF_TOSS 1 /* tossing rcvd frames because of input err */ 155 156void sl_compress_init __P((struct slcompress *)); 157u_int sl_compress_tcp __P((struct mbuf *, 158 struct ip *, struct slcompress *, int)); | 39 */ 40 41#ifndef _NET_SLCOMPRESS_H_ 42#define _NET_SLCOMPRESS_H_ 43 44#define MAX_STATES 16 /* must be > 2 and < 256 */ 45#define MAX_HDR MLEN /* XXX 4bsd-ism: should really be 128 */ 46 --- 104 unchanged lines hidden (view full) --- 151 struct cstate rstate[MAX_STATES]; /* receive connection states */ 152}; 153/* flag values */ 154#define SLF_TOSS 1 /* tossing rcvd frames because of input err */ 155 156void sl_compress_init __P((struct slcompress *)); 157u_int sl_compress_tcp __P((struct mbuf *, 158 struct ip *, struct slcompress *, int)); |
159 160#endif | |
161int sl_uncompress_tcp __P((u_char **, int, u_int, struct slcompress *)); | 159int sl_uncompress_tcp __P((u_char **, int, u_int, struct slcompress *)); |
160 161#endif /* !_NET_SLCOMPRESS_H_ */ |
|